1 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5 Compute absolute value of x as modified by fmod, not original
7 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
11 (remquo_test_data): Add more tests.
13 2015-02-13 Roland McGrath <roland@hack.frob.com>
15 * sysdeps/init_array/pt-crti.S: New file.
17 2015-02-13 Joseph Myers <joseph@codesourcery.com>
20 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21 __builtin_fmaf instead of relying on contraction of a * b + c.
23 2015-02-12 J William Piggott <elseifthen@gmx.com>
26 * manual/time.texi: correct the zoneinfo path in the TZ Variable
29 2015-02-12 Joseph Myers <joseph@codesourcery.com>
32 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33 __builtin_fma instead of relying on contraction of a * b + c.
35 2015-02-12 Roland McGrath <roland@hack.frob.com>
37 * Makeconfig (ASFLAGS): Add -Werror=undef.
38 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
40 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
42 * Makeconfig (after-link): New variable.
43 (+link-pie, +link-pie-tests): Use it.
44 (+link-static, +link-static-tests): Likewise.
45 (+link, +link-tests): Likewise.
46 * Makerules (build-module, build-module-asneeded): Likewise.
47 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
49 * elf/Makefile ($(objpfx)ld.so): Likewise.
51 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
54 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
55 both struct timeval and struct timespec.
57 2015-02-12 Joseph Myers <joseph@codesourcery.com>
60 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62 (__ieee754_exp2l): Do not multiply small fractional parts by
64 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
66 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
67 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
68 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
69 * math/auto-libm-test-in: Add more tests of exp2.
70 * math/auto-libm-test-out: Regenerated.
72 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
74 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
77 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
82 2015-02-12 Andreas Schwab <schwab@suse.de>
85 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
86 Filter out elision flags from value returned in kind.
87 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
88 * nptl/tst-pthread-mutexattr.c: New file.
90 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
92 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
93 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
94 into gnu-gnu, and update comment to refer to abi-tags.
96 2015-02-11 Joseph Myers <joseph@codesourcery.com>
99 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
100 (__sincos): Set errno to EDOM for infinite argument.
101 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
102 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
103 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
104 (__sincosl): Set errno to EDOM for infinite argument.
105 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
106 (__sincosl): Set errno to EDOM for infinite argument.
107 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
108 (__sincosl): Set errno to EDOM for infinite argument.
109 * math/libm-test.inc (sincos_test_data): Test errno setting.
111 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
113 * string/strxfrm_l.c: Remove #define STRCMP.
114 * string/strcoll_l.c: Remove #define STRLEN.
115 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
116 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
118 2015-02-10 Joseph Myers <joseph@codesourcery.com>
120 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
121 * sysdeps/mips/mips32/sfp-machine.h: ... here.
122 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
123 * sysdeps/mips/mips64/Makefile: ... here.
124 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
125 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
126 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
127 * sysdeps/mips/mips64/sfp-machine.h: ... here.
128 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
129 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
130 * sysdeps/mips/mips64/n64/Implies: Likewise.
132 2015-02-10 Roland McGrath <roland@hack.frob.com>
134 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
135 <sys/time.h>, <string.h>, and <errno.h>.
136 (dest_offset, dest_address, value, zero): Remove unused variables.
137 (ldouble): Remove typedef.
138 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
139 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
141 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
142 (check): Function removed.
144 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
145 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
146 Don't call set_sigaction_FP and remove_sigaction_FP here.
147 (ldouble_test): Just use 'long double' as macro argument, no need for
148 the 'ldouble' typedef.
149 (do_test): Set up SIGFPE handler at start, using plain signal rather
150 than sigaction. Fix code style.
152 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
155 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
158 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
160 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
161 * sysdeps/powerpc/powerpc32/configure: Regenerated.
163 * sysdeps/powerpc/configure.ac: Remove file.
164 * sysdeps/powerpc/configure: Likewise.
166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
167 [sysdep_routines]: Remove wordcopy-power6 object.
168 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
169 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
170 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
171 (__memmove_ppc32): Likewise.
172 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
174 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
175 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
179 [sysdep_routines]: Remove wide chars objects.
180 [wcsmbs]: New rule for wide char objects.
182 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
183 Remove wordcopy-power6 obejct.
184 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
185 Use local call for wordcopy and memcpy symbols.
186 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
187 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
188 implementation for loader.
189 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
191 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
192 Remove wordcopy-power7 object.
193 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
194 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
195 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
196 (_wordcopy_fwd_dest_aligned): Likewise.
197 (_wordcopy_bwd_aligned): Likewise.
198 (_wordcopy_bwd_dest_aligned): Likewise.
200 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
201 Rewrite to call __memmove_ppc instead of include default
204 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
205 Remove wide chars objects.
206 [wcsmbs]: New rule for wide char objects.
208 2015-02-09 Andreas Schwab <schwab@suse.de>
211 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
212 in terms of __O_DIRECTORY.
214 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
216 * time/getdate.c: Include <stdbool.h>.
217 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
219 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
222 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
224 Add ersatz _Static_assert on older C hosts
225 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
226 pre-C11 C platform that is not known to support _Static_assert.
228 2015-02-07 Richard Braun <rbraun@sceen.net>
230 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
232 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
234 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
236 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
237 priority against unexistent AIO_PRIO_DELTA_MAX.
238 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
240 * misc/fchflags.c (fchflags): Likewise.
241 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
242 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
243 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
244 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
245 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
247 [__USE_MISC] (chflags, fchflags): Declare functions.
248 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
249 EINVAL when nfds is greater than FD_SETSIZE.
250 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
251 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
253 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
254 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
255 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
257 * hurd/hurd/signal.h (_hurd_self_sigstate,
258 _hurd_critical_section_lock, _hurd_critical_section_unlock):
259 Explicit casts from void *.
260 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
261 * abi-tags: Rename gnu-gnu os into gnu.
264 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
265 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
266 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
267 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
268 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
269 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
272 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
273 duplicates ADDR->sun_path with sockaddr LEN limitation.
274 * sysdeps/mach/hurd/connect.c: Include <string.h>
275 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
276 * sysdeps/mach/hurd/sendmsg.c: Likewise.
277 * sysdeps/mach/hurd/sendto.c: Likewise.
278 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
279 implementing it by hand.
281 2015-02-06 Roland McGrath <roland@hack.frob.com>
283 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
285 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
288 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
290 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
291 Test SIGSETXID only if it's defined.
293 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
295 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
296 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
298 * nptl/tst-align2.c: Moved ...
299 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
300 * nptl/Makefile (tests): Remove tst-align2.
301 * sysdeps/unix/sysv/linux/Makefile
302 [$(subdir) = nptl] (tests): Add tst-align-clone.
303 * nptl/tst-getpid1.c: Moved ...
304 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
305 * nptl/tst-getpid2.c: Moved ...
306 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
307 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
308 * sysdeps/unix/sysv/linux/Makefile
309 [$(subdir) = nptl] (tests): ... here.
310 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
311 * sysdeps/unix/sysv/linux/Makefile
312 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
314 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
315 Drop trailing \n from perror argument. Use return rather than exit.
317 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
319 * nptl/tst-cancel21.c (do_test): Likewise.
320 * debug/tst-backtrace6.c: Include <signal.h> first thing.
321 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
322 [!SA_SIGINFO]: Make it a stub test.
324 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
325 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
327 * posix/tst-getlogin.c: Move to ...
328 * login/tst-getlogin.c: ... here.
329 * posix/Makefile (tests): Move tst-getlogin to ...
330 * login/Makefile (tests): ... here.
332 * libio/tst-atime.c (do_test): Move local variables SV and E
333 inside [ST_NOATIME] conditional.
335 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
337 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
339 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
340 (wait_code): New function replaces macro.
341 Call nanosleep rather than syscall.
343 * nptl/pt-system.c: Rewritten. Put everything under
344 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
345 Use IFUNC to redirect when possible.
347 * nptl/pt-longjmp.c: Rewritten. Put everything under
348 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
349 Use IFUNC to redirect when possible.
351 * nptl/pt-fork.c: Rewritten. Put everything under
352 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
353 Use IFUNC to redirect when possible.
354 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
356 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
357 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
358 unconditionally nowadays. This included the only reference to
359 __vdso_clock_gettime that appears outside libc proper.
360 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
361 Remove version set (containing only __vdso_clock_gettime).
362 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
363 Add attribute_hidden.
364 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
365 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
366 libc_hidden_data_def.
367 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
368 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
370 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
371 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
372 setrpcent, and getrpcport to ...
373 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
374 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
375 getrpcbynumber_r, and getrpcent_r to ...
376 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
377 * inet/getrpcbyname.c: Moved ...
378 * sunrpc/getrpcbyname.c: ... here.
379 * inet/getrpcbyname_r.c: Moved ...
380 * sunrpc/getrpcbyname_r.c: ... here.
381 * inet/getrpcbynumber.c: Moved ...
382 * sunrpc/getrpcbynumber.c: ... here.
383 * inet/getrpcbynumber_r.c: Moved ...
384 * sunrpc/getrpcbynumber_r.c: ... here.
385 * inet/getrpcent.c: Moved ...
386 * sunrpc/getrpcent.c: ... here.
387 * inet/getrpcent_r.c: Moved ...
388 * sunrpc/getrpcent_r.c: ... here.
389 * inet/Makefile (routines): Move those to ...
390 * sunrpc/Makefile (routines): ... here.
391 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
393 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
394 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
395 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
396 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
398 * elf/Makefile (routines): Include $(all-dl-routines), not just
400 (rtld-routines): Likewise. Use = rather than :=.
401 * sysdeps/aarch64/Makefile [$(subdir) = elf]
402 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
403 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
404 * sysdeps/arm/Makefile: Likewise.
405 * sysdeps/i386/Makefile: Likewise.
406 * sysdeps/x86_64/Makefile: Likewise.
407 * sysdeps/hppa/Makefile [$(subdir) = elf]
408 (sysdep_routines, sysdep-rtld-routines): Don't add
409 $(sysdep-dl-routines) to these.
410 * sysdeps/ia64/Makefile: Likewise.
411 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
412 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
413 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
414 Don't add dl-static to these; sysdep-dl-routines alone is enough.
415 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
416 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
417 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
418 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
419 * sysdeps/powerpc/Makefile [$(subdir) = elf]
420 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
421 these; sysdep-dl-routines alone is enough.
423 2015-02-06 Joseph Myers <joseph@codesourcery.com>
426 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
427 where multiplication results in zero and third argument is finite
429 * math/auto-libm-test-in: Add more tests of fma.
430 * math/auto-libm-test-out: Regenerated.
432 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
433 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
434 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
435 (_FP_CMP_EQ): Likewise.
436 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
438 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
439 extra argument CHECK_NAN. Redefine as wrapper around
442 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
444 * version.h (RELEASE): Set to "stable".
445 (VERSION): Set to "2.21"
446 * include/features.h (__GLIBC_MINOR__): Set to 21.
448 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
450 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
451 Paul Eggert <eggert@cs.ucla.edu>
454 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
455 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
456 size in bytes. Store needed elements in wpmax. Use needed size
457 in bytes for extend_alloca.
459 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
461 * manual/install.texi: Latest tested versions are GCC 4.9.2,
462 binutls 2.25, and texinfo 5.2.
463 * INSTALL: Regenerate.
464 * sysdeps/nios2/configure: Regenerate.
465 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
466 * manual/contrib.texi: Update.
490 * po/pt_BR.po: Update.
499 * po/zh_CN.po: Update.
500 * po/zh_TW.po: Update.
502 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
503 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
504 * sysdeps/hppa/dl-irel.h: Remove #warning.
505 * sysdeps/hppa/entry.h: Provide prototype for
506 __canonicalize_funcptr_for_compare and cast argument.
507 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
508 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
509 * sysdeps/hppa/sotruss-lib.c: New file.
510 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
511 (atomic_compare_and_exchange_val_acq): Use __typeof__.
512 (atomic_compare_and_exchange_bool_acq): Likewise.
513 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
514 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
516 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
517 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
518 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
520 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
522 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
523 called function in non-PIC case.
525 2015-01-31 David S. Miller <davem@davemloft.net>
527 * sysdeps/sparc/sparc32/bits/atomic.h
528 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
530 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
531 volatile register usage warnings from the compiler.
533 * sysdeps/sparc/nptl/sem_init.c: Delete.
534 * sysdeps/sparc/nptl/sem_post.c: Delete.
535 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
536 * sysdeps/sparc/nptl/sem_wait.c: Delete.
537 * sysdeps/sparc/sparc32/sem_init.c: New file.
538 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
539 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
540 padding explicitly initialized.
541 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
542 padding for in-semaphore spinlock.
543 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
544 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
545 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
546 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
547 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
548 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
549 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
550 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
552 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
553 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
555 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
559 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
560 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
562 (index_AVX_Fast_Unaligned_Load): Likewise.
563 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
564 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
565 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
566 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
567 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
568 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
569 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
570 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
571 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
573 2015-01-29 Andreas Schwab <schwab@suse.de>
575 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
577 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
580 * nscd/nscd_stat.c (send_stats): Initialize DATA.
582 2015-01-28 Martin Sebor <msebor@redhat.com>
584 * math/README.libm-test: Clarify. Add "How to read the test output."
586 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
588 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
591 2015-01-28 Joseph Myers <joseph@codesourcery.com>
593 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
594 (__HAVE_64B_ATOMICS): Define to 0.
596 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
599 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
600 value to set as new flag.
603 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
604 and use _ARCH_PPCSQ instead.
605 (__ieee754_sqrt): Likewise.
606 (__ieee754_sqrtf): Likewise.
607 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
608 _ARCH_PPCSQ is defined.
609 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
611 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
612 _ARCH_PPCSQ is defined.
613 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
615 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
617 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
619 * iconv/loop.c: Suppress array out of bound warning caused by GCC
622 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
624 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
625 Mark _retval as used.
626 (lll_futex_wake_unlock): Likewise.
627 (lll_futex_timed_wait_requeue_pi): Likewise.
629 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
630 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
633 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
636 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
637 (__bswap_64): Mark as __always_inline.
639 2015-01-25 Bram <bug_rh@spam.wizbit.be>
642 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
643 when none of the search directories exist.
645 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
648 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
649 power8 in .machine directive.
652 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
653 set dependency from opd value.
655 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
658 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
661 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
664 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
666 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
668 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
669 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
670 Replace 1UL with (uint64_t) 1.
671 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
674 2015-01-23 Roland McGrath <roland@hack.frob.com>
676 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
677 (if_freenameindex): Likewise.
679 * resource/getrlimit64.c: Add missing libc_hidden_def.
681 2015-01-22 Joseph Myers <joseph@codesourcery.com>
683 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
686 (_FP_TO_INT_ROUND): Likewise.
687 (_FP_FROM_INT): Likewise.
689 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
693 Make code racy and cancel safe.
695 2015-01-21 Carlos O'Donell <carlos@redhat.com>
697 * sysdeps/arm/unwind-resume.h: Fix copyright year.
698 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
701 * pwd/tst-getpw.c: Rewrite.
704 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
705 (modules-names): Add moddummy1 and moddummy2.
706 ($(objpfx)tst-rec-dlopen): Define.
707 * dlfcn/moddummy1.c: New file.
708 * dlfcn/moddummy2.c: New file.
709 * dlfcn/tst-rec-dlopen.c: New file.
710 * elf/dl-cache.c (_dl_load_cache_lookup):
711 Return char*. Copy result with alloca/strcpy/strdup.
712 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
713 returns char*. Free cached. If not saving realname
715 * elf/dl-open.c (dl_open_worker): Do not assert that
716 _r_debug->r_state is RT_CONSISTENT.
717 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
720 2015-01-21 Torvald Riegel <triegel@redhat.com>
721 Carlos O'Donell <carlos@redhat.com>
724 * nptl/sem_waitcommon.c: New file.
725 * nptl/sem_wait.c: Include sem_waitcommon.c.
726 (__sem_wait_cleanup, do_futex_wait): Remove.
727 (__new_sem_wait): Adapt.
728 (__new_sem_trywait): New function.
729 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
730 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
731 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
732 (sem_timedwait): Adapt.
733 * nptl/sem_post.c (__new_sem_post): Adapt.
734 (futex_wake): New function.
735 (__old_sem_post): Add release MO fence.
736 * nptl/sem_open.c (sem_open): Adapt.
737 * nptl/sem_init.c (__new_sem_init): Adapt.
738 (futex_private_if_supported): New function.
739 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
740 (__old_sem_getvalue): Add using previous code.
741 * sysdeps/nptl/internaltypes.h: Adapt.
742 * nptl/tst-sem13.c (do_test): Adapt.
743 * nptl/tst-sem11.c (main): Adapt.
744 * nptl/sem_trywait.c: Remove.
745 * nptl/DESIGN-sem.txt: Remove.
746 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
747 (gen-as-const-headers): Remove structsem.sym.
748 * nptl/structsem.sym: Remove.
749 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
750 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
751 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
752 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
753 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
754 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
755 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
756 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
757 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
758 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
759 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
760 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
761 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
762 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
763 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
764 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
765 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
766 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
767 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
768 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
769 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
770 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
772 2015-01-20 Carlos O'Donell <carlos@redhat.com>
774 * INSTALL: Regenerated.
776 * po/libc.pot: Regenerated.
778 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
779 Sandra Loosemore <sandra@codesourcery.com>
780 Andrew Jenner <andrew@codesourcery.com>
781 Joseph Myers <joseph@codesourcery.com>
782 Nathan Sidwell <nathan@codesourcery.com>
784 * NEWS: Mention new Nios II port.
785 * sysdeps/nios2/Implies: New file.
786 * sysdeps/nios2/Makefile: New file.
787 * sysdeps/nios2/Subdirs: New file.
788 * sysdeps/nios2/Versions: New file.
789 * sysdeps/nios2/__longjmp.S: New file.
790 * sysdeps/nios2/abort-instr.h: New file.
791 * sysdeps/nios2/backtrace.c: New file.
792 * sysdeps/nios2/bits/endian.h: New file.
793 * sysdeps/nios2/bits/fenv.h: New file.
794 * sysdeps/nios2/bits/link.h: New file.
795 * sysdeps/nios2/bits/setjmp.h: New file.
796 * sysdeps/nios2/bsd-_setjmp.S: New file.
797 * sysdeps/nios2/bsd-setjmp.S: New file.
798 * sysdeps/nios2/configure: New generated file.
799 * sysdeps/nios2/configure.ac: New file.
800 * sysdeps/nios2/crti.S: New file.
801 * sysdeps/nios2/crtn.S: New file.
802 * sysdeps/nios2/dl-init.c: New file.
803 * sysdeps/nios2/dl-machine.h: New file.
804 * sysdeps/nios2/dl-sysdep.h: New file.
805 * sysdeps/nios2/dl-tls.h: New file.
806 * sysdeps/nios2/dl-trampoline.S: New file.
807 * sysdeps/nios2/gccframe.h: New file.
808 * sysdeps/nios2/gmp-mparam.h: New file.
809 * sysdeps/nios2/jmpbuf-offsets.h: New file.
810 * sysdeps/nios2/jmpbuf-unwind.h: New file.
811 * sysdeps/nios2/ldsodefs.h: New file.
812 * sysdeps/nios2/libc-tls.c: New file.
813 * sysdeps/nios2/libm-test-ulps: New file.
814 * sysdeps/nios2/machine-gmon.h: New file.
815 * sysdeps/nios2/math-tests.h: New file.
816 * sysdeps/nios2/math_private.h: New file.
817 * sysdeps/nios2/memusage.h: New file.
818 * sysdeps/nios2/nptl/Makefile: New file.
819 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
820 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
821 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
822 * sysdeps/nios2/nptl/pthreaddef.h: New file.
823 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
824 * sysdeps/nios2/nptl/tls.h: New file.
825 * sysdeps/nios2/preconfigure: New file.
826 * sysdeps/nios2/s_fma.c: New file.
827 * sysdeps/nios2/s_fmaf.c: New file.
828 * sysdeps/nios2/setjmp.S: New file.
829 * sysdeps/nios2/sfp-machine.h: New file.
830 * sysdeps/nios2/sotruss-lib.c: New file.
831 * sysdeps/nios2/stackguard-macros.h: New file.
832 * sysdeps/nios2/stackinfo.h: New file.
833 * sysdeps/nios2/start.S: New file.
834 * sysdeps/nios2/sysdep.h: New file.
835 * sysdeps/nios2/tls-macros.h: New file.
836 * sysdeps/nios2/tst-audit.h: New file.
837 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
838 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
839 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
840 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
841 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
842 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
843 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
844 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
845 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
846 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
847 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
848 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
849 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
850 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
851 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
852 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
853 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
854 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
855 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
856 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
857 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
858 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
859 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
860 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
861 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
862 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
863 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
864 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
865 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
866 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
867 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
868 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
869 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
870 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
871 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
872 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
873 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
874 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
875 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
876 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
877 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
878 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
879 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
880 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
882 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
885 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
886 (getutent): Use weak_alias in non SHARED case
887 and default_symbol_version in SHARED case.
888 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
889 (getutent_r, pututline): Likewise.
890 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
892 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
893 (getutid_r): Likewise.
894 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
895 (getutline): Likewise.
896 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
897 (getutline_r): Likewise.
898 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
901 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
904 * sysdeps/s390/s390-32/memcmp.S
905 (memcmp_g5): Rename to __memcmp_g5.
906 * sysdeps/s390/s390-32/memcpy.S
907 (memcpy_g5): Rename to __memcpy_g5.
908 Jump to __memcpy_mvcle instead of memcpy_mvcle.
909 (memcpy_mvcle) Rename to __memcpy_mvcle.
910 * sysdeps/s390/s390-32/memset.S
911 (memset_g5): Rename to __memset_g5.
912 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
913 (IFUNC_RESOLVE): Prefix ifunc-resolve function
914 and use prefixed functions.
915 * sysdeps/s390/s390-32/multiarch/memcmp.S
916 (memcmp_z196): Rename to __memcmp_z196.
917 (memcmp_z10): Rename to __memcmp_z10.
918 (memcmp): Set alias to __memcmp_g5.
919 (bcmp): Set alias to __memcmp_g5.
920 * sysdeps/s390/s390-32/multiarch/memcpy.S
921 (memcpy_z196): Rename to __memcpy_z196.
922 Jump to __memcpy_mvcle instead of memcpy_mvcle.
923 (memcpy_z10): Rename to __memcpy_z10.
924 Jump to __memcpy_mvcle instead of memcpy_mvcle.
925 (memcpy): Set alias to __memcpy_g5.
926 * sysdeps/s390/s390-32/multiarch/memset.S
927 (memset_z196): Rename to __memset_z196.
928 Jump to __memset_mvcle instead of memset_mvcle.
929 (memset_z10): Rename to __memset_z10.
930 Jump to __memset_mvcle instead of memset_mvcle.
931 (memset_mvcle) Rename to __memset_mvcle.
932 (memset): Set alias to __memset_g5.
933 * sysdeps/s390/s390-64/memcmp.S
934 (memcmp_z900): Rename to __memcmp_z900.
935 * sysdeps/s390/s390-64/memcpy.S
936 (memcpy_z900): Rename to __memcpy_z900.
937 Jump to __memcpy_mvcle instead of memcpy_mvcle.
938 (memcpy_mvcle) Rename to __memcpy_mvcle.
939 * sysdeps/s390/s390-64/memset.S
940 (memset_z900): Rename to __memset_z900.
941 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
942 (IFUNC_RESOLVE): Prefix ifunc-resolve function
943 and use prefixed functions.
944 * sysdeps/s390/s390-64/multiarch/memcmp.S
945 (memcmp_z196): Rename to __memcmp_z196.
946 (memcmp_z10): Rename to __memcmp_z10.
947 (memcmp): Set alias to __memcmp_z900.
948 (bcmp): Set alias to __memcmp_z900.
949 * sysdeps/s390/s390-64/multiarch/memcpy.S
950 (memcpy_z196): Rename to __memcpy_z196.
951 Jump to __memcpy_mvcle instead of memcpy_mvcle.
952 (memcpy_z10): Rename to __memcpy_z10.
953 Jump to __memcpy_mvcle instead of memcpy_mvcle.
954 (memcpy): Set alias to __memcpy_z900.
955 * sysdeps/s390/s390-64/multiarch/memset.S
956 (memset_z196): Rename to __memset_z196.
957 Jump to __memset_mvcle instead of memset_mvcle.
958 (memset_z10): Rename to __memset_z10.
959 Jump to __memset_mvcle instead of memset_mvcle.
960 (memset_mvcle) Rename to __memset_mvcle.
961 (memset): Set alias to __memset_z900.
963 2015-01-14 Joseph Myers <joseph@codesourcery.com>
966 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
967 __fesetenv instead of fesetenv.
969 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
971 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
974 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
976 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
979 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
980 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
981 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
982 strncmp-power8 object.
983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
984 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
985 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
988 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
989 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
991 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
994 2015-01-13 David S. Miller <davem@davemloft.net>
996 * include/signal.h (__sigreturn): Guard with __USE_MISC.
998 2015-01-13 Roland McGrath <roland@hack.frob.com>
1000 * login/logout.c (logout): Use memset rather than bzero.
1001 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1002 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1003 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1004 (_gethtbyaddr): Likewise.
1005 * locale/programs/simple-hash.c (bcopy): Macro removed.
1007 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1009 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1010 Add strcmp-power8 object.
1011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1012 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1013 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1014 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1015 __strcmp_power8 implementation.
1016 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1019 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1020 Add strncpy-power8 and stpncpy-power8 objects.
1021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1022 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1024 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1025 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1026 __stpncpy_power8 implementation.
1027 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1028 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1029 __strncpy_power8 implementation.
1030 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1031 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1034 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1035 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1036 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1038 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1039 strncat-power8 object.
1040 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1041 __strcat_power8 implementation.
1042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1043 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1044 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1045 optimized strcat for power8.
1047 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1048 strcpy-power8 and stpcpy-power8 objects.
1049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1050 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1052 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1053 multiarch stpcpy implementation for POWER8.
1054 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1055 multiarch strcpy implementation for POWER8.
1056 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1057 __strcpy_power8 function.
1058 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1060 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1064 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1067 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1068 weights and rules. Use do_xfrm_cached if data fits in cache,
1069 do_xfrm otherwise. Moved former main loop to...
1070 * (do_xfrm_cached): New function.
1071 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1072 find_idx, find_position and stack_push.
1073 * (find_idx): New function.
1074 * (find_position): Likewise.
1075 * localedata/sort-test.sh: Added test run for do_xfrm.
1076 * localedata/xfrm-test.c (main): Added command line option
1077 -nocache to run the test with strings that are too large for
1080 2015-01-13 Torvald Riegel <triegel@redhat.com>
1082 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1083 variable to lll_futex_wake call, not the value itself.
1085 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1088 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1089 twom64. Adjust value to 0x1p-64L.
1090 (__scalblnl): Only return standard underflowing result for K <=
1091 -64 not K <= -63; adjust exponent for underflowing result by 64
1093 * math/libm-test.inc (scalbn_test_data): Add more tests.
1094 (scalbln_test_data): Likewise.
1097 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1099 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1101 * math/libm-test.inc (scalbn_test_data): Add more tests.
1102 (scalbln_test_data): Likewise.
1104 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1105 Stefani Seibold <stefani@seibold.net>
1107 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1108 (sysdep_routines): Add dl-vdso here, ...
1109 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1110 (sysdep_routines): ... not here.
1111 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1112 fallback when vDSO is not presented.
1113 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1114 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1115 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1116 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1117 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1118 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1119 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1120 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1121 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1123 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1124 fallback configurable symbol when vDSO is not available.
1125 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1126 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1127 be able to redefine fallback symbol when vDSO is not available.
1128 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1129 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1131 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1133 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1134 (TLS_INIT_TP): Add tm_capable initialization.
1135 (TLS_DEFINE_INIT_TP): Likewise.
1136 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1138 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1139 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1141 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1142 transactoion is lock elision is built and TCB tm_capable is set.
1143 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1145 (INTERNAL_SYSCALL_NCS): Likewise.
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1147 (INTERNAL_SYSCALL_NCS): Likewise.
1148 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1150 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1152 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1153 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1154 and remove it for 32 bits case.
1155 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1156 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1158 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1159 Disable lock elision with rdlocks if elision is not available.
1161 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1162 (sysdep_routines): Add lock elision objects.
1163 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1164 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1165 [pthread_mutex_t] (__elision): Add field.
1166 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1167 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1168 elision definitions for powerpc.
1169 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1170 implementation of lock elision for powerpc.
1171 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1172 implementation of timed lock elision for powerpc.
1173 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1174 implementation of trylock with lock elision for powerpc.
1175 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1176 implementaion of unlock for lock elision for powerpc.
1177 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1178 automatic enable lock elision for mutexes.
1179 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1180 transaction execution definitions for powerpc.
1181 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1183 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1184 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1185 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1186 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1189 2015-01-09 Roland McGrath <roland@hack.frob.com>
1191 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1192 for #include of <shm-directory.h>.
1194 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1196 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1197 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1199 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1202 * NEWS: Mention bug fix.
1203 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1204 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1205 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1207 2015-01-09 Torvald Riegel <triegel@redhat.com>
1209 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1211 2015-01-09 Torvald Riegel <triegel@redhat.com>
1213 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1215 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1217 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1218 pointer and cast to uintptr_t.
1220 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1222 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1224 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1226 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1228 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1231 2015-01-08 Roland McGrath <roland@hack.frob.com>
1233 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1234 <nptl/pthreadP.h> instead.
1235 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1237 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1239 [__SIGRTMIN] (init): Function removed.
1240 [__SIGRTMIN] (initialized): Variable removed.
1241 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1242 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1243 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1244 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1245 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1246 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1247 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1248 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1249 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1250 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1251 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1252 * sysdeps/nptl/allocrtsig.c: New file.
1253 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1254 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1255 * sysdeps/generic/testrtsig.h: File removed.
1257 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1258 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1260 * nptl/nptl-init.c (pthread_functions): Conditionalize
1261 .ptr__nptl_setxid initialization on [SIGSETXID].
1263 * sysdeps/nptl/sys/procfs.h: New file.
1264 * nptl_db/Makefile (headers): Add it.
1265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1267 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1268 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1269 * nptl/pthread_attr_setaffinity.c: Include it.
1270 * nptl/pthread_setattr_default_np.c: Likewise.
1271 * nptl/check-cpuset.h: New file.
1273 2015-01-08 Richard Henderson <rth@redhat.com>
1275 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1276 (CFLAGS-tst-execstack-prog.c): Likewise.
1277 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1279 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1280 Sandra Loosemore <sandra@codesourcery.com>
1281 Andrew Jenner <andrew@codesourcery.com>
1282 Joseph Myers <joseph@codesourcery.com>
1283 Nathan Sidwell <nathan@codesourcery.com>
1285 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1286 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1287 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1288 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1289 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1290 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1291 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1292 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1293 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1294 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1295 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1296 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1297 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1298 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1299 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1300 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1301 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1303 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1306 timespec struct member in syscall macro.
1307 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1308 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1309 first timeval struct member in syscall macro.
1310 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1312 2015-01-07 Joseph Myers <joseph@codesourcery.com>
1315 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1316 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1317 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1318 __feupdateenv and define as weak alias of __feupdateenv. Use
1320 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1322 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1323 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1324 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1325 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1327 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1328 __feupdateenv and define as weak alias of __feupdateenv. Use
1330 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1332 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1333 __feupdateenv and define as weak alias of __feupdateenv. Use
1335 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1337 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1338 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1339 (__feupdateenv): Likewise.
1340 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1341 __feupdateenv and define as weak alias of __feupdateenv. Use
1343 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1344 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1346 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1348 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1350 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1351 __feupdateenv instead of feupdateenv.
1352 (default_libc_feupdateenv_test): Likewise.
1353 (libc_feresetround_ctx): Likewise.
1355 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1357 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1360 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1362 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1363 COLL_SYM in a couple of places to avoid uninitialized variable
1364 wanings on tilegx gcc 4.8.2.
1366 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1368 * sysdeps/aarch64/strcpy.S: New file.
1369 * sysdeps/aarch64/stpcpy.S: New file.
1372 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1374 * sysdeps/aarch64/strrchr.S: New file.
1377 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
1380 * stdlib/setenv.c: Fix memory leak when setting large,
1383 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1386 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1387 and tabs from buffer before parsing fstab entry.
1388 * misc/tst-mntent.c (main): Add test for mount entry with
1389 trailing spaces and tabs.
1391 2015-01-06 Joseph Myers <joseph@codesourcery.com>
1394 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1395 * math/fesetround.c (fesetround): Rename to __fesetround and
1396 define as weak alias of __fesetround. Use libm_hidden_weak.
1397 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1398 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1399 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1400 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1401 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1402 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1403 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1404 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1405 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1406 __fesetround_inline.
1407 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1408 __fesetround_inline instead of __fesetround.
1409 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1410 __fesetround and define as weak alias of __fesetround. Use
1411 libm_hidden_weak. Call __fesetround_inline instead of
1413 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1414 __fesetround and define as weak alias of __fesetround. Use
1416 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1418 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1419 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1420 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1421 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1422 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1423 __fesetround and define as weak alias of __fesetround. Use
1425 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1426 __fesetround instead of fesetround.
1427 (default_libc_feholdexcept_setround): Likewise.
1428 (libc_feholdsetround_ctx): Likewise.
1429 (libc_feholdsetround_noex_ctx): Likewise.
1432 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1433 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1434 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1435 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1436 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1437 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1438 define as weak alias of __fesetenv. Use libm_hidden_weak.
1439 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1440 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1441 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1442 define as weak alias of __fesetenv. Use libm_hidden_weak.
1443 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1444 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1445 define as weak alias of __fesetenv. Use libm_hidden_weak.
1446 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1448 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1449 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1451 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1452 define as weak alias of __fesetenv. Use libm_hidden_weak.
1453 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1454 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1455 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1456 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1457 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1458 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1459 __fesetenv instead of fesetenv.
1460 (libc_feresetround_noex_ctx): Likewise.
1461 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1462 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1463 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1464 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1465 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1466 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1467 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1468 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1469 (__feupdateenv): Likewise.
1470 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1471 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1472 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1473 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1475 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1478 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1479 addresses have been freed.
1481 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1483 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1486 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
1488 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1489 Clean up check_pf allocation pattern. addresses
1491 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1493 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1494 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1495 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1496 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1497 * nptl/pthread_join.c (pthread_join): Likewise.
1498 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1499 * sysdeps/posix/waitid.c (__waitid): Likewise.
1500 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1501 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1502 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1503 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1504 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1506 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1507 (__libc_pread64): Likewise.
1508 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1509 (__libc_pwrite): Likewise.
1510 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1511 (__libc_pwrite64): Likewsie.
1512 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1513 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1514 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1515 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1516 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1517 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1518 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1522 (__libc_pread64): Likewise.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1526 (__libc_pwrite64): Likewise.
1527 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1528 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1529 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1530 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1531 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1532 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1533 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1534 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1535 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1536 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1537 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1538 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1539 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1540 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1541 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1542 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1545 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1547 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1548 (CFLAGS-test-double.c): Likewise.
1549 (CFLAGS-test-ldouble.c): Likewise.
1550 (CPPFLAGS-test-ifloat.c): Likewise.
1551 (CPPFLAGS-test-idouble.c): Likewise.
1552 (CPPFLAGS-test-ildoubl.c): Likewise.
1553 (CFLAGS-test-test-fenv.c): Remove variable.
1554 (CFLAGS-test-misc.c): Likewise.
1556 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1559 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1560 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1561 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1562 CLOCKS_PER_SEC == 1000000.
1563 * time/clocktest.c (main): Replace %ld with %jd and cast to
1566 2015-01-05 Roland McGrath <roland@hack.frob.com>
1568 * sysdeps/generic/unwind-resume.h: New file.
1569 * sysdeps/gnu/unwind-resume.c: Include it.
1570 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1571 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1573 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1574 global rather than static.
1575 (_Unwind_Resume): Update user.
1576 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1577 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1578 rather than static. Add __attribute__ ((cold)).
1579 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1580 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1581 * sysdeps/arm/arm-unwind-resume.S: New file.
1582 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1583 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1584 * sysdeps/arm/Makefile [$(subdir) = csu]
1585 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1586 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1587 Add rt-arm-unwind-resume.
1589 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1590 Add pt-arm-unwind-resume.
1591 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1592 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1594 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1597 * include/fenv.h (__feholdexcept): Declare. Use
1599 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1600 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1601 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1602 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1603 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1604 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1605 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1606 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1607 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1608 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1609 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1610 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1611 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1612 (feholdexcept): Likewise.
1613 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1614 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1615 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1616 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1617 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1618 __feholdexcept instead of feholdexcept.
1619 (default_libc_feholdexcept_setround): Likewise.
1621 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1623 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1624 to avoid using stl/str to align destination.
1626 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1628 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1630 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1633 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1634 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1635 Define as weak alias not strong alias.
1637 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1639 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1640 bltzal with addiupc.
1641 (RTLD_START): Ditto.
1643 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1645 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1646 for __vdso_* functions in declarations.
1647 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1649 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1650 INTERNAL_VSYSCALL): Use struct return types to check for error.
1652 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1653 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1654 function with cast from llround().
1655 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1656 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1659 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1662 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1663 Define as weak alias not strong alias.
1666 * ctype/ctype-c99.c: New file. isblank implementation moved from
1668 * ctype/ctype-extn.c: ... here.
1669 (__isblank_l): Move to ...
1670 * ctype/ctype-c99_l.c: ... here. New file.
1671 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1672 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1674 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1675 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1676 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1677 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1678 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1681 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1682 (posix_fadvise64): Define as weak alias not strong alias.
1683 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1684 (posix_fallocate64): Likewise.
1685 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1687 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1688 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1689 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1690 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1691 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1693 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1696 * NEWS: Mention bug fix.
1697 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1698 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1699 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1700 (HOST_STACK_END_ADDR): Likewise.
1702 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1705 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1706 * math/fegetround.c (fegetround): Rename to __fegetround and
1707 define as weak alias of __fegetround. Use libm_hidden_weak.
1708 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1709 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1710 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1711 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1712 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1713 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1714 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1715 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1716 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1717 Undefine after rather than before function definition; use
1718 parentheses around function name in definition.
1719 (__fegetround): Also undefine macro after function definition.
1720 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1721 __fegetround and define as weak alias of __fegetround. Use
1722 libm_hidden_weak. Do not undefine as macro.
1723 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1725 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1726 __fegetround and define as weak alias of __fegetround. Use
1728 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1729 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1730 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1731 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1732 __fegetround and define as weak alias of __fegetround. Use
1734 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1735 __fegetround instead of fegetround.
1738 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1739 Condition macro definition on [__USE_MISC].
1742 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1743 (struct sigaction): Change type of sa_flags field to int.
1746 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1747 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1750 * nptl/version.c (banner): Use single year in copyright notice.
1752 * NEWS: Update copyright dates.
1753 * catgets/gencat.c (print_version): Likewise.
1754 * csu/version.c (banner): Likewise.
1755 * debug/catchsegv.sh: Likewise.
1756 * debug/pcprofiledump.c (print_version): Likewise.
1757 * debug/xtrace.sh (do_version): Likewise.
1758 * elf/ldconfig.c (print_version): Likewise.
1759 * elf/ldd.bash.in: Likewise.
1760 * elf/pldd.c (print_version): Likewise.
1761 * elf/sotruss.sh: Likewise.
1762 * elf/sprof.c (print_version): Likewise.
1763 * iconv/iconv_prog.c (print_version): Likewise.
1764 * iconv/iconvconfig.c (print_version): Likewise.
1765 * locale/programs/locale.c (print_version): Likewise.
1766 * locale/programs/localedef.c (print_version): Likewise.
1767 * login/programs/pt_chown.c (print_version): Likewise.
1768 * malloc/memusage.sh (do_version): Likewise.
1769 * malloc/memusagestat.c (print_version): Likewise.
1770 * malloc/mtrace.pl: Likewise.
1771 * manual/libc.texinfo: Likewise.
1772 * nptl/version.c (banner): Likewise.
1773 * nscd/nscd.c (print_version): Likewise.
1774 * nss/getent.c (print_version): Likewise.
1775 * nss/makedb.c (print_version): Likewise.
1776 * posix/getconf.c (main): Likewise.
1777 * scripts/test-installation.pl: Likewise.
1778 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1780 2015-01-02 Will Newton <will.newton@linaro.org>
1782 * sysdeps/arm/armv7/configure: Removed.
1783 * sysdeps/arm/armv7/configure.ac: Likewise.
1785 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1787 * All files with FSF copyright notices: Update copyright dates
1788 using scripts/update-copyrights.
1789 * intl/plural.c: Regenerated.
1790 * locale/programs/charmap-kw.h: Likewise.
1791 * locale/programs/locfile-kw.h: Likewise.
1793 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1795 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1797 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1800 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1801 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1802 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1803 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1804 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1805 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1806 define as weak alias of __fegetenv. Use libm_hidden_weak.
1807 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1808 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1809 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1810 define as weak alias of __fegetenv. Use libm_hidden_weak.
1811 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1812 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1813 define as weak alias of __fegetenv. Use libm_hidden_weak.
1814 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1816 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1817 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1819 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1820 define as weak alias of __fegetenv. Use libm_hidden_weak.
1821 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1822 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1823 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1824 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1825 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1826 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1827 __fegetenv instead of fegetenv.
1828 (libc_feholdsetround_noex_ctx): Likewise.
1830 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1832 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1833 (Elf_MIPS_ABIFlags_v0): New structure.
1834 (EF_MIPS_FP64): Define.
1835 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1836 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1837 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1838 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1839 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1840 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1841 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1842 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1843 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1844 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1845 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1846 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1847 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1848 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1849 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1850 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1851 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1852 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1853 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1854 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1855 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1856 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1858 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1860 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1861 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1862 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1863 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1864 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1865 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1866 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1867 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1868 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1869 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1870 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1871 record the current FP ABI extension.
1872 (mips-mode-switch): Define to show if kernel headers support mode
1874 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1875 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1876 supported SYSV ABI version to 3.
1877 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1880 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1881 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1883 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1885 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1887 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1889 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1890 __fegetround and redefine to call __fegetround. Remove condition
1891 on [!__NO_MATH_INLINES].
1892 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1894 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1895 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1897 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1898 instead of <fenv_libc.h>.
1899 (__llrintl): Call fegetround instead of __fegetround.
1900 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1901 instead of <fenv_libc.h>.
1902 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1903 (__lrintl): Call fegetround instead of __fegetround.
1904 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1905 instead of <fenv_libc.h>.
1906 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1907 (__rintl): Call fegetround instead of __fegetround.
1909 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1911 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1914 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1917 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1918 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1919 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1921 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1923 * sysdeps/i386/tls-macros.h: Include <features.h>.
1924 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1928 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1929 define for GCC >= 5.0.
1931 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1933 * math/test-fenv.c (test_single_exception, set_single_exc,
1934 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1935 feexcp_mask_test, feenable_test, fe_single_test): Add
1936 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1937 case where they are not used.
1938 * math/libm-test.inc: Likewise.
1939 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1940 unused in the absence of FP rounding/exception support.
1941 * stdio-common/tst-printf-round.c: Likewise.
1942 * stdlib/tst-strtod-round.c: Likewise.
1943 * stdlib/tst-strtod-underflow.c: Likewise.
1945 2014-12-30 Joseph Myers <joseph@codesourcery.com>
1948 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1949 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1950 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1951 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1953 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1954 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1955 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1957 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1958 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1960 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1962 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1963 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1964 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1966 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1968 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1969 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1970 (__feraiseexcept): Likewise.
1971 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1972 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1974 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1975 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1977 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1978 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1979 Use libm_hidden_def.
1980 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1982 (feraiseexcept): Define as weak not strong alias. Use
1984 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1985 New inline function. Factored out of ...
1986 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1987 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1988 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1990 * math/w_acos.c (__acos): Likewise.
1991 * math/w_asin.c (__asin): Likewise.
1992 * math/w_ilogb.c (__ilogb): Likewise.
1993 * math/w_j0.c (y0): Likewise.
1994 * math/w_j1.c (y1): Likewise.
1995 * math/w_jn.c (yn): Likewise.
1996 * math/w_log.c (__log): Likewise.
1997 * math/w_log10.c (__log10): Likewise.
1998 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1999 * sysdeps/aarch64/fpu/math_private.h
2000 (libc_feupdateenv_test_aarch64): Likewise.
2001 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2002 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2003 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2004 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2005 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2006 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2007 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2008 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2009 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2010 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2012 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2015 * io/test-utime.c (main): Replace %ld with %jd and cast to
2017 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2018 * nptl/tst-mutex5.c: Include <stdint.h>.
2019 (do_test): Replace %ld with %jd and cast to intmax_t.
2020 * posix/tst-regex.c (run_test): Likewise.
2021 (run_test_backwards): Likewise.
2022 * rt/tst-clock.c: Include <stdint.h>.
2023 (clock_test): Replace %ld with %jd and cast to intmax_t.
2024 * rt/tst-cpuclock1.c: Include <stdint.h>.
2025 (do_test): Replace %lu with %ju and cast to uintmax_t.
2026 * rt/tst-cpuclock2.c: Include <stdint.h>.
2027 (do_test): Replace %lu with %ju and cast to uintmax_t.
2028 * rt/tst-mqueue1.c: Include <stdint.h>.
2029 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2030 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2032 * rt/tst-mqueue4.c (do_test): Likewise.
2033 * rt/tst-timer4.c: Include <stdint.h>.
2034 (check_ts): Replace %ld with %jd and cast to intmax_t.
2035 (do_test): Likewise.
2036 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2037 and cast to intmax_t.
2038 * sysdeps/pthread/tst-timer.c (main): Likewise.
2039 * time/clocktest.c (main): Likewise.
2040 * time/tst-posixtz.c (do_test): Likewise.
2041 * timezone/tst-timezone.c (main): Likewise.
2043 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2044 H.J. Lu <hongjiu.lu@intel.com>
2046 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2047 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2048 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2049 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2050 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2051 version if bit_Fast_Unaligned_Load is set.
2052 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2053 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2054 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2055 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2056 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2057 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2059 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2060 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2061 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2063 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2064 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2065 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2066 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2068 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2070 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2071 instead of #if to avoid a Wundef warning.
2072 * stdlib/tst-limits.c (do_test): Likewise.
2074 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2075 parallel other exception macros.
2076 (fegetenv): Convert from macro to extern inline so that it applies
2077 retroactively to inline functions already seen by the compiler.
2078 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2080 * posix/Makefile (before-compile): Use $(objpfx) for
2081 posix-conf-vars-def.h.
2083 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2085 * posix/getconf.c (main): Use size_t for type of I.
2086 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2089 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2090 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2091 * posix/posix-envs.def: Likewise.
2092 * sysdeps/posix/sysconf.c: Likewise.
2093 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2094 (specs): Remove array.
2095 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2098 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2099 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2100 (__sysconf): Use CONF_IS_* macros.
2102 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2103 ($(objpfx)posix-conf-vars-def.h): New target.
2104 * posix/posix-conf-vars.list: New file.
2105 * posix/posix-conf-vars.h: New file.
2106 * posix/confstr.c: Include posix-conf-vars.h.
2107 (confstr): Use CONF_IS_* macros.
2108 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2110 * scripts/gen-posix-conf-vars.awk: New file.
2112 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2114 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2115 fegetround): Add no-op macros to avoid linknamespace issues.
2117 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2118 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2120 * sysdeps/unix/sysv/linux/tile/sysdep.h
2121 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2122 assembly-specific section to avoid a redefinition warning.
2124 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2125 long before casting to pointer to avoid a cast warning.
2127 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2129 * sysdeps/tile/tilegx/Implies: New file.
2131 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2133 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2135 2014-12-23 Florian Weimer <fweimer@redhat.com>
2137 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2139 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2141 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2143 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2144 <kernel-features.h>.
2145 (__utimes) [__NR_utimes]: Make code unconditional.
2146 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2147 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2148 (__ASSUME_UTIMES): Do not undefine.
2149 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2150 (__ASSUME_UTIMES): Likewise.
2151 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2152 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2153 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2154 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2156 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2158 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2160 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2163 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2164 alias to weak alias for j0l, y0l.
2165 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2166 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2169 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2172 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2174 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2175 to zero if not already defined.
2177 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2180 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2181 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2182 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2183 (char *) casts added.
2184 * sysdeps/ieee754/k_standardf.c: New file.
2185 * sysdeps/ieee754/k_standardl.c: Likewise.
2186 * math/Makefile (libm-support): Remove k_standard.
2187 (libm-calls): Add k_standard.
2189 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2191 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2192 Optimize to avoid an unnecessary FPCR read.
2194 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2196 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2197 Optimize to reduce FPCR/FPSR accesses.
2199 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2201 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2202 Call libc_fetestexcept_aarch64.
2204 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2206 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2207 Call libc_fesetround_aarch64.
2209 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2212 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2213 (__bind): Do not define as weak alias.
2214 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2216 (__getsockname): Do not define as weak alias.
2218 2014-12-22 Will Newton <will.newton@linaro.org>
2220 * manual/install.texi: Document that we require bison 2.7
2222 * INSTALL: Regenerate.
2223 * configure.ac: Use AC_CHECK_PROG_VER instead of
2224 AC_PATH_PROG when checking for bison and check for
2225 version 2.7 or above.
2226 * configure: Regenerate.
2228 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2231 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2232 * sysdeps/tile/ffsll.c (ffsll): To here.
2234 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2236 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2238 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2240 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2242 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2243 hidden ___tls_get_addr.
2244 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2245 hidden __tls_get_addr.
2246 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2247 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2250 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2252 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2255 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2257 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2258 from "call _dl_init@PLT".
2259 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2261 2014-12-21 Anders Kaseorg <andersk@mit.edu>
2263 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2266 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2268 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2270 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2273 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2276 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2278 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2280 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2281 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2282 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2283 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2284 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2286 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2288 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2289 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2290 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2291 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2292 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2294 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2296 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
2298 * string/strncat.c (STRNCAT): Simplify implementation.
2300 2014-12-19 David S. Miller <davem@davemloft.net>
2302 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2303 access the quad as both a long double and as a series of 4 words.
2305 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2306 link_map->l_info array access.
2308 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2310 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2312 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2313 * math/atest-exp2.c (TIMEOUT): Likewise.
2314 * math/atest-sincos.c (TIMEOUT): Likewise.
2316 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2318 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2319 -Wno-error with -fno-builtin-lround.
2321 2014-12-19 Torvald Riegel <triegel@redhat.com>
2323 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2324 Contains futex constants and functions moved over from ...
2325 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2326 <lowlevellock-futex.h>.
2327 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2328 (lll_timedwait_tid): Add comments and parentheses around macro
2331 2014-12-19 Torvald Riegel <triegel@redhat.com>
2333 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2334 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2335 (__lll_private_flag): Remove.
2336 (lll_futex_wait): Likewise.
2337 (lll_futex_timed_wait): Likewise.
2338 (lll_futex_wake): Likewise.
2339 (lll_futex_requeue): Likewise.
2340 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2341 (__lll_timedwait_tid): Spell out argument names.
2342 (lll_timedwait_tid): Add comments and parentheses around macro
2344 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2345 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2347 2014-12-19 Torvald Riegel <triegel@redhat.com>
2349 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2350 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2351 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2352 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2353 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2354 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2355 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2356 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2357 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2358 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2359 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2360 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2361 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2362 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2363 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2364 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2365 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2366 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2367 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2369 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2371 * sysdeps/x86_64/x32/Makefile: New file.
2373 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2375 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2376 1L with (mp_limb_t) 1.
2378 2014-12-17 Roland McGrath <roland@hack.frob.com>
2380 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2381 * nptl/libc_pthread_init.c: ... here.
2382 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2383 * nptl/register-atfork.c: ... here.
2385 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2386 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2387 Use assert_perror to check its return value.
2388 (__gai_create_helper_thread): Likewise.
2390 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2392 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2394 2014-12-17 Joseph Myers <joseph@codesourcery.com>
2397 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2399 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2401 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2403 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2405 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2406 (profil_counter): Likewise.
2407 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2408 (profil_counter): Likewise.
2409 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2411 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2413 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2414 (profil_counter): Likewise.
2415 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2417 [!__profil_counter] (profil_counter): Define as weak alias of
2419 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2420 (profil_counter): Rename to __profil_counter.
2421 [!__profil_counter] (profil_counter): Define as weak alias of
2423 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2424 (profil_counter): Rename to __profil_counter.
2425 [!__profil_counter] (profil_counter): Define as weak alias of
2427 * sysdeps/posix/profil.c: Update comment referring to
2429 (__profil): Use __profil_counter instead of profil_counter.
2430 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2431 __profil_counter. Use __profil_counter_ushort and
2432 __profil_counter_uint in definitions.
2433 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2434 instead of profil_counter_uint and profil_counter_ushort.
2437 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2438 define as weak alias of __inet_makeaddr.
2439 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2440 as weak alias of __inet_addr.
2441 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2442 as weak alias of __inet_pton. Use libc_hidden_weak.
2443 * include/arpa/inet.h (__inet_pton): Declare. Use
2445 (inet_makeaddr): Don't use libc_hidden_proto.
2446 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2447 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2448 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2449 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2451 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2452 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2454 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
2456 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2458 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2460 * stdio-common/bug-vfprintf-nargs.c (do_test):
2461 Cast value to intptr_t to avoid format warning
2462 for usage with PRIdPTR printing macro.
2464 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2466 * libio/tst-widetext.c (do_test):
2467 Use format type %td instead of %Zd for ptrdiff_t
2468 in order to avoid format warning.
2470 2014-12-17 Andreas Schwab <schwab@suse.de>
2472 * nscd/mem.c (gc): Add size_t cast to match printf format.
2474 2014-12-16 Roland McGrath <roland@hack.frob.com>
2476 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2477 (init): Apply PTR_MANGLE to pointers before storing them.
2478 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2481 2014-12-16 Joseph Myers <joseph@codesourcery.com>
2484 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2485 define as weak alias of __memrchr.
2486 (__memrchr): Do not define as strong alias of memrchr.
2487 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2489 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2490 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2491 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2494 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2495 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2496 (if_indextoname): Rename to __if_indextoname and define as weak
2497 alias of __if_indextoname. Use libc_hidden_weak.
2498 (if_freenameindex): Rename to __if_freenameindex and define as
2499 weak alias of __if_freenameindex.
2500 (if_nameindex): Rename to __if_nameindex and define as weak alias
2502 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2503 __if_nametoindex and define as weak alias of __if_nametoindex.
2504 Use libc_hidden_weak.
2505 (if_freenameindex): Rename to __if_freenameindex and define as
2506 weak alias of __if_freenameindex.
2507 (if_nameindex): Rename to __if_nameindex and define as weak alias
2509 (if_indextoname): Rename to __if_indextoname and define as weak
2510 alias of __if_indextoname. Use libc_hidden_weak.
2511 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2512 __if_nametoindex and define as weak alias of __if_nametoindex.
2513 Use libc_hidden_weak.
2514 (if_freenameindex): Rename to __if_freenameindex and define as
2515 weak alias of __if_freenameindex. Use libc_hidden_weak.
2516 (if_nameindex_netlink): Use __if_freenameindex instead of
2518 (if_nameindex): Rename to __if_nameindex and define as weak alias
2519 of __if_nameindex. Use libc_hidden_weak.
2520 (if_indextoname): Rename to __if_indextoname and define as weak
2521 alias of __if_indextoname. Use libc_hidden_weak.
2522 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2524 [!_ISOMAC] (__if_freenameindex): Likewise.
2525 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2527 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2529 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2530 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2531 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2532 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2533 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2534 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2535 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2537 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2539 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2540 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2542 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2544 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2545 subscript above bounds'
2547 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2550 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
2552 * libio/tst-fopenloc.c: Use test-skeleton.c.
2554 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2555 (entry): Rename to ITEM.
2556 (do_test, comp): Adjust.
2558 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2560 2014-12-16 Torvald Riegel <triegel@redhat.com>
2562 * string/tester.c: Include <libc-internal.h>.
2563 (test_memset): Ignore -Wmemset-transposed-args.
2565 2014-12-16 Torvald Riegel <triegel@redhat.com>
2567 * misc/tst-mntent2.c (do_test): Fix warning.
2569 2014-12-16 Torvald Riegel <triegel@redhat.com>
2571 * elf/tst-unique4lib.cc(a): Mark as used.
2573 2014-12-16 Florian Weimer <fweimer@redhat.com>
2576 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2579 2014-12-16 Allan McRae <allan@archlinux.org>
2581 * stdio-common/Makefile (tests): Re-add bug26.
2583 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
2586 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2589 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2591 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2592 (__lll_lock_wait): Likewise.
2593 (__lll_timedlock_wait): Likewise.
2594 (__lll_timedwait_tid): Likewise.
2595 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2596 (__lll_robust_timedlock_wait): Likewise.
2597 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2598 (lll_cond_trylock): Likewise.
2599 (__lll_lock): Likewise.
2600 (__lll_robust_lock): Likewise.
2601 (__lll_cond_lock): Likewise.
2602 (lll_robust_cond_lock): Likewise.
2603 (__lll_timedlock): Likewise.
2604 (__lll_robust_timedlock): Likewise.
2605 (__lll_unlock): Likewise.
2606 (__lll_robust_unlock): Likewise.
2607 (lll_wait_tid): Likewise.
2608 (lll_timedwait_tid): Likewise.
2610 2014-12-15 Torvald Riegel <triegel@redhat.com>
2612 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2614 2014-12-15 Torvald Riegel <triegel@redhat.com>
2616 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2618 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2620 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2621 * stdio-common/tst-sprintf.c: Likewise.
2623 2014-12-15 Torvald Riegel <triegel@redhat.com>
2625 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2627 2014-12-15 Jeff Law <law@redhat.com>
2630 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2631 on the heap. (CVE-2012-3406)
2632 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2633 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2634 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2636 2014-12-15 Will Newton <will.newton@linaro.org>
2638 * manual/install.texi: Bump required version of texinfo
2640 * INSTALL: Regenerated.
2641 * configure.ac: Check for makeinfo version 4.7 and above.
2642 * configure: Regenerated.
2644 2014-12-12 Roland McGrath <roland@hack.frob.com>
2646 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2647 PREFIX, string constant to insert between directory and name.
2648 * sysdeps/posix/shm_open.c: Update caller.
2649 * sysdeps/posix/shm_unlink.c: Likewise.
2650 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2651 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2652 (SEM_SHM_PREFIX): New macro.
2653 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2654 [$(have-thread-library) = no].
2655 * nptl/Makefile (libpthread-routines): Add shm-directory.
2656 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2657 * sysdeps/nptl/shm-directory.h: New file.
2658 * sysdeps/posix/shm-directory.c
2659 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2660 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2661 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2663 (__where_is_shmfs): Function removed.
2664 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2666 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2668 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2670 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2671 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2672 unconditional for use inside libpthread.
2673 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2675 2014-12-12 Roland McGrath <roland@hack.frob.com>
2677 * nptl/pthread_getaffinity.c: New file.
2678 * nptl/pthread_setaffinity.c: New file.
2679 * nptl/pthread_getname.c: New file.
2680 * nptl/pthread_setname.c: New file.
2682 * nptl/pthread_create.c (START_THREAD_DEFN)
2683 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2685 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2686 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2688 * resolv/res_send.c (send_vc): Disable warning resplen may
2689 be used uninitialized.
2691 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2694 (ATTR_NULL): New define checks ATTR against NULL.
2695 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2696 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2698 2014-12-11 James Lemke <jwlemke@codesourcery.com>
2702 (mem2mem_check): Revert my previous change.
2703 (malloc_check_get_size): Revert my previous change.
2704 (mem2chunk_check): Revert my previous change.
2706 2014-12-11 Roland McGrath <roland@hack.frob.com>
2708 * sysdeps/posix/shm-directory.c: New file.
2709 * sysdeps/posix/shm-directory.h: New file.
2710 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2711 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2712 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2713 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2714 Transmute EPERM to EACCES.
2715 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2717 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2718 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2720 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2722 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2723 pointer and cast to uintptr_t.
2724 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2725 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2726 Add cast to avoid warning.
2727 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2729 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2731 * nptl/semaphore.h: Move to ...
2732 * sysdeps/pthread/semaphore.h: ... here.
2733 * Makefile (installed-headers): Change nptl/semaphore.h to
2734 sysdeps/pthread/semaphore.h.
2736 2014-12-11 Roland McGrath <roland@hack.frob.com>
2738 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2739 generated error format strings.
2741 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2742 -Wformat-extra-args warnings for scanf formats.
2743 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2744 test of zero-length format (duh).
2745 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2746 corner-case scanf format test.
2747 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2748 generated fprintf format string.
2749 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2750 corner-case sprintf format tests.
2751 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2752 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2753 -Wformat-extra-args warnings throughout.
2754 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2755 (CFLAGS-scanf4.c): Likewise.
2756 (CFLAGS-scanf7.c): Likewise.
2757 (CFLAGS-tst-sprintf.c): Likewise.
2758 (CFLAGS-tst-printf.c): Likewise.
2759 (CFLAGS-tst-printfsz.c): Likewise.
2761 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2763 * include/cpio.h: New file.
2764 * include/fmtmsg.h: Likewise.
2766 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2767 corresponding format argument to size_t.
2768 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2770 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2771 corresponding format argument to size_t.
2772 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2774 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2775 corresponding format argument to size_t.
2776 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2777 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2778 (CFLAGS-tst-mbswcs2.c): Likewise.
2779 (CFLAGS-tst-mbswcs3.c): Likewise.
2780 (CFLAGS-tst-mbswcs4.c): Likewise.
2781 (CFLAGS-tst-mbswcs5.c): Likewise.
2782 (CFLAGS-tst-trans.c): Likewise
2784 2014-12-11 Roland McGrath <roland@hack.frob.com>
2786 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2787 rather than assuming they won't contain any '%'s.
2789 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2791 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2792 inhibit_loop_to_libcall to avoid recursive calls.
2793 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2794 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2796 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2798 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2801 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2803 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2804 integer value instead of boolean.
2806 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2808 * malloc/malloc.c: Fix powerof2 check.
2810 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2812 * locale/programs/locfile.h (maybe_swap_uint32):
2813 Remove inline and add unused attribute.
2815 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2817 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2818 Truncating assembler expression to a .long expression.
2820 2014-12-11 Andreas Schwab <schwab@suse.de>
2822 * elf/rtld.c (struct map_args): Constify str member.
2823 (do_preload): Constify fname argument.
2825 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2828 constants definition.
2830 2014-12-11 Andreas Schwab <schwab@suse.de>
2833 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2834 FORCE_ELISION instead of DO_ELISION.
2835 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2837 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2840 * iconvdata/gconv-modules: Remove duplicate entry.
2842 2014-12-11 Will Newton <will.newton@linaro.org>
2844 Merge gettext 0.19.3 into intl/.
2846 This involves a number of cosmetic changes to comments
2847 and ANSI function definitions and prototypes throughout
2848 all the files. The gettext copyright header is used but
2849 with the date ranges taken from the glibc copy.
2851 * NEWS: Add gettext merge to 2.21.
2852 * intl/bindtextdom.c: Switch to gettext copyright.
2853 Use ANSI definitions and prototypes.
2854 Use gl_* locking primitives rather than __libc_* ones.
2855 Use __builtin_expect rather than __glibc_likely/unlikely.
2856 * intl/dcgettext.c: Switch to gettext copyright.
2857 Use ANSI definitions and prototypes.
2858 * intl/dcigettext.c: Switch to gettext copyright.
2859 Use ANSI definitions and prototypes.
2860 (INTDIV0_RAISES_SIGFPE): New define.
2861 Use gl_* locking primitives rather than __libc_* ones.
2862 Include eval-plural.h instead of plural-eval.c.
2863 Use __builtin_expect rather than __glibc_likely/unlikely.
2864 * intl/dcngettext.c: Switch to gettext copyright.
2865 Use ANSI definitions and prototypes.
2866 * intl/dgettext.c: Likewise.
2867 * intl/dngettext.c: Likewise.
2868 * intl/plural-eval.c: Renamed to...
2869 * intl/eval-plural.h: ...this.
2870 * intl/explodename.c: Switch to gettext copyright.
2871 Use ANSI definitions and prototypes.
2872 (_nl_explode_name): Use strchr instead of __rawmemchr.
2873 * intl/finddomain.c: Switch to gettext copyright.
2874 Use ANSI definitions and prototypes.
2875 Use gl_* locking primitives rather than __libc_* ones.
2876 (_nl_find_domain): Use malloc rather than alloca for
2877 allocation of temporary locale name.
2878 * intl/gettext.c: Switch to gettext copyright.
2879 Use ANSI definitions and prototypes.
2880 * intl/gettextP.h: Switch to gettext copyright.
2881 Use ANSI definitions and prototypes.
2882 Use gl_* locking primitives rather than __libc_* ones.
2883 * intl/gmo.h: Switch to gettext copyright.
2884 (struct sysdep_string): Move struct segment_pair outside of
2886 * intl/hash-string.c: Use ANSI definitions and prototypes.
2887 * intl/hash-string.h: Switch to gettext copyright.
2888 Use ANSI definitions and prototypes.
2889 * intl/l10nflist.c: Switch to gettext copyright.
2890 Use ANSI definitions and prototypes.
2891 (_nl_normalize_codeset): Avoid integer overflow.
2892 * intl/loadinfo.h: Switch to gettext copyright.
2893 Use ANSI definitions and prototypes.
2894 (LIBINTL_DLL_EXPORTED): New define.
2895 (PATH_SEPARATOR): New define.
2896 * intl/loadmsgcat.c: Switch to gettext copyright.
2897 * intl/localealias.c: Switch to gettext copyright.
2898 Use ANSI definitions and prototypes.
2899 (_nl_expand_alias): Use PATH_SEPARATOR.
2900 * intl/ngettext.c: Switch to gettext copyright.
2901 Use ANSI definitions and prototypes.
2902 * intl/plural-exp.c: Likewise.
2903 * intl/plural-exp.h: Switch to gettext copyright.
2904 Use ANSI definitions and prototypes.
2905 (struct expression): Move definition of enum operator outside
2906 of struct definition.
2907 * intl/plural.c: Regenerate.
2908 * intl/plural.y: Switch to gettext copyright.
2909 Use ANSI definitions and prototypes.
2911 * intl/textdomain.c: Switch to gettext copyright.
2912 Use ANSI definitions and prototypes.
2913 Use gl_* locking primitives rather than __libc_* ones.
2915 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2917 * debug/warning-nop.c: Add used atrribute.
2919 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2921 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2923 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2924 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2925 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2927 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2928 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2931 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2932 Undefine after defining function. Define as weak alias of
2933 __wcschr. Use libc_hidden_weak.
2934 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2935 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2936 (libc_hidden_def): Also define __GI___wcschr alias.
2937 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2938 __wcschr and define as weak alias of __wcschr.
2939 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2941 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2942 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2943 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2944 libc_hidden_weak. Do not use libc_hidden_def.
2945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2946 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2947 __GI___wcschr alias.
2948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2949 [IS_IN (libc)] (wcschr): Define as macro expanding to
2951 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2952 [IS_IN (libc)] (__wcschr_power6): Likewise.
2953 [IS_IN (libc)] (__wcschr_power7): Likewise.
2954 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2956 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2958 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2959 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2960 __wcschr and define as weak alias of __wcschr. Use
2961 libc_hidden_builtin_def.
2962 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2963 as weak alias of __wcschr. Use libc_hidden_weak.
2964 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2966 * time/era.c (_nl_init_era_entries): Likewise.
2967 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2969 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2970 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2972 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2974 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2975 format for long int variable.
2977 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2980 * manual/search.texi: (Array Sort Function): Remove claim how to make
2983 2014-12-10 Andreas Schwab <schwab@suse.de>
2986 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2987 user-controlled locks.
2989 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
2991 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2994 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2996 * configure.ac (--disable-werror): New configure option.
2997 (enable_werror): New AC_SUBST.
2998 * configure: Regenerated.
2999 * config.make.in (enable-werror): New variable.
3000 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3002 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3003 * manual/install.texi (Configuring and compiling): Document
3005 * INSTALL: Regenerated.
3006 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3007 (CFLAGS-tst-chk2.c): Likewise.
3008 (CFLAGS-tst-chk3.c): Likewise.
3009 (CFLAGS-tst-chk4.cc): Likewise.
3010 (CFLAGS-tst-chk5.cc): Likewise.
3011 (CFLAGS-tst-chk6.cc): Likewise.
3012 (CFLAGS-tst-lfschk1.c): Likewise.
3013 (CFLAGS-tst-lfschk2.c): Likewise.
3014 (CFLAGS-tst-lfschk3.c): Likewise.
3015 (CFLAGS-tst-lfschk4.cc): Likewise.
3016 (CFLAGS-tst-lfschk5.cc): Likewise.
3017 (CFLAGS-tst-lfschk6.cc): Likewise.
3019 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3020 (main): Disable -Wdeprecated-declarations around calls to
3021 register_printf_function.
3023 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3024 (do_test): Disable -Wdiv-by-zero around some calls to
3025 fwrite_unlocked and fread_unlocked.
3027 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3028 (DIAG_POP_NEEDS_COMMENT): Likewise.
3029 (_DIAG_STR1): Likewise.
3030 (_DIAG_STR): Likewise.
3031 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3032 * stdio-common/bug21.c: Include <libc-internal.h>.
3033 (do_test): Disable -Wformat around call to sscanf.
3034 * stdio-common/scanf14.c: Include <libc-internal.h>.
3035 (main): Disable -Wformat around some calls to scanf functions.
3037 2014-12-09 Torvald Riegel <triegel@redhat.com>
3039 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3041 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3043 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3044 stack variable alignment.
3046 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3049 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3050 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3051 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3052 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3053 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3054 __getrlimit instead of getrlimit.
3055 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3056 __gettimeofday instead of gettimeofday.
3057 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3059 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3061 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3062 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3064 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3065 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3067 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3069 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3070 for wide-character tests.
3072 2014-12-04 Roland McGrath <roland@hack.frob.com>
3074 * io/openat64.c: #include <libc-internal.h>
3075 (__openat64): Prototypify. Use ignore_value on MODE.
3076 * io/openat.c: Likewise.
3077 * misc/reboot.c: #include <libc-internal.h>
3078 (reboot): Prototypify. Use ignore_value on HOWTO.
3079 * misc/ptrace.c: #include <libc-internal.h>
3080 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3082 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3084 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3085 XPG4, UNIX98 and XOPEN2K.
3086 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3088 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3090 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3092 * libio/fileops.c: Use ISO C style for function definitions.
3093 * libio/iofopen.c: Likewise.
3094 * libio/wfileops.c: Likewise.
3097 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3099 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3100 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3101 (fgets_func): Function pointer to fgets and fgetws.
3102 (do_ftell_test): Add test to verify ftell value after read
3104 (do_test): Set fgets_func.
3106 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3107 O_TRUNC flag for w and w+ modes.
3108 (do_rewind_test): Likewise.
3109 (do_ftell_test): Likewise.
3110 (do_write_test): Likewise.
3113 * libio/fileops.c (do_ftell): Seek only when there are
3115 * libio/wfileops.c (do_ftell_wide): Likewise.
3116 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3118 (do_one_test): Call it.
3120 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3122 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3123 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3124 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3126 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3127 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3128 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3130 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3132 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3134 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3137 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3138 as weak alias of __getifaddrs. Use libc_hidden_weak.
3139 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3140 __freeifaddrs. Use libc_hidden_weak.
3141 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3142 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3143 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3144 __freeifaddrs. Use libc_hidden_weak.
3145 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3146 __getifaddrs and define as weak alias of __getifaddrs. Use
3148 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3149 __freeifaddrs. Use libc_hidden_weak.
3150 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3152 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3153 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3155 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3158 * sysdeps/mips/start.S (__start): Use indirect jump to call
3161 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3163 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3165 * nptl/tst-mutex1.c: Include <stdbool.h>.
3166 [!ATTR] (ATTR_NULL): New macro.
3167 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3168 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3169 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3171 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3175 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3176 Change conditional to [__USE_MISC].
3179 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3181 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3183 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3185 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3187 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3188 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3189 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3190 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3191 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3192 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3193 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3194 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3195 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3197 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3199 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3201 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3202 Remove strpbrk objects.
3203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3204 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3205 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3206 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3207 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3208 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3210 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3211 Remove strcspn objects.
3212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3213 (__libc_ifunc_impl_list): Remove strcspn implementation.
3214 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3215 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3216 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3217 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3219 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3220 Remove strspn objetcs.
3221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3222 (__libc_ifunc_impl_list): Remove strspn implementation.
3223 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3224 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3225 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3226 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3228 2014-12-01 James Lemke <jwlemke@codesourcery.com>
3232 (mem2mem_check): Add a terminator to the chain of checking blocks.
3233 (malloc_check_get_size): Use it here.
3234 (mem2chunk_check): Ditto.
3236 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3238 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3239 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3241 2014-11-29 Carlos O'Donell <carlos@redhat.com>
3243 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3245 * nptl/nptl-init.c: Include libc-internal.h.
3246 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3248 * elf/ldconfig.c (search_dir): Expand comment.
3250 2014-11-29 Joseph Myers <joseph@codesourcery.com>
3252 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3254 (linknamespace-symlist-stdlibs-tests): Likewise.
3255 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3256 instead of $(objpfx)symlist-stdlibs.
3257 (linknamespace-libs-isoc): New variable.
3258 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3259 (linknamespace-libs-ISO): New variable.
3260 (linknamespace-libs-ISO99): Likewise.
3261 (linknamespace-libs-ISO11): Likewise.
3262 (linknamespace-libs-XPG3): Likewise.
3263 (linknamespace-libs-XPG4): Likewise.
3264 (linknamespace-libs-POSIX): Likewise.
3265 (linknamespace-libs-UNIX98): Likewise.
3266 (linknamespace-libs-XOPEN2K): Likewise.
3267 (linknamespace-libs-POSIX2008): Likewise.
3268 (linknamespace-libs-XOPEN2K8): Likewise.
3269 ($(objpfx)symlist-stdlibs): Replace by
3270 $(linknamespace-symlist-stdlibs-tests). Use
3271 $(linknamespace-libs-$*) as set of libraries.
3272 ($(linknamespace-header-tests)): Update dependencies. Use
3273 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3274 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3275 * conform/linknamespace.pl: Remove comment about considering
3276 definitions of symbols from irrelevant libraries.
3278 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3281 * elf/dl-tls.c: Include <atomic.h>.
3282 (oom): Remove #ifdef SHARED/#endif.
3283 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3284 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3285 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3287 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3288 * nptl/Makefile (tests): Add tst-stack4.
3289 (modules-names): Add tst-stack4mod.
3290 ($(objpfx)tst-stack4): New.
3291 (tst-stack4mod.sos): Likewise.
3292 ($(objpfx)tst-stack4.out): Likewise.
3293 ($(tst-stack4mod.sos)): Likewise.
3295 * nptl/tst-stack4.c: New file.
3296 * nptl/tst-stack4mod.c: Likewise.
3298 2014-11-27 J. Brown <jb999@gmx.de>
3300 * sysdeps/x86/bits/string.h: Add recent CPUs.
3302 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3304 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3307 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3310 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3313 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3315 * nscd/connections.c: Include libc-internal.h because of macro
3318 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3320 * string/bits/string3.h (__warn_memset_zero_len): Don't
3321 declare for gcc newer than 5.0.
3322 (memset): Don't test for zero-length __LEN for gcc newer than
3325 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3327 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3328 size_t for %zu format.
3330 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3331 difference, not %ju.
3333 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3335 * include/libc-internal.h (ignore_value): New macro.
3336 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3339 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3342 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3343 pthread_cleanup_push to void *.
3345 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3350 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3351 instead of 1L << 52.
3353 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3354 * libio/bug-rewind2.c (do_test): Likewise.
3356 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3357 * debug/test-strcpy_chk-ifunc.c: Likewise.
3358 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3359 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3360 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3361 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3362 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3363 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3364 * Rules [$(multi-arch) = no] (tests): Do not filter out
3366 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3367 * debug/Makefile (tests-ifunc): Remove variable.
3368 (tests): Do not add $(tests-ifunc).
3369 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3370 (tests): Do not add $(tests-ifunc).
3371 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3372 [TEST_IFUNC]: Remove conditionals.
3373 * string/test-string.h (TEST_IFUNC): Remove macro.
3374 [TEST_IFUNC]: Remove conditionals.
3376 * string/test-strchr.c [!WIDE] (L): New macro.
3377 [WIDE] (L): Likewise.
3378 (check1): Use CHAR instead of char. Use L on string and character
3381 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3383 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3385 * sysdeps/powerpc/bits/atomic.h
3386 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3387 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3388 (atomic_exchange_and_add_acq): Likewise.
3389 (atomic_exchange_and_add_rel): Likewise.
3390 * sysdeps/powerpc/powerpc32/bits/atomic.h
3391 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3392 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3393 * sysdeps/powerpc/powerpc64/bits/atomic.h
3394 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3395 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3397 2014-11-26 Torvald Riegel <triegel@redhat.com>
3399 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3400 Change synchronization of __sched_fifo_min_prio and
3401 __sched_fifo_max_prio.
3402 * nptl/pthread_mutexattr_getprioceiling.c
3403 (pthread_mutexattr_getprioceiling): Likewise.
3404 * nptl/pthread_mutexattr_setprioceiling.c
3405 (pthread_mutexattr_setprioceiling): Likewise.
3406 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3407 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3410 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3412 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3415 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3417 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3418 third argument const.
3420 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3422 fnmatch: work around GCC compiler warning bug with uninit var
3423 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3424 This works around a bug with x86-64 GCC 4.9.2 and earlier
3425 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3426 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3427 used uninitialized in this function [-Wmaybe-uninitialized]".
3429 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3431 * posix/bug-regex31.c (main): Return RES not 0.
3433 2014-11-25 Anton Blanchard <anton@samba.org>
3435 * sysdeps/powerpc/bits/atomic.h
3436 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3438 2014-11-24 Sterling Augustine <saugustine@google.com>
3440 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3442 2014-11-24 Ryan Cumming <etaoins@gmail.com>
3445 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3447 2014-11-24 Joseph Myers <joseph@codesourcery.com>
3450 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3451 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3453 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3454 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3456 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3458 * string/strncpy.c (strncpy): Improve performance by using memset.
3460 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3462 * string/strcpy.c (strcpy):
3463 Improve performance by using strlen and memcpy.
3465 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
3467 * string/strcoll_l.c (get_next_seq): __always_inline.
3468 * string/strcoll_l.c (do_compare): __always_inline.
3470 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3472 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3474 * include/mqueue.h: Likewise.
3475 * include/stdlib.h: Likewise.
3477 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3478 (get_null_defines): Adjust.
3479 * sunrpc/Makefile: Adjust comment.
3480 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3481 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3482 (CFLAGS-interp.c): Likewise.
3483 (CFLAGS-ldconfig.c): Likewise.
3484 (CPPFLAGS-.os): Likewise.
3485 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3486 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3487 * extra-modules.mk (extra-modules.mk): Likewise.
3488 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3489 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3490 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3491 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3492 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3493 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3494 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3495 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3496 * iconvdata/Makefile (CPPFLAGS): Likewise.
3497 (cpp-srcs-left): Add libof for all iconvdata routines.
3498 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3499 * include/assert.h: Likewise.
3500 * include/ctype.h: Likewise.
3501 * include/errno.h: Likewise.
3502 * include/libc-symbols.h: Likewise.
3503 * include/math.h: Likewise.
3504 * include/netdb.h: Likewise.
3505 * include/resolv.h: Likewise.
3506 * include/stdio.h: Likewise.
3507 * include/stdlib.h: Likewise.
3508 * include/string.h: Likewise.
3509 * include/sys/stat.h: Likewise.
3510 * include/wctype.h: Likewise.
3511 * intl/l10nflist.c: Likewise.
3512 * libidn/idn-stub.c: Likewise.
3513 * libio/libioP.h: Likewise.
3514 * nptl/libc_multiple_threads.c: Likewise.
3515 * nptl/pthreadP.h: Likewise.
3516 * posix/regex_internal.h: Likewise.
3517 * resolv/res_hconf.c: Likewise.
3518 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3519 * sysdeps/arm/memmove.S: Likewise.
3520 * sysdeps/arm/sysdep.h: Likewise.
3521 * sysdeps/generic/_itoa.h: Likewise.
3522 * sysdeps/generic/symbol-hacks.h: Likewise.
3523 * sysdeps/gnu/errlist.awk: Likewise.
3524 * sysdeps/gnu/errlist.c: Likewise.
3525 * sysdeps/i386/i586/memcpy.S: Likewise.
3526 * sysdeps/i386/i586/memset.S: Likewise.
3527 * sysdeps/i386/i686/memcpy.S: Likewise.
3528 * sysdeps/i386/i686/memmove.S: Likewise.
3529 * sysdeps/i386/i686/mempcpy.S: Likewise.
3530 * sysdeps/i386/i686/memset.S: Likewise.
3531 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3532 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3533 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3535 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3536 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3538 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3539 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3540 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3541 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3542 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3544 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3546 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3547 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3548 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3549 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3550 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3551 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3552 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3553 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3554 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3555 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3557 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3558 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3561 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3562 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3564 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3566 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3567 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3571 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3573 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3577 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3578 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3579 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3580 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3581 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3582 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3583 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3584 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3585 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3586 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3587 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3588 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3589 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3590 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3592 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3593 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3594 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3595 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3596 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3597 * sysdeps/posix/closedir.c: Likewise.
3598 * sysdeps/posix/opendir.c: Likewise.
3599 * sysdeps/posix/readdir.c: Likewise.
3600 * sysdeps/posix/rewinddir.c: Likewise.
3601 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3602 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3603 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3604 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3605 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3606 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3607 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3608 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3609 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3610 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3611 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3612 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3613 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3614 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3615 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3616 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3617 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3618 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3619 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3620 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3621 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3622 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3623 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3624 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3625 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3626 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3627 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3628 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3629 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3633 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3635 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3636 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3637 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3638 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3639 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3640 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3641 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3642 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3643 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3644 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3645 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3646 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3647 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3648 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3649 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3650 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3651 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3652 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3653 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3654 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3655 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3656 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3657 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3658 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3659 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3660 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3661 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3662 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3663 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3664 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3665 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3666 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3667 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3668 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3669 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3670 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3671 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3672 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3673 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3674 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3675 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3676 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3677 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3678 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3679 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3680 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3681 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3682 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3683 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3684 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3685 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3686 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3687 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3688 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3689 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3690 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3691 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3692 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3693 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3695 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3696 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3697 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3699 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3700 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3701 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3702 * sysdeps/unix/alpha/sysdep.S: Likewise.
3703 * sysdeps/unix/alpha/sysdep.h: Likewise.
3704 * sysdeps/unix/make-syscalls.sh: Likewise.
3705 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3706 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3707 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3708 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3709 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3710 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3711 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3712 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3713 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3714 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3715 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3716 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3717 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3718 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3719 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3720 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3721 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3722 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3723 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3724 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3725 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3726 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3727 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3728 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3729 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3730 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3731 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3734 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3735 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3738 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3739 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3741 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3742 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3743 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3744 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3745 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3746 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3747 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3748 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3751 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3752 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3755 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3756 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3757 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3758 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3759 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3760 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3761 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3763 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3764 * sysdeps/x86_64/memcpy.S: Likewise.
3765 * sysdeps/x86_64/memmove.c: Likewise.
3766 * sysdeps/x86_64/memset.S: Likewise.
3767 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3768 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3769 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3770 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3771 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3772 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3773 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3774 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3775 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3776 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3777 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3778 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3779 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3780 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3781 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3782 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3783 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3784 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3785 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3786 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3787 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3788 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3790 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3791 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3792 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3793 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3794 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3795 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3796 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3797 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3798 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3799 * sysdeps/x86_64/strcmp.S: Likewise.
3801 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3803 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3804 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3805 * elf/rtld-Rules: Likewise.
3806 * elf/setup-vdso.h: Likewise.
3807 * include/assert.h: Likewise.
3808 * include/bits/stdlib-float.h: Likewise.
3809 * include/errno.h: Likewise.
3810 * include/sys/stat.h: Likewise.
3811 * include/unistd.h: Likewise.
3812 * sysdeps/aarch64/setjmp.S: Likewise.
3813 * sysdeps/alpha/setjmp.S: Likewise.
3814 * sysdeps/arm/__longjmp.S: Likewise.
3815 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3816 * sysdeps/arm/setjmp.S: Likewise.
3817 * sysdeps/arm/sysdep.h: Likewise.
3818 * sysdeps/generic/_itoa.h: Likewise.
3819 * sysdeps/generic/dl-sysdep.h: Likewise.
3820 * sysdeps/generic/ldsodefs.h: Likewise.
3821 * sysdeps/i386/dl-tls.h: Likewise.
3822 * sysdeps/i386/setjmp.S: Likewise.
3823 * sysdeps/m68k/setjmp.c: Likewise.
3824 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3825 * sysdeps/mach/hurd/opendir.c: Likewise.
3826 * sysdeps/posix/getcwd.c: Likewise.
3827 * sysdeps/posix/opendir.c: Likewise.
3828 * sysdeps/posix/profil.c: Likewise.
3829 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3830 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3831 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3832 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3833 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3834 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3835 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3836 * sysdeps/s390/dl-tls.h: Likewise.
3837 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3838 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3839 * sysdeps/sh/sh3/setjmp.S: Likewise.
3840 * sysdeps/sh/sh4/setjmp.S: Likewise.
3841 * sysdeps/unix/alpha/sysdep.h: Likewise.
3842 * sysdeps/unix/arm/sysdep.S: Likewise.
3843 * sysdeps/unix/i386/sysdep.S: Likewise.
3844 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3845 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3846 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3847 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3848 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3849 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3850 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3851 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3852 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3853 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3854 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3855 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3856 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3859 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3860 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3862 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3863 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3864 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3866 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3867 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3868 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3869 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3871 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3872 * sysdeps/x86_64/setjmp.S: Likewise.
3874 * include/math.h: Use IS_IN instead of IS_IN_libm.
3875 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3887 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3895 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3896 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3897 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3898 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3899 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3900 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3902 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3903 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3904 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3905 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3906 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3918 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3919 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3920 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3921 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3922 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3923 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3929 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3932 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3933 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3934 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3935 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3936 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3937 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3938 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3939 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3940 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3941 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3942 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3944 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3946 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3947 * nptl/pthreadP.h: Likewise.
3948 * nptl_db/structs.def: Likewise.
3949 * sysdeps/arm/sysdep.h: Likewise.
3950 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3951 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3952 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3953 * sysdeps/unix/alpha/sysdep.h: Likewise.
3954 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3955 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3956 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3957 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3958 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3959 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3960 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3961 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3962 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3963 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3964 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3965 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3966 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3967 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3970 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3971 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3972 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3974 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3975 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3976 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3977 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3978 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3979 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3981 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3982 * nptl/pthreadP.h: Likewise.
3983 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3984 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3985 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3986 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3987 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3988 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3989 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3990 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3991 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3992 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3993 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3994 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3999 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4000 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4001 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4002 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4003 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4004 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4005 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4006 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4008 * dlfcn/dladdr.c: Use IS_IN.
4009 * dlfcn/dladdr1.c: Likewise.
4010 * dlfcn/dlclose.c: Likewise.
4011 * dlfcn/dlerror.c: Likewise.
4012 * dlfcn/dlinfo.c: Likewise.
4013 * dlfcn/dlmopen.c: Likewise.
4014 * dlfcn/dlopen.c: Likewise.
4015 * dlfcn/dlsym.c: Likewise.
4016 * dlfcn/dlvsym.c: Likewise.
4018 * include/ifaddrs.h: Use IS_IN.
4019 * inet/check_pf.c: Likewise.
4020 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4021 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4023 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4025 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4026 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4028 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4029 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4032 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4034 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4035 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4036 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4037 * include/libc-symbols.h (IS_IN_LIB): New macro.
4038 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4039 * include/netdb.h: Likewise.
4040 * include/stap-probe.h: Remove all uses of IN_LIB.
4042 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4043 instead of IN_MODULE.
4044 * include/libc-symbols.h (IN_MODULE): Define using
4046 (PASTE_NAME, PASTE_NAME1): New macros.
4047 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4049 (STAP_PROBE_ASM): Likewise.
4051 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4053 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4054 __mach_init in dlopened libc.
4056 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4058 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4059 * sysdeps/arm/preconfigure: Regenerate.
4061 2014-11-21 Roland McGrath <roland@hack.frob.com>
4063 * nptl/pthread_create.c (__pthread_create_2_1): Set
4064 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4065 when copying values from IATTR into PD.
4067 2014-11-21 Will Newton <will.newton@linaro.org>
4068 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4070 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4071 Refactor inline-asm. Also add comment.
4073 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4074 ElfW macro instead of hardcoded Elf64 types.
4075 (la_aarch64_gnu_pltenter): Likewise.
4076 * sysdeps/aarch64/dl-machine.h
4077 (elf_machine_runtime_setup): Use ElfW(Addr).
4079 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4080 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4081 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4082 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4083 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4084 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4085 (R_AARCH64_TLS_DTPMOD): This.
4086 (R_AARCH64_TLS_DTPREL64): Rename to ...
4087 (R_AARCH64_TLS_DTPREL): This.
4088 (R_AARCH64_TLS_TPREL64): Rename to ...
4089 (R_AARCH64_TLS_TPREL): This.
4090 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4091 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4092 R_AARCH64_TLS_TPREL64.
4093 (elf_machine_rela): Likewise.
4095 2014-11-21 Torvald Riegel <triegel@redhat.com>
4097 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4098 by setting it to 0. 64b atomics are not supported currently.
4100 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4103 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4104 search domain names.
4106 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4110 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4112 * posix/tst-getaddrinfo5.c: New.
4113 * posix/Makefile (tests): Add it.
4115 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4119 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4120 after parsing line but before break_if_match.
4121 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4122 if there is a protocol mismatch.
4124 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4126 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4127 because the potential race is on the user-supplied stream.
4129 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4131 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4132 string literal if not passed a buffer.
4133 * manual/job.texi (ctermid): Update reasoning, note deviation
4134 from posix, suggest mtasurace when not passed a buffer, for
4135 future non-preliminary safety notes.
4137 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4139 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4140 of not passing it a buffer.
4141 Reported by Peng Haitao.
4143 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4145 * manual/Makefile ($(objpfx)stamp-summary): Require
4146 check-safety.sh to pass.
4147 * manual/check-safety.sh: Wish for verification that every
4148 @deftypefn and @deftypefun is followed by a @safety remark.
4150 2014-11-20 Roland McGrath <roland@hack.frob.com>
4152 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4154 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4155 PTHREAD_CANCEL_ASYNCHRONOUS.
4156 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4159 * nptl/default-sched.h: New file.
4160 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4161 * nptl/pthread_create.c: Include it.
4162 (__pthread_create_2_1): Use collect_default_sched instead of making
4163 Linux syscalls here directly.
4165 2014-11-20 Torvald Riegel <triegel@redhat.com>
4167 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4168 __pthread_once): Use C11 atomics.
4170 2014-11-20 Torvald Riegel <triegel@redhat.com>
4172 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4174 2014-11-20 Torvald Riegel <triegel@redhat.com>
4176 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4177 atomic_thread_fence_acquire, atomic_thread_fence_release,
4178 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4179 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4180 atomic_compare_exchange_weak_relaxed,
4181 atomic_compare_exchange_weak_acquire,
4182 atomic_compare_exchange_weak_release,
4183 atomic_exchange_acquire, atomic_exchange_release,
4184 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4185 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4186 atomic_fetch_and_acquire,
4187 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4189 2014-11-20 Torvald Riegel <triegel@redhat.com>
4191 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4192 USE_ATOMIC_COMPILER_BUILTINS): Define.
4193 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4195 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4197 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4199 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4201 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4203 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4205 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4207 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4208 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4209 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4210 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4211 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4212 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4213 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4214 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4215 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4216 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4217 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4218 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4219 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4220 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4221 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4222 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4223 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4224 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4225 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4226 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4227 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4228 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4229 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4230 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4231 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4232 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4234 2014-11-19 Roland McGrath <roland@hack.frob.com>
4236 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4237 the sched_priority value here. It was already checked when the user
4238 called pthread_attr_setschedparam.
4240 * nptl/tst-bad-schedattr.c: New file.
4241 * nptl/Makefile (tests): Add it.
4243 2014-11-19 Carlos O'Donell <carlos@redhat.com>
4244 Florian Weimer <fweimer@redhat.com>
4245 Joseph Myers <joseph@codesourcery.com>
4246 Adam Conrad <adconrad@0c3.net>
4247 Andreas Schwab <schwab@suse.de>
4248 Brooks <bmoses@google.com>
4251 * wordexp-test.c (__dso_handle): Add prototype.
4252 (__register_atfork): Likewise.
4253 (__app_register_atfork): New function.
4254 (registered_forks): New global.
4255 (register_fork): New function.
4256 (test_case): Add 3 new tests for WRDE_CMDSUB.
4257 (main): Call __app_register_atfork.
4258 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4259 fork count is non-zero fail the test.
4260 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4262 (parse_dollars): Remove check for WRDE_NOCMD.
4263 (parse_dquote): Likewise.
4265 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4267 * Makeconfig (built-modules): List non-library modules to be
4269 (module-cppflags): Include libc-modules.h for
4270 everything except shlib-versions.v.i.
4272 (before-compile): Add libc-modules.h.
4273 ($(common-objpfx)libc-modules.h,
4274 $(common-objpfx)libc-modules.stmp): New targets.
4275 (common-generated): Add libc-modules.h and libc-modules.stmp.
4276 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4277 * include/libc-symbols.h: Don't include libc-modules.h.
4278 * include/libc-modules.h: Remove file.
4279 * scripts/gen-libc-modules.awk: New script to generate
4281 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4282 Depend on libc-modules.stmp.
4284 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4286 * Makeconfig (in-module): Get value of libof set for the
4288 (CPPFLAGS): Use $(in-module).
4289 * Makerules: Don't suffix routine names for nonlib.
4290 * include/libc-modules.h: New file.
4291 * include/libc-symbols.h: Include libc-modules.h
4292 (IS_IN): New macro to replace IS_IN_* macros.
4293 * elf/Makefile: Set libof-* for each routine.
4294 * elf/rtld-Rules: Likewise.
4295 * extra-modules.mk: Likewise.
4296 * iconv/Makefile: Likewise.
4297 * iconvdata/Makefile: Likewise.
4298 * locale/Makefile: Likewise.
4299 * malloc/Makefile: Likewise.
4300 * nss/Makefile: Likewise.
4301 * sysdeps/gnu/Makefile: Likewise.
4302 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4303 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4304 * sysdeps/s390/s390-64/Makefile: Likewise.
4305 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4306 CPPFLAGS for nscd instead of nonlib.
4308 2014-11-18 Roland McGrath <roland@hack.frob.com>
4310 * nptl/createthread.c: New file.
4312 * nptl/createthread.c: Moved ...
4313 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4315 * nptl/createthread.c: Add proper top-line comment.
4316 (do_clone): Folded into ...
4317 (create_thread): ... here. Take new arguments STOPPED_START and
4318 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4319 increment __nptl_threads, do event-reporting logic, do
4320 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4321 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4322 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4323 just send SIGCANCEL.
4324 * nptl/pthread_create.c: Forward-declare create_thread before
4325 including createthread.c.
4326 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4327 declaration, and new macro START_THREAD_SELF to replace argument.
4328 Remove return statement.
4329 (report_thread_creation): New function.
4330 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4331 synchronization logic, and __nptl_nthreads increment here, around
4332 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4333 PD->parent_cancelhandling here, before create_thread. When
4334 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4335 __deallocate_stack, and ENOMEM translation here.
4337 2014-11-18 Joseph Myers <joseph@codesourcery.com>
4340 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4341 (mptwo): Rename to __mptwo.
4342 (__inv): Use __mptwo instead of mptwo.
4343 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4344 (mptwo): Rename to __mptwo.
4345 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4346 of mpone and __mptwo instead of mptwo.
4347 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4350 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4351 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4352 of mpone and __mptwo instead of mptwo.
4353 (__mpranred): Use __mpone instead of mpone.
4354 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4356 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4357 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4358 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4359 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4360 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4361 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4362 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4363 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4364 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4365 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4366 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4367 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4368 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4369 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4370 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4371 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4372 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4373 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4374 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4376 2014-11-18 Tom de Vries <tom@codesoucery.com>
4378 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4379 replace BSD Handler xref with BSD Signal Handling.
4381 2014-11-17 Richard Henderson <rth@redhat.com>
4383 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4384 (_FP_PACK_RAW_2): Remove.
4385 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4386 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4387 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4388 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4389 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4390 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4391 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4392 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4393 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4394 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4395 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4396 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4397 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4398 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4399 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4400 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4402 2014-11-14 Roland McGrath <roland@hack.frob.com>
4404 * signal/signal.h [__USE_MISC]
4405 (struct sigvec): Remove type.
4406 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4407 (sigvec): Remove declaration.
4408 * sysdeps/posix/sigvec.c: Moved ...
4409 * signal/sigvec.c: ... here, replacing old file.
4410 (struct sigvec): New type, copied from old signal.h definition.
4411 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4412 (__sigvec): Convert definition to prototype.
4413 (sigvec): Replace weak_alias with compat_symbol.
4414 * signal/Versions (libc: GLIBC_2.21): New version set.
4415 * include/signal.h: Remove __sigvec declaration.
4416 * sysdeps/unix/bsd/sigvec.c: Remove file.
4417 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4418 * manual/signal.texi (BSD Handler): Remove subsection.
4419 Move siginterrupt up to ...
4420 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4421 (Blocking in BSD): Fold subsection into its parent.
4422 * NEWS: Mention sigvec removal.
4424 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4426 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4427 (DLA_FMS): Make definition conditional only on [__FMA4__].
4428 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4431 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4432 Make definition conditional only on [PROF].
4433 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4435 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4436 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4438 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4440 * include/signal.h (__sigpause): Move declaration above call to
4442 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4444 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4445 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4447 2014-11-14 David S. Miller <davem@davemloft.net>
4449 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4450 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4452 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4454 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4455 * configure: Regenerated.
4456 * manual/install.texi (Tools for Compilation): Document a
4457 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4458 compiler verified to work.
4459 * INSTALL: Regenerated.
4461 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4462 redeclare with asm name.
4463 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4464 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4465 including <string.h>.
4466 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4467 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4468 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4469 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4470 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4471 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4472 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4474 2014-11-13 Joseph Myers <joseph@codesourcery.com>
4476 * stdlib/strtol.c (__strtol): Use prototype definition.
4479 * stdlib/strtol.c (SYM__): New macro.
4481 (__strtol): Likewise.
4482 (strtol): Rename to __strtol and define as weak alias of
4483 __strtol. Use libc_hidden_weak.
4485 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4487 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4488 Use numbered labels in inline assembly.
4490 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4492 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4493 Add setjmp LIBC_PROBE.
4494 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4496 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4497 Add longjmp, longjmp_target LIBC_PROBE.
4498 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4501 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4503 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4504 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4505 to get rid of unused variable warning.
4507 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4509 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4510 Check for unwind_backtrace == NULL only in SHARED case.
4511 (__backchain_backtrace): Compile only in SHARED case.
4512 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4514 (__backchain_backtrace): Declare as static.
4516 2014-11-12 Roland McGrath <roland@hack.frob.com>
4518 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4519 (__libc_multiple_threads_ptr): Variable moved ...
4520 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4522 2014-11-12 Joseph Myers <joseph@codesourcery.com>
4524 * conform/GlibcConform.pm: New file.
4525 * conform/conformtest.pl: Use GlibcConform module.
4526 * conform/linknamespace.pl: New file.
4527 * conform/list-header-symbols.pl: Likewise.
4528 * conform/Makefile (linknamespace-symlists-base): New variable.
4529 (linknamespace-symlists-tests): Likewise.
4530 (linknamespace-header-base): Likewise.
4531 (linknamespace-header-tests): Likewise.
4532 (tests-special): Add new tests.
4533 ($(linknamespace-symlists-tests)): New rule.
4534 (linknamespace-libs): New variable.
4535 ($(objpfx)symlist-stdlibs): New rule.
4536 ($(linknamespace-header-tests)): Likewise.
4537 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4538 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4539 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4540 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4541 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4542 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4543 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4544 (test-xfail-ISO/math.h/linknamespace): Likewise.
4545 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4546 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4547 (test-xfail-ISO/time.h/linknamespace): Likewise.
4548 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4549 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4550 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4551 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4552 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4553 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4554 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4555 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4556 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4557 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4558 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4559 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4560 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4561 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4562 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4563 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4564 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4565 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4566 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4567 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4568 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4569 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4570 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4571 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4572 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4573 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4574 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4575 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4576 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4577 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4578 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4579 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4580 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4581 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4582 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4583 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4584 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4585 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4586 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4587 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4588 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4589 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4590 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4591 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4592 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4593 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4594 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4595 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4596 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4597 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4598 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4599 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4600 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4601 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4602 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4603 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4604 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4605 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4606 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4607 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4608 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4609 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4610 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4611 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4612 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4613 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4614 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4615 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4616 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4617 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4618 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4619 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4620 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4621 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4622 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4623 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4624 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4625 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4626 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4627 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4628 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4629 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4630 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4631 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4632 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4633 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4634 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4635 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4636 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4637 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4638 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4639 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4640 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4641 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4642 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4643 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4644 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4645 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4646 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4647 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4648 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4649 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4650 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4651 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4652 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4653 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4654 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4655 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4656 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4657 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4658 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4659 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4660 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4661 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4662 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4663 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4664 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4665 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4666 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4667 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4668 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4669 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4670 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4671 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4672 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4673 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4674 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4675 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4676 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4677 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4678 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4679 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4680 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4681 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4682 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4683 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4684 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4685 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4686 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4687 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4688 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4689 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4690 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4691 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4692 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4693 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4694 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4695 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4696 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4697 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4700 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4704 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4705 (memmem): Rename to __memmem and define as weak alias of
4706 __memmem. Use libc_hidden_weak.
4707 (__memmem): Use libc_hidden_def.
4708 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4709 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4713 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4714 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4715 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4716 and define as weak alias of __fgets_unlocked. Use
4718 (__fgets_unlocked): Use libc_hidden_def.
4719 * include/stdio.h (__fgets_unlocked): Declare. Use
4721 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4722 __fgets_unlocked instead of fgets_unlocked.
4723 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4724 (GET_NPROCS_CONF_PARSER): Likewise.
4725 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4726 (GET_NPROCS_CONF_PARSER): Likewise.
4729 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4730 weak alias of __wmemset. Use libc_hidden_weak.
4731 (__wmemset): Use libc_hidden_def.
4732 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4733 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4737 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4738 with asm name __mempcpy.
4739 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4742 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4743 and define as weak alias of __rawmemchr.
4744 (__rawmemchr): Do not define as strong alias of rawmemchr.
4747 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4749 (qsort): Call __qsort_r instead of qsort_r.
4750 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4751 (__qsort_r): Declare. Call libc_hidden_proto.
4752 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4754 * nscd/gai.c (__qsort_r): Define to qsort_r.
4755 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4756 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4757 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4760 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4761 define as weak alias of __malloc_info.
4764 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4765 as weak alias of __rewinddir. Don't use libc_hidden_def.
4766 (__rewinddir): Use libc_hidden_def.
4767 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4768 as weak alias of __rewinddir. Don't use libc_hidden_def.
4769 (__rewinddir): Use libc_hidden_def.
4770 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4771 weak alias of __rewinddir. Don't use libc_hidden_def.
4772 (__rewinddir): Use libc_hidden_def.
4773 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4774 (__rewinddir): Use libc_hidden_proto.
4775 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4777 (__getcwd): Use __rewinddir instead of rewinddir.
4780 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4781 alias of __fileno. Use libc_hidden_weak.
4782 (__fileno): Use libc_hidden_def.
4783 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4784 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4786 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4788 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4789 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4791 (fread_unlocked): Don't use libc_hidden_ver.
4792 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4793 and define as weak alias of __fread_unlocked. Don't use
4795 (__fread_unlocked): Use libc_hidden_def.
4796 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4797 (ftello): Don't use libc_hidden_proto.
4798 (__ftello): Declare. Use libc_hidden_proto.
4799 (fread_unlocked): Don't use libc_hidden_proto.
4800 (__fread_unlocked): Declare. Use libc_hidden_proto.
4801 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4802 and __ftello instead of fileno, fread_unlocked and ftello.
4804 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4806 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4808 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4810 (_dl_start_user): Likewise.
4811 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4813 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4814 Siddhesh Poyarekar <siddhesh@redhat.com>
4816 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4817 Move argv and envp down instead of moving argc up.
4818 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4820 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4823 * test-skeleton.c (main): Return successful if one of
4824 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4825 * string/tst-strcoll-overflow.c: Define expected status.
4827 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4830 * locale/iso-639.def: Define Bhili and Tulu language codes.
4832 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4834 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4836 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4839 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4841 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4843 * configure.ac: Updated check of minimal required version to
4845 * manual/install.texi (Tools for Compilation): Updated version
4847 * configure: Regenerated.
4848 * INSTALL: Likewise.
4850 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4852 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4855 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4857 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4858 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4859 (__waitpid): Don't define as alias. Use libc_hidden_def not
4861 (waitpid): Define as alias of __waitpid.
4862 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4864 (__waitpid): Don't define as alias. Use libc_hidden_def not
4866 (waitpid): Define as alias of __waitpid.
4867 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4868 __libc_waitpid alias.
4869 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4870 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4872 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4873 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4874 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4876 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4878 (__waitpid): Don't define as alias. Use libc_hidden_def not
4880 (waitpid): Define as alias of __waitpid.
4882 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4884 * manual/llio.texi: Add comment that write safety has been
4887 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4888 (localplt-build-dso): Add elf/ld.so.
4889 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4890 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4893 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4898 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4899 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4900 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4901 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4902 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4903 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4904 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4905 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4906 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4907 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4908 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4910 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4913 * include/libc-symbols.h (INTUSE): Remove macro.
4915 (INTVARDEF): Likewise.
4916 (_INTVARDEF): Likewise.
4917 (INTDEF2): Likewise.
4918 (INTVARDEF2): Likewise.
4919 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4920 rtld_hidden_def instead of INTVARDEF.
4921 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4922 (_dl_starting_up_internal): Remove declaration.
4923 (_dl_starting_up): Use rtld_hidden_proto.
4924 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4926 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4927 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4929 * elf/dl-writev.h (_dl_writev): Likewise.
4930 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4931 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4932 _dl_starting_up_internal.
4934 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4936 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4939 2014-11-05 Will Newton <will.newton@linaro.org>
4941 * benchtests/Makefile: (bench-malloc): Add malloc thread
4942 scalability benchmark.
4943 * benchtests/bench-malloc-threads.c: New file.
4945 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
4947 * sysdeps/aarch64/strchrnul.S: New file.
4949 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4951 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4953 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4955 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4957 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4959 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4961 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4964 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
4966 * catgets/test-gencat.c: Use test-skeleton.c.
4967 * catgets/tst-catgets.c: Likewise.
4968 * csu/tst-empty.c: Likewise.
4969 * elf/tst-audit2.c: Likewise.
4970 * elf/tst-global1.c: Likewise.
4971 * elf/tst-pathopt.c: Likewise.
4972 * elf/tst-piemod1.c: Likewise.
4973 * elf/tst-tls10.c: Likewise.
4974 * elf/tst-tls11.c: Likewise.
4975 * elf/tst-tls12.c: Likewise.
4976 * gnulib/tst-gcc.c: Likewise.
4977 * iconvdata/tst-e2big.c: Likewise.
4978 * iconvdata/tst-loading.c: Likewise.
4979 * iconv/tst-iconv1.c: Likewise.
4980 * iconv/tst-iconv2.c: Likewise.
4981 * inet/test-inet6_opt.c: Likewise.
4982 * inet/tst-gethnm.c: Likewise.
4983 * inet/tst-network.c: Likewise.
4984 * inet/tst-ntoa.c: Likewise.
4985 * intl/tst-codeset.c: Likewise.
4986 * intl/tst-gettext2.c: Likewise.
4987 * intl/tst-gettext3.c: Likewise.
4988 * intl/tst-ngettext.c: Likewise.
4989 * intl/tst-translit.c: Likewise.
4990 * io/test-stat.c: Likewise.
4991 * libio/test-fmemopen.c: Likewise.
4992 * libio/tst-freopen.c: Likewise.
4993 * libio/tst-sscanf.c: Likewise.
4994 * libio/tst-ungetwc1.c: Likewise.
4995 * libio/tst-ungetwc2.c: Likewise.
4996 * libio/tst-widetext.c: Likewise.
4997 * localedata/tst-ctype.c: Likewise.
4998 * localedata/tst-digits.c: Likewise.
4999 * localedata/tst-leaks.c: Likewise.
5000 * localedata/tst-mbswcs1.c: Likewise.
5001 * localedata/tst-mbswcs2.c: Likewise.
5002 * localedata/tst-mbswcs3.c: Likewise.
5003 * localedata/tst-mbswcs4.c: Likewise.
5004 * localedata/tst-mbswcs5.c: Likewise.
5005 * localedata/tst-setlocale.c: Likewise.
5006 * localedata/tst-trans.c: Likewise.
5007 * localedata/tst-wctype.c: Likewise.
5008 * localedata/tst-xlocale1.c: Likewise.
5009 * login/tst-grantpt.c: Likewise.
5010 * malloc/tst-calloc.c: Likewise.
5011 * malloc/tst-malloc.c: Likewise.
5012 * malloc/tst-mallocstate.c: Likewise.
5013 * malloc/tst-mcheck.c: Likewise.
5014 * malloc/tst-mtrace.c: Likewise.
5015 * malloc/tst-obstack.c: Likewise.
5016 * math/atest-exp2.c: Likewise.
5017 * math/atest-exp.c: Likewise.
5018 * math/atest-sincos.c: Likewise.
5019 * math/test-matherr.c: Likewise.
5020 * math/test-misc.c: Likewise.
5021 * math/test-powl.c: Likewise.
5022 * math/tst-definitions.c: Likewise.
5023 * misc/tst-dirname.c: Likewise.
5024 * misc/tst-efgcvt.c: Likewise.
5025 * misc/tst-fdset.c: Likewise.
5026 * misc/tst-hsearch.c: Likewise.
5027 * misc/tst-mntent2.c: Likewise.
5028 * nptl/tst-sem7.c: Likewise.
5029 * nptl/tst-sem8.c: Likewise.
5030 * nptl/tst-sem9.c: Likewise.
5031 * nss/test-netdb.c: Likewise.
5032 * posix/tst-fnmatch.c: Likewise.
5033 * posix/tst-getlogin.c: Likewise.
5034 * posix/tst-gnuglob.c: Likewise.
5035 * posix/tst-mmap.c: Likewise.
5036 * pwd/tst-getpw.c: Likewise.
5037 * resolv/tst-inet_ntop.c: Likewise.
5038 * rt/tst-timer.c: Likewise.
5039 * stdio-common/test-fseek.c: Likewise.
5040 * stdio-common/test-popen.c: Likewise.
5041 * stdio-common/test-vfprintf.c: Likewise.
5042 * stdio-common/tst-cookie.c: Likewise.
5043 * stdio-common/tst-fileno.c: Likewise.
5044 * stdio-common/tst-gets.c: Likewise.
5045 * stdio-common/tst-obprintf.c: Likewise.
5046 * stdio-common/tst-perror.c: Likewise.
5047 * stdio-common/tst-sprintf2.c: Likewise.
5048 * stdio-common/tst-sprintf3.c: Likewise.
5049 * stdio-common/tst-sprintf.c: Likewise.
5050 * stdio-common/tst-swprintf.c: Likewise.
5051 * stdio-common/tst-tmpnam.c: Likewise.
5052 * stdio-common/tst-unbputc.c: Likewise.
5053 * stdio-common/tst-wc-printf.c: Likewise.
5054 * stdlib/tst-environ.c: Likewise.
5055 * stdlib/tst-fmtmsg.c: Likewise.
5056 * stdlib/tst-limits.c: Likewise.
5057 * stdlib/tst-rand48-2.c: Likewise.
5058 * stdlib/tst-rand48.c: Likewise.
5059 * stdlib/tst-random2.c: Likewise.
5060 * stdlib/tst-random.c: Likewise.
5061 * stdlib/tst-strtol.c: Likewise.
5062 * stdlib/tst-strtoll.c: Likewise.
5063 * stdlib/tst-tls-atexit.c: Likewise.
5064 * stdlib/tst-xpg-basename.c: Likewise.
5065 * string/test-ffs.c: Likewise.
5066 * string/tst-bswap.c: Likewise.
5067 * string/tst-inlcall.c: Likewise.
5068 * string/tst-strtok.c: Likewise.
5069 * string/tst-strxfrm.c: Likewise.
5070 * sysdeps/x86_64/tst-audit10.c: Likewise.
5071 * sysdeps/x86_64/tst-audit3.c: Likewise.
5072 * sysdeps/x86_64/tst-audit4.c: Likewise.
5073 * sysdeps/x86_64/tst-audit5.c: Likewise.
5074 * time/tst-ftime_l.c: Likewise.
5075 * time/tst-getdate.c: Likewise.
5076 * time/tst-mktime3.c: Likewise.
5077 * time/tst-mktime.c: Likewise.
5078 * time/tst-posixtz.c: Likewise.
5079 * time/tst-strptime2.c: Likewise.
5080 * time/tst-strptime3.c: Likewise.
5081 * wcsmbs/tst-btowc.c: Likewise.
5082 * wcsmbs/tst-mbrtowc.c: Likewise.
5083 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5084 * wcsmbs/tst-wchar-h.c: Likewise.
5085 * wcsmbs/tst-wcpncpy.c: Likewise.
5086 * wcsmbs/tst-wcrtomb.c: Likewise.
5087 * wcsmbs/tst-wcsnlen.c: Likewise.
5088 * wcsmbs/tst-wcstof.c: Likewise.
5090 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5093 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5095 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5097 (_dl_mcount): Use rtld_hidden_proto.
5098 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5100 * elf/rtld.c (_rtld_global_ro): Likewise.
5103 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5104 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5105 of _dl_init_internal.
5106 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5107 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5108 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5109 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5110 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5111 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5112 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5113 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5114 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5115 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5116 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5117 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5118 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5119 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5120 * sysdeps/tile/dl-start.S (_start): Likewise.
5121 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5122 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5125 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5126 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5127 (rtld_progname): Make macro definition unconditional.
5128 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5130 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5131 (dl_main): Likewise.
5132 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5133 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5134 instead of _dl_argv_internal.
5135 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5136 __GI__dl_argv instead of INTUSE(_dl_argv).
5137 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5138 __GI__dl_argv instead of _dl_argv_internal.
5140 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5141 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5143 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5144 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5146 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5147 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5149 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5150 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5152 2014-11-04 Andreas Schwab <schwab@suse.de>
5154 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5156 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5158 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5159 mtvsrd instruction in binary form.
5161 2014-11-03 Andreas Schwab <schwab@suse.de>
5164 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5165 for less than MB_LEN_MAX use a local buffer of that size.
5166 * libio/tst-fputws.c: New file.
5167 * libio/Makefile (tests): Add tst-fputws.
5169 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5171 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5172 the size of the fpu_fr.fpu_dregs[] array.
5174 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5176 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5177 (__nanosleep): Do not define as alias.
5178 (nanosleep): Define as alias of __nanosleep.
5179 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5180 __libc_nanosleep name.
5182 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5184 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5185 install.texi in comment.
5187 2014-10-31 Torvald Riegel <triegel@redhat.com>
5189 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5190 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5191 ... add here and use lwsync or sync ...
5192 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5193 ... and add here using lwsync.
5195 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5197 * elf/dl-machine-reject-phdr.h: New file.
5198 * elf/dl-load.c: #include that.
5199 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5200 if that returned true.
5202 2014-10-31 Roland McGrath <roland@hack.frob.com>
5205 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5206 gen-as-const-headers chunk. Add a big scare comment after the last
5207 safe place to touch before-compile.
5209 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5211 * manual/install.texi (Tools for Compilation): Update autoconf
5212 version requirements.
5213 * INSTALL: Regenerated.
5215 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5216 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5217 (__libc_pselect): Likewise.
5220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5225 2014-10-31 Torvald Riegel <triegel@redhat.com>
5227 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5228 correct barrier instruction.
5229 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5231 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5234 2014-10-30 Roland McGrath <roland@hack.frob.com>
5236 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5237 after defining inlines. Instead, just use parens to defeat macro
5238 expansion of __isctype in its declaration.
5240 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5242 * include/sys/uio.h (__libc_readv): Remove declaration.
5243 (__libc_writev): Likewise.
5244 * misc/readv.c (__libc_readv): Rename to __readv.
5245 (__readv): Do not define as alias.
5246 (readv): Define as alias of __readv.
5247 * misc/writev.c (__libc_writev): Rename to __writev.
5248 (__writev): Do not define as alias.
5249 (writev): Define as alias of __writev.
5250 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5251 (__readv): Do not define as alias.
5252 (readv): Define unconditionally as alias of __readv.
5253 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5254 (__writev): Do not define as alias.
5255 (writev): Define unconditionally as alias of __writev.
5256 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5258 (writev): Do not define __libc_writev name.
5260 2014-10-30 Roland McGrath <roland@hack.frob.com>
5262 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5263 (convert_charseq): New function, broken out of ...
5264 (use_from_charmap): ... here. Call it.
5265 (use_to_charmap): Use convert_charseq and free instead of duplicating
5266 its code with a variable-length stack struct.
5268 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5270 * include/fcntl.h (__libc_creat): Remove declaration.
5271 * io/creat.c (__libc_creat): Rename to creat.
5272 (creat): Do not define as alias.
5273 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5274 of creat instead of __libc_creat.
5275 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5277 (creat): Do not define as alias.
5278 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5280 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5282 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5285 2014-10-29 Carlos O'Donell <carlos@redhat.com>
5287 * manual/llio.texi: Add comments discussing why write() may be
5288 considered MT-unsafe on Linux.
5290 2014-10-28 Carlos O'Donell <carlos@redhat.com>
5292 * dl-load.c (local_strdup): Remove.
5293 (expand_dynamic_string_token): Use __strdup.
5294 (decompose_rpath): Likewise.
5295 (_dl_map_object): Likewise.
5297 2014-10-28 Joseph Myers <joseph@codesourcery.com>
5300 * sysdeps/generic/unwind-dw2-fde.c
5301 (__register_frame_info_bases_internal): Do not declare.
5302 (__register_frame_info_table_bases_internal): Likewise.
5303 (__deregister_frame_info_bases_internal): Likewise.
5304 (__register_frame_info_bases): Declare and use hidden_proto before
5305 definition. Use hidden_def instead of INTDEF.
5306 (__register_frame_info_table_bases): Likewise.
5307 (__deregister_frame_info_bases): Likewise.
5308 (__register_frame_info): Do not use INTUSE.
5309 (__register_frame): Likewise.
5310 (__register_frame_info_table): Likewise.
5311 (__register_frame_table): Likewise.
5312 (__deregister_frame_info): Likewise.
5313 (__deregister_frame): Likewise.
5315 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5317 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5318 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5320 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5322 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5325 2014-10-27 Joseph Myers <joseph@codesourcery.com>
5328 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5329 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5330 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5331 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5332 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5333 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5334 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5335 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5336 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5337 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5338 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5339 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5340 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5342 (setfsuid): Likewise.
5343 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5344 (setfsuid): Likewise.
5345 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5346 (setfsuid): Likewise.
5347 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5349 (setfsuid): Likewise.
5350 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5351 (setfsuid): Likewise.
5352 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5354 (setfsuid): Likewise.
5356 2014-10-27 Andreas Schwab <schwab@suse.de>
5359 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5360 check for Slow_SSE4_2 feature bit.
5361 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5362 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5363 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5364 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5366 2014-10-24 Roland McGrath <roland@hack.frob.com>
5368 * configure.ac: Validate compiler version with a empirical test of
5369 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5371 * configure: Regenerated.
5373 * inet/htons.c (htons): Prototypify.
5374 * inet/htonl.c (htonl): Likewise.
5376 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5378 * string/strncat.c (strncat): Improve performance by using strlen.
5380 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5382 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5384 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5386 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5387 Call libc_fetestexcept_aarch64.
5389 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5391 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5392 Call libc_feholdexcept_aarch64.
5394 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5396 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5397 Call get_rounding_mode.
5399 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5401 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5404 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5406 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5409 2014-10-24 Joseph Myers <joseph@codesourcery.com>
5412 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5413 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5414 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5415 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5416 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5417 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5418 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5419 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5420 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5421 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5422 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5423 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5424 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5425 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5426 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5427 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5428 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5429 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5430 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5431 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5432 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5433 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5434 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5435 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5436 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5437 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5438 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5439 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5440 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5441 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5442 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5443 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5444 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5445 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5446 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5447 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5448 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5449 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5450 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5451 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5452 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5454 (geteuid): Likewise.
5457 (getresgid): Likewise.
5458 (getresuid): Likewise.
5459 (getgroups): Likewise.
5460 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5461 (geteuid): Likewise.
5464 (getresgid): Likewise.
5465 (getresuid): Likewise.
5466 (getgroups): Likewise.
5467 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5468 (geteuid): Likewise.
5471 (getresgid): Likewise.
5472 (getresuid): Likewise.
5473 (getgroups): Likewise.
5474 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5476 (geteuid): Likewise.
5479 (getresgid): Likewise.
5480 (getresuid): Likewise.
5481 (getgroups): Likewise.
5482 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5483 (geteuid): Likewise.
5486 (getresgid): Likewise.
5487 (getresuid): Likewise.
5488 (getgroups): Likewise.
5489 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5491 (geteuid): Likewise.
5494 (getgroups): Likewise.
5497 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5498 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5499 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5500 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5501 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5502 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5503 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5504 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5505 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5506 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5507 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5508 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5509 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5511 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5514 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5518 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5521 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5526 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5528 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5531 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5533 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5536 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5538 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5539 Remove unused include.
5541 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5543 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5544 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5545 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5546 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5548 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5549 Helge Deller <deller@gmx.de>
5552 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5553 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5554 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5556 2014-10-23 Joseph Myers <joseph@codesourcery.com>
5559 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5560 Remove macro definition.
5561 (__ashrdi3_v_glibc20): Likewise.
5562 (__lshrdi3_v_glibc20): Likewise.
5563 (__cmpdi2_v_glibc20): Likewise.
5564 (__ucmpdi2_v_glibc20): Likewise.
5565 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5566 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5567 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5568 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5569 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5570 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5572 2014-10-22 Roland McGrath <roland@hack.frob.com>
5574 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5575 old GNU extension [0] syntax.
5576 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5577 alloca rather than an array member with variable length.
5578 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5579 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5580 (parse_opt): ... here. Likewise use alloca there.
5581 Validate the -i argument before checking for rootness.
5582 (send_shutdown): New function, broken out of ...
5583 (parse_opt): ... here.
5585 2014-10-22 Roland McGrath <roland@hack.frob.com>
5587 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5588 macro to get at the _rt_local_ro field.
5589 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5590 ([PIC] case) or _dl_hwcap ([!PIC] case).
5591 * sysdeps/arm/setjmp.S: Likewise.
5593 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5594 * sysdeps/arm/configure.ac: New check to define it.
5595 * sysdeps/arm/configure: Regenerated.
5596 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5597 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5598 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5599 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5600 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5601 Use move/movt pair instead of a load.
5602 (LDST_GLOBAL): Macro removed.
5603 (LDR_GLOBAL): New macro replaces it.
5604 (LDR_HIDDEN): New macro.
5605 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5606 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5608 * setjmp/tst-setjmp-static.c: New file.
5609 * setjmp/Makefile (tests): Add it.
5610 (tests-static): New variable.
5612 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5615 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5617 2014-10-21 Joseph Myers <joseph@codesourcery.com>
5620 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5622 2014-10-21 Roland McGrath <roland@hack.frob.com>
5624 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5626 2014-10-20 Roland McGrath <roland@hack.frob.com>
5628 * io/fts.c (dirent_not_directory): New function.
5629 (fts_build): Call it.
5631 2014-10-20 Roland McGrath <roland@hack.frob.com>
5633 * nptl/version.c (__nptl_main): Use normal __write rather than
5635 (banner): Update copyright years.
5637 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5639 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5640 * nptl/pthread_cond_timedwait.c: Likewise.
5641 * nptl/pthread_mutex_timedlock.c: Likewise.
5642 * nptl/sem_timedwait.c: Likewise.
5644 * sysdeps/nptl/bits/libc-lock.h
5645 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5646 (__libc_lock_init_recursive): Return void, not 0.
5647 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5648 (__libc_rwlock_init): Likewise.
5649 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5651 2014-10-20 Torvald Riegel <triegel@redhat.com>
5654 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5655 (__pthread_once_slow): ... here.
5656 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5657 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5659 2014-10-20 Torvald Riegel <triegel@redhat.com>
5662 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5663 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5664 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5665 * nptl/pthread_once.c (__pthread_once): Likewise.
5668 2014-10-20 Joseph Myers <joseph@codesourcery.com>
5671 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5673 (writev): Use __libc_writev as strong name.
5674 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5675 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5677 2014-10-17 Roland McGrath <roland@hack.frob.com>
5679 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5681 * sysdeps/i386/nptl/tls.h
5682 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5683 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5685 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5686 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5687 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5688 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5689 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5690 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5692 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5693 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5695 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5697 (__pthread_mutex_init): ... here. Call it.
5698 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5699 Conditionalize PI cases on [__NR_futex].
5700 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5701 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5702 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5704 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5705 conditional on [SIGSETXID].
5706 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5707 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5708 is defined. Likewise for SIGSETXID.
5709 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5710 Conditionalize definitions on [SIGSETXID].
5711 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5712 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5713 unblocking on [SIGCANCEL].
5715 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5716 [__NR_set_robust_list].
5718 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5720 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5721 (do_compare): Likewise.
5723 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
5726 * string/strcoll_l.c: Don't include stdio.h.
5727 (coll_seq): Remove members idxarr and rulearr.
5728 (get_next_seq_cached): Remove function.
5729 (get_next_seq): Likewise.
5730 (get_next_seq_nocache): Rename to get_next_seq.
5731 (do_compare): Remove function.
5732 (do_compare_nocache): Rename to do_compare.
5733 (STRCOLL): Remove weight and rules cache.
5735 2014-10-16 Roland McGrath <roland@hack.frob.com>
5737 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5738 * sysdeps/arm/sfp-machine.h: ... to here.
5739 * sysdeps/arm/Implies: Remove arm/soft-fp.
5741 2014-10-14 Joseph Myers <joseph@codesourcery.com>
5743 * conform/data/sys/utsname.h-data (*_t): Allow.
5744 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5745 [POSIX] (WEXITED): Do not expect constant.
5746 [POSIX] (WSTOPPED): Likewise.
5747 [POSIX] (WNOHANG): Likewise.
5748 [POSIX] (WNOWAIT): Likewise.
5749 [POSIX] (siginfo_t): Do not expect type or elements.
5750 [POSIX] (pid_t): Do not expect type.
5751 [POSIX] (signal.h): Do not allow header.
5752 [POSIX] (sys/resource.h): Likewise.
5753 [POSIX] (si_*): Do not allow pattern.
5754 [POSIX] (W*): Likewise.
5755 [POSIX] (P_*): Likewise.
5756 [POSIX] (BUS_*): Likewise.
5757 [POSIX] (CLD_*): Likewise.
5758 [POSIX] (FPE_*): Likewise.
5759 [POSIX] (ILL_*): Likewise.
5760 [POSIX] (POLL_*): Likewise.
5761 [POSIX] (SEGV_*): Likewise.
5762 [POSIX] (SI_*): Likewise.
5763 [POSIX] (TRAP_*): Likewise.
5764 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5767 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5770 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5771 infinite loop when __recvmsg returns 0.
5773 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5775 * CANCEL-FCT-WAIVE: Remove file.
5776 * CANCEL-FILE-WAIVE: Likewise.
5779 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5780 instead of INTVARDEF.
5781 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5782 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5783 rtld_hidden_data_def instead of INTVARDEF.
5784 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5785 * elf/dl-deps.c (expand_dst): Likewise.
5786 * elf/dl-load.c (_dl_dst_count): Likewise.
5787 (_dl_dst_substitute): Likewise.
5788 (decompose_rpath): Likewise.
5789 (_dl_init_paths): Likewise.
5790 (open_path): Likewise.
5791 (_dl_map_object): Likewise.
5792 * elf/rtld.c (dl_main): Likewise.
5793 (process_dl_audit): Likewise.
5794 (process_envvars): Likewise.
5795 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5797 (__libc_enable_secure): Use rtld_hidden_proto.
5799 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5802 (add_path): New function broken out of _dl_rtld_di_serinfo.
5803 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5805 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5807 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5808 parentheses around macro arguments.
5809 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5810 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5811 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5812 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5813 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5814 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5815 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5816 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5817 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5818 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5819 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5820 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5821 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5822 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5823 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5824 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5825 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5826 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5827 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5828 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5829 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5830 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5831 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5832 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5833 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5834 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5835 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5836 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5837 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5838 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5839 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5840 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5841 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5842 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5843 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5844 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5846 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5847 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5848 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5849 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5850 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5851 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5852 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5853 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5854 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5855 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5856 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5857 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5858 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5859 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5860 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5861 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5862 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5863 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5864 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5865 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5866 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5867 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5868 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5869 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5870 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5871 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5872 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5873 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5874 (_FP_FRAC_SRS_1): Likewise.
5875 (_FP_FRAC_CLZ_1): Likewise.
5876 (_FP_MUL_MEAT_1_imm): Likewise.
5877 (_FP_MUL_MEAT_1_wide): Likewise.
5878 (_FP_MUL_MEAT_1_hard): Likewise.
5879 (_FP_SQRT_MEAT_1): Likewise.
5880 (_FP_FRAC_ASSEMBLE_1): Likewise.
5881 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5882 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5883 (__FP_CLZ_2): Likewise.
5884 (_FP_MUL_MEAT_2_wide): Likewise.
5885 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5886 (_FP_MUL_MEAT_2_gmp): Likewise.
5887 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5888 (_FP_SQRT_MEAT_2): Likewise.
5889 (_FP_FRAC_ASSEMBLE_2): Likewise.
5890 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5891 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5892 (_FP_FRAC_CLZ_4): Likewise.
5893 (_FP_MUL_MEAT_4_wide): Likewise.
5894 (_FP_MUL_MEAT_4_gmp): Likewise.
5895 (_FP_SQRT_MEAT_4): Likewise.
5896 (_FP_FRAC_ASSEMBLE_4): Likewise.
5897 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5898 * soft-fp/op-common.h (_FP_CMP): Likewise.
5899 (_FP_CMP_EQ): Likewise.
5900 (_FP_CMP_UNORD): Likewise.
5901 (_FP_TO_INT): Likewise.
5902 (_FP_FROM_INT): Likewise.
5903 [!__FP_CLZ] (__FP_CLZ): Likewise.
5904 (_FP_DIV_HELP_imm): Likewise.
5905 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5907 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5908 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5909 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5910 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5911 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5912 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5913 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5914 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5915 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5916 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5917 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5918 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5919 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5920 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5921 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5922 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5923 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5924 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5925 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5926 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5927 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5928 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5929 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5930 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5931 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5932 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5933 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5934 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5935 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5936 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5937 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5938 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5939 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5940 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5941 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5942 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5943 (FP_UNPACK_RAW_SP): Likewise.
5944 (FP_PACK_RAW_S): Likewise.
5945 (FP_PACK_RAW_SP): Likewise.
5946 (FP_UNPACK_S): Likewise.
5947 (FP_UNPACK_SP): Likewise.
5948 (FP_UNPACK_SEMIRAW_S): Likewise.
5949 (FP_UNPACK_SEMIRAW_SP): Likewise.
5950 (FP_PACK_S): Likewise.
5951 (FP_PACK_SP): Likewise.
5952 (FP_PACK_SEMIRAW_S): Likewise.
5953 (FP_PACK_SEMIRAW_SP): Likewise.
5954 (_FP_SQRT_MEAT_S): Likewise.
5955 (FP_CMP_S): Likewise.
5956 (FP_CMP_EQ_S): Likewise.
5957 (FP_CMP_UNORD_S): Likewise.
5958 (FP_TO_INT_S): Likewise.
5959 (FP_FROM_INT_S): Likewise.
5961 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5963 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5964 (FP_EX_INVALID_IMZ): Likewise.
5965 (FP_EX_INVALID_IMZ_FMA): Likewise.
5966 (FP_EX_INVALID_ISI): Likewise.
5967 (FP_EX_INVALID_ZDZ): Likewise.
5968 (FP_EX_INVALID_IDI): Likewise.
5969 (FP_EX_INVALID_SQRT): Likewise.
5970 (FP_EX_INVALID_CVI): Likewise.
5971 (FP_EX_INVALID_VC): Likewise.
5972 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5973 "invalid" exceptions.
5974 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5975 (_FP_ADD_INTERNAL): Likewise.
5976 (_FP_MUL): Likewise.
5977 (_FP_FMA): Likewise.
5978 (_FP_DIV): Likewise.
5979 (_FP_CMP_CHECK_NAN): Likewise.
5980 (_FP_SQRT): Likewise.
5981 (_FP_TO_INT): Likewise.
5982 (FP_EXTEND): Likewise.
5984 2014-10-09 Allan McRae <allan@archlinux.org>
5986 * po/fr.po: Update French translation from translation project.
5988 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5991 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5993 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5994 (__cxa_atexit): Use libc_hidden_proto.
5995 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5998 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6000 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6001 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6002 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6003 [!_ISOMAC] (__iswctype_internal): Likewise.
6004 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6005 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6007 (fcntl): Remove __fcntl_internal alias.
6008 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6009 __connect_internal alias.
6010 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6013 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6014 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6016 (_FP_CHECK_FLUSH_ZERO): New macro.
6017 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6018 (_FP_CMP): Likewise.
6019 (_FP_CMP_EQ): Likewise.
6020 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6022 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6023 (FP_TRUNC): Likewise.
6025 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6026 treated as invalid conversion, not as normal exponent.
6028 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6029 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6030 (_FP_CMP_EQ): Likewise.
6031 (_FP_CMP_UNORD): Likewise.
6032 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6033 (FP_CMP_EQ_D): Likewise.
6034 (FP_CMP_UNORD_D): Likewise.
6035 * soft-fp/extended.h (FP_CMP_E): Likewise.
6036 (FP_CMP_EQ_E): Likewise.
6037 (FP_CMP_UNORD_E): Likewise.
6038 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6039 (FP_CMP_EQ_Q): Likewise.
6040 (FP_CMP_UNORD_Q): Likewise.
6041 * soft-fp/single.h (FP_CMP_S): Likewise.
6042 (FP_CMP_EQ_S): Likewise.
6043 (FP_CMP_UNORD_S): Likewise.
6044 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6045 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6046 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6047 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6048 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6049 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6050 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6051 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6052 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6053 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6054 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6055 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6056 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6058 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6060 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6061 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6063 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6065 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6066 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6067 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6068 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6070 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6072 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6073 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6075 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6077 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6078 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6079 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6080 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6083 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6084 a subnormal result, set the underflow exception if trapping on
6085 underflow is enabled.
6086 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6087 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6088 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6090 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6091 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6092 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6093 * soft-fp/extendxftf2.c (__extendxftf2): Use
6094 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6096 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6097 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6098 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6099 FP_HANDLE_EXCEPTIONS.
6100 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6101 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6102 FP_HANDLE_EXCEPTIONS.
6103 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6104 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6105 FP_HANDLE_EXCEPTIONS.
6106 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6107 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6108 FP_HANDLE_EXCEPTIONS.
6110 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6113 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6114 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6116 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6117 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6119 (__adjtimex): Define using libc_hidden_ver.
6120 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6122 (ntp_gettime): Call __adjtimex directly.
6123 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6125 (ntp_gettimex): Call __adjtimex directly.
6126 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6127 __adjtimex_internal alias.
6129 2014-10-08 Roland McGrath <roland@hack.frob.com>
6132 * nscd/nscd.c (more_help): Rewrite list of tables collection
6133 using xstrdup and asprintf.
6135 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6137 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6138 Roland McGrath <roland@hack.frob.com>
6140 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6141 (do_lookup_unique): ... local function 'enter' here; update callers.
6143 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6145 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6146 compat_symbol calls on [SHARED].
6147 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6148 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6150 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6151 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6152 (oldsetrlimit): Remove.
6153 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6155 (lchown): New syscall entry.
6156 (oldsetrlimit): Remove.
6157 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6158 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6159 (oldsetrlimit): Remove.
6160 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6163 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6164 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6165 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6166 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6167 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6168 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6170 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6175 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6177 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6178 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6179 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6180 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6181 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6183 (__old_sem_post): Likewise.
6185 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6187 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6188 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6189 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6190 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6191 Use INLINE_VSYSCALL macro.
6192 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6193 __vdso_clock_gettime.
6194 * sysdeps/unix/sysv/linux/tile/init-first.c
6195 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6196 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6197 __vdso_clock_gettime.
6199 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6200 to set up frame more cleanly.
6202 * sysdeps/tile/memcmp.c: New file.
6204 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6206 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6207 * sysdeps/tile/tilegx/strcasestr.c: New file.
6208 * sysdeps/tile/tilegx/strnlen.c: New file.
6209 * sysdeps/tile/tilegx/strstr.c: New file.
6211 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6213 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
6215 * nptl/tst-setuid3.c: Write errors to stdout.
6217 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6220 (preload): New functions broken out of _dl_map_object_deps.
6221 (_dl_map_object_deps): Remove a nested function. Update call sites.
6223 2014-10-01 Joseph Myers <joseph@codesourcery.com>
6226 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6227 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6229 2014-10-01 Steve Ellcey <sellcey@mips.com>
6231 * sysdeps/mips/strcmp.S: New.
6233 2014-09-30 Joseph Myers <joseph@codesourcery.com>
6236 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6238 (mkdirat): Likewise.
6239 (readlinkat): Likewise.
6240 (renameat): Likewise.
6241 (symlinkat): Likewise.
6242 (unlinkat): Likewise.
6243 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6244 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6245 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6246 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6247 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6248 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6249 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6251 2014-09-30 Will Newton <will.newton@linaro.org>
6253 * math/math.h: Define long double math functions if
6254 _LIBC_TEST is defined.
6255 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6257 * localedata/Makefile: Move assignment to tests-special
6258 into an ifdef testing run-built-tests.
6259 * timezone/Makefile: Likewise.
6261 2014-09-29 Joseph Myers <joseph@codesourcery.com>
6263 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6264 with $(BASH) not $(SHELL).
6266 2014-09-29 Carlos O'Donell <carlos@redhat.com>
6267 Matthew LeGendre <legendre1@llnl.gov>
6270 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6273 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6275 * stdio-common/printf_fp.c
6276 (hack_digit): New function, broken out of ...
6277 (__printf_fp): ... local function here. Update call sites.
6278 hack_digit now takes an additional parameter that is a pointer
6279 to a struct of the referenced locals. Those locals moved inside
6280 the struct and references updated.
6282 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6284 * aclocal.m4: Require autoconf 2.69.
6285 * configure: Regenerated.
6286 * sysdeps/aarch64/configure: Likewise.
6287 * sysdeps/alpha/configure: Likewise.
6288 * sysdeps/arm/armv7/configure: Likewise.
6289 * sysdeps/arm/configure: Likewise.
6290 * sysdeps/ia64/configure: Likewise.
6291 * sysdeps/mach/configure: Likewise.
6292 * sysdeps/mips/configure: Likewise.
6293 * sysdeps/s390/configure: Likewise.
6294 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6297 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6299 * sysdeps/ia64/configure.ac: Likewise.
6301 2014-09-26 Joseph Myers <joseph@codesourcery.com>
6303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6304 specify symbol version for ld.so. Do not include entry for
6306 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6307 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6308 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6311 * Makeconfig [$(build-shared) = yes]
6312 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6314 [$(build-shared) = yes && $(soversions.mk-done) = t]
6315 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6316 [$(build-shared) = yes && $(soversions.mk-done) = t]
6317 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6319 [$(build-shared) = yes && $(soversions.mk-done) = t]
6320 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6322 [$(build-shared) = yes && $(soversions.mk-done) = t]
6323 (common-generated): Don't append gnu/lib-names.h and
6324 gnu/lib-names.stmp here.
6325 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6326 (lib-names-h-abi): New variable.
6327 [$(build-shared) = yes && $(soversions.mk-done) = t]
6328 (lib-names-stmp-abi): Likewise.
6329 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6330 abi-variants] (before-compile): Append
6331 $(common-objpfx)$(lib-names-h-abi).
6332 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6333 abi-variants] (common-generated): Append gnu/lib-names.h.
6334 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6335 abi-variants] (install-others-nosubdir): Depend on
6336 $(inst_includedir)/$(lib-names-h-abi).
6337 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6338 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6339 [$(build-shared) = yes && $(soversions.mk-done) = t]
6340 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6341 [$(build-shared) = yes && $(soversions.mk-done) = t]
6342 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6343 [$(build-shared) = yes && $(soversions.mk-done) = t]
6344 (common-generated): Append $(lib-names-h-abi) and
6345 $(lib-names-stmp-abi).
6346 * scripts/lib-names.awk: Do not handle multi being set.
6347 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6349 (abi-lp64_be-ld-soname): Likewise.
6350 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6352 (abi-hard-ld-soname): Likewise.
6353 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6354 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6356 (abi-o32_hard-ld-soname): Likewise.
6357 (abi-o32_soft_2008-ld-soname): Likewise.
6358 (abi-o32_hard_2008-ld-soname): Likewise.
6359 (abi-n32_soft-ld-soname): Likewise.
6360 (abi-n32_hard-ld-soname): Likewise.
6361 (abi-n32_soft_2008-ld-soname): Likewise.
6362 (abi-n32_hard_2008-ld-soname): Likewise.
6363 (abi-n64_soft-ld-soname): Likewise.
6364 (abi-n64_hard-ld-soname): Likewise.
6365 (abi-n64_soft_2008-ld-soname): Likewise.
6366 (abi-n64_hard_2008-ld-soname): Likewise.
6367 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6369 (abi-64-v2-ld-soname): Likewise.
6370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6372 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6374 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6376 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6378 (abi-64-ld-soname): Likewise.
6379 (abi-x32-ld-soname): Likewise.
6380 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6382 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6384 2014-09-23 Joseph Myers <joseph@codesourcery.com>
6387 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6388 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6389 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6390 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6391 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6392 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6393 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6394 syscall entry for GLIBC_2.2 symbol version.
6395 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6398 (setrlimit): Likewise.
6399 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6402 2014-09-23 Will Newton <will.newton@linaro.org>
6404 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6405 _LINUX_ARM_SYSDEP_H include guard too.
6406 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6409 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6411 * sysdeps/unix/sysv/linux/eventfd.c:
6412 Make first argument unsigned.
6413 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6414 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6416 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
6418 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6419 * socket/sys/socket.h: Likewise
6420 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6422 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6424 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6426 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
6428 * time/tst-ftime.c: New test.
6429 * time/Makefile (tests): Add tst-ftime.
6431 2014-09-17 Joseph Myers <joseph@codesourcery.com>
6433 * soft-fp/extended.h: Fix comment formatting.
6434 * soft-fp/op-1.h: Likewise.
6435 * soft-fp/op-2.h: Likewise.
6436 * soft-fp/op-4.h: Likewise.
6437 * soft-fp/op-8.h: Likewise.
6438 * soft-fp/op-common.h: Likewise.
6439 * soft-fp/soft-fp.h: Likewise.
6441 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6443 2014-09-16 Joseph Myers <joseph@codesourcery.com>
6446 * Makeconfig (soversions-default-setname): Remove variable.
6447 ($(common-objpfx)soversions.i): Don't pass default_setname to
6449 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6450 oldest_abi to abi-versions.awk.
6451 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6452 * config.make.in (oldest-abi): Remove variable.
6453 * configure.ac (--enable-oldest-abi): Remove configure option.
6454 * configure: Regenerated.
6455 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6457 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6458 * scripts/soversions.awk: Do not handle default_setname variable.
6459 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6461 * sysdeps/mach/hurd/configure: Regenerated.
6462 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6464 * sysdeps/unix/sysv/linux/configure: Regenerated.
6466 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6468 * elf/Makefile (CFLAGS-interp.c): Remove.
6469 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6471 * elf/interp.c: Include generated runtime-linker.h
6473 * Makerules (lib%.so): Don't include $(+interp) in
6475 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6476 * dlfcn/eval.c: Remove file.
6478 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6482 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6486 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6488 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6489 Jakub Jelinek <jakub@redhat.com>
6492 * libio/stdio.h: Check definition of __fortify_function
6493 instead of __extern_always_inline to include bits/stdio2.h.
6494 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6495 check if __extern_always_inline is defined.
6496 [__USE_MISC || __USE_XOPEN]: Likewise.
6497 [__USE_ISOC99] Likewise.
6498 * misc/sys/cdefs.h (__fortify_function): Define only if
6499 __extern_always_inline is defined.
6500 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6501 __extern_always_inline and __extern_inline only for g++-4.3
6502 and newer or a compatible gcc.
6504 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6507 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6508 last change to handle zero prefix length.
6510 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6512 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6515 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6518 2014-09-13 Allan McRae <allan@archlinux.org>
6520 * po/ru.po: Update Russian translation from translation project.
6522 2014-09-12 Roland McGrath <roland@hack.frob.com>
6524 * locale/programs/locale.c (show_locale_vars): Inline local function
6525 into its sole call site. Clean up some style nits.
6526 (print_item): New function, broken out of ...
6527 (show_info): ... local function here. Clean up style nits.
6529 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6531 (set_class_defaults): ... local function set_default here.
6532 Define set_default as a macro locally to pass constant parameters.
6533 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6534 rather than a shared local.
6536 * stdlib/rpmatch.c (try): New function, broken out of ...
6537 (rpmatch): ... local function here. Also, prototypify definition.
6539 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6541 * scripts/soversions.awk: Do not handle configuration names.
6542 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6543 vendor and os variables to soversions.awk.
6544 * configure.ac: Do not modify gnu-* host_os.
6545 * configure: Regenerated
6546 * shlib-versions: Remove first column with configuration names.
6547 * nptl/shlib-versions: Likewise.
6548 * nptl_db/shlib-versions: Likewise.
6549 * sysdeps/hppa/shlib-versions: Likewise.
6550 * sysdeps/m68k/shlib-versions: Likewise.
6551 * sysdeps/mach/hurd/shlib-versions: Likewise.
6552 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6553 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6554 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6555 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6556 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6557 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6558 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6559 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6562 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6563 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6564 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6565 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6566 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6567 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6568 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6569 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6572 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6575 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6577 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6579 * shlib-versions: Remove OS-specific entries. Moved to files in
6581 * sysdeps/mach/hurd/shlib-versions: New file.
6582 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6584 * nptl/shlib-versions: Remove architecture-specific entries.
6585 Moved to files in sysdeps.
6586 * shlib-versions: Likewise.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6589 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6590 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6591 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6592 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6594 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6595 (UDP_NO_CHECK6_RX): Likewise.
6597 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6599 * sysdeps/posix/sysconf.c (__sysconf): Spell
6600 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6602 2014-08-12 Florian Weimer <fweimer@redhat.com>
6604 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6606 * iconv/Versions (__gconv_transliterate): Export for use from
6608 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6609 (struct __gconv_trans_data, __gconv_trans_fct,
6610 __gconv_trans_context_fct, __gconv_trans_query_fct,
6611 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6613 (struct __gconv_step_data): Remove __trans member.
6614 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6615 longer hidden. Remove unused trans_data argument.
6616 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6617 (__gconv_translit_find): Remove declaration.
6618 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6620 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6621 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6622 trans_data argument. Add hidden definition.
6623 (__gconv_translit_find): Remove.
6624 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6625 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6626 * iconv/skeleton.c: Remove transliteration initialization.
6627 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6628 __gconv_step_data initialization.
6629 * libio/iofwide.c (__libio_translit_): Remove.
6630 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6631 * wcsmbs/btowc.c (__btowc): Likewise.
6632 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6633 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6634 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6635 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6636 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6637 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6638 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6639 * wcsmbs/wctob.c (wctob): Likewise.
6641 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6644 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6645 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6647 * sysdeps/x86/Makefile: Adjust.
6649 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6650 Roland McGrath <roland@hack.frob.com>
6652 * locale/weight.h: Add include guard.
6653 (findidx): Make static rather than auto; take new parameters
6654 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6655 * locale/weightwc.h: Likewise.
6656 * posix/fnmatch_loop.c
6657 (FCT): Change type of EXTRA from int32_t to wint_t.
6658 Don't include either header inside the function.
6659 Call FINDIDX rather than findidx, and pass new arguments.
6660 #undef FINDIDX at the end of the file.
6661 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6662 FINDIDX before including fnmatch_loop.c for the non-wide version.
6663 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6664 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6665 for the wide version.
6666 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6667 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6668 Pass new arguments to findidx.
6669 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6670 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6671 Don't #include it inside the function. Pass new arguments to findidx.
6672 * posix/regex_internal.h
6673 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6674 (re_string_elem_size_at): Don't #include it inside the function.
6675 Pass new arguments to findidx.
6676 * string/strcoll_l.c: #include WEIGHT_H at top level.
6677 (get_next_seq): Don't #include it inside the function.
6678 Pass new arguments to findidx.
6679 (get_next_seq_nocache): Likewise.
6680 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6681 (STRXFRM): Don't #include it inside the function.
6682 Pass new arguments to findidx.
6684 2014-09-11 Florian Weimer <fweimer@redhat.com>
6687 * malloc/malloc.c (unlink): Turn asserts into a call to
6690 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
6693 * libio/wfileops (do_ftell_wide): Free OUT.
6695 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6697 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6699 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6702 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6703 group if the current group is empty.
6705 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6707 * benchtests/bench-memset.c (test_main): Add more test from size
6708 from 32 to 512 bytes.
6709 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6710 Add POWER8 memset object.
6711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6712 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6713 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6715 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6717 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6718 multiarch POWER8 memset optimization.
6719 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6720 POWER8 memset optimization.
6722 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6723 Remove bzero multiarch objects.
6724 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6725 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6726 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6727 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6729 [__bzero]: Redefine to specific name.
6730 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6731 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6732 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6734 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6735 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6737 2014-09-10 Florian Weimer <fweimer@redhat.com>
6739 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6740 warnings into errors.
6742 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6743 __cxa_thread_atexit_impl prototype.
6745 2014-09-09 Steve Ellcey <sellcey@mips.com>
6747 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6748 Fix capitalization of error message.
6750 2014-09-09 Steve Ellcey <sellcey@mips.com>
6752 * sysdeps/mips/preconfigure: Modify ABI tests.
6754 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6756 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6758 2014-09-07 Roland McGrath <roland@hack.frob.com>
6759 Carlos O'Donell <carlos@systemhalted.org>
6761 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6762 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6763 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6764 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6765 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6766 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6767 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6768 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6769 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6770 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6771 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6772 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6773 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6774 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6775 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6776 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6777 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6778 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6779 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6780 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6781 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6782 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6783 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6784 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6785 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6786 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6787 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6788 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6789 Deconditionalize the code that was previously under [RESET_PID].
6790 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6791 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6792 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6793 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6796 2014-09-08 Allan McRae <allan@archlinux.org>
6798 * version.h (RELEASE): Set to "development".
6799 (VERSION): Set to "2.20.90"
6801 2014-09-07 Allan McRae <allan@archlinux.org
6803 * version.h (RELEASE): Set to "stable".
6804 (VERSION): Set to "2.20"
6805 * include/features.h (__GLIBC_MINOR__): Set to 20.
6807 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6810 * po/ko.po: Update Korean translation from translation project.
6812 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6815 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6816 macro for handling signed relocations.
6818 2014-09-03 Florian Weimer <fweimer@redhat.com>
6821 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6822 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6824 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6825 * iconvdata/ibm935.c (BODY): Likewise.
6826 * iconvdata/ibm937.c (BODY): Likewise.
6827 * iconvdata/ibm939.c (BODY): Likewise.
6828 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6830 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6832 * iconvdata/run-iconv-test.sh: New test loop for checking for
6835 2014-09-02 Khem Raj <raj.khem@gmail.com>
6837 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6840 2014-09-01 Allan McRae <allan@archlinux.org>
6842 * po/eo.po: Update Esperanto translation from translation project.
6844 * po/ca.po: Update Catalan translation from translation project.
6846 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6848 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6851 2014-08-27 Mark Wielaard <mjw@redhat.com>
6854 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6855 to call set_thread_area instead of hand written asm.
6856 (__NR_set_thread_area): Removed define.
6857 (TLS_FLAG_WRITABLE): Likewise.
6858 (__ASSUME_SET_THREAD_AREA): Remove check.
6859 (TLS_EBX_ARG): Remove define.
6860 (TLS_LOAD_EBX): Likewise.
6862 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6864 Simplify atomicity of socket creation in bind.
6866 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6867 looking up the name after linking the file.
6869 2014-08-27 Allan McRae <allan@archlinux.org>
6871 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6873 2014-08-26 Florian Weimer <fweimer@redhat.com>
6876 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6877 trans_compare, open_translit, __gconv_translit_find):
6878 Remove module loading code.
6880 2014-08-26 Allan McRae <allan@archlinux.org>
6882 * po/vi.po: Update Vietnamese translation from translation project.
6884 * po/uk.po: Update Ukrainian translation from translation project.
6886 * po/fr.po: Update French translation from translation project.
6888 * po/ru.po: Update Russian translation from translation project.
6890 * po/pl.po: Update Polish translation from translation project.
6892 * po/cs.po: Update Czech translation from translation project.
6894 * po/de.po: Update German translation from translation project.
6896 * po/bg.po: Update Bulgarian translation from translation project.
6898 * po/sv.po: Update Sweedish translation from translation project.
6900 * po/nl.po: Update Dutch translation from translation project.
6902 * po/es.po: Update Spanish translation from translation project.
6904 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6906 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6908 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6909 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6910 (CPPFLAGS-iconvconfig): Likewise.
6911 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6913 * include/libc-symbols.h: Remove unnecessary check for
6915 * nptl/pthreadP.h: Likewise.
6916 * sysdeps/aarch64/setjmp.S: Likewise.
6917 * sysdeps/alpha/setjmp.S: Likewise.
6918 * sysdeps/arm/sysdep.h: Likewise.
6919 * sysdeps/i386/setjmp.S: Likewise.
6920 * sysdeps/m68k/setjmp.c: Likewise.
6921 * sysdeps/posix/getcwd.c: Likewise.
6922 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6923 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6924 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6925 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6926 * sysdeps/sh/sh3/setjmp.S: Likewise.
6927 * sysdeps/sh/sh4/setjmp.S: Likewise.
6928 * sysdeps/unix/alpha/sysdep.h: Likewise.
6929 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6930 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6931 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6932 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6935 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6936 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6937 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6940 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6942 * sysdeps/x86_64/setjmp.S: Likewise.
6944 2014-08-13 Joseph Myers <joseph@codesourcery.com>
6947 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6949 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6950 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6952 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6954 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6957 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6958 and __x86_64__ when disabling x87 inline functions.
6960 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6963 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6964 asm statement with __cpuid_count.
6966 2014-08-12 Mike Frysinger <vapier@gentoo.org>
6968 * configure.ac: Change __ehdr_start code to dereference the struct.
6969 Run readelf on the output to look for relocations.
6970 * configure: Regenerated.
6972 2014-08-12 Joseph Myers <joseph@codesourcery.com>
6975 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6977 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6979 2014-08-12 Roland McGrath <roland@hack.frob.com>
6981 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6983 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6986 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6987 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6989 2014-08-12 Sean Anderson <seanga2@gmail.com>
6991 * malloc/malloc.c: Fix typo in comment.
6993 2014-08-09 Allan McRae <allan@archlinux.org>
6995 * Regenerate libc.po.
6997 2014-08-08 Mike Frysinger <vapier@gentoo.org>
6999 * intl/tst-gettext2.sh: Check every lang file for creation.
7001 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7003 * sysdeps/aarch64/fpu/math_private.h
7004 (libc_feholdsetround_noex_aarch64_ctx): New function.
7006 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7008 * sysdeps/arm/armv6/strcpy.S (strcpy):
7009 Fix performance issue in misaligned cases.
7011 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7013 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7014 Move definition from termios.h.
7015 (struct termio): Likewise.
7016 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7017 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7018 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7019 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7021 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7022 Move definition to ioctl-types.h
7023 (struct termio): Likewise.
7024 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7025 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7026 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7027 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7030 2014-08-05 Richard Henderson <rth@redhat.com>
7032 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7034 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7036 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7037 Use __feraiseexcept.
7038 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7039 Protect libm symbols with IS_IN_libm.
7041 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7043 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7045 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7047 2014-08-04 Will Newton <will.newton@linaro.org>
7049 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7052 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7054 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7055 variants for each function.
7057 2014-08-04 Roland McGrath <roland@hack.frob.com>
7059 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7061 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7062 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7064 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7065 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7066 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7067 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7068 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7069 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7070 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7071 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7072 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7073 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7074 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7075 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7076 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7077 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7078 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7079 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7080 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7081 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7082 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7083 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7084 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7085 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7086 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7087 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7088 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7089 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7090 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7091 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7092 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7093 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7094 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7095 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7096 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7097 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7098 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7099 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7100 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7101 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7102 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7103 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7104 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7105 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7106 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7107 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7108 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7109 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7110 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7111 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7112 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7113 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7114 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7115 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7116 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7118 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7119 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7121 2014-08-04 Roland McGrath <roland@hack.frob.com>
7123 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7124 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7125 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7126 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7127 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7128 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7130 2014-08-04 Roland McGrath <roland@hack.frob.com>
7132 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7133 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7134 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7135 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7137 2014-08-04 Roland McGrath <roland@hack.frob.com>
7139 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7140 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7141 (__libc_vfork): Define function under this name.
7142 (__vfork): Define as an alias.
7143 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7144 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7146 2014-08-04 Roland McGrath <roland@hack.frob.com>
7148 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7149 that was previously under [RESET_PID].
7150 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7152 2014-08-04 Andreas Schwab <schwab@suse.de>
7154 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7156 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7158 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7161 2014-08-01 Roland McGrath <roland@hack.frob.com>
7163 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7165 2014-08-01 Richard Henderon <rth@redhat.com>
7167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7168 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7169 typo in exact zero test.
7170 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7171 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7172 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7174 2014-08-01 Roland McGrath <roland@hack.frob.com>
7176 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7177 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7178 * sysdeps/arm/sysdep.h: ... here.
7179 [!__ASSEMBLER__]: Include <stdint.h>.
7181 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7183 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7184 (HAVE_WCTYPE_H): Likewise.
7185 (HAVE_ISWCTYPE): Likewise.
7186 (ENABLE_NLS): Likewise.
7187 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7188 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7190 * posix/regex_internal.c: Check if DEBUG is defined and is
7193 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7194 (HAVE_MBSRTOWCS): Likewise.
7195 * posix/fnmatch.c: Include string.h unconditionally.
7197 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7199 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7202 2014-07-31 Roland McGrath <roland@hack.frob.com>
7204 * sysdeps/generic/safe-fatal.h: New file.
7205 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7206 * nptl/forward.c: Include it.
7207 (__pthread_unwind): Use __safe_fatal as default action, rather
7208 than a bogus use of INTERNAL_SYSCALL that could never work.
7210 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7211 * configure.ac (libc_cv_builtin_trap): New test.
7212 * configure: Regenerated.
7213 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7214 (ABORT_INSTRUCTION): Define using __builtin_trap.
7216 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7217 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7218 * sysdeps/nptl/nptl-signals.h: New file.
7219 * nptl/pthreadP.h: Include <nptl-signals.h>.
7221 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7223 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7224 (ONE_DIRECTION): Define.
7225 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7226 (ONE_DIRECTION): Define.
7227 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7228 (ONE_DIRECTION): Define.
7230 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7232 * sysdeps/s390/Makefile: Delete file.
7233 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7234 * sysdeps/s390/__longjmp.c: Delete file.
7235 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7236 Remove fields __flags and __reserved.
7237 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7239 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7240 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7241 * sysdeps/s390/rtld-setjmp.S: Likewise.
7242 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7243 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7244 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7245 * sysdeps/s390/s390-32/setjmp.S: ... here.
7247 (__sigsetjmp): Remove setting __flags field.
7248 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7249 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7250 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7251 * sysdeps/s390/s390-64/setjmp.S: ... here.
7253 (__sigsetjmp): Remove setting __flags field.
7254 * sysdeps/s390/setjmp.S: Delete file.
7255 * sysdeps/s390/sigjmp.c: Likewise.
7256 * sysdeps/s390/v1-longjmp.c: Likewise.
7257 * sysdeps/s390/v1-setjmp.h: Likewise.
7258 * sysdeps/s390/v1-sigjmp.c: Likewise.
7259 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7260 Remove v1-longjmp_chk.
7261 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7262 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7263 Include debug/longjmp_chk.c and add versioning.
7264 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7265 Include nptl/pt-longjmp.c and add versioning.
7266 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7267 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7268 Include __longjmp.c.
7269 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7271 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7272 (__getcontext): Remove setting __flags field.
7274 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7275 Don't restore upper high grps.
7276 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7278 (__swapcontext): Remove setting uc_flags field.
7279 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7281 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7282 Include __longjmp.c.
7283 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7285 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7286 (__getcontext): Remove setting __flags field.
7288 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7289 (__swapcontext): Remove setting uc_flags field.
7290 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7291 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7292 Remove fields uc_high_gprs and __reserved.
7293 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7294 New file with reverted content.
7295 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7296 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7298 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7301 2014-07-31 Andreas Schwab <schwab@suse.de>
7303 * config.h.in (HAVE_IFUNC): Define to 0.
7304 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7307 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7310 memmove-avx-unaligned, memcpy-avx-unaligned and
7311 mempcpy-avx-unaligned.
7312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7313 Add tests for AVX memcpy functions.
7314 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7315 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7317 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7318 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7320 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7321 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7323 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7324 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7325 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7327 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7330 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7333 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
7336 * manual/llio.texi: Add section about open file description locks.
7337 * manual/examples/ofdlocks.c: Example of open file description
7339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7340 F_OFD_SETLK, and F_OFD_SETLKW.
7342 2014-07-23 Allan McRae <allan@archlinux.org>
7344 * po/es.po: Update Spanish translation from translation project.
7346 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7348 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7350 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7353 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7354 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7355 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7357 2014-07-17 Joseph Myers <joseph@codesourcery.com>
7360 * math/fesetenv.c (__fesetenv)
7361 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7362 * math/feupdateenv.c (__feupdateenv)
7363 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7365 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7366 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7367 (__ASSUME_SOCKETCALL): Do not define.
7369 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7370 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7371 (__ASSUME_SOCKETCALL): Do not define.
7372 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7373 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7374 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7375 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7376 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7377 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7378 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7379 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7381 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7382 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7383 (__ASSUME_SOCKETCALL): Do not define.
7384 (__ASSUME_IPC64): Define unconditionally.
7385 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7386 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7387 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7388 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7389 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7390 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7391 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7394 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7395 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7396 (__ASSUME_SOCKETCALL): Do not define.
7397 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7398 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7399 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7400 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7401 (__ASSUME_REQUEUE_PI): Define unconditionally.
7402 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7403 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7404 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7405 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7406 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7407 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7409 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7410 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7411 (__ASSUME_SOCKETCALL): Do not define.
7412 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7413 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7414 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7415 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7416 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7417 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7419 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7420 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7421 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7422 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7423 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7424 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7425 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7426 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7427 (__ASSUME_GETCPU_SYSCALL): Likewise.
7429 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7430 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7431 cases for individual architectures.
7432 * sysdeps/gnu/configure: Regenerated.
7433 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7434 LIBC_SLIBDIR_RTLDDIR.
7435 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7436 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7437 LIBC_SLIBDIR_RTLDDIR.
7438 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7440 LIBC_SLIBDIR_RTLDDIR.
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7443 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7444 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7446 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7447 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7449 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7450 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7451 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7452 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7454 * sysdeps/aarch64/shlib-versions: Move to ...
7455 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7456 * sysdeps/alpha/shlib-versions: Move to ...
7457 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7458 * sysdeps/arm/shlib-versions: Move to ...
7459 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7460 * sysdeps/hppa/shlib-versions: Move all contents except for
7461 libgcc_s entry to ...
7462 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7464 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7465 * sysdeps/ia64/shlib-versions: Move to ...
7466 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7468 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7469 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7470 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7471 * sysdeps/microblaze/shlib-versions: Move to ...
7472 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7473 * sysdeps/mips/shlib-versions: Move to ...
7474 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7476 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7477 * sysdeps/tile/shlib-versions: Move to ...
7478 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7479 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7481 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7482 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7484 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7486 2014-07-17 Will Newton <will.newton@linaro.org>
7488 * sysdeps/arm/bits/atomic.h
7489 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7490 (__arch_compare_and_exchange_bool_16_int): Likewise.
7491 (__arch_compare_and_exchange_bool_64_int): Likewise.
7493 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7494 into an #else block.
7496 2014-07-16 Roland McGrath <roland@hack.frob.com>
7498 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7499 just Linux configurations. Test empirically that the compiler sets
7500 __ARM_EABI__, rather than using the tuple to decide.
7501 * sysdeps/arm/preconfigure: Regenerated.
7502 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7503 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7504 contents appended ...
7505 * sysdeps/arm/configure.ac: ... here.
7506 * sysdeps/arm/configure: Regenerated.
7508 2014-07-15 Roland McGrath <roland@hack.frob.com>
7510 * nptl/pthread_kill.c: New file.
7511 * nptl/pthread_sigmask.c: New file.
7512 * nptl/pthread_sigqueue.c: New file.
7514 * sysdeps/nptl/lowlevellock.h: New file.
7515 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7516 * sysdeps/nptl/lowlevellock-futex.h: New file.
7518 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7519 Remove dead declarations.
7521 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7523 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7524 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7526 * sysdeps/x86_64/configure.ac: Likewise.
7527 * sysdeps/i386/configure: Regenerated.
7528 * sysdeps/x86_64/configure: Likewise.
7529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7530 memset-avx2 only if config-cflags-avx2 is yes.
7531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7532 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7534 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7535 only if HAVE_AVX2_SUPPORT is defined.
7536 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7538 2014-07-14 Alan Modra <amodra@gmail.com>
7541 * elf/elf.h (DT_PPC64_NUM): Correct value.
7542 * NEWS: Add to fixed bug list.
7544 2014-07-13 Jim Meyering <meyering@fb.com>
7547 regex: don't deref NULL upon heap allocation failure
7548 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7549 failure in one more place.
7550 To trigger the segfault, configure grep -with-included-regex,
7551 build it, and run these commands:
7552 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7554 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7556 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7558 2014-07-11 Richard Henderson <rth@redhat.com>
7560 * sysdeps/aarch64/libm-test-ulps: Update.
7562 2014-07-10 Florian Weimer <fweimer@redhat.com>
7565 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7566 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7567 (__nptl_setxid): Initialize error member. Call
7568 __nptl_setxid_error.
7569 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7570 * nptl/descr.h (struct xid_command): Add error member.
7571 * nptl/tst-setuid3.c: New file.
7572 * nptl/Makefile (tests): Add it.
7574 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7576 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7578 (__lll_trylock): Use __lll_base_trylock.
7579 (__lll_cond_trylock): Likewise.
7581 2014-07-10 Roland McGrath <roland@hack.frob.com>
7583 * nptl/pthread_create.c (start_thread): Use atomic_or and
7584 lll_futex_wake directly rather than lll_robust_dead.
7585 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7586 (lll_robust_dead): Macro removed.
7587 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7588 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7589 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7590 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7591 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7592 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7593 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7594 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7595 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7596 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7597 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7598 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7599 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7600 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7601 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7603 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7604 Use atomic_compare_and_exchange_val_acq directly rather than
7606 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7607 (__lll_robust_trylock, lll_robust_trylock): Removed.
7608 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7609 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7610 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7611 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7612 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7613 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7614 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7615 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7616 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7617 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7618 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7619 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7620 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7621 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7623 2014-07-02 Florian Weimer <fweimer@redhat.com>
7625 * manual/locale.texi (Locale Names): New section documenting
7626 locale name syntax. Adjust menu and node chaining accordingly.
7627 (Choosing Locale): Reference Locale Names, Locale Categories.
7628 Mention setting LC_ALL=C. Reflect that name syntax is now
7630 (Locale Categories): New section title. Reference Locale Names.
7631 LC_ALL is an environment variable, but not a category.
7632 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7633 description, now in Locale Name. Reference that section. Locale
7634 name syntax is now documented.
7636 2014-07-02 Florian Weimer <fweimer@redhat.com>
7639 * locale/findlocale.c (name_present, valid_locale_name): New
7641 (_nl_find_locale): Use the loc_name variable to store name
7642 candidates. Call name_present and valid_locale_name to check and
7643 validate locale names. Return an error if the locale is invalid.
7645 2014-07-02 Florian Weimer <fweimer@redhat.com>
7647 * locale/setlocale.c (setlocale): Use strdup for allocating
7648 composite name copy.
7650 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7652 Sync up with gnulib.
7653 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7654 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7655 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7656 and _GL_ARG_NONNULL.
7657 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7658 [!_LIBC]: Include code for Windows and Cygwin.
7659 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7660 Include prototype for int strerror_r.
7661 [!_LIBC] (is_open): New function.
7662 (flush_stdout): New function.
7663 (print_errno_message): Use it.
7665 (error_at_line): Likewise.
7666 (error_tail) Add function attribute macros. Use
7669 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7671 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7673 * io/ftw.c: Include sys/param.h unconditionally.
7675 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7678 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7680 (freecache): New function to free CACHE on exit.
7682 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7685 2014-07-09 David S. Miller <davem@davemloft.net>
7687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7689 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7690 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7691 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7692 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7693 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7694 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7695 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7696 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7697 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7698 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7699 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7700 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7701 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7703 2014-07-09 Andreas Schwab <schwab@suse.de>
7705 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7707 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7708 (do_test): Likewise.
7710 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7712 2014-07-09 Will Newton <will.newton@linaro.org>
7714 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7715 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7716 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7717 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7718 * sysdeps/hppa/start.S (_start): Likewise.
7720 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7722 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7724 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7727 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7729 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7730 after checking that it is non-NULL.
7732 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7734 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7736 * sysdeps/powerpc/memmove.c: Remove file.
7737 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7738 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7739 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7740 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7741 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7742 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7743 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7744 string memmove instead of removed powerpc one.
7746 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7747 [weak_alias]: Fix compiler warning due trailing data.
7748 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7749 [weak_alias]: Likewise.
7750 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7751 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7754 (__libc_ifunc_impl_list): Add memmove functions.
7756 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7758 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7760 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7762 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7764 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7766 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7768 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7770 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7772 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7774 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7776 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7778 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7780 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7782 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7784 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7786 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7788 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7790 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7793 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7795 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7796 to avoid alignment traps in non-cacheable memory.
7797 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7801 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7802 file: multiarch power7 memmove.
7803 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7804 multiarch default memmove.
7805 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7806 multiarch memove for powerpc32/power4.
7808 * string/bcopy.c: Use full path to include memmove.c.
7809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7811 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7812 bcopy for powerpc64.
7813 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7814 bcopy for powerpc64.
7815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7816 and memmove implementations.
7817 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7818 optimized multiarch memmove for POWER7/powerpc64.
7819 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7820 default multiarch memmove for powerpc64.
7821 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7822 multiarch for powerpc64.
7823 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7824 for POWER7/powerpc64.
7825 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7826 memmove for POWER7/powerpc64.
7828 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7831 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7832 __ELF_NATIVE_CLASS equal to 64.
7834 2014-07-07 Roland McGrath <roland@hack.frob.com>
7836 * sysdeps/nptl/lowlevellock.h: File removed.
7838 * NEWS: NPTL is no longer an add-on!
7839 * nptl/internaltypes.h: Moved ...
7840 * sysdeps/nptl/internaltypes.h: ... here.
7841 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7842 * sysdeps/nptl/fork.c: Likewise.
7843 * sysdeps/nptl/gai_misc.h: Likewise.
7844 * sysdeps/nptl/librt-cancellation.c: Likewise.
7845 * sysdeps/nptl/jmp-unwind.c: Likewise.
7846 * sysdeps/nptl/setxid.h: Likewise.
7847 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7848 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7849 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7850 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7851 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7852 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7853 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7854 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7855 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7856 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7857 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7858 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7859 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7860 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7861 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7862 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7863 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7864 * nptl/Makeconfig: Moved ...
7865 * sysdeps/nptl/Makeconfig: ... here.
7866 * nptl/configure: File removed.
7867 * nptl/ANNOUNCE: File removed.
7868 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7869 * sysdeps/unix/sysv/linux/configure: Regenerated.
7871 * nptl/Makefile (routines): Add libc_pthread_init,
7872 libc_multiple_threads, register-atfork and unregister-atfork.
7873 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7874 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7875 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7876 pthread-pi-defines.sym, structsem.sym.
7877 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7878 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7879 [$(subdir) = nptl] (tests): Add tst-setgetname.
7880 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7881 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7882 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7883 [!LIBC_SIGACTION]: Remove aliases.
7884 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7885 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7886 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7887 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7888 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7889 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7890 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7892 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7893 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7894 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7895 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7896 __libc_allocate_rtsig_private.
7897 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7898 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7899 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7900 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7901 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7902 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7903 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7904 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7905 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7906 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7907 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7908 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7909 * nptl/internaltypes.h: ... here.
7910 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7911 * sysdeps/nptl/jmp-unwind.c: ... here.
7912 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7913 * nptl/libc-lowlevellock.c: ... here.
7914 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7915 * nptl/libc_multiple_threads.c: ... here.
7916 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7917 * nptl/libc_pthread_init.c: ... here.
7918 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7919 * nptl/lowlevelbarrier.sym: ... here.
7920 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7921 * nptl/lowlevelcond.sym: ... here.
7922 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7923 * nptl/lowlevellock.c: ... here.
7924 * nptl/lowlevellock.h: Moved ...
7925 * sysdeps/nptl/lowlevellock.h: ... here.
7926 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7927 * nptl/lowlevelrobustlock.c: ... here.
7928 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7929 * nptl/lowlevelrobustlock.sym: ... here.
7930 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7931 * nptl/lowlevelrwlock.sym: ... here.
7932 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7933 * nptl/pt-fork.c: ... here.
7934 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7935 * nptl/pthread-pi-defines.sym: ... here.
7936 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7937 * nptl/pthread_attr_getaffinity.c: ... here.
7938 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7939 * nptl/pthread_attr_setaffinity.c: ... here.
7940 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7941 * nptl/pthread_mutex_cond_lock.c: ... here.
7942 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7944 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7945 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7946 * nptl/pthread_once.c: ... here, replacing old file.
7947 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7948 * nptl/pthread_yield.c: ... here.
7949 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7950 * nptl/register-atfork.c: ... here.
7951 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7952 * nptl/sem_post.c: ... here.
7953 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7954 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7955 * nptl/sem_timedwait.c: ... here.
7956 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7957 * nptl/sem_trywait.c: ... here.
7958 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7959 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7960 * nptl/sem_wait.c: ... here.
7961 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7962 * nptl/structsem.sym: ... here.
7963 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7964 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7965 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7966 * nptl/unregister-atfork.c: ... here.
7967 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7968 * nptl/unwindbuf.sym: ... here.
7969 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7970 * sysdeps/nptl/fork.c: ... here.
7971 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7972 * sysdeps/nptl/fork.h: ... here.
7973 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7974 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7975 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7976 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7977 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7978 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7979 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7980 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7981 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7982 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7983 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7984 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7985 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7986 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7987 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7988 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7989 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7990 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7991 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7992 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7993 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7994 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7995 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7996 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7997 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7998 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7999 * sysdeps/unix/sysv/linux/raise.c: ... here.
8000 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8001 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8002 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8003 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8004 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8005 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8006 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8007 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8008 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8009 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8010 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8011 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8012 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8013 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8014 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8016 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8018 * sysdeps/generic/memcopy.h: Add comment for
8019 MEMCPY_OK_FOR_FWD_MEMMOVE.
8021 2014-07-04 Will Newton <will.newton@linaro.org>
8023 * string/memchr.c: Merge from gnulib.
8024 [_LIBC]: Remove conditionals.
8025 (__ptr_t): Remove define.
8026 (LONG_MAX_32_BITS): Likewise.
8027 (LONG_MAX): Likewise.
8028 (MEMCHR): Use ANSI prototype and optimize algorithm.
8030 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8032 2014-07-03 Roland McGrath <roland@hack.frob.com>
8034 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8035 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8037 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8038 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8039 in a bare environment with no <stdlib.h> installed.
8040 * sysdeps/nptl/configure: Regenerated.
8042 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8044 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8045 AC_EGREP_CPP for kernel header checks, so they only succeed if
8046 including <linux/version.h> actually works right.
8047 * sysdeps/unix/sysv/linux/configure: Regenerated.
8049 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8050 value so it's not diagnosed as unused.
8052 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8053 thing) with "ifeq ($(subdir),rt)".
8055 2014-07-03 Richard Henderson <rth@redhat.com>
8057 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8058 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8059 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8061 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8062 (math_force_eval): New.
8064 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8065 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8067 * sysdeps/alpha/fpu/s_round.c: Remove file.
8068 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8070 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8071 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8072 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8073 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8074 (_dl_start, print_statistics): Likewise.
8075 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8076 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8078 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8079 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8080 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8081 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8083 (HP_SMALL_TIMING_AVAIL): Define.
8084 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8085 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8086 (HP_SMALL_TIMING_AVAIL): Define.
8087 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8088 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8090 * sysdeps/aarch64/hp-timing.h: New file.
8092 * sysdeps/generic/hp-timing.h: Remove dead comment.
8093 * sysdeps/generic/hp-timing-common.h: New file.
8094 * sysdeps/alpha/hp-timing.h: Include it.
8095 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8096 * sysdeps/i386/i686/hp-timing.h: Likewise.
8097 * sysdeps/ia64/hp-timing.h: Likewise.
8098 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8099 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8100 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8101 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8102 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8103 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8106 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8107 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8108 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8109 * elf/rtld.c (_dl_start_final): Likewise.
8110 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8111 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8112 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8113 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8114 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8115 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8116 (HP_TIMING_DIFF_INIT): Remove.
8117 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8118 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8119 (HP_TIMING_DIFF_INIT): Remove.
8120 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8121 * sysdeps/i386/i686/hp-timing.c: Remove file.
8122 * sysdeps/x86_64/hp-timing.c: Remove file.
8123 * sysdeps/ia64/hp-timing.c: Remove file.
8124 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8125 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8126 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8127 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8129 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8130 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8131 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8132 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8133 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8134 (HP_TIMING_ACCUM): Remove.
8135 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8136 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8137 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8139 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8140 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8141 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8142 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8143 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8144 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8145 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8146 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8148 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8150 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8152 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8154 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8156 Sync up with gettext.
8157 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8158 [_MSC_VER]: Include malloc.h
8159 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8160 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8161 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8162 TEMP_FAILURE_RETRY. Cast return of alloca.
8163 [!_LIBC] Call gl_rwlock_init.
8164 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8166 2014-07-02 Roland McGrath <roland@hack.frob.com>
8168 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8169 before checking its value.
8171 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8173 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8175 * debug/memcpy_chk.c: Don't include pagecopy.h.
8176 * debug/mempcpy_chk.c: Likewise.
8177 * string/memcpy.c: Likewise.
8178 * string/memmove.c: Likewise.
8179 * sysdeps/powerpc/memmove.c: Likewise.
8180 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8181 definition of PAGE_COPY_FWD_MAYBE here...
8182 * sysdeps/generic/pagecopy.h: ... from here.
8183 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8185 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8186 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8192 (__libc_ifunc_impl_list): Likewise.
8193 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8194 multiarch strcat for PPC64.
8195 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8196 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8198 2014-07-02 Roland McGrath <roland@hack.frob.com>
8200 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8202 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8204 * intl/loadmsgcat.c: Remove declaration of
8205 get_sysdep_segment_value.
8206 (get_sysdep_segment_value): Use ISO C style.
8207 (_nl_load_domain): Use ISO C style. Get rid of redundant
8208 semicolon. Fix typo and formatting in comment.
8209 (_nl_unload_domain): Use ISO C style.
8211 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8213 2014-07-02 Will Newton <will.newton@linaro.org>
8215 * malloc/obstack.c: Merge from gnulib master.
8216 [HAVE_CONFIG_H]: Remove conditional code.
8217 [!_LIBC]: Include config.h.
8218 [!ELIDE_CODE]: Don't include inttypes.h, include
8219 stdint.h unconditionally.
8220 (print_and_abort): Mark as _Noreturn.
8221 (_obstack_allocated_p): Mark as __attribute_pure__.
8222 (obstack_free): Rename to __obstack_free.
8223 [!__attribute__]: Remove conditional code.
8224 * malloc/obstack.h: Merge from gnulib master.
8225 [__cplusplus]: Move conditional down.
8226 [!__attribute_pure__]: Define __attribute_pure__ here
8227 if it is not already defined.
8228 (_obstack_memory_used): Mark as __attribute_pure__.
8229 [!__obstack_free]: Define as obstack_free.
8230 [__GNUC__]: Remove check for ancient NeXT gcc.
8232 2014-07-02 Will Newton <will.newton@linaro.org>
8233 Paul Eggert <eggert@cs.ucla.edu>
8235 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8237 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8239 * resolv/gethnamaddr.c: Add comment warning that the file is
8242 2014-07-01 Carlos O'Donell <carlos@redhat.com>
8244 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8247 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8248 entry for aio_cancel and aio_cancel64.
8249 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8250 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8251 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8252 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8253 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8254 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8255 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8256 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8257 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8258 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8259 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8260 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8261 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8263 2014-07-01 Roland McGrath <roland@hack.frob.com>
8265 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8266 * nptl/pthread_mutex_lock.c: Likewise.
8267 * nptl/pthread_mutex_timedlock.c: Likewise.
8268 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8270 2014-07-01 Richard henderson <rth@redhat.com>
8272 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8273 (__isnan, __isnanl): Remove.
8274 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8276 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8278 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8280 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8282 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8284 * resolv/nss_dns/dns-host.c (getanswer_r)
8285 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8287 2014-07-01 Joseph Myers <joseph@codesourcery.com>
8289 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8290 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8292 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8293 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8295 2014-07-01 Roland McGrath <roland@hack.frob.com>
8297 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8298 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8300 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8301 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8303 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8304 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8306 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8307 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8309 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8310 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8311 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8312 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8314 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8315 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8316 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8317 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8318 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8320 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8322 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8323 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8324 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8325 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8326 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8327 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8328 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8329 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8330 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8331 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8332 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8333 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8334 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8335 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8336 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8337 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8338 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8339 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8340 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8341 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8343 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8344 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8345 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8346 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8347 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8348 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8349 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8350 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8352 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8354 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8355 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8356 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8359 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8363 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8365 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8366 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8368 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8370 * sysdeps/arm/libm-test-ulps: Regenerated.
8372 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8373 Roland McGrath <roland@hack.frob.com>
8375 * test-skeleton.c (signal_handler): Kill the whole process group
8376 before killing the child individually.
8377 (main): Report any failure on `setpgid'.
8379 2014-06-30 Roland McGrath <roland@hack.frob.com>
8381 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8382 from _TLS_H to _ARM_NPTL_TLS_H.
8383 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8384 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8386 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8389 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8390 (__expm1l): Return argument unchanged when small but not
8393 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8395 (_FP_UNPACK_RAW_1_P): Likewise.
8396 (_FP_PACK_RAW_1): Likewise.
8397 (_FP_PACK_RAW_1_P): Likewise.
8398 (_FP_MUL_MEAT_1_wide): Likewise.
8399 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8400 (_FP_MUL_MEAT_1_hard): Likewise.
8401 (_FP_DIV_MEAT_1_imm): Likewise.
8402 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8403 (_FP_DIV_MEAT_1_udiv): Likewise.
8404 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8405 (_FP_UNPACK_RAW_2): Likewise.
8406 (_FP_UNPACK_RAW_2_P): Likewise.
8407 (_FP_PACK_RAW_2): Likewise.
8408 (_FP_PACK_RAW_2_P): Likewise.
8409 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8410 (_FP_MUL_MEAT_2_wide): Likewise.
8411 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8412 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8413 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8414 (_FP_MUL_MEAT_2_gmp): Likewise.
8415 (_FP_DIV_MEAT_2_udiv): Likewise.
8416 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8417 (_FP_FRAC_SRL_4): Likewise.
8418 (_FP_FRAC_SRST_4): Likewise.
8419 (_FP_FRAC_SRS_4): Likewise.
8420 (_FP_UNPACK_RAW_4): Likewise.
8421 (_FP_UNPACK_RAW_4_P): Likewise.
8422 (_FP_PACK_RAW_4): Likewise.
8423 (_FP_PACK_RAW_4_P): Likewise.
8424 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8425 (_FP_MUL_MEAT_4_wide): Likewise.
8426 (_FP_MUL_MEAT_4_gmp): Likewise.
8427 (umul_ppppmnnn): Likewise.
8428 (_FP_DIV_MEAT_4_udiv): Likewise.
8429 (__FP_FRAC_ADD_4): Likewise.
8430 (__FP_FRAC_SUB_3): Likewise.
8431 (__FP_FRAC_SUB_4): Likewise.
8432 (__FP_FRAC_DEC_3): Likewise.
8433 (__FP_FRAC_DEC_4): Likewise.
8434 (__FP_FRAC_ADDI_4): Likewise.
8435 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8436 (_FP_FRAC_SRL_8): Likewise.
8437 (_FP_FRAC_SRS_8): Likewise.
8439 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8441 (FP_UNPACK_RAW_EP): Likewise.
8442 (FP_PACK_RAW_E): Likewise.
8443 (FP_PACK_RAW_EP): Likewise.
8444 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8445 (_FP_ISSIGNAN): Likewise.
8446 (_FP_ADD_INTERNAL): Likewise.
8447 (_FP_FMA): Likewise.
8448 (_FP_CMP): Likewise.
8449 (_FP_SQRT): Likewise.
8450 (_FP_TO_INT): Likewise.
8451 (_FP_FROM_INT): Likewise.
8452 (FP_EXTEND): Likewise.
8453 (_FP_DIV_MEAT_N_loop): Likewise.
8455 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8457 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8460 2014-06-29 Joseph Myers <joseph@codesourcery.com>
8463 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8464 result with correct sign in case of exponents that produce
8465 overflow except for X very close to 1.
8467 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8469 mktime: merge #if/#ifdef usage from glibc
8470 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8471 as that works with both Glibc's and Gnulib's style.
8472 See thread starting at Siddhesh Poyarekar's bug report at:
8473 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8475 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8477 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8478 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8479 * sysdeps/tile/tilegx/memmove.c: Remove file.
8481 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8483 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8484 abi-name definition.
8485 * scripts/soversions.awk: Do not handle or generate ABI lines.
8486 * shlib-versions: Remove ABI entries.
8487 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8488 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8490 2014-06-27 Roland McGrath <roland@hack.frob.com>
8492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8493 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8494 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8497 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8500 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8503 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8505 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8506 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8507 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8509 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8511 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8513 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8516 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8518 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8520 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8523 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8526 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8527 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8528 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8529 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8531 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8532 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8533 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8534 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8535 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8537 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8538 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8540 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8541 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8542 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8543 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8545 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8548 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8549 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8550 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8551 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8553 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8556 Identical file removed.
8557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8559 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8560 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8561 Identical file removed.
8562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8563 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8564 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8566 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8567 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8568 Identical file removed.
8569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8570 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8572 Identical file removed.
8573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8574 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8576 Identical file removed.
8577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8578 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8579 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8580 Identical file removed.
8581 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8583 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8584 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8585 Identical file removed.
8586 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8588 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8589 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8590 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8591 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8592 Identical file removed.
8593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8595 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8597 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8598 Identical file removed.
8599 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8601 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8602 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8603 Identical file removed.
8604 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8606 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8607 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8608 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8609 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8610 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8613 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8614 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8615 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8617 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8618 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8619 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8620 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8621 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8623 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
8626 * nscd/nscd.c (monitor_child): Return exit status of child
8627 instead of return value from wait syscall.
8629 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8631 * configure.ac (libc_commonpagesize): Remove variable.
8632 (libc_relro_required): Likewise.
8633 (libc_cv_z_relro): Remove configure test.
8634 * configure: Regenerated.
8635 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8637 (libc_relro_required): Likewise.
8638 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8639 (libc_relro_required): Likewise.
8640 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8641 (libc_relro_required): Likewise.
8642 * sysdeps/arm/preconfigure: Regenerated.
8643 * sysdeps/ia64/preconfigure: Remove file.
8644 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8646 (libc_relro_required): Likewise.
8650 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8651 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8652 recompute overflowing results in original rounding mode.
8653 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8654 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8655 recompute overflowing results in original rounding mode.
8656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8657 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8658 recompute overflowing results in original rounding mode.
8659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8660 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8661 recompute overflowing results in original rounding mode.
8662 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8663 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8664 recompute overflowing results in original rounding mode.
8665 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8666 (libc_feholdsetround_ctx): New macro.
8667 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8668 * sysdeps/i386/fpu/libm-test-ulps: Update.
8669 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8671 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8673 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8674 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8675 corresponding .cpsetup call.
8677 2014-06-26 Roland McGrath <roland@hack.frob.com>
8679 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8680 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8681 * sysdeps/arm/Makefile [$(subdir) = csu]
8682 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8683 (static-only-routines): Add aeabi_read_tp here.
8684 (shared-only-routines): Add libc-aeabi_read_tp here.
8685 (CFLAGS-libc-start.c): Add -fexceptions here.
8686 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8687 (sysdep_routines, static-only-routines, shared-only-routines):
8688 Don't add to these here.
8689 (CFLAGS-libc-start.c): Likewise.
8691 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8692 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8693 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8694 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8695 * sysdeps/arm/Makefile [$(subdir) = rt]
8696 (librt-sysdep_routines, librt-shared-only-routines):
8697 Append rt-aeabi_unwind_cpp_pr1 here.
8698 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8699 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8700 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8701 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8702 Append nptl-aeabi_unwind_cpp_pr1 here.
8703 (tests): Filter out tst-cleanupx4 here.
8704 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8705 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8706 Don't do those here.
8708 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8710 * scripts/list-sources.sh: Do not handle ports specially.
8712 2014-06-26 Roland McGrath <roland@hack.frob.com>
8714 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8715 * sysdeps/arm/feupdateenv.c: Likewise.
8717 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8719 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8721 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8722 trailing whitespace removed.
8723 * scripts/config.guess: Update to version 2014-03-23.
8724 * scripts/config.sub: Update to version 2014-05-01
8725 * scripts/install-sh: Update to version 2013-12-25.23.
8726 * scripts/move-if-change: Update from gnulib.
8728 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8730 * debug/memmove_chk.c: Remove pagecopy.h include.
8732 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8734 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8735 identical to gnulib mktime.
8737 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8739 * configure.ac: Do not test for machine being rs6000. Do not test
8741 * configure: Regenerated.
8743 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8745 * configure: Regenerated.
8746 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8747 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8748 Remove configure test.
8749 * sysdeps/arm/configure: Regenerated.
8750 * sysdeps/nptl/configure.ac: Do not check
8751 libc_cv_asm_cfi_directives.
8752 * sysdeps/nptl/configure: Regenerated.
8753 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8754 * sysdeps/x86_64/nptl/configure: Remove generated file.
8755 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8757 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8759 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8761 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8762 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8763 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8766 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8767 instead of whether it is defined.
8768 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8769 * sysdeps/hppa/dl-machine.h: Likewise.
8770 * sysdeps/ia64/dl-machine.h: Likewise.
8771 * sysdeps/m68k/dl-machine.h: Likewise.
8772 * sysdeps/microblaze/dl-machine.h: Likewise.
8773 * sysdeps/mips/dl-machine.: Likewise.
8774 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8775 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8776 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8777 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8778 * sysdeps/sh/dl-machine.h: Likewise.
8779 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8780 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8781 * sysdeps/tile/dl-machine.h: Likewise.
8782 * sysdeps/x86_64/dl-machine.h: Likewise.
8784 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8786 (verify_persistent_db): Likewise.
8788 2014-06-26 Roland McGrath <roland@hack.frob.com>
8790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8791 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8793 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8796 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8799 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8801 Identical file removed.
8802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8803 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8805 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8807 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8809 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8811 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8814 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8816 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8818 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8821 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8823 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8825 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8827 Identical file removed.
8828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8829 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8831 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8834 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8837 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8839 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8841 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8843 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8845 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8848 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8851 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8853 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8856 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8858 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8860 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8862 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8863 * sysdeps/unix/sysv/linux/s390/Versions
8864 (libpthread: GLIBC_2.19): New version set.
8865 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8866 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8867 (librt: GLIBC_2.3.3): New version set.
8868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8869 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8870 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8871 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8872 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8873 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8874 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8875 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8876 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8877 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8878 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8879 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8880 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8881 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8882 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8883 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8884 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8885 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8886 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8887 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8888 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8889 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8890 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8891 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8892 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8893 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8894 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8895 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8896 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8897 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8898 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8899 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8901 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8902 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8904 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8905 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8906 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8907 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8908 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8909 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8910 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8911 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8912 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8914 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8915 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8916 (__libc_vfork): Define the function under this name.
8917 [!NOT_IN_libc] (__vfork): Make this an alias.
8918 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8919 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8920 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8921 (__libc_vfork): Define the function under this name.
8922 [!NOT_IN_libc] (__vfork): Make this an alias.
8923 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8924 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8925 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8926 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8927 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8928 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8930 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8931 code that was previously under [RESET_PID].
8932 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8933 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8934 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8936 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8937 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8938 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8939 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8940 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8941 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8942 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8943 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8944 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8945 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8946 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8948 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8949 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8950 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8951 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8952 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8954 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8955 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8956 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8957 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8958 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8959 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8960 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8961 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8962 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8963 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8964 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8965 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8966 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8967 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8968 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8969 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8970 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8971 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8972 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8973 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8974 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8975 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8976 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8978 2014-06-25 Roland McGrath <roland@hack.frob.com>
8980 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8981 that was previously under [RESET_PID].
8982 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8984 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8986 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8987 not undefine and redefine.
8988 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8989 [O_CLOEXEC]: Make code unconditional.
8990 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8991 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8992 <kernel-features.h>.
8993 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8994 conditional variable definition.
8995 (shm_open) [O_CLOEXEC]: Make code unconditional.
8996 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8999 * configure.ac (USE_REGPARMS): Don't define here.
9000 * configure: Regenerated.
9001 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9002 * sysdeps/i386/configure: Regenerated.
9004 * nptl/createthread.c: Don't include kernel-features.h.
9005 * nptl/pthread_cancel.c: Likewise.
9006 * nptl/pthread_condattr_setclock.c: Likewise.
9007 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9008 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9009 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9010 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9011 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9012 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9013 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9015 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9016 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9017 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9018 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9019 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9020 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9021 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9022 * nscd/gai.c: Likewise.
9023 * nss/nss_db/db-open.c: Likewise.
9024 * sysdeps/generic/ldsodefs.h: Likewise.
9025 * sysdeps/sh/nptl/tls.h: Likewise.
9026 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9027 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9028 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9029 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9030 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9031 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9032 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9033 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9034 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9035 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9036 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9037 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9038 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9039 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9040 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9041 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9042 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9043 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9044 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9045 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9046 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9047 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9048 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9049 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9050 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9051 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9052 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9053 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9054 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9055 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9056 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9057 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9058 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9059 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9060 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9061 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9062 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9063 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9064 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9065 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9066 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9067 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9068 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9069 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9070 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9071 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9072 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9073 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9074 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9075 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9076 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9077 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9078 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9079 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9080 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9081 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9082 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9083 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9106 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9107 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9108 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9109 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9110 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9111 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9112 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9113 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9114 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9115 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9116 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9117 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9118 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9119 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9120 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9121 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9122 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9123 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9124 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9125 * sysdeps/unix/sysv/linux/system.c: Likewise.
9126 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9127 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9128 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9129 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9130 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9131 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9132 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9134 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9135 * configure: Regenerated.
9136 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9138 * configure.ac (base_machine): Do not set specially for particular
9140 * configure: Regenerated.
9141 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9142 settings from configure.ac.
9143 * sysdeps/i386/preconfigure: New file.
9144 * sysdeps/s390/preconfigure: Likewise.
9145 * sysdeps/sh/preconfigure: Likewise.
9146 * sysdeps/sparc/preconfigure: Likewise.
9148 2014-06-25 Roland McGrath <roland@hack.frob.com>
9150 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9151 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9152 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9153 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9154 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9155 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9156 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9157 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9158 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9159 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9160 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9161 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9162 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9163 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9164 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9165 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9166 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9167 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9168 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9170 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9171 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9172 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9173 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9174 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9175 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9176 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9177 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9178 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9179 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9180 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9181 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9182 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9183 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9184 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9185 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9186 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9187 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9188 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9189 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9190 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9191 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9192 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9193 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9194 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9195 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9196 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9197 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9198 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9199 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9200 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9201 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9202 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9203 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9204 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9205 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9206 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9207 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9210 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9212 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9215 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9218 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9220 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9223 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9225 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9227 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9229 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9232 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9235 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9237 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9240 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9242 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9244 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9246 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9248 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9251 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9254 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9256 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9259 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9263 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9265 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9268 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9271 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9273 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9276 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9278 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9280 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9282 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9284 * timezone/checktab.awk: Update from tzcode 2014e.
9285 * timezone/private.h: Likewise.
9286 * timezone/tzfile.h: Likewise.
9287 * timezone/zdump.c: Likewise.
9288 * timezone/zic.c: Likewise.
9290 * sysdeps/unix/sysv/linux/kernel-features.h
9291 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9292 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9293 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9294 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9295 Remove conditional code.
9297 2014-06-25 Will Newton <will.newton@linaro.org>
9299 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9300 (_dl_arm_cap_flags): Add HWCAP2 values.
9301 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9302 (_DL_HWCAP_COUNT): Increase to 37.
9303 (_DL_HWCAP_LAST): New define.
9304 (_DL_HWCAP2_LAST): New define.
9305 (_dl_procinfo): Add support for printing
9307 (_dl_string_hwcap): Use _dl_hwcap_string.
9309 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9313 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9315 * README: Do not mention ports directory.
9317 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9319 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9320 <kernel-features.h>.
9321 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9322 conditional variable definition.
9323 (__futimes): Update comment.
9324 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9325 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9328 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9329 arguments close to 0.
9330 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9332 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9334 * math/auto-libm-test-in: Add more tests of exp10.
9335 * math/auto-libm-test-out: Regenerated.
9336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9338 * sysdeps/unix/sysv/linux/kernel-features.h
9339 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9340 * sysdeps/unix/sysv/linux/readv.c: Do not include
9341 <kernel-features.h>.
9342 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9343 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9344 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9346 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9348 * sysdeps/unix/sysv/linux/writev.c: Do not include
9349 <kernel-features.h>.
9350 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9351 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9352 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9354 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9357 2014-06-25 Will Newton <will.newton@linaro.org>
9359 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9360 comment changes throughout the file. Remove checks
9361 for HAVE_*_H definitions that are not required.
9362 (__gen_tempname): Call abort if an unknown kind value is
9365 2014-06-25 Andreas Schwab <schwab@suse.de>
9368 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9369 scalbln, scalblnf, scalblnl in libc.
9371 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9374 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9375 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9376 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9378 2014-06-24 Roland McGrath <roland@hack.frob.com>
9380 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9381 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9382 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9383 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9385 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9386 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9388 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9389 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9390 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9391 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9392 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9393 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9394 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9395 * sysdeps/x86/bits/semaphore.h: ... here.
9396 * sysdeps/x86/nptl/elide.h: Moved ...
9397 * sysdeps/x86/elide.h: ... here.
9398 * sysdeps/x86_64/nptl/Implies: File removed.
9399 * sysdeps/i386/nptl/Implies: File removed.
9401 2014-06-24 Joseph Myers <joseph@codesourcery.com>
9404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9405 return the argument for normal arguments with exponent below -64.
9406 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9408 * math/auto-libm-test-in: Add another test of expm1.
9409 * math/auto-libm-test-out: Regenerated.
9412 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9413 calling __erfcl for arguments at least 16.
9414 * math/auto-libm-test-in: Add more tests of erf.
9415 * math/auto-libm-test-out: Regenerated.
9417 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9418 individual architectures.
9419 * sysdeps/unix/sysv/linux/configure: Regenerated.
9420 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9421 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9422 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9423 (ldd_rewrite_script): Define variable.
9424 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9429 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9430 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9431 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9432 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9433 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9434 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9435 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9436 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9438 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9441 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9442 Rename member __data.d to __data.__elision_data.
9444 2014-06-24 Wilco <wdijkstr@arm.com>
9446 * NEWS: Add 16918 to fixed bug list.
9448 2014-06-24 Wilco <wdijkstr@arm.com>
9450 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9452 2014-06-24 Wilco <wdijkstr@arm.com>
9454 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9455 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9456 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9457 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9458 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9459 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9460 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9463 2014-06-24 Wilco <wdijkstr@arm.com>
9465 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9467 2014-06-24 Wilco <wdijkstr@arm.com>
9469 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9470 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9471 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9472 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9474 2014-06-24 Wilco <wdijkstr@arm.com>
9477 * sysdeps/arm/feupdateenv.c (feupdateenv):
9478 Rewrite to reduce FPSCR accesses and fix return value.
9480 2014-06-24 Wilco <wdijkstr@arm.com>
9482 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9483 Optimize to avoid unnecessary FPSCR writes.
9484 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9485 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9486 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9487 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9489 2014-06-24 Wilco <wdijkstr@arm.com>
9491 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9492 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9493 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9494 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9495 Call libc_fetestexcept_vfp.
9496 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9497 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9498 __SOFTFP__ ifdef so that they can be built for softfp.
9500 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9502 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9503 argument type signed char.
9505 * Makerules (check-abi): Dump diff of symlist if the test
9508 2014-06-23 Roland McGrath <roland@hack.frob.com>
9510 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9513 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9514 Remove unused variable ST.
9516 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9520 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9521 small arguments before calling __expm1.
9522 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9523 small arguments before calling __expm1f.
9524 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9525 small arguments before calling __expm1l.
9526 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9528 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9529 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9530 spurious underflow for some cosh tests.
9531 * math/auto-libm-test-out: Regenerated.
9532 * sysdeps/i386/fpu/libm-test-ulps: Update.
9535 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9536 (__ieee754_y1): Set errno if return value overflows.
9537 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9538 (__ieee754_y1f): Set errno if return value overflows.
9539 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9540 (__ieee754_y1l): Set errno if return value overflows.
9541 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9542 (__ieee754_y1l): Set errno if return value overflows.
9543 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9544 * math/auto-libm-test-out: Regenerated.
9546 * math/gen-auto-libm-tests.c: Document use of
9547 ignore-zero-inf-sign.
9548 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9549 (input_flags): Add ignore-zero-inf-sign.
9550 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9551 * math/gen-libm-test.pl (generate_testfile): Handle
9552 ignore-zero-inf-sign.
9553 * math/auto-libm-test-in: Mark some cpow tests with
9554 ignore-zero-inf-sign and some with xfail-rounding.
9555 * math/auto-libm-test-out: Regenerated.
9556 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9557 * sysdeps/i386/fpu/libm-test-ulps: Update.
9558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9561 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9562 overflowing or underflowing operations take place with sign of
9564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9565 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9566 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9567 (__ieee754_pow): Recompute overflowing and underflowing results in
9568 original rounding mode.
9569 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9570 (__powl_helper): Allow negative argument X and scale negated value
9571 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9572 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9573 overflowing or underflowing operations take place with sign of
9575 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9577 * math/auto-libm-test-in: Add more tests of pow.
9578 * math/auto-libm-test-out: Regenerated.
9579 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9580 (pow_tonearest_test_data): Remove.
9581 (pow_test_tonearest): Likewise.
9582 (pow_towardzero_test_data): Likewise.
9583 (pow_test_towardzero): Likewise.
9584 (pow_downward_test_data): Likewise.
9585 (pow_test_downward): Likewise.
9586 (pow_upward_test_data): Likewise.
9587 (pow_test_upward): Likewise.
9588 (main): Don't call removed functions.
9589 * sysdeps/i386/fpu/libm-test-ulps: Update.
9590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9592 2014-06-23 Roland McGrath <roland@hack.frob.com>
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9768 2014-06-23 Will Newton <will.newton@linaro.org>
9769 Wilco <wdijkstr@arm.com>
9771 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9772 implementation. Include get-rounding-mode.h.
9773 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9774 [!libc_feholdsetround_noex_ctx]: Define
9775 libc_feholdsetround_noex_ctx.
9776 [!libc_feholdsetround_noexf_ctx]: Define
9777 libc_feholdsetround_noexf_ctx.
9778 [!libc_feholdsetround_noexl_ctx]: Define
9779 libc_feholdsetround_noexl_ctx.
9780 (libc_feholdsetround_ctx): New function.
9781 (libc_feresetround_ctx): New function.
9782 (libc_feholdsetround_noex_ctx): New function.
9783 (libc_feresetround_noex_ctx): New function.
9785 2014-06-23 Roland McGrath <roland@hack.frob.com>
9787 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9788 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9789 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9790 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9791 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9792 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9794 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9795 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9796 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9797 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9798 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9799 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9800 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9801 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9802 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9803 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9804 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9806 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9809 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9810 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9814 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9815 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9816 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9817 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9818 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9819 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9820 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9821 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9823 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9826 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9828 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9831 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9835 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9836 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9837 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9839 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9842 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9844 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9845 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9846 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9847 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9849 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9851 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9855 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9858 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9865 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9866 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9867 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9868 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9869 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9871 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9872 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9873 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9884 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9885 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9886 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9887 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9888 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9889 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9890 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9891 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9892 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9893 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9894 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9895 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9896 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9897 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9898 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9900 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9902 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9903 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9904 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9905 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9906 (IPV6_PMTUDISC_INTERFACE): Likewise.
9907 (IPV6_PMTUDISC_OMIT): Likewise.
9909 2014-06-23 Andreas Schwab <schwab@suse.de>
9911 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9912 Remove unused errout label.
9914 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9916 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9917 macro: hardware supports Vector Crypto instructions.
9919 2014-06-23 Will Newton <will.newton@linaro.org>
9921 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9922 rather than __builtin_expect.
9924 * elf/dl-lookup.c (undefined_msg): Remove variable.
9925 (_dl_lookup_symbol_x): Replace undefined_msg with string
9928 * elf/dl-lookup.c (do_lookup_unique): New function.
9929 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9930 to a separate function.
9932 2014-06-23 Andreas Schwab <schwab@suse.de>
9935 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9936 before reading the next line.
9938 2014-06-23 Will Newton <will.newton@linaro.org>
9940 * test-skeleton.c (signal_handler): Use printf and %m
9941 rather than perror. Use printf rather than fprintf to
9942 stderr. Use puts rather than fputs to stderr.
9945 2014-06-22 Ludovic Courtès <ludo@gnu.org>
9947 * nscd/nscd.c (thread_info_t): Remove typedef.
9948 (thread_info): Remove variable.
9950 2014-06-21 Allan McRae <allan@archlinux.org>
9952 * NEWS: Mention CVE-2014-4043.
9954 2014-06-20 Roland McGrath <roland@hack.frob.com>
9956 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9957 * nptl/smp.h: ... here.
9959 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9961 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9962 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9963 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9964 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9966 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9967 * nptl/stack-aliasing.h: New file.
9968 * sysdeps/i386/i686/stack-aliasing.h: New file.
9969 * sysdeps/i386/i686/nptl/Makefile: File removed.
9970 * sysdeps/x86_64/stack-aliasing.h: New file.
9971 * sysdeps/x86_64/nptl/Makefile
9972 (CFLAGS-pthread_create.c): Variable removed.
9974 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9975 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9977 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9978 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9981 2014-06-21 Joseph Myers <joseph@codesourcery.com>
9983 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9984 (__ASSUME_SIGFRAME_V2): Remove macro.
9985 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9986 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9987 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9988 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9989 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9990 Declare as function. Remove conditional macro definitions.
9991 (__default_rt_sa_restorer): Likewise.
9992 (__default_sa_restorer_v1): Remove declaration.
9993 (__default_sa_restorer_v2): Likewise.
9994 (__default_rt_sa_restorer_v1): Likewise.
9995 (__default_rt_sa_restorer_v2): Likewise.
9996 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9997 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9998 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10000 2014-06-20 Roland McGrath <roland@hack.frob.com>
10002 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10003 (libpthread-routines): Add sysdep.
10004 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10005 * sysdeps/unix/sysv/linux/sparc/Versions
10006 (libpthread: GLIBC_2.3.3): New version set.
10007 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10008 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10009 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10010 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10011 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10012 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10014 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10015 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10016 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10017 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10018 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10019 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10020 * sysdeps/sparc/nptl/sem_init.c: ... here.
10021 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10022 * sysdeps/sparc/nptl/sem_post.c: ... here.
10023 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10024 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10025 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10026 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10027 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10028 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10029 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10030 (libpthread-routines): Add cpu_relax.
10031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10033 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10034 (librt: GLIBC_2.3.3): New version set.
10035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10036 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10037 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10038 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10041 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10044 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10046 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10048 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10050 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10052 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10055 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10059 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10063 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10067 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10071 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10075 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10078 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10084 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10086 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10089 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10091 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10093 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10095 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10097 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10098 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10099 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10100 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10101 * nscd/nscd.c: Likewise.
10102 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10103 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10104 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10105 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10107 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10108 <kernel-features.h>.
10109 (init_mq_netlink): Remove conditional have_sock_cloexec
10110 definitions. Remove code conditional on have_sock_cloexec < 0.
10111 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10112 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10113 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10114 <kernel-features.h>.
10115 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10116 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10118 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10121 Add tests for memset_chk and memset.
10123 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10126 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10129 * elf/tst-dl-iter-static.c: New file.
10130 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10132 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10135 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10137 * sysdeps/unix/sysv/linux/kernel-features.h
10138 (__ASSUME_F_GETOWN_EX): Remove macro.
10139 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10140 <kernel-features.h>.
10141 (miss_F_GETOWN_EX): Remove variable or macro.
10142 (do_fcntl): Do not check miss_F_GETOWN_EX.
10143 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10147 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10148 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10149 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10151 * sysdeps/unix/sysv/linux/kernel-features.h
10152 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10153 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10154 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10155 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10157 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10160 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10161 Fix calculation of the symbol's value.
10162 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10163 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10164 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10165 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10166 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10167 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10168 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10169 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10170 (modules-names): Add `tst-armtlsdescmod',
10171 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10172 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10173 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10174 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10175 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10176 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10177 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10178 ($(objpfx)tst-armtlsdescloc): New dependency.
10179 ($(objpfx)tst-armtlsdescextnow): Likewise.
10180 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10181 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10182 TLS scheme support.
10183 * sysdeps/arm/configure: Regenerate.
10185 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10187 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10188 (__atfct_seterrno_2): Likewise.
10189 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10190 <kernel-features.h>.
10191 (__ASSUME_ATFCTS): Do not undefine and redefine.
10192 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10193 (__have_atfcts): Remove conditional definition.
10194 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10195 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10196 unreachable if [__ASSUME_ATFCTS].
10197 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10198 not undefine and redefine.
10199 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10200 <kernel-features.h>.
10201 (faccessat) [__NR_faccessat]: Make code unconditional.
10202 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10203 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10204 <kernel-features.h>.
10205 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10206 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10207 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10208 <kernel-features.h>.
10209 (fchownat) [__NR_fchownat]: Make code unconditional.
10210 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10211 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10212 <kernel-features.h>.
10213 (futimesat) [__NR_futimesat]: Make code unconditional.
10214 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10215 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10216 <kernel-features.h>.
10217 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10218 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10219 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10220 <kernel-features.h>.
10221 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10222 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10223 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10224 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10225 <kernel-features.h>.
10226 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10227 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10228 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10229 <kernel-features.h>.
10230 (linkat) [__NR_linkat]: Make code unconditional.
10231 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10232 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10233 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10234 <kernel-features.h>.
10235 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10236 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10237 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10238 <kernel-features.h>.
10239 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10240 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10241 * sysdeps/unix/sysv/linux/openat.c: Do not include
10242 <kernel-features.h>.
10243 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10244 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10245 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10246 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10247 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10248 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10249 <kernel-features.h>.
10250 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10251 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10252 result of INLINE_SYSCALL directly, not via int variable.
10253 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10254 <kernel-features.h>.
10255 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10256 (renameat) [__NR_renameat]: Make code unconditional.
10257 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10258 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10259 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10260 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10262 (__ASSUME_ATFCTS): Do not undefine and redefine.
10263 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10264 <kernel-features.h>.
10265 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10266 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10267 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10268 <kernel-features.h>.
10269 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10270 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10271 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10272 (__ASSUME_ATFCTS): Do not undefine and redefine.
10273 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10274 <kernel-features.h>.
10275 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10276 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10277 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10278 <kernel-features.h>.
10279 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10280 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10282 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10284 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10286 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10289 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10290 constructed tree before returning error.
10291 * posix/bug-regexp36.c: Expand test case.
10293 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10296 * math/libm-test.inc (scalbln_test_date):
10297 Add errno expectations.
10298 * math/w_scalblnf.c: New File.
10299 Add wrapper which checks for setting errno to ERANGE.
10300 Add weak_alias for corresponding scalbln function.
10301 * math/w_scalbln.c: Likewise.
10302 * math/w_scalblnl.c: Likewise.
10303 * math/Makefile (libm-calls): Add w_scalbln.
10304 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10305 Remove weak_alias for corresponding scalbln function.
10306 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10307 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10308 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10310 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10311 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10312 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10313 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10314 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10315 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10316 Remove long_double_symbol for scalblnl function in libm, libc.
10317 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10318 Add wrapper which checks for setting errno to ERANGE.
10319 Add long_double_symbol for scalblnl function in libm, libc.
10320 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10321 Remove long_double_symbol for scalblnl in libm.
10322 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10323 Add wrapper which checks for setting errno to ERANGE.
10324 Add long_double_symbol for scalblnl function in libm.
10325 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10326 Do not use wrapper because of own implementation.
10328 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10330 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10331 3 bytes for __pad1 for x32.
10332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10334 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10335 H.J. Lu <hongjiu.lu@intel.com>
10337 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10338 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10339 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10340 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10341 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10343 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10346 * posix/regcomp.c (parse_expression): Deallocate partially
10347 constructed tree before returning error.
10348 * posix/Makefile.c (tests): Add bug-regex36.
10349 (generated): Add bug-regex36.mtrace.
10350 (tests-special): Add $(objpfx)bug-regex36-mem.out
10351 (bug-regex36-ENV): New variable.
10352 ($(objpfx)bug-regex36-mem.out): New rule.
10353 * posix/bug-regex36.c: New file.
10355 2014-06-19 Will Newton <will.newton@linaro.org>
10357 * malloc/malloc.c (systrim): If extra is zero then return
10360 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10362 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10364 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
10366 * sysdeps/aarch64/strchr.S: New file.
10368 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10371 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10372 from arguments -2 or below.
10373 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10374 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10376 2014-06-18 Andreas Schwab <schwab@suse.de>
10379 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10380 of a bracket expr not to run off the end of the string.
10381 * posix/Makefile (tests): Add tst-fnmatch3.
10382 * posix/tst-fnmatch3.c: New file.
10384 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10386 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10387 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10388 [$(cross-compiling) = no]: Likewise.
10389 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10390 [$(cross-compiling) = no]: Likewise.
10392 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10395 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10396 double, adjusted for any remainder from the high double.
10397 * math/libm-test.inc (nearbyint): Add tests.
10400 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10402 * nptl/sysdeps/powerpc/Makefile: Moved ...
10403 * sysdeps/powerpc/nptl/Makefile: ... here.
10404 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10405 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10406 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10407 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10408 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10409 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10410 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10411 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10412 * nptl/sysdeps/powerpc/tls.h: Moved ...
10413 * sysdeps/powerpc/nptl/tls.h: ... here.
10415 2014-06-16 Joseph Myers <joseph@codesourcery.com>
10418 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10419 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10420 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10421 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10422 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10423 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10424 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10425 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10426 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10428 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10430 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10432 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10434 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10437 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10440 2014-06-16 Florian Weimer <fweimer@redhat.com>
10443 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10444 non-executed part of the test.
10446 2014-06-16 Andreas Schwab <schwab@suse.de>
10448 * string/bits/string2.h (strdup, strndup): Update feature guard.
10450 2014-06-14 David S. Miller <davem@davemloft.net>
10452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10454 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10456 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10457 that was previously under [RESET_PID].
10458 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10460 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10461 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10462 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10463 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10464 (__libc_vfork): New strong alias.
10465 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10467 2014-06-14 Andi Kleen <ak@linux.intel.com>
10469 * sysdeps/generic/elide.h: New file.
10471 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10473 * Makefile (installed-headers): Adjust path of pthread.h header.
10475 2014-06-13 Roland McGrath <roland@hack.frob.com>
10477 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10478 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10479 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10480 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10482 * nptl/sysdeps/s390/Makefile: Moved ...
10483 * sysdeps/s390/nptl/Makefile: ... here.
10484 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10485 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10486 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10487 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10488 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10489 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10490 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10491 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10492 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10493 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10494 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10495 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10496 * nptl/sysdeps/s390/tls.h: Moved ...
10497 * sysdeps/s390/nptl/tls.h: ... here.
10499 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10500 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10502 2014-06-13 David S. Miller <davem@davemloft.net>
10504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10507 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10511 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10512 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10513 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10514 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10515 Remove RESET_PID cpp guards.
10516 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10517 Remove RESET_PID cpp guards.
10518 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10520 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10522 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10525 2014-06-13 Andi Kleen <ak@linux.intel.com>
10527 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10528 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10529 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10530 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10531 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10532 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10533 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10534 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10535 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10536 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10537 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10538 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10539 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10540 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10542 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10543 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10545 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10546 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10548 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10549 (pthread_rwlock_rdlock): Add elision.
10550 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10551 (pthread_rwlock_wrlock): Add elision.
10552 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10553 (pthread_rwlock_trywrlock): Add elision.
10554 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10555 (pthread_rwlock_tryrdlock): Add elision.
10556 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10557 (pthread_rwlock_tryrdlock): Add elision unlock.
10558 * nptl/sysdeps/pthread/pthread.h:
10559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10560 (PTHREAD_RWLOCK_INITIALIZER,
10561 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10562 Handle new elision field.
10563 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10564 * sysdeps/arm/nptl/bits/pthreadtypes.h
10565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10566 * sysdeps/sh/nptl/bits/pthreadtypes.h
10567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10568 * sysdeps/tile/nptl/bits/pthreadtypes.h
10569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10570 * sysdeps/a/nptl/bits/pthreadtypes.h
10571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10572 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10573 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10574 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10575 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10576 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10577 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10578 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10579 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10580 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10581 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10582 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10583 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10584 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10585 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10586 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10588 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10589 (elision_init): Set try_xbegin to zero when no RTM.
10590 * sysdeps/x86/nptl/bits/pthreadtypes.h
10591 (pthread_rwlock_t): Change __pad1 to __rwelision.
10592 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10594 2014-06-13 Andi Kleen <ak@linux.intel.com>
10596 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10597 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10598 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10599 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10601 2014-06-13 Meador Inge <meadori@codesourcery.com>
10604 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10605 that the cached result has been set before returning it.
10607 2014-06-12 Roland McGrath <roland@hack.frob.com>
10609 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10610 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10611 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10612 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10613 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10614 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10616 * nptl/sysdeps/sparc/Makefile: Moved ...
10617 * sysdeps/sparc/nptl/Makefile: ... here.
10618 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10619 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10620 * nptl/sysdeps/sparc/tls.h: Moved ...
10621 * sysdeps/sparc/nptl/tls.h: ... here.
10622 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10623 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10624 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10625 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10626 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10627 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10628 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10629 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10630 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10631 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10632 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10633 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10634 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10635 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10636 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10637 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10638 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10639 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10641 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10642 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10644 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10645 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10647 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10648 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10651 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10653 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10654 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10656 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10657 (struct list_links): Type removed.
10658 (struct thread_node, struct timer_node): Replace struct list_links
10659 with struct list_head.
10660 (list_unlink_ip): Likewise.
10661 * sysdeps/pthread/timer_routines.c
10662 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10663 (list_append, list_insbefore): Likewise.
10664 (list_init): Function removed.
10665 (thread_init, init_module): Use INIT_LIST_HEAD instead.
10666 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10667 * sysdeps/pthread/Makefile: ... here, new file.
10669 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10670 * sysdeps/nptl/Implies: ... here.
10671 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10672 * nptl/sysdeps/pthread/list.h: Moved ...
10673 * include/list.h: ... here.
10674 * nptl/sysdeps/pthread/createthread.c: Moved ...
10675 * nptl/createthread.c: ... here.
10676 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10677 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10678 * nptl/pt-longjmp.c: ... here.
10679 * nptl/sysdeps/pthread/Makefile: Moved ...
10680 * sysdeps/nptl/Makefile: ... here.
10681 * nptl/sysdeps/pthread/Subdirs: Moved ...
10682 * sysdeps/nptl/Subdirs: ... here.
10683 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10684 * sysdeps/nptl/aio_misc.h: ... here.
10685 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10686 * sysdeps/nptl/bits/libc-lock.h: ... here.
10687 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10688 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10689 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10690 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10691 * nptl/sysdeps/pthread/configure: Moved ...
10692 * sysdeps/nptl/configure: ... here.
10693 * nptl/sysdeps/pthread/configure.ac: Moved ...
10694 * sysdeps/nptl/configure.ac: ... here.
10695 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10696 * sysdeps/nptl/gai_misc.h: ... here.
10697 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10698 * sysdeps/nptl/librt-cancellation.c: ... here.
10699 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10700 * sysdeps/nptl/malloc-machine.h: ... here.
10701 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10702 * sysdeps/nptl/pthread-functions.h: ... here.
10703 * nptl/sysdeps/pthread/pthread.h: Moved ...
10704 * sysdeps/nptl/pthread.h: ... here.
10705 * nptl/sysdeps/pthread/setxid.h: Moved ...
10706 * sysdeps/nptl/setxid.h: ... here.
10707 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10708 * sysdeps/nptl/sigfillset.c: ... here.
10709 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10710 * sysdeps/nptl/tcb-offsets.h: ... here.
10711 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10712 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10713 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10714 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10715 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10716 * sysdeps/pthread/allocalim.h: ... here.
10717 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10718 * sysdeps/pthread/bits/sigthread.h: ... here.
10719 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10720 * sysdeps/pthread/flockfile.c: ... here.
10721 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10722 * sysdeps/pthread/ftrylockfile.c: ... here.
10723 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10724 * sysdeps/pthread/funlockfile.c: ... here.
10725 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10726 * sysdeps/pthread/posix-timer.h: ... here.
10727 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10728 * sysdeps/pthread/timer_create.c: ... here.
10729 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10730 * sysdeps/pthread/timer_delete.c: ... here.
10731 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10732 * sysdeps/pthread/timer_getoverr.c: ... here.
10733 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10734 * sysdeps/pthread/timer_gettime.c: ... here.
10735 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10736 * sysdeps/pthread/timer_routines.c: ... here.
10737 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10738 * sysdeps/pthread/timer_settime.c: ... here.
10739 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10740 * sysdeps/pthread/tst-timer.c: ... here.
10741 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10742 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10744 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10745 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10747 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10748 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10749 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10750 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10751 Update #include target.
10752 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10753 * sysdeps/i386/i686/nptl/Makefile: ... here.
10754 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10755 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10756 Update #include target.
10757 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10758 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10759 * nptl/sysdeps/i386/Makefile: Moved ...
10760 * sysdeps/i386/nptl/Makefile: ... here.
10761 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10762 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10763 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10764 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10765 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10766 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10767 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10768 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10769 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10770 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10771 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10772 * nptl/sysdeps/i386/tls.h: Moved ...
10773 * sysdeps/i386/nptl/tls.h: ... here.
10775 * sysdeps/sh/Makefile [$(subdir) = csu]
10776 (gen-as-const-headers): Add tcb-offsets.sym.
10777 * nptl/sysdeps/sh/Makefile: File removed.
10778 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10779 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10780 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10781 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10782 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10783 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10784 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10785 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10786 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10787 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10788 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10789 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10790 * nptl/sysdeps/sh/tls.h: Moved ...
10791 * sysdeps/sh/nptl/tls.h: ... here.
10792 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10793 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10794 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10795 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10796 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10797 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10798 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10799 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10800 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10801 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10802 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10803 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10804 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10805 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10807 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10808 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10809 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10810 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10811 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10812 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10813 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10815 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10816 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10818 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10819 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10821 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10822 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10823 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10824 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10825 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10826 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10827 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10828 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10829 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10830 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10831 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10832 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10833 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10834 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10835 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10836 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10837 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10838 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10839 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10841 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10843 * posix/spawn_faction_addopen.c: Include string.h.
10845 2014-06-11 Roland McGrath <roland@hack.frob.com>
10847 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10848 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10849 * nptl/sysdeps/x86_64/Makefile: Moved ...
10850 * sysdeps/x86_64/nptl/Makefile: ... here.
10851 * nptl/sysdeps/x86_64/configure: Moved ...
10852 * sysdeps/x86_64/nptl/configure: ... here.
10853 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10854 * sysdeps/x86_64/nptl/configure.ac: ... here.
10855 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10856 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10857 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10858 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10859 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10860 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10861 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10862 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10863 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10864 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10865 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10866 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10867 * nptl/sysdeps/x86_64/tls.h: Moved ...
10868 * sysdeps/x86_64/nptl/tls.h: ... here.
10869 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10870 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10871 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10872 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10874 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10876 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10880 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10882 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10884 [POSIX] (off_t): Likewise.
10885 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10886 [POSIX] (S_ISBLK): Require macro.
10887 [POSIX] (S_ISCHR): Likewise.
10888 [POSIX] (S_ISDIR): Likewise.
10889 [POSIX] (S_ISFIFO): Likewise.
10890 [POSIX] (S_ISREG): Likewise.
10891 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10893 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10895 [POSIX] (time_t): Likewise.
10896 [POSIX] (timer_t): Likewise.
10898 2014-06-11 Florian Weimer <fweimer@redhat.com>
10901 * posix/spawn_int.h (struct __spawn_action): Make the path string
10902 non-const to support deallocation.
10903 * posix/spawn_faction_addopen.c
10904 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10905 * posix/spawn_faction_destroy.c
10906 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10907 path in all spawn_do_open actions.
10908 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10909 posix_spawn_file_actions_addopen.
10911 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10913 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10914 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10915 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10916 conditional code always true.
10917 (__libc_vfork): New alias.
10919 2014-06-11 Roland McGrath <roland@hack.frob.com>
10921 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10922 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10924 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10926 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10927 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10929 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10930 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10932 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10933 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10935 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10937 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10938 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10939 multiarch strcmp for PPC64.
10940 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10941 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10943 multiarch optimizations.
10944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10945 (__libc_ifunc_impl_list): Likewise.
10947 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10949 * benchtests/scripts/validate_benchout.py: New script.
10950 * benchtests/Makefile (bench-func): Call it.
10951 * benchtests/scripts/benchout.schema.json: New file.
10953 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10955 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10956 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10957 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10958 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10959 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10960 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10961 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10962 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10963 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10964 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10965 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10966 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10967 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10968 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10969 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10970 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11075 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11077 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11080 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11082 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11083 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11084 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11085 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11087 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11088 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11089 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11091 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11092 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11093 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11094 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11096 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11097 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11099 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11100 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11101 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11102 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11104 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11105 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11106 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11107 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11108 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11109 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11110 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11112 2014-06-10 Wilco <wdijkstr@arm.com>
11114 * math/test-fenv-return.c: New file.
11115 * math/Makefile: Add new test test-fenv-return.
11117 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11120 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11121 when x - 1 is zero.
11122 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11123 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11124 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11125 0.0L for an argument of 1.0L.
11126 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11128 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11129 value when x - 1 is zero.
11130 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11131 * sysdeps/i386/fpu/libm-test-ulps: Update.
11132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11134 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11137 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11139 2014-06-09 Roland McGrath <roland@hack.frob.com>
11141 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11142 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11144 2014-06-09 Roland McGrath <roland@hack.frob.com>
11146 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11147 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11149 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11150 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11152 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11153 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11155 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11156 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11158 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11159 if not already defined.
11160 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11161 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11162 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11163 (TLS_INIT_TP): Use it.
11164 (TLS_DEFINE_INIT_TP): New macro.
11165 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11167 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11169 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11171 [POSIX] (IXANY): Likewise.
11172 [POSIX] (OLCUC): Likewise.
11173 [POSIX || POSIX2008] (CBAUD): Do not allow.
11174 [POSIX || POSIX2008] (DEFECHO): Likewise.
11175 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11176 [POSIX || POSIX2008] (ECHOKE): Likewise.
11177 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11178 [POSIX || POSIX2008] (EXTA): Likewise.
11179 [POSIX || POSIX2008] (EXTB): Likewise.
11180 [POSIX || POSIX2008] (FLUSHO): Likewise.
11181 [POSIX || POSIX2008] (LOBLK): Likewise.
11182 [POSIX || POSIX2008] (PENDIN): Likewise.
11183 [POSIX || POSIX2008] (SWTCH): Likewise.
11184 [POSIX || POSIX2008] (VDISCARD): Likewise.
11185 [POSIX || POSIX2008] (VDSUSP): Likewise.
11186 [POSIX || POSIX2008] (VLNEXT): Likewise.
11187 [POSIX || POSIX2008] (VREPRINT): Likewise.
11188 [POSIX || POSIX2008] (VSTATUS): Likewise.
11189 [POSIX || POSIX2008] (VWERASE): Likewise.
11190 (B*): Change to B[0123456789]*.
11191 * conform/data/time.h-data [POSIX || UNIX98]
11192 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11193 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11194 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11195 [POSIX] (tm_*): Do not allow.
11197 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11199 * Makefile (install): Don't set LANGUAGE.
11200 * Makefile.in (install): Likewise.
11201 * assert/Makefile (test-assert-ENV): Remove variable.
11202 (test-assert-perr-ENV): Likewise.
11203 * elf/Makefile (neededtest4-ENV): Likewise.
11204 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11205 [$(cross-compiling) = no]: Don't set LANGUAGE.
11206 * io/ftwtest-sh (LANG): Remove variable.
11207 * libio/Makefile (tst-widetext-ENV): Likewise.
11208 * manual/install.texi (Running make install): Don't refer to
11209 environment settings for make install.
11210 * INSTALL: Regenerated.
11211 * nptl/tst-tls6.sh: Don't set LANG.
11212 * posix/globtest.sh (LANG): Remove variable.
11213 * string/Makefile (tester-ENV): Likewise.
11214 (inl-tester-ENV): Likewise.
11215 (noinl-tester-ENV): Likewise.
11216 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11217 [$(cross-compiling) = no]: Don't set LANGUAGE.
11218 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11219 without explicit environment settings.
11221 2014-06-06 Roland McGrath <roland@hack.frob.com>
11223 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11224 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11225 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11226 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11228 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11230 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11231 other files in the crypt directory.
11232 * crypt/crypt.c: Remove duplicate includes.
11233 * crypt/crypt-entry.c: Likewise.
11234 * crypt/crypt_util.c: Likewise.
11236 2014-06-06 Joseph Myers <joseph@codesourcery.com>
11238 * Makeconfig (run-program-env): New variable.
11239 (run-program-prefix-before-env): Likewise.
11240 (run-program-prefix-after-env): Likewise.
11241 (run-program-prefix): Define in terms of new variables.
11242 (built-program-cmd-before-env): New variable.
11243 (built-program-cmd-after-env): Likewise.
11244 (built-program-cmd): Define in terms of new variables.
11245 (test-program-prefix-before-env): New variable.
11246 (test-program-prefix-after-env): Likewise.
11247 (test-program-prefix): Define in terms of new variables.
11248 (test-program-cmd-before-env): New variable.
11249 (test-program-cmd-after-env): Likewise.
11250 (test-program-cmd): Define in terms of new variables.
11251 * Rules (make-test-out): Use $(run-program-env).
11252 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11253 (help): Do not mention environment variables. Mention
11254 --timeoutfactor option.
11255 (timeoutfactor): New variable.
11256 (blacklist_exports): Remove function.
11257 (exports): Remove variable.
11258 (command): Do not include ${exports}.
11259 * manual/install.texi (Configuring and compiling): Do not mention
11260 test wrappers preserving environment variables. Mention that last
11261 assignment to a variable must take precedence.
11262 * INSTALL: Regenerated.
11263 * benchtests/Makefile (run-bench): Use $(run-program-env).
11264 * catgets/Makefile ($(objpfx)test1.cat): Use
11265 $(built-program-cmd-before-env), $(run-program-env) and
11266 $(built-program-cmd-after-env).
11267 ($(objpfx)test2.cat): Do not specify environment variables
11269 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11270 $(run-program-env) and $(built-program-cmd-after-env).
11271 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11272 $(run-program-env) and $(test-program-cmd-after-env).
11273 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11275 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11276 run_program_env and test_program_cmd_after_env arguments.
11277 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11278 * elf/tst-pathopt.sh: Use run_program_env argument.
11279 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11280 $(test-wrapper-env) and $(run-program-env).
11281 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11282 run_program_env arguments.
11283 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11284 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11285 $(test-program-prefix-before-env), $(run-program-env) and
11286 $(test-program-prefix-after-env).
11287 ($(objpfx)tst-gettext2.out): Likewise.
11288 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11289 run_program_env and test_program_prefix_after_env arguments.
11290 * intl/tst-gettext2.sh: Likewise.
11291 * intl/tst-gettext4.sh: Do not set environment variables
11293 * intl/tst-gettext6.sh: Likewise.
11294 * intl/tst-translit.sh: Likewise.
11295 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11296 $(test-program-prefix-before-env), $(run-program-env) and
11297 $(test-program-prefix-after-env).
11298 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11299 run_program_env and test_program_prefix_after_env arguments.
11300 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11301 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11302 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11303 explicitly with each use of ${test_wrapper_env}.
11304 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11305 $(test-program-prefix-before-env), $(run-program-env) and
11306 $(test-program-prefix-after-env).
11307 * posix/tst-getconf.sh: Do not set environment variables
11309 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11310 run_program_env and test_program_prefix_after_env arguments.
11311 * stdio-common/tst-printf.sh: Do not set environment variables
11313 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11314 $(test-program-prefix-before-env), $(run-program-env) and
11315 $(test-program-prefix-after-env).
11316 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11317 run_program_env and test_program_prefix_after_env arguments.
11318 Split $test calls into $test_pre and $test.
11319 * timezone/Makefile (build-testdata): Use
11320 $(built-program-cmd-before-env), $(run-program-env) and
11321 $(built-program-cmd-after-env).
11323 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11325 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11326 strlen for non SHARED builds.
11328 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11330 * nptl/allocatestack.c (check_list): Inlined function...
11331 (__reclaim_stacks): ... here.
11333 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11336 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11339 2014-06-05 Joseph Myers <joseph@codesourcery.com>
11341 * Rules (make-test-out): Include
11342 LOCPATH=$(common-objpfx)localedata in default environment.
11343 * debug/Makefile (tst-chk1-ENV): Remove variable.
11344 (tst-chk2-ENV): Likewise.
11345 (tst-chk3-ENV): Likewise.
11346 (tst-chk4-ENV): Likewise.
11347 (tst-chk5-ENV): Likewise.
11348 (tst-chk6-ENV): Likewise.
11349 (tst-lfschk1-ENV): Likewise.
11350 (tst-lfschk2-ENV): Likewise.
11351 (tst-lfschk3-ENV): Likewise.
11352 (tst-lfschk4-ENV): Likewise.
11353 (tst-lfschk5-ENV): Likewise.
11354 (tst-lfschk6-ENV): Likewise.
11355 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11356 (tst-iconv7-ENV): Likewise.
11357 * intl/Makefile (LOCPATH-ENV): Likewise.
11358 (tst-codeset-ENV): Likewise.
11359 (tst-gettext3-ENV): Likewise.
11360 (tst-gettext5-ENV): Likewise.
11361 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11362 (tst-fopenloc-ENV): Likewise.
11363 (tst-fgetws-ENV): Remove variable.
11364 (tst-ungetwc1-ENV): Likewise.
11365 (tst-ungetwc2-ENV): Likewise.
11366 (bug-ungetwc2-ENV): Likewise.
11367 (tst-swscanf-ENV): Likewise.
11368 (bug-ftell-ENV): Likewise.
11369 (tst-fgetwc-ENV): Likewise.
11370 (tst-fseek-ENV): Likewise.
11371 (tst-ftell-partial-wide-ENV): Likewise.
11372 (tst-ftell-active-handler-ENV): Likewise.
11373 (tst-ftell-append-ENV): Likewise.
11374 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11375 (tst-regexloc-ENV): Likewise.
11376 (bug-regex1-ENV): Likewise.
11377 (tst-regex-ENV): Likewise.
11378 (tst-regex2-ENV): Likewise.
11379 (bug-regex5-ENV): Likewise.
11380 (bug-regex6-ENV): Likewise.
11381 (bug-regex17-ENV): Likewise.
11382 (bug-regex18-ENV): Likewise.
11383 (bug-regex19-ENV): Likewise.
11384 (bug-regex20-ENV): Likewise.
11385 (bug-regex22-ENV): Likewise.
11386 (bug-regex23-ENV): Likewise.
11387 (bug-regex25-ENV): Likewise.
11388 (bug-regex26-ENV): Likewise.
11389 (bug-regex30-ENV): Likewise.
11390 (bug-regex32-ENV): Likewise.
11391 (bug-regex33-ENV): Likewise.
11392 (bug-regex34-ENV): Likewise.
11393 (bug-regex35-ENV): Likewise.
11394 (tst-rxspencer-ENV): Likewise.
11395 (tst-rxspencer-no-utf8-ENV): Likewise.
11396 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11397 (tst-sscanf-ENV): Likewise.
11398 (tst-swprintf-ENV): Likewise.
11399 (tst-swscanf-ENV): Likewise.
11400 (test-vfprintf-ENV): Likewise.
11401 (scanf13-ENV): Likewise.
11402 (bug14-ENV): Likewise.
11403 (tst-grouping-ENV): Likewise.
11404 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11405 (tst-strtod3-ENV): Likewise.
11406 (tst-strtod4-ENV): Likewise.
11407 (tst-strtod5-ENV): Likewise.
11408 (testmb2-ENV): Likewise./
11409 * string/Makefile (tst-strxfrm-ENV): Likewise.
11410 (tst-strxfrm2-ENV): Likewise.
11411 (bug-strcoll1-ENV): Likewise.
11412 (test-strcasecmp-ENV): Likewise.
11413 (test-strncasecmp-ENV): Likewise.
11414 * time/Makefile (tst-strptime-ENV): Likewise.
11415 (tst-ftime_l-ENV): Likewise.
11416 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11417 (tst-mbrtowc-ENV): Likewise.
11418 (tst-wcrtomb-ENV): Likewise.
11419 (tst-mbrtowc2-ENV): Likewise.
11420 (tst-c16c32-1-ENV): Likewise.
11421 (tst-mbsnrtowcs-ENV): Likewise.
11423 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11425 * manual/resource.texi (How to get information about the memory
11426 subsystem?): Fix typo.
11427 Reported by Peon de la Parra Ivan <peon@keba.com>
11429 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11432 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11433 (pthread_spin_lock): Branch out of spin loop to proper location.
11434 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11435 (pthread_spin_lock): Likewise.
11437 * nptl/tst-spin4.c: New test.
11438 * nptl/Makefile (tests): Add tst-spin4.
11440 2014-06-03 Andreas Schwab <schwab@suse.de>
11443 * resolv/res_send.c (send_dg): Reload file descriptor after
11446 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11448 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11450 2014-06-03 Richard Henderson <rth@redhat.com>
11452 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11453 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11454 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11455 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11456 in the SAVE_PID block.
11457 (__libc_vfork): New alias.
11458 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11460 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11461 child in registers, not on the stack. Remove RESET_PID conditionals.
11462 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11464 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11466 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11468 2014-06-03 Wilco <wdijkstr@arm.com>
11470 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11471 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11472 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11473 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11474 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11477 2014-06-03 Wilco <wdijkstr@arm.com>
11479 * sysdeps/aarch64/fpu/math_private.h
11480 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11481 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11482 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11483 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11486 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11488 * crypt/crypt-private.h: Include ufc-crypt.h.
11489 (__b64_from_24bit): Declare extern.
11490 * crypt/crypt_util.c(__b64_from_24bit): New function.
11491 (b64t): New static const variable.
11492 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11493 (b64t): Remove variable.
11494 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11495 * crypt/sha256-crypt.c: Include crypt-private.h.
11496 (b64t): Remove variable.
11497 (__sha256_crypt_r): Remove b64_from_24bit and replace
11498 with __b64_from_24bit.
11499 * crypt/sha512-crypt.c: Likewise.
11501 2014-06-02 Roland McGrath <roland@hack.frob.com>
11503 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11504 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11505 Label the code __libc_vfork rather than __vfork.
11506 [!NOT_IN_libc] (vfork): Define as weak alias.
11507 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11508 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11509 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11511 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11513 * malloc/malloc.c (malloc_info): Fix format specifier for
11516 2014-06-02 Wilco <wdijkstr@arm.com>
11518 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11521 2014-06-02 Wilco <wdijkstr@arm.com>
11524 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11525 Rewrite to reduce FPCR/FPSR accesses.
11527 2014-06-01 David S. Miller <davem@davemloft.net>
11529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11531 2014-05-31 David S. Miller <davem@davemloft.net>
11533 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11534 to occur in round to nearest mode when |x| >= 2.0
11536 2014-05-30 Richard Henderson <rth@twiddle.net>
11538 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11539 (PSEUDO_RET_NOERRNO): Remove.
11540 (ret): Don't redefine.
11541 (ret_NOERRNO): Define in terms of ret.
11542 (ret_ERRVAL): Likewise.
11544 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11545 use of PSEUDO_RET; perform the error check directly.
11547 2014-05-30 Marko Myllynen <myllynen@redhat.com>
11549 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11552 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11554 * malloc/malloc (malloc_info): Fix formatting.
11556 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11557 Roland McGrath <roland@hack.frob.com>
11559 * malloc/malloc (malloc_info): Also print mmapped statistics.
11561 2014-05-30 Roland McGrath <roland@hack.frob.com>
11563 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11564 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11566 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
11568 * malloc/malloc.c (malloc_info): Inline mi_arena.
11570 2014-05-29 Richard Henderson <rth@twiddle.net>
11572 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11573 Remove comma before expanding ASM_ARGS_##nr.
11574 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11575 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11577 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11578 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11579 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11580 (ASM_ARGS_1): Add leading comma.
11582 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11583 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11584 to __errno_location.
11585 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11586 Remove the expected plt for __errno_location.
11588 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11589 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11592 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11593 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11594 it and break it down.
11595 (DOCARGS_0, DOCARGS_1): Do nothing.
11596 (DOCARGS_2): Update to store into the new stack frame.
11597 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11598 (UNDOCARGS_1): Update to restore from the new stack frame.
11599 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11600 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11602 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11603 (SINGLE_THREAD_P): New parameter for result regno.
11604 (PSEUDO): Update to match; use cbz instead of beq.
11606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11607 Use ENTRY to define the _nocancel entry point. Share the syscall
11608 and syscall error check paths with the cancel path.
11611 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11612 whitespace; tabs before and after asm mnemonics.
11614 2014-05-29 Eric Wong <normalperson@yhbt.net>
11617 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11618 Call fstat64 or stat64 internally, depending on arguments passed.
11619 Replace stat buffer argument with file descriptor argument.
11620 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11621 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11622 Pass fd to __internal_statvfs instead of calling fstat64.
11623 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11624 Pass fd to __internal_statvfs64 instead of calling fstat64.
11625 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11626 Pass -1 to __internal_statvfs instead of calling stat64.
11627 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11628 Pass -1 to __internal_statvfs64 instead of calling stat64.
11630 2014-05-28 Roland McGrath <roland@hack.frob.com>
11632 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11633 that was previously under [RESET_PID].
11634 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11636 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11637 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11639 2014-05-27 Roland McGrath <roland@hack.frob.com>
11641 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11643 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11644 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11646 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
11648 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11650 2014-05-27 Andreas Schwab <schwab@suse.de>
11652 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11654 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11655 * elf/rtld.c (init_tls, dl_main): Likewise.
11656 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11657 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11658 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11659 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11660 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11661 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11662 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11663 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11664 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11665 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11666 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11667 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11668 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11669 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11670 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11671 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11672 * sysdeps/generic/tls.h: Update description.
11674 2014-05-27 Will Newton <will.newton@linaro.org>
11677 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11678 and restore r2 rather than just restoring.
11680 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11683 * libio/tst-ftell-append.c: New test case.
11684 * libio/Makefile (tests): Add test case.
11685 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11687 * libio/wfileops.c (do_ftell_wide): Likewise.
11689 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11693 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11697 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11698 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11699 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11700 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11701 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11702 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11709 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11710 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11711 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11712 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11713 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11715 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11716 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11718 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11720 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11722 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11723 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11724 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11726 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11727 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11728 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11729 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11737 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11752 conditional [RESET_PID].
11753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11754 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11761 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11762 (__libc_vfork): New strong alias.
11763 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11765 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11770 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11771 (__libc_vfork): New strong alias.
11772 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11774 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11777 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11779 * malloc/malloc.c (mi_arena): New function.
11780 (malloc_info): Remove nested function mi_arena. Call non-nosted
11783 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11785 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11787 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11788 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11789 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11790 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11791 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11792 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11793 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11795 2014-05-26 Andreas Schwab <schwab@suse.de>
11798 * locale/programs/repertoire.c (repertoire_read): Add slash
11799 between I18NPATH element and file name.
11800 * locale/programs/locfile.c (locfile_read): Likewise.
11802 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11804 * nptl/pthread_mutexattr_settype.c
11805 (__pthread_mutexattr_settype):
11806 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11808 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11810 * nptl/tst-mutex5 (do_test):
11811 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11813 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11815 * benchtests/README: Document 'init' directive.
11816 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11818 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11819 (parse_file): Recognize 'init' directive.
11821 2014-05-26 Kyle McMartin <kyle@redhat.com>
11824 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11825 alignment of struct pthread.
11827 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11830 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11831 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11832 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11833 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11835 2014-05-25 Richard Henderson <rth@twiddle.net>
11837 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11838 (SINGLE_THREAD_P_PIC): Remove.
11839 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11840 (SINGLE_THREAD_P_PIC): Remove.
11842 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11843 branch to syscall error ...
11844 (PSEUDO): ... here.
11845 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11846 from __local_syscall_error to .Lsyscall_error.
11847 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11848 (SYSCALL_ERROR): Update label name.
11850 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11851 Do not use DOARGS/UNDOARGS.
11852 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11853 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11854 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11855 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11856 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11858 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11861 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11862 define if !NOT_IN_libc.
11863 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11864 define with non-default symbol versions.
11866 2014-05-23 Richard Henderson <rth@twiddle.net>
11868 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11869 (vfork, __vfork): Define via compat_symbol.
11871 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11872 [!HAVE_IFUNC] (vfork_compat): Remove.
11873 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11875 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11878 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11879 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11882 2014-05-23 Richard Henderson <rth@twiddle.net>
11884 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11885 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11886 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11887 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11889 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11890 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11891 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11892 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11893 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11894 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11895 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11896 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11897 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11898 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11899 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11900 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11901 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11902 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11903 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11904 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11905 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11906 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11907 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11908 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11909 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11910 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11911 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11912 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11913 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11914 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11915 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11916 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11917 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11918 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11919 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11920 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11921 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11922 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11923 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11924 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11925 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11926 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11927 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11928 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11929 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11930 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11931 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11932 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11933 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11934 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11935 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11936 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11937 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11938 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11939 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11940 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11941 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11942 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11943 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11944 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11946 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11947 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11948 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11949 before exiting on error.
11950 (__libc_vfork): New strong alias.
11951 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11952 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11954 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11955 that was previously under [RESET_PID].
11956 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11958 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11960 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11963 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11964 value when x - 1 is zero.
11965 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11966 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11967 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11968 0.0L for an argument of 1.0L.
11969 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11971 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11972 value when x - 1 is zero.
11973 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11974 * sysdeps/i386/fpu/libm-test-ulps: Update.
11975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11977 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11979 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11980 alphasort and versionsort.
11982 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11984 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11986 [copysignf]: Likewise.
11988 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11990 * crypt/md5-crypt.c: Fix formatting.
11992 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11994 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11995 (b64_from_24bit): New function.
11997 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11999 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12000 libc_hidden_builtin_def to ifunc.
12001 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12002 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12004 2014-05-21 Roland McGrath <roland@hack.frob.com>
12006 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12007 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12009 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12011 * nscd/Depend (linuxthreads): Remove.
12013 * resolv/Depend (linuxthreads): Remove.
12014 * rt/Depend (linuxthreads): Remove.
12016 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12017 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12018 $(common-objpfx)elf/.
12019 (link-libc-before-gnulib): Likewise.
12020 (elfobjdir): Remove variable.
12021 * Makefile (install): Use $(elf-objpfx) instead of
12022 $(common-objpfx)elf/.
12023 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12025 (link-libc-deps): Likewise.
12026 ($(common-objpfx)libc.so): Likewise.
12027 ($(common-objpfx)linkobj/libc.so): Likewise.
12028 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12029 instead of $(common-objpfx)elf/.
12030 (symbolic-link-list): Likewise.
12031 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12032 [$(cross-compiling) = no]: Likewise.
12033 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12035 (static-gnulib-arch): Likewise.
12036 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12037 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12038 $(common-objpfx)elf/.
12040 2014-05-21 Richard Henderson <rth@redhat.com>
12042 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12043 (SINGLE_THREAD_P): Use the correct width load. Fold
12044 into the ldr offset.
12046 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12047 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12049 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12051 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12052 (libgcc_s_resume): Use __attribute_used__.
12053 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12056 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12058 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12059 optimization when used with float constants.
12061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12063 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12066 * locale/nl_langinfo_l.c: Make direct reference to every
12067 _nl_current_CATEGORY symbol.
12068 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12069 (tests-static): Add tst-langinfo-static.
12070 (tests-special): Add tst-langinfo-static.out.
12071 ($(objpfx)tst-langinfo.out): Redirect output.
12072 ($(objpfx)tst-langinfo-static.out): New.
12073 * localedata/tst-langinfo.sh: Send output to stdout.
12074 * localedata/tst-langinfo-static.c: New file.
12077 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12078 when the shift amount is modulo the limb size.
12080 2014-05-20 Richard Henderson <rth@redhat.com>
12083 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12084 Change type of sa_flags from unsigned int to int.
12087 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12089 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12091 2014-05-20 Will Newton <will.newton@linaro.org>
12093 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12094 Test the return value of the system call in the nocancel case.
12096 2014-05-20 Will Newton <will.newton@linaro.org>
12097 Yvan Roux <yvan.roux@linaro.org>
12099 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12100 #include of asm/ptrace.h.
12101 (PTRACE_GET_THREAD_AREA): Remove #undef.
12102 (PTRACE_GETHBPREGS): Likewise.
12103 (PTRACE_SETHBPREGS): Likewise.
12104 (struct user_regs_struct): New structure.
12105 (struct user_fpsimd_struct): New structure.
12106 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12107 #include of asm/ptrace.h and second #include of sys/user.h.
12108 (PTRACE_GET_THREAD_AREA): Remove #undef.
12109 (PTRACE_GETHBPREGS): Likewise.
12110 (PTRACE_SETHBPREGS): Likewise.
12111 (ELF_NGREG): Use new struct user_regs_struct.
12112 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12114 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12116 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12117 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12119 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12123 membar to avoid block loads/stores to overlap previous stores.
12125 2014-05-17 Richard Henderson <rth@redhat.com>
12127 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12128 Create the __##syscall_name##_nocancel entry point.
12129 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12130 Remove; let the sysdep-cancel.h code create it.
12132 2014-05-17 David S. Miller <davem@davemloft.net>
12134 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12135 Protect with __USE_GNU.
12136 (TIOCSET_TEMPT): Likewise.
12137 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12138 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12139 these are already provided in bits/ioctl-types.h
12141 2014-05-16 Roland McGrath <roland@hack.frob.com>
12143 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12144 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12146 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12147 Use wait4 regardless of [__NR_waitpid].
12149 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12152 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12153 (_FP_NANSIGN_Q): Set the quiet bit.
12155 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12157 * benchtests/Makefile
12158 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12159 not $(common-objpfx)math/libm.so.
12160 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12161 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12162 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12163 $(common-objpfx)dlfcn/libdl.so.
12164 ($(objpfx)tst-audit8): Depend on $(libm), not
12165 $(common-objpfx)math/libm.so.
12166 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12167 not $(common-objpfx)dlfcn/libdl.so.
12169 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12170 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12171 [$(build-shared) = yes].
12172 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12173 $(common-objpfx)nptl/libpthread.so.
12174 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12175 $(common-objpfx)math/libm.so$(libm.so-version) or
12176 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12177 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12178 $(common-objpfx)dlfcn/libdl.so.
12179 * setjmp/Makefile (link-libm): Remove variable.
12180 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12181 * stdio-common/Makefile (link-libm): Remove variable.
12182 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12183 * stdlib/Makefile (link-libm): Remove variable.
12184 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12185 ($(objpfx)tst-strtod-round): Likewise.
12186 ($(objpfx)tst-tininess): Likewise.
12187 ($(objpfx)tst-strtod-underflow): Likewise.
12188 ($(objpfx)tst-strtod6): Likewise.
12189 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12190 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12191 $(common-objpfx)dlfcn/libdl.so.
12193 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12195 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12196 BSD terminal modes definitions.
12198 2014-05-16 Roland McGrath <roland@hack.frob.com>
12200 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12201 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12203 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12204 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12205 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12206 Don't do #include_next.
12207 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12208 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12209 Don't do #include_next.
12210 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12211 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12212 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12213 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12215 2014-05-16 Allan McRae <allan@archlinux.org>
12217 * po/sv.po: Update Swedish translation from translation project.
12219 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12222 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12225 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12226 errno if the TIOCGPTN ioctl fails with an error different than
12228 * login/tst-ptsname.c: New file.
12229 * login/Makefile (tests): Add tst-ptsname.
12232 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12235 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12239 herrno to return EAI_AGAIN.
12241 2014-05-14 Roland McGrath <roland@hack.frob.com>
12243 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12244 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12245 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12246 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12247 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12248 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12249 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12250 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12251 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12252 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12253 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12254 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12255 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12256 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12257 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12258 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12259 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12260 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12262 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12263 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12264 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12265 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12266 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12267 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12268 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12269 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12270 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12271 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12272 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12274 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12276 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12279 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12281 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12283 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12285 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12287 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12289 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12291 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12293 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12295 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12297 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12299 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12301 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12303 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12305 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12308 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12310 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12312 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12314 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12316 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12318 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12320 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12322 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12324 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12326 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12329 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12331 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12333 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12334 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12335 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12336 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12337 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12338 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12339 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12340 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12341 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12342 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12343 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12344 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12345 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12346 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12347 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12348 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12349 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12350 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12351 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12352 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12353 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12354 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12355 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12356 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12357 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12358 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12359 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12360 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12361 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12362 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12363 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12365 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12366 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12368 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12369 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12370 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12371 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12372 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12373 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12375 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12376 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12378 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12379 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12381 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12384 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12385 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12386 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12387 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12389 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12390 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12391 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12392 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12393 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12394 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12395 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12396 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12398 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12399 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12401 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12403 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12404 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12405 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12406 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12407 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12409 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12411 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12413 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12414 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12415 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12416 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12417 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12418 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12420 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12421 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12423 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12424 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12426 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12427 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12429 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12430 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12431 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12432 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12434 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12435 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12436 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12437 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12438 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12439 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12440 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12441 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12443 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12444 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12446 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12448 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12449 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12450 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12451 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12452 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12454 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12456 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12458 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12459 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12460 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12461 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12462 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12463 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12464 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12465 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12466 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12467 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12469 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12470 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12472 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12473 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12475 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12478 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12479 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12480 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12481 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12482 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12483 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12485 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12486 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12487 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12488 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12489 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12490 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12491 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12492 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12494 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12495 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12497 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12499 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12500 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12501 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12502 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12503 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12505 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12507 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12509 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12510 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12511 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12512 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12513 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12515 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12517 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12519 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12521 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12522 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12524 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12525 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12527 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12528 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12529 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12530 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12531 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12532 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12533 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12534 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12535 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12536 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12538 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12539 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12540 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12541 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12543 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12546 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12547 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12548 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12551 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12552 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12553 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12554 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12555 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12557 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12558 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12560 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12561 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12563 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12564 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12565 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12566 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12567 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12568 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12569 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12570 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12571 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12572 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12573 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12574 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12575 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12576 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12577 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12578 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12579 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12581 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12582 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12583 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12584 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12585 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12587 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12588 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12589 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12590 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12591 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12592 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12593 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12594 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12595 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12596 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12598 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12599 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12601 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12602 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12603 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12604 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12605 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12606 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12607 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12608 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12609 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12610 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12611 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12612 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12613 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12614 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12615 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12635 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12637 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12640 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12641 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12642 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12643 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12644 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12645 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12646 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12647 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12648 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12649 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
12651 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12652 that was previously under [RESET_PID].
12653 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12654 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12655 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12657 * sysdeps/i386/nptl/Implies: New file.
12658 * sysdeps/x86_64/nptl/Implies: New file.
12659 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12660 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12661 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12662 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12664 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12665 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12666 (__libc_vfork): New strong alias.
12667 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12668 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12670 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12671 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12672 (__libc_vfork): New strong alias.
12673 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12674 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12676 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12677 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12678 (__libc_vfork): New strong alias.
12679 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12680 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12681 * nptl/pt-vfork.c: New file.
12682 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12683 (libpthread: GLIBC_2.20): New version set (empty).
12685 2014-05-14 Will Newton <will.newton@linaro.org>
12687 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12690 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12693 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12694 arguments with exponent 65 or above.
12695 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12696 arguments 0x1p113L or above.
12697 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12698 to arguments 0x1p107L or above.
12699 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12700 positive arguments with exponent 65 or above.
12701 * math/auto-libm-test-in: Add more tests of log1p.
12702 * math/auto-libm-test-out: Regenerated.
12705 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12706 non-finite arguments is +0.
12707 * math/s_cacosf.c (__cacosf): Likewise.
12708 * math/s_cacosl.c (__cacosl): Likewise.
12709 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12710 * sysdeps/i386/fpu/libm-test-ulps: Update.
12711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12714 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12716 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12717 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12718 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12719 for explicit high bit of mantissa when testing for argument equal
12721 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12722 * sysdeps/i386/fpu/libm-test-ulps: Update.
12723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12726 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12727 (__erf): Scale by 16 instead of 8 in potentially underflowing
12728 case. Ensure exception if result actually underflows.
12729 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12730 (__erff): Scale by 16 instead of 8 in potentially underflowing
12731 case. Ensure exception if result actually underflows.
12732 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12733 (efx8): Remove variable.
12734 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12735 case. Ensure exception if result actually underflows.
12736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12737 (efx8): Remove variable.
12738 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12739 case. Ensure exception if result actually underflows.
12740 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12741 (efx8): Remove variable.
12742 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12743 case. Ensure exception if result actually underflows.
12744 * math/auto-libm-test-in: Add more tests of erf.
12745 * math/auto-libm-test-out: Regenerated.
12747 2014-05-14 Andreas Schwab <schwab@suse.de>
12749 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12750 Remove code conditionalized on USE___THREAD.
12752 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12753 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12756 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12758 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12759 Define unconditionally.
12760 (__ASSUME_O_CLOEXEC): Likewise.
12761 (__ASSUME_SOCK_CLOEXEC): Likewise.
12762 (__ASSUME_IN_NONBLOCK): Likewise.
12763 (__ASSUME_PIPE2): Likewise.
12764 (__ASSUME_EVENTFD2): Likewise.
12765 (__ASSUME_SIGNALFD4): Likewise.
12766 (__ASSUME_DUP3): Likewise.
12767 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12768 (__ASSUME_DUP3): Do not define.
12769 (__ASSUME_EVENTFD2): Likewise.
12770 (__ASSUME_IN_NONBLOCK): Likewise.
12771 (__ASSUME_O_CLOEXEC): Likewise.
12772 (__ASSUME_PIPE2): Likewise.
12773 (__ASSUME_SIGNALFD4): Likewise.
12774 (__ASSUME_SOCK_CLOEXEC): Likewise.
12775 (__ASSUME_UTIMES): Undefine.
12776 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12777 (__ASSUME_UTIMES): Do not define.
12778 (__ASSUME_O_CLOEXEC): Likewise.
12779 (__ASSUME_SOCK_CLOEXEC): Likewise.
12780 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12781 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12783 (__ASSUME_PIPE2): Likewise.
12784 (__ASSUME_EVENTFD2): Likewise.
12785 (__ASSUME_SIGNALFD4): Likewise.
12786 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12787 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12789 (__ASSUME_EVENTFD2): Likewise.
12790 (__ASSUME_SIGNALFD4): Likewise.
12791 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12792 (__ASSUME_32BITUIDS): Likewise.
12793 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12794 (__ASSUME_IPC64): Likewise.
12795 (__ASSUME_ST_INO_64_BIT): Likewise.
12796 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12797 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12798 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12799 (__ASSUME_UTIMES): Do not define.
12800 (__ASSUME_PSELECT): Likewise.
12801 (__ASSUME_PPOLL): Likewise.
12802 (__ASSUME_O_CLOEXEC): Likewise.
12803 (__ASSUME_SOCK_CLOEXEC): Likewise.
12804 (__ASSUME_IN_NONBLOCK): Likewise.
12805 (__ASSUME_PIPE2): Likewise.
12806 (__ASSUME_EVENTFD2): Likewise.
12807 (__ASSUME_SIGNALFD4): Likewise.
12808 (__ASSUME_DUP3): Likewise.
12809 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12810 (__ASSUME_UTIMES): Likewise.
12811 (__ASSUME_O_CLOEXEC): Likewise.
12812 (__ASSUME_SOCK_CLOEXEC): Likewise.
12813 (__ASSUME_IN_NONBLOCK): Likewise.
12814 (__ASSUME_PIPE2): Likewise.
12815 (__ASSUME_EVENTFD2): Likewise.
12816 (__ASSUME_SIGNALFD4): Likewise.
12817 (__ASSUME_DUP3): Likewise.
12818 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12819 (__ASSUME_UTIMES): Likewise.
12820 (__ASSUME_O_CLOEXEC): Likewise.
12821 (__ASSUME_SOCK_CLOEXEC): Likewise.
12822 (__ASSUME_IN_NONBLOCK): Likewise.
12823 (__ASSUME_PIPE2): Likewise.
12824 (__ASSUME_EVENTFD2): Likewise.
12825 (__ASSUME_SIGNALFD4): Likewise.
12826 (__ASSUME_DUP3): Likewise.
12827 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12829 (__ASSUME_UTIMES): Likewise.
12830 (__ASSUME_EVENTFD2): Likewise.
12831 (__ASSUME_SIGNALFD4): Likewise.
12832 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12833 (__ASSUME_O_CLOEXEC): Likewise.
12834 (__ASSUME_SOCK_CLOEXEC): Likewise.
12835 (__ASSUME_IN_NONBLOCK): Likewise.
12836 (__ASSUME_PIPE2): Likewise.
12837 (__ASSUME_EVENTFD2): Likewise.
12838 (__ASSUME_SIGNALFD4): Likewise.
12839 (__ASSUME_DUP3): Likewise.
12840 (__ASSUME_UTIMES): Undefine.
12842 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12843 feclearexcept. Remove symbol versioning code.
12844 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12845 symbol versioning code.
12846 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12847 symbol versioning code.
12848 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12849 feupdateenv. Remove symbol versioning code.
12850 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12851 fegetexceptflag. Remove symbol versioning code.
12852 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12853 fesetexceptflag. Remove symbol versioning code.
12854 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12855 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12856 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12857 (__posix_fadvise64_l32): Remove prototype.
12858 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12861 2014-05-13 Roland McGrath <roland@hack.frob.com>
12863 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12864 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12865 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12866 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12868 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12870 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12871 current working directory
12873 2014-05-13 Roland McGrath <roland@hack.frob.com>
12875 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12876 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12877 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12878 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12879 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12880 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12881 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12882 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12883 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12884 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12885 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12886 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12887 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12888 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12889 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12890 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12891 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12892 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12893 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12894 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12895 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12896 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12897 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12898 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12899 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12900 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12901 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12902 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12903 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12904 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12905 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12906 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12907 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12908 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12909 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12910 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12911 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12912 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12913 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12914 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12915 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12916 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12918 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12919 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12921 * sysdeps/unix/sysv/linux/arm/Makefile
12922 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12923 Add rt-aeabi_unwind_cpp_pr1.
12924 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12925 Add nptl-aeabi_unwind_cpp_pr1.
12926 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12927 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12928 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12929 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12930 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12931 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12933 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12934 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12935 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12936 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12938 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12939 Deconditionalize the code that was previously under [RESET_PID].
12940 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12942 * sysdeps/generic/exit-thread.h: New file.
12943 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12944 * include/unistd.h (__exit_thread): Remove declaration.
12945 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12946 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12947 * csu/libc-start.c: Include <exit-thread.h>.
12948 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12949 * nptl/pthread_create.c: Include <exit-thread.h>.
12950 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12951 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12952 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12953 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12954 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12955 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12956 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12957 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12958 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12959 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12960 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12961 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12962 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12963 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12964 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12965 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12966 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12968 2014-05-13 Andreas Schwab <schwab@suse.de>
12970 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12972 2014-05-12 Joseph Myers <joseph@codesourcery.com>
12974 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12975 (__ASSUME_UTIMES): Do not condition on kernel version.
12976 (__ASSUME_PSELECT): Define unconditionally.
12977 (__ASSUME_PPOLL): Likewise.
12978 (__ASSUME_ATFCTS): Likewise.
12979 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12980 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12981 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12982 (__ASSUME_UTIMENSAT): Define unconditionally.
12983 (__ASSUME_PRIVATE_FUTEX): Likewise.
12984 (__ASSUME_FALLOCATE): Likewise.
12985 (__ASSUME_O_CLOEXEC): Likewise.
12986 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12987 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12988 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12989 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12990 (__ASSUME_IN_NONBLOCK): Likewise.
12991 (__ASSUME_PIPE2): Likewise.
12992 (__ASSUME_EVENTFD2): Likewise.
12993 (__ASSUME_SIGNALFD4): Likewise.
12994 (__ASSUME_DUP3): Likewise.
12995 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12996 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12997 (__ASSUME_AT_RANDOM): Likewise.
12998 (__ASSUME_PREADV): Likewise.
12999 (__ASSUME_PWRITEV): Likewise.
13000 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13001 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13002 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13003 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13004 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13005 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13006 (__ASSUME_O_CLOEXEC): Define unconditionally.
13007 (__ASSUME_PSELECT): Do not undefine conditionally.
13008 (__ASSUME_PPOLL): Likewise.
13009 (__ASSUME_ATFCTS): Likewise.
13010 (__ASSUME_SET_ROBUST_LIST): Likewise.
13011 (__ASSUME_UTIMENSAT): Likewise.
13012 (__ASSUME_FDATASYNC): Define unconditionally.
13013 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13014 (__ASSUME_SIGFRAME_V2): Likewise.
13015 )__ASSUME_EVENTFD2): Likewise.
13016 (__ASSUME_SIGNALFD4): Likewise.
13017 (__ASSUME_PSELECT): Do not undefine conditionally.
13018 (__ASSUME_PPOLL): Likewise.
13019 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13020 (__ASSUME_PSELECT): Define unconditionally.
13021 (__ASSUME_PPOLL): Likewise.
13022 (__ASSUME_O_CLOEXEC): Likewise.
13023 (__ASSUME_SOCK_CLOEXEC): Likewise.
13024 (__ASSUME_IN_NONBLOCK): Likewise.
13025 (__ASSUME_PIPE2): Likewise.
13026 (__ASSUME_EVENTFD2): Likewise.
13027 (__ASSUME_SIGNALFD4): Likewise.
13028 (__ASSUME_DUP3): Likewise.
13029 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13030 (__ASSUME_O_CLOEXEC): Likewise.
13031 (__ASSUME_SOCK_CLOEXEC): Likewise.
13032 (__ASSUME_IN_NONBLOCK): Likewise.
13033 (__ASSUME_PIPE2): Likewise.
13034 (__ASSUME_EVENTFD2): Likewise.
13035 (__ASSUME_SIGNALFD4): Likewise.
13036 (__ASSUME_DUP3): Likewise.
13037 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13038 (__ASSUME_EVENTFD2): Likewise.
13039 (__ASSUME_SIGNALFD4): Likewise.
13040 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13042 2014-05-12 Andreas Schwab <schwab@suse.de>
13045 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13046 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13047 than maximum RPC packet size.
13048 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13049 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13050 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13051 (_nss_nis_getservbyport_r): Likewise.
13053 2014-05-12 Will Newton <will.newton@linaro.org>
13055 * malloc/Makefile (tests): Add tst-mallopt.
13056 * malloc/tst-mallopt.c: New file.
13058 2014-05-09 Roland McGrath <roland@hack.frob.com>
13060 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13061 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13063 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13065 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13066 (tst-tlsmod6.so): Likewise.
13068 2014-05-09 Roland McGrath <roland@hack.frob.com>
13070 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13072 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13075 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13076 and <dl-procinfo.h>.
13077 (__fegetenv): Save SSE state in envp->__eip if supported.
13078 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13079 envp->__eip if supported.
13080 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13081 and <dl-procinfo.h>.
13082 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13083 __data_offset and __data_selector in environment to 0. Set SSE
13084 state if supported.
13085 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13087 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13089 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13091 2014-05-09 Will Newton <will.newton@linaro.org>
13093 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13094 and libc_relro_required for ARM.
13095 * sysdeps/arm/preconfigure: Regenerate.
13097 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13098 Stefan Liebler <stli@linux.vnet.ibm.com>
13100 * config.make.in (enable-lock-elision): New Makefile variable.
13101 * configure.ac: Likewise.
13102 * configure: Regenerate.
13103 * sysdeps/s390/configure.ac:
13104 Add check for gcc transactions support.
13105 * sysdeps/s390/configure: Regenerate.
13106 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13107 Build elision files if enabled.
13108 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13109 Add lock elision support for s390.
13110 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13111 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13112 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13113 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13114 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13115 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13116 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13118 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13120 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13122 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13124 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13125 (__lll_timedlock_elision, __lll_lock_elision)
13126 (__lll_unlock_elision, __lll_trylock_elision)
13127 (lll_timedlock_elision, lll_lock_elision)
13128 (lll_unlock_elision, lll_trylock_elision): Add.
13129 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13130 (pthread_mutex_t): Add lock elision support for s390.
13132 2014-05-14 Wilco <wdijkstr@arm.com>
13134 * sysdeps/arm/fclrexcpt.c: Cleanup.
13135 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13136 * sysdeps/arm/feenablxcpt.c: Cleanup.
13137 * sysdeps/arm/fegetenv.c: Cleanup.
13138 * sysdeps/arm/fegetexcept.c: Cleanup.
13139 * sysdeps/arm/fegetround.c: Cleanup.
13140 * sysdeps/arm/feholdexcpt.c: Cleanup.
13141 * sysdeps/arm/fesetenv.c: Cleanup.
13142 * sysdeps/arm/fesetround.c: Cleanup.
13143 * sysdeps/arm/feupdateenv.c: Cleanup.
13144 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13145 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13146 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13147 * sysdeps/arm/ftestexcept.c: Cleanup.
13148 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13149 * sysdeps/arm/setfpucw.c: Cleanup.
13151 2014-05-09 Will Newton <will.newton@linaro.org>
13153 * sysdeps/arm/armv7/strcmp.S: New file.
13154 * NEWS: Mention addition of ARMv7 optimized strcmp.
13156 2014-05-08 Roland McGrath <roland@hack.frob.com>
13158 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13159 look for %.ac rather than %.in.
13161 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13162 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13163 * sysdeps/mach/hurd/configure: Regenerated.
13164 * sysdeps/unix/sysv/linux/configure: Regenerated.
13166 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13168 2014-05-07 Steve Ellcey <sellcey@mips.com>
13171 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13175 2014-05-07 Andreas Schwab <schwab@suse.de>
13177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13178 when skipping over non-matching result from nscd.
13180 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13183 * nptl/sockperf.c (client): Check socket return value.
13186 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13187 nscd security class.
13189 2014-05-06 Roland McGrath <roland@hack.frob.com>
13191 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13192 * sysdeps/arm/unwind.h: ... here.
13194 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13197 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13200 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13202 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13203 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13204 multiarch strncpy for PPC64.
13205 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13206 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13208 multiarch optimizations.
13209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13210 (__libc_ifunc_impl_list): Likewise.
13211 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13212 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13213 multiarch stpncpy for PPC64.
13214 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13215 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13217 2014-05-06 Andreas Schwab <schwab@suse.de>
13220 * gmon/mcount.c (_MCOUNT_DECL): Use
13221 atomic_compare_and_exchange_bool_acq instead of
13222 catomic_compare_and_exchange_bool_acq.
13224 2014-05-05 Roland McGrath <roland@hack.frob.com>
13226 * elf/Makefile (others, install-bin): Remove pldd.
13227 (pldd-modules): Variable removed.
13228 ($(objpfx)pldd): Target removed.
13229 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13230 (others, install-bin): Append pldd here.
13231 ($(objpfx)pldd): New target.
13233 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13234 to 0, so the first #if test emitted later doesn't see it undefined.
13235 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13236 * sysdeps/gnu/errlist.c: Regenerated.
13238 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13240 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13241 [libc_hidden_builtin_def]: Define to empty value.
13242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13243 [libc_hidden_builtin_def]: Likewise.
13244 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13245 [libc_hidden_builtin_def]: Likewise.
13246 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13247 [libc_hidden_builtin_def]: Likewise.
13248 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13249 __redirect_memcpy and define ifunc as default hidden symbol.
13250 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13251 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13253 2014-05-04 Adam Conrad <adconrad@0c3.net>
13255 * locale/iso-4217.def: Reintroduce XDR currency.
13257 2014-05-04 Allan McRae <allan@archlinux.org>
13259 * po/eo.po: Update Esperanto translation from translation project.
13261 2014-05-02 Carlos O'Donell <carlos@redhat.com>
13263 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13264 and FEATURE_INDEX_MAX to 1.
13265 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13267 2014-05-01 Steve Ellcey <sellcey@mips.com>
13269 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13270 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13271 * iconvdata/big5.c (ONE_DIRECTION): Define.
13272 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13273 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13274 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13275 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13276 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13277 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13278 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13279 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13280 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13281 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13282 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13283 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13284 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13285 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13286 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13287 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13288 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13289 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13290 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13291 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13292 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13293 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13294 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13295 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13296 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13297 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13298 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13299 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13300 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13301 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13302 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13303 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13304 * iconvdata/johab.c (ONE_DIRECTION): Define.
13305 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13306 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13307 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13308 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13309 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13310 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13311 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13312 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13313 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13314 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13316 2014-05-01 Roland McGrath <roland@hack.frob.com>
13318 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13319 (_IO_JUMPS_OFFSET): Define to 0.
13321 * nptl/sysdeps/pthread/bits/libc-lock.h
13322 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13323 (__libc_lock_define_initialized_recursive): Always define using
13324 initializer. Modern compilers treat uninitialized (implicit zero) and
13325 explicit zero initializers the same (i.e. put the datum in bss).
13327 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13329 * nscd/nscd-client.h: Include <string.h>.
13331 2014-05-01 David S. Miller <davem@davemloft.net>
13334 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13335 multiple zero bytes exist at the end of a string.
13336 Reported by Aurelien Jarno <aurelien@aurel32.net>
13338 * string/test-strcmp.c (check): Add explicit test for situations where
13339 there are multiple zero bytes after the first.
13341 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13344 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13345 when compiling wprintf.
13346 * stdio-common/tstdiomisc.c (t3): New function.
13349 2014-05-01 Steve Ellcey <sellcey@mips.com>
13351 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13352 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13353 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13354 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13356 2014-05-01 Steve Ellcey <sellcey@mips.com>
13358 * stdlib/longlong.h: Updated from GCC.
13360 2014-05-01 Will Newton <will.newton@linaro.org>
13361 Bernard Ogden <bernie.ogden@linaro.org>
13363 * NEWS: Update fixed bug list.
13366 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13368 2014-04-30 David S. Miller <davem@davemloft.net>
13370 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13371 (libc_feholdexcept_setround_sparc_ctx): New function.
13372 (libc_fesetenv_sparc_ctx): Likewise.
13373 (libc_feupdateenv_sparc_ctx): Likewise.
13374 (libc_feholdsetround_sparc_ctx): Likewise.
13375 (libc_feholdexcept_setround_ctx): Define.
13376 (libc_feholdexcept_setroundf_ctx): Likewise.
13377 (libc_feholdexcept_setroundl_ctx): Likewise.
13378 (libc_fesetenv_ctx): Likewise.
13379 (libc_fesetenvf_ctx): Likewise.
13380 (libc_fesetenvl_ctx): Likewise.
13381 (libc_feupdateenv_ctx): Likewise.
13382 (libc_feupdateenvf_ctx): Likewise.
13383 (libc_feupdateenvl_ctx): Likewise.
13384 (libc_feresetround_ctx): Likewise.
13385 (libc_feresetroundf_ctx): Likewise.
13386 (libc_feresetroundl_ctx): Likewise.
13387 (libc_feholdsetround_ctx): Likewise.
13388 (libc_feholdsetroundf_ctx): Likewise.
13389 (libc_feholdsetroundl_ctx): Likewise.
13391 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13392 with __USE_GNU instead of XOPEN cpp guards.
13394 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13398 with XOPEN cpp guards.
13400 2014-04-30 Julian Brown <julian@codesourcery.com>
13403 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13406 2014-04-30 Joseph Myers <joseph@codesourcery.com>
13409 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13411 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13412 * sysdeps/unix/sysv/linux/configure: Regenerated.
13413 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13414 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13415 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13416 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13417 * README: Update reference to required Linux kernel version.
13418 * manual/install.texi (Linux): Update reference to required Linux
13419 kernel headers version.
13420 * INSTALL: Regenerated.
13422 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13424 [POSIX] (limits.h): Likewise.
13425 [POSIX] (math.h): Likewise.
13426 [POSIX] (sys/wait.h): Likewise.
13427 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13429 [POSIX] (stddef.h): Do not allow header inclusion.
13431 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13433 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13435 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13437 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13438 Return immediately after lll_futex_wake.
13440 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13443 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13445 (datahead_init_pos): Call datahead_init_common early.
13446 (datahead_init_neg): Likewise.
13448 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13449 datahead_init_neg): New functions.
13450 * nscd/aicache.c (addhstaiX): Use them.
13451 * nscd/grpcache.c (cache_addgr): Likewise.
13452 * nscd/hstcache.c (cache_addhst): Likewise.
13453 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13454 * nscd/netgroupcache.c (do_notfound): Likewise.
13455 (addgetnetgrentX): Likewise.
13456 (addinnetgrX): Likewise.
13457 * nscd/pwdcache.c (cache_addpw): Likewise.
13458 * nscd/servicescache.c (cache_addserv): Likewise.
13460 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13461 Atsushi Onoe <atsushi@onoe.org>
13466 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13467 one response is valid.
13468 * resolv/res_send.c (send_dg): Check for validity of other
13469 response if the current response is a referral.
13471 2014-04-29 Steve Ellcey <sellcey@mips.com>
13473 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13475 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13478 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13479 Always divide by positive zero when computing -Inf result.
13480 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13481 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13483 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13485 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13486 FPSCR if value do not change.
13487 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13488 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13489 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13490 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13491 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13492 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13495 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13497 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13498 * sysdeps/unix/sysv/linux/hppa: Move directory from
13499 ports/systeps/unix/sysv/linux/hppa.
13500 * README: Update listing for hppa-*-linux-gnu.
13502 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
13505 * manual/stdio.texi (Hook functions): Fix types of stream hook
13508 * socket/sys/socket.h: Fix typo in comment.
13510 2014-04-28 Wilco <wdijkstr@arm.com>
13512 * sysdeps/arm/fenv_private.h: New file.
13513 * sysdeps/arm/math_private.h: New file.
13514 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13516 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13518 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13520 (La_x86_64_retval): Likewise.
13522 2014-04-24 Ian Bolton <ian.bolton@arm.com>
13524 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13525 fpsr if value didn't change.
13526 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13527 to fpcr if value didn't change.
13528 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13529 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13530 fpsr or fpcr if value didn't change.
13531 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13532 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13533 fpcr if value didn't change.
13534 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13535 to fpsr if value didn't change.
13537 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13539 * nptl/tst-sem3.c: Use test-skeleton.c
13540 (main): Rename to do_test. Use return instead of
13542 * nptl/tst-sem4.c: Use test-skeleton.c
13543 (main): Rename to do_test.
13545 2014-04-22 David S. Miller <davem@davemloft.net>
13547 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13548 (struct sigaction): New struct member __glibc_reserved0, change
13549 type of sa_flags to int.
13551 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13553 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13554 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13556 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13558 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13559 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13561 2014-04-22 Will Newton <will.newton@linaro.org>
13562 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13564 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13565 (__longjmp): Add longjmp and longjmp_target SystemTap
13567 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13568 (__sigsetjmp): Add setjmp SystemTap probe.
13570 2014-04-17 Carlos O'Donell <carlos@redhat.com>
13572 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13573 match manual order.
13575 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13577 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13579 * sysdeps/powerpc/fpu/fenv_private.h
13580 (libc_feholdexcept_setroundl_ctx): Define to
13581 libc_feholdexcept_setround_ppc_ctx.
13582 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13583 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13584 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13585 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13587 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13589 * sysdeps/aarch64/math-tests.h: New file.
13591 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13593 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13596 Check and set bit_AVX2_Usable.
13597 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13599 (bit_AVX2): Likewise.
13600 (index_AVX2_Usable): Likewise.
13601 (CPUID_AVX2): Likewise.
13602 (HAS_AVX2): Likewise.
13604 2014-04-17 Will Newton <will.newton@linaro.org>
13606 * manual/setjmp.texi (System V contexts): Add note that
13607 calling setcontext on a context created by a call to a
13608 signal handler is undefined. Update text to note that
13609 setcontext from a signal handler is possible but not
13613 * stdlib/tst-setcontext.c: Include signal.h.
13614 (main): Check that the signal stack before and
13615 after swapcontext is the same.
13617 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13618 Re-implement to restore registers in user code and avoid
13619 rt_sigreturn system call.
13621 2014-04-17 Wilco <wdijkstr@arm.com>
13623 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13624 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13625 * math/test-fenv.c: Skip exception trap tests on targets which only
13626 support non-stop mode.
13628 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13629 Wilco Dijkstra <wilco.dijkstra@arm.com>
13631 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13632 (libc_feholdsetround_aarch64_ctx)
13633 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13634 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13635 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13636 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13637 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13638 (libc_feresetround_noexl_ctx): Define.
13640 2014-04-16 Richard Henderson <rth@redhat.com>
13642 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13644 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13647 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13648 const from the non-libc, non-ldso copy.
13650 * sysdeps/alpha/libm-test-ulps: Regenerate.
13652 2014-04-16 Ian Bolton <ian.bolton@arm.com>
13653 Wilco Dijkstra <wilco.dijkstra@arm.com>
13655 * sysdeps/aarch64/fpu/math_private.h: New file.
13657 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13659 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13661 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13664 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13665 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13667 Intel MPX bound registers before _dl_profile_fixup.
13668 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13669 registers after _dl_profile_fixup. Save and restore bound
13670 registers bnd0/bnd1 when calling _dl_call_pltexit.
13671 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13672 (LR_BND_OFFSET): Likewise.
13673 (LRV_BND0_OFFSET): Likewise.
13674 (LRV_BND1_OFFSET): Likewise.
13676 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13678 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13680 * sysdeps/mach/hurd/i386/tls.h: ... here.
13681 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13682 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13685 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13687 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13689 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13691 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13693 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13696 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13697 * sysdeps/s390/configure: Regenerate.
13700 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13701 Set round-to-nearest internally to reduce error accumulation.
13703 2014-04-16 Alan Modra <amodra@gmail.com>
13707 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13708 * math/libm-test.inc (frexp_test_data): Add tests.
13709 * NEWS: Update fixed bug list.
13711 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13713 * benchtests/Makefile: Depend on libraries in build directory.
13714 (bench-math): Separate out math tests.
13715 (bench-pthread): Separate out pthread tests.
13716 (bench): Include math and pthread tests.
13718 2014-04-14 Carlos O'Donell <carlos@redhat.com>
13721 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13722 _dl_debug_initialize.
13724 * configure.ac: Remove SELinux header check.
13725 * configure: Regenerate.
13726 * nscd/selinux.c (perms): Array of const char* to permission names.
13727 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13728 default policy. Call string_to_security_class and string_to_av_perm to
13729 translate strings. Enforce default policy and call avs_has_perm with
13730 results of translated strings.
13732 2014-04-13 David S. Miller <davem@davemloft.net>
13734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13736 2014-04-12 Allan McRae <allan@archlinux.org>
13739 * manual/string.texi (Collation Functions): Fix qsort argument
13741 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13743 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13745 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13746 Make the test a no-op if there are no exceptions defined.
13748 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13750 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13751 enable-hardcoded-path-in-tests
13753 2014-04-11 Will Newton <will.newton@linaro.org>
13755 * benchtests/Makefile (extra-objs): Add json-lib.o.
13756 (bench-func): Tidy up JSON output.
13757 * benchtests/bench-skeleton.c: Include json-lib.h.
13758 (main): Use JSON library functions to do output of
13760 * benchtests/bench-timing-type.c (main): Output the
13761 timing type simply, leaving formatting to the user.
13762 * benchtests/json-lib.c: New file.
13763 * benchtests/json-lib.h: Likewise.
13765 2014-04-11 Torvald Riegel <triegel@redhat.com>
13768 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13769 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13770 memory barriers. Add comments.
13771 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13772 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13773 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13774 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13775 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13776 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13778 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13780 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13781 * sysdeps/s390/s390-64/configure.ac: ... this ...
13782 * sysdeps/s390/configure.ac: ... to here.
13783 * sysdeps/s390/s390-32/configure: Delete file.
13784 * sysdeps/s390/s390-64/configure: Delete file.
13785 * sysdeps/s390/configure: Regenerate.
13787 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13789 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13791 2014-04-11 Will Newton <will.newton@linaro.org>
13793 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13794 to zero if it is not defined elsewhere. (mtrim): Test
13795 the value of MALLOC_DEBUG with #if rather than #ifdef.
13797 2014-04-10 Torvald Riegel <triegel@redhat.com>
13799 * benchtests/pthread_once-inputs: New file.
13800 * benchtests/pthread_once-source.c: New file.
13801 * benchtests/README: Update documentation.
13803 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13804 H.J. Lu <hongjiu.lu@intel.com>
13807 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13808 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13809 * sysdeps/x86_64/configure: Regenerated.
13810 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13812 (REGISTER_SAVE_RAX): Likewise.
13813 (REGISTER_SAVE_RCX): Likewise.
13814 (REGISTER_SAVE_RDX): Likewise.
13815 (REGISTER_SAVE_RSI): Likewise.
13816 (REGISTER_SAVE_RDI): Likewise.
13817 (REGISTER_SAVE_R8): Likewise.
13818 (REGISTER_SAVE_R9): Likewise.
13819 (REGISTER_SAVE_BND0): Likewise.
13820 (REGISTER_SAVE_BND1): Likewise.
13821 (REGISTER_SAVE_BND2): Likewise.
13822 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13823 bound registers when calling _dl_fixup.
13825 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13827 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13828 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13830 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13831 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13832 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13833 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13834 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13835 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13836 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13838 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13841 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13842 pathconf(_PC_NAME_MAX).
13844 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13846 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13847 Remove macro usage.
13848 (__PTHREAD_SPINS): Move definition to ...
13849 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13850 (__PTHREAD_SPINS): ... here.
13851 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13852 (__PTHREAD_SPIN): Likewise.
13853 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13854 (__PTHREAD_SPIN): Likewise.
13855 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13856 (__PTHREAD_SPIN): Likewise.
13857 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13858 (__PTHREAD_SPIN): Likewise.
13859 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13860 (__PTHREAD_SPIN): Likewise.
13861 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13862 (__PTHREAD_SPIN): Likewise.
13863 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13864 (__PTHREAD_SPIN): Likewise.
13865 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13866 (__PTHREAD_SPIN): Likewise.
13867 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13868 (__PTHREAD_SPIN): Likewise.
13869 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13870 (__PTHREAD_SPIN): Likewise.
13871 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13872 (__PTHREAD_SPIN): Likewise.
13873 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13874 (__PTHREAD_SPIN): Likewise.
13876 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13877 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13878 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13879 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13881 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13882 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13883 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13884 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13885 correct imply path.
13886 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13887 strlen symbol for non multi-arch builds.
13888 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13889 missing hidden_def and weak_alias.
13891 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13893 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13895 2014-04-07 Will Newton <will.newton@linaro.org>
13897 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13898 and contents. [!_LIBC] Remove #ifndef and contents.
13899 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13900 * string/memccpy.c (__memccpy): Use ANSI prototype.
13901 * string/memfrob.c (memfrob): Likewise.
13902 * string/strcoll.c (STRCOLL): Likewise.
13903 * string/strlen.c (strlen): Likewise.
13904 * string/strtok.c (STRTOK): Likewise.
13905 * string/strcat.c: Remove unused #include of memcopy.h.
13906 (strcat): Use ANSI prototype.
13907 * string/strchr.c: Remove unused #include of memcopy.h.
13908 (strchr): Use ANSI prototype.
13909 * string/strcmp.c: Remove unused #include of memcopy.h.
13910 (strcmp): Use ANSI prototype.
13911 * string/strcpy.c: Remove unused #include of memcopy.h.
13912 (strcpy): Use ANSI prototype.
13914 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13916 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13917 * config.make.in (config-extra-cppflags): Set it from
13918 libc_extra_cppflags.
13919 * configure.ac (libc_extra_cflags): Make it accumulate over
13920 configure fragments.
13921 (libc_extra_cppflags): New flag.
13922 * configure. Regenerate.
13923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13924 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13925 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13929 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13930 result for FE_DOWNWARD rounding mode.
13931 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13935 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13937 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13938 in function argument name.
13940 2014-04-03 David Svoboda <svoboda@cert.org>
13943 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13946 2014-04-03 Roland McGrath <roland@hack.frob.com>
13948 * elf/dl-unmap-segments.h: New file.
13949 * sysdeps/generic/ldsodefs.h
13950 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13951 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13952 * elf/dl-fptr.c: Likewise.
13953 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13954 * sysdeps/aarch64/tlsdesc.c: Likewise.
13955 * sysdeps/arm/tlsdesc.c: Likewise.
13956 * sysdeps/i386/tlsdesc.c: Likewise.
13957 * sysdeps/tile/dl-runtime.c: Likewise.
13958 * sysdeps/x86_64/tlsdesc.c: Likewise.
13959 * elf/dl-load.h: New file.
13960 * elf/dl-load.c: Include it.
13961 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13962 Macros moved to dl-load.h.
13963 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13964 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13965 Use _dl_unmap_segments in place of __munmap.
13966 Break out segment-mapping loop into ...
13967 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13969 2014-04-03 Will Newton <will.newton@linaro.org>
13971 * elf/dl-lookup.c (do_lookup_x): Remove comment
13972 referring to nested function and move variable
13973 declarations down to before first use.
13975 2014-04-02 Joseph Myers <joseph@codesourcery.com>
13979 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13981 * math/s_catanf.c (__catanf): Likewise.
13982 * math/s_catanh.c (__catanh): Likewise.
13983 * math/s_catanhf.c (__catanhf): Likewise.
13984 * math/s_catanhl.c (__catanhl): Likewise.
13985 * math/s_catanl.c (__catanl): Likewise.
13986 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13987 by positive zero when computing -Inf result.
13988 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13989 (catanh_test): Likewise.
13990 * sysdeps/i386/fpu/libm-test-ulps: Update.
13991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13994 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13995 instead of using underflowing value in computing result.
13996 * math/s_clog10.c (__clog10): Likewise.
13997 * math/s_clog10f.c (__clog10f): Likewise.
13998 * math/s_clog10l.c (__clog10l): Likewise.
13999 * math/s_clogf.c (__clogf): Likewise.
14000 * math/s_clogl.c (__clogl): Likewise.
14001 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14002 (clog10_test): Likewise.
14003 * sysdeps/i386/fpu/libm-test-ulps: Update.
14004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14006 2014-04-02 Alan Modra <amodra@gmail.com>
14009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14010 output when value is near a power of two. Use int64_t for lx and
14011 remove casts. Use decimal rather than hex exponent constants.
14012 Don't use long double multiplication when double will suffice.
14013 * math/libm-test.inc (nextafter_test_data): Add tests.
14014 * NEWS: Add 16739 and 16786 to bug list.
14016 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14018 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14020 2014-04-01 Will Newton <will.newton@linaro.org>
14022 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14023 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14025 2014-04-01 Florian Weimer <fweimer@redhat.com>
14028 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14029 * nptl/tst-setuid2.c: New file.
14030 * nptl/Makefile (xtests): Add tst-setuid2.
14032 2014-04-01 Alan Modra <amodra@gmail.com>
14035 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14037 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14041 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14042 set errno as appropriate.
14043 * math/w_scalbf.c (__scalbf): Likewise.
14044 * math/w_scalbl.c (__scalbl): Likewise.
14045 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14046 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14047 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14048 Add more NaN tests.
14051 * math/w_atan2.c: Include <errno.h>.
14052 (__atan2): Set errno for result underflowing to zero.
14053 * math/w_atan2f.c: Include <errno.h>.
14054 (__atan2f): Set errno for result underflowing to zero.
14055 * math/w_atan2l.c: Include <errno.h>.
14056 (__atan2l): Set errno for result underflowing to zero.
14057 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14059 * math/auto-libm-test-out: Regenerated.
14061 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14063 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14064 Encode instruction correctly in little endian.
14065 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14067 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14069 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14071 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14074 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14077 * sysdeps/unix/sysv/linux/kernel-features.h
14078 [__sparc__ && !__arch64__ && !__sparc_v9__]
14079 (__ASSUME_SET_ROBUST_LIST): Do not define.
14080 [__sparc__ && !__arch64__ && !__sparc_v9__]
14081 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14082 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14084 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14085 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14086 (__ASSUME_REQUEUE_PI): Likewise.
14087 (__ASSUME_SET_ROBUST_LIST): Likewise.
14088 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14089 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14091 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14092 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14094 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14096 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14098 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14099 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14101 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14102 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14106 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14107 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14108 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14110 2014-03-31 Will Newton <will.newton@linaro.org>
14112 * benchtests/Makefile (bench): Add ffs and ffsll to list
14114 * benchtests/ffs-inputs: New file.
14115 * benchtests/ffsll-inputs: Likewise.
14117 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14120 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14121 too large before casting to int.
14122 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14123 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14124 * math/libm-test.inc (scalb_test_data): Add more tests.
14126 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14128 * benchtests/Makefile (DETAILED_OPT): New make option.
14129 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14131 * benchtests/bench-skeleton.c: Include stdbool.h.
14132 (main): Store and print timings per input.
14133 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14134 member to each argument value.
14135 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14136 (_print_arg_data): Initialize per-input timing to 0.
14138 * benchtests/Makefile (timing-type): New binary.
14139 (bench-clean): Also remove bench-timing-type.
14140 (bench): New target for timing-type.
14141 (bench-func): Print output in JSON format.
14142 * benchtests/bench-skeleton.c (main): Print output in JSON
14144 * benchtests/bench-timing-type.c: New file.
14145 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14146 (TIMING_PRINT_STATS): Remove.
14147 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14150 * benchtests/bench-modf.c: Remove.
14151 * benchtests/modf-inputs: New inputs file.
14153 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14156 * math/s_clog10.c (M_PI_LOG10E): New macro.
14157 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14158 imaginary parts are 0.
14159 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14160 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14161 imaginary parts are 0.
14162 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14163 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14164 imaginary parts are 0.
14165 * math/libm-test.inc (clog10_test_data): Update expected results
14166 for when real and imaginary parts are 0.
14168 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14170 * elf/dl-load.c: Finish conversion of __builtin_expect into
14171 __glibc_{un}likely.
14173 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14176 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14177 1+x for argument with exponent below -67.
14178 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14180 * math/auto-libm-test-in: Add more tests of exp.
14181 * math/auto-libm-test-out: Regenerated.
14183 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14186 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14187 (nscd_getnetgrent): Use it.
14190 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14193 2014-03-27 Andi Kleen <ak@linux.intel.com>
14195 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14196 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14197 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14198 (lll_robust_unlock): Remove out of line section. Use cfi
14200 (LLL_STUB_UNWIND_INFO*): Remove.
14201 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14202 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14203 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14204 (lll_robust_unlock): Remove out of line section. Use cfi
14206 (LLL_STUB_UNWIND_INFO*): Remove.
14208 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14211 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14214 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14216 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14218 2014-03-26 Joseph Myers <joseph@codesourcery.com>
14221 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14223 * math/test-fenv-preserve.c: New file.
14224 * math/Makefile (tests): Add test-fenv-preserve.
14226 2014-03-26 Will Newton <will.newton@linaro.org>
14228 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14230 2014-03-25 Roland McGrath <roland@hack.frob.com>
14232 * scripts/versionlist.awk: Partition the version sets and emit all
14233 GLIBC_* (sorted) before all others (sorted).
14235 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14237 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14238 GLIBC_2.2.5 version.
14240 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14242 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14245 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14250 2014-03-25 Andreas Schwab <schwab@suse.de>
14252 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14253 label to be used after in6ailist is initialized.
14255 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14257 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14258 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14260 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14264 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14266 (fp_formats): Update initializers.
14267 (init_fp_formats): Initialize new field.
14268 (output_for_one_input_case): Allow underflow for results up to
14270 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14271 * math/auto-libm-test-in: Don't mark some underflows from asin and
14273 * math/auto-libm-test-out: Regenerated.
14274 * sysdeps/i386/fpu/libm-test-ulps: Update.
14275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14277 2014-03-25 Andreas Schwab <schwab@suse.de>
14279 * libio/Makefile (tst-ftell-partial-wide-ENV)
14280 (tst-ftell-active-handler-ENV): Define.
14282 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14284 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14286 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14288 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14290 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14292 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14293 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14294 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14296 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14299 * elf/dl-load.c (open_verify): Add mode parameter.
14300 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14301 (open_path): Change from boolean 'secure' to complete flag 'mode'
14302 (_dl_map_object): Adjust.
14303 * elf/Makefile (tests): Add tst-dlopen-aout.
14304 * elf/tst-dlopen-aout.c: New test.
14306 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14309 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14310 (struct stat): Rename member pad0 to __glibc_reserved0.
14313 * sysdeps/s390/s390-32/bits/wordsize.h
14314 (__WORDSIZE32_SIZE_ULONG): New define.
14315 * sysdeps/s390/s390-64/bits/wordsize.h
14316 (__WORDSIZE32_SIZE_ULONG): Likewise.
14317 * sysdeps/generic/stdint.h (SIZE_MAX):
14318 Define as UL if __WORDSIZE32_SIZE_ULONG.
14321 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14322 (__glibc_reserved0): New variable.
14323 (sa_flags): Change type to int.
14325 * posix/Makefile (before-compile): Use += before-compile instead
14328 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14329 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14331 2014-03-20 Andreas Schwab <schwab@suse.de>
14334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14335 non-matching result from nscd.
14337 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14339 * scripts/bench.py: Moved to ...
14340 * benchtests/scripts/bench.py: ... here.
14341 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14343 2014-03-24 Andreas Schwab <schwab@suse.de>
14346 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14347 alloca_account and account alloca use for struct in6ailist.
14349 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14352 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14353 rounding mode to recompute results that overflow to infinity or
14355 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14357 * math/auto-libm-test-out: Regenerated.
14358 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14359 (ccosh_test): Likewise.
14360 (csin_test_data): Use plus_oflow.
14361 (csin_test): Use ALL_RM_TEST.
14362 (csinh_test_data): Use plus_oflow.
14363 (csinh_test): Use ALL_RM_TEST.
14364 * sysdeps/i386/fpu/libm-test-ulps: Update.
14365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14367 2014-03-21 Joseph Myers <joseph@codesourcery.com>
14369 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14370 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14371 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14374 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14375 when x - 1 is zero.
14376 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14377 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14378 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14379 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14381 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14382 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14384 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14385 * sysdeps/i386/fpu/libm-test-ulps: Update.
14386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14388 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14390 * scripts/bench.pl: Remove file.
14391 * scripts/bench.py: New benchmark script.
14392 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14393 * benchtests/README: Mention python dependency.
14394 * scripts/pylintrc: New file.
14395 * scripts/pylint: New file.
14397 * bits/mathdef.h: Use #ifdef instead of #if.
14398 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14399 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14400 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14401 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14402 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14403 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14405 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14406 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14408 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14410 and strpbrk-ppc64 objects.
14411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14412 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14413 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14414 multiarch strpbrk for POWER7.
14415 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14416 multiarch strpbrk for PPC64.
14417 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14419 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14420 strpbrk for POWER7.
14422 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14424 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14425 (atan_test): Likewise.
14426 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14427 (atanh_test): Use ALL_RM_TEST.
14428 (atan2_test_data): Likewise.
14429 (cabs_test): Likewise.
14430 (cacosh_test): Likewise.
14431 (carg_test): Likewise.
14432 (casin_test): Likewise.
14433 (casinh_test): Likewise.
14434 (cbrt_test): Likewise.
14435 (csqrt_test): Likewise.
14436 (erf_test): Likewise.
14437 (erfc_test): Likewise.
14438 (pow10_test): Likewise.
14439 (exp2_test): Likewise.
14440 (hypot_test): Likewise.
14441 (j0_test): Likewise.
14442 (j1_test): Likewise.
14443 (lgamma_test): Likewise.
14444 (gamma_test): Likewise.
14445 (sincos_test): Likewise.
14446 (tanh_test): Likewise.
14447 (y0_test): Likewise.
14448 (y1_test): Likewise.
14449 * sysdeps/i386/fpu/libm-test-ulps: Update.
14450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14452 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14454 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14456 and strcspn-ppc64 objects.
14457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14458 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14459 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14460 multiarch strcspn for POWER7.
14461 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14462 multiarch strcspn for PPC64.
14463 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14465 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14466 strcspn for POWER7.
14468 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14470 * math/gen-libm-test.pl (generate_testfile): Expect only function
14471 name as argument to AUTO_TESTS_* and pass results for all rounding
14472 modes to parse_args.
14473 (parse_auto_input): Separate inputs of automatic tests from
14474 outputs before storing in %auto_tests.
14475 * math/libm-test.inc (acos_test_data): Update call to
14477 (acos_test): Use ALL_RM_TEST.
14478 (acos_tonearest_test_data): Remove.
14479 (acos_test_tonearest): Likewise.
14480 (acos_towardzero_test_data): Likewise.
14481 (acos_test_towardzero): Likewise.
14482 (acos_downward_test_data): Likewise.
14483 (acos_test_downward): Likewise.
14484 (acos_upward_test_data): Likewise.
14485 (acos_test_upward): Likewise.
14486 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14487 (asin_test_data): Likewise.
14488 (asin_test): Use ALL_RM_TEST.
14489 (asin_tonearest_test_data): Remove.
14490 (asin_test_tonearest): Likewise.
14491 (asin_towardzero_test_data): Likewise.
14492 (asin_test_towardzero): Likewise.
14493 (asin_downward_test_data): Likewise.
14494 (asin_test_downward): Likewise.
14495 (asin_upward_test_data): Likewise.
14496 (asin_test_upward): Likewise.
14497 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14498 (atan_test_data): Likewise.
14499 (atanh_test_data): Likewise.
14500 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14501 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14502 (carg_test_data): Likewise.
14503 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14504 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14505 (ccosh_test_data): Likewise.
14506 (cexp_test_data): Likewise.
14507 (clog_test_data): Likewise.
14508 (clog10_test_data): Likewise.
14509 (cos_test_data): Update call to AUTO_TESTS_f_f.
14510 (cos_test): Use ALL_RM_TEST.
14511 (cos_tonearest_test_data): Remove.
14512 (cos_test_tonearest): Likewise.
14513 (cos_towardzero_test_data): Likewise.
14514 (cos_test_towardzero): Likewise.
14515 (cos_downward_test_data): Likewise.
14516 (cos_test_downward): Likewise.
14517 (cos_upward_test_data): Likewise.
14518 (cos_test_upward): Likewise.
14519 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14520 (cosh_test): Use ALL_RM_TEST.
14521 (cosh_tonearest_test_data): Remove.
14522 (cosh_test_tonearest): Likewise.
14523 (cosh_towardzero_test_data): Likewise.
14524 (cosh_test_towardzero): Likewise.
14525 (cosh_downward_test_data): Likewise.
14526 (cosh_test_downward): Likewise.
14527 (cosh_upward_test_data): Likewise.
14528 (cosh_test_upward): Likewise.
14529 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14530 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14531 (ctan_test_data): Likewise.
14532 (ctan_test): Use ALL_RM_TEST.
14533 (ctan_tonearest_test_data): Remove.
14534 (ctan_test_tonearest): Likewise.
14535 (ctan_towardzero_test_data): Likewise.
14536 (ctan_test_towardzero): Likewise.
14537 (ctan_downward_test_data): Likewise.
14538 (ctan_test_downward): Likewise.
14539 (ctan_upward_test_data): Likewise.
14540 (ctan_test_upward): Likewise.
14541 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14542 (ctanh_test): Use ALL_RM_TEST.
14543 (ctanh_tonearest_test_data): Remove.
14544 (ctanh_test_tonearest): Likewise.
14545 (ctanh_towardzero_test_data): Likewise.
14546 (ctanh_test_towardzero): Likewise.
14547 (ctanh_downward_test_data): Likewise.
14548 (ctanh_test_downward): Likewise.
14549 (ctanh_upward_test_data): Likewise.
14550 (ctanh_test_upward): Likewise.
14551 (erf_test_data): Update call to AUTO_TESTS_f_f.
14552 (erfc_test_data): Likewise.
14553 (exp_test_data): Likewise.
14554 (exp_test): Use ALL_RM_TEST.
14555 (exp_tonearest_test_data): Remove.
14556 (exp_test_tonearest): Likewise.
14557 (exp_towardzero_test_data): Likewise.
14558 (exp_test_towardzero): Likewise.
14559 (exp_downward_test_data): Likewise.
14560 (exp_test_downward): Likewise.
14561 (exp_upward_test_data): Likewise.
14562 (exp_test_upward): Likewise.
14563 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14564 (exp10_test): Use ALL_RM_TEST.
14565 (exp10_tonearest_test_data): Remove.
14566 (exp10_test_tonearest): Likewise.
14567 (exp10_towardzero_test_data): Likewise.
14568 (exp10_test_towardzero): Likewise.
14569 (exp10_downward_test_data): Likewise.
14570 (exp10_test_downward): Likewise.
14571 (exp10_upward_test_data): Likewise.
14572 (exp10_test_upward): Likewise.
14573 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14574 (expm1_test_data): Likewise.
14575 (expm1_test): Use ALL_RM_TEST.
14576 (expm1_tonearest_test_data): Remove.
14577 (expm1_test_tonearest): Likewise.
14578 (expm1_towardzero_test_data): Likewise.
14579 (expm1_test_towardzero): Likewise.
14580 (expm1_downward_test_data): Likewise.
14581 (expm1_test_downward): Likewise.
14582 (expm1_upward_test_data): Likewise.
14583 (expm1_test_upward): Likewise.
14584 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14585 (fma_test): Use ALL_RM_TEST.
14586 (fma_towardzero_test_data): Remove.
14587 (fma_test_towardzero): Likewise.
14588 (fma_downward_test_data): Likewise.
14589 (fma_test_downward): Likewise.
14590 (fma_upward_test_data): Likewise.
14591 (fma_test_upward): Likewise.
14592 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14593 (j0_test_data): Update call to AUTO_TESTS_f_f.
14594 (j1_test_data): Likewise.
14595 (jn_test_data): Update call to AUTO_TESTS_if_f.
14596 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14597 (log_test_data): Update call to AUTO_TESTS_f_f.
14598 (log10_test_data): Likewise.
14599 (log1p_test_data): Likewise.
14600 (log2_test_data): Likewise.
14601 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14602 (pow_tonearest_test_data): Likewise.
14603 (sin_test_data): Update call to AUTO_TESTS_f_f.
14604 (sin_test): Use ALL_RM_TEST.
14605 (sin_tonearest_test_data): Remove.
14606 (sin_test_tonearest): Likewise.
14607 (sin_towardzero_test_data): Likewise.
14608 (sin_test_towardzero): Likewise.
14609 (sin_downward_test_data): Likewise.
14610 (sin_test_downward): Likewise.
14611 (sin_upward_test_data): Likewise.
14612 (sin_test_upward): Likewise.
14613 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14614 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14615 (sinh_test): Use ALL_RM_TEST.
14616 (sinh_tonearest_test_data): Remove.
14617 (sinh_test_tonearest): Likewise.
14618 (sinh_towardzero_test_data): Likewise.
14619 (sinh_test_towardzero): Likewise.
14620 (sinh_downward_test_data): Likewise.
14621 (sinh_test_downward): Likewise.
14622 (sinh_upward_test_data): Likewise.
14623 (sinh_test_upward): Likewise.
14624 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14625 (sqrt_test): Use ALL_RM_TEST.
14626 (sqrt_tonearest_test_data): Remove.
14627 (sqrt_test_tonearest): Likewise.
14628 (sqrt_towardzero_test_data): Likewise.
14629 (sqrt_test_towardzero): Likewise.
14630 (sqrt_downward_test_data): Likewise.
14631 (sqrt_test_downward): Likewise.
14632 (sqrt_upward_test_data): Likewise.
14633 (sqrt_test_upward): Likewise.
14634 (tan_test_data): Update call to AUTO_TESTS_f_f.
14635 (tan_test): Use ALL_RM_TEST.
14636 (tan_tonearest_test_data): Remove.
14637 (tan_test_tonearest): Likewise.
14638 (tan_towardzero_test_data): Likewise.
14639 (tan_test_towardzero): Likewise.
14640 (tan_downward_test_data): Likewise.
14641 (tan_test_downward): Likewise.
14642 (tan_upward_test_data): Likewise.
14643 (tan_test_upward): Likewise.
14644 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14645 (tgamma_test_data): Likewise.
14646 (y0_test_data): Likewise.
14647 (y1_test_data): Likewise.
14648 (yn_test_data): Update call to AUTO_TESTS_if_f.
14649 (main): Do not call removed functions.
14651 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14653 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14654 (ldexp_test_data): Remove.
14655 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14657 (scalb_test): Use ALL_RM_TEST.
14659 2014-03-19 Andreas Schwab <schwab@suse.de>
14661 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14663 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14666 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14667 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14668 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14670 (__ASSUME_PREADV): Undefine.
14671 (__ASSUME_PWRITEV): Likewise.
14673 2014-03-18 Roland McGrath <roland@hack.frob.com>
14675 * bits/mman-linux.h: Add comment about non-Linux use.
14676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14677 bits/mman-linux.h resting place.
14679 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14680 * bits/mman-linux.h: ... here.
14682 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14684 * conform/conformtest.pl: Add standard definition when calling C
14685 preprocessor on data files.
14686 (checknamespace): Remove unused variable.
14688 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14690 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14691 minus_oflow, plus_uflow and minus_uflow in expected results.
14692 * math/libm-test.inc (scalbn_test_data): Add more tests of
14693 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14695 (scalbn_test): Use ALL_RM_TEST.
14696 (scalbln_test_data): Add more tests of negative arguments. Use
14697 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14698 (scalbln_test): Use ALL_RM_TEST.
14700 2014-03-18 Roland McGrath <roland@hack.frob.com>
14702 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14704 2014-03-18 Will Newton <will.newton@linaro.org>
14706 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14707 inaccurate comment.
14709 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14711 * Makerules [!subdir] (check-abi): Exit with error status if a
14714 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14716 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14717 for rint. Include results for all rounding modes.
14718 (nearbyint_test): Use ALL_RM_TEST.
14719 (rint_test_data): Include all tests used for nearbyint.
14721 2014-03-17 Will Newton <will.newton@linaro.org>
14723 * nptl/sysdeps/pthread/pthread.h: Revert previous
14726 * sysdeps/generic/ldsodefs.h: Revert previous
14729 * libio/genops.c: Revert previous change.
14730 * libio/libioP.h: Likewise.
14731 * stdio-common/vfprintf.c: Likewise.
14733 * sysdeps/generic/math_private.h: Revert previous
14736 * sysdeps/generic/math_private.h: Check whether
14737 HAVE_RM_CTX is defined with #ifdef rather
14740 * argp/argp-fmtstream.h: Check whether
14741 __STRICT_ANSI__ is defined with #ifdef rather
14743 * argp/argp.h: Likewise.
14745 * libio/genops.c: Check whether
14746 _IO_JUMPS_OFFSET is defined with #ifdef rather
14748 * libio/libioP.h: Likewise.
14749 * stdio-common/vfprintf.c: Likewise.
14751 * sysdeps/generic/ldsodefs.h: Check whether
14752 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14755 * nptl/sysdeps/pthread/pthread.h: Check
14756 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14759 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14761 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14763 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14767 * libio/fileops.c (_IO_file_open): Seek to end of file but
14768 don't cache the offset.
14769 (get_file_offset): Remove function.
14770 (do_ftell): Use cached offset when available.
14771 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14772 don't cache the offset.
14773 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14775 (do_one_test): Call it.
14776 (do_ftell_test): Fix up expected old offset for a+ mode.
14777 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14780 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14781 up test status with function return status.
14782 (do_write_test): Likewise.
14783 (do_append_test): Likewise.
14785 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14786 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14789 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14791 * math/gen-libm-test.pl (parse_args): Handle results specified for
14792 each rounding mode separately.
14793 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14794 tests and results from lrint_tonearest_test_data,
14795 lrint_towardzero_test_data, lrint_downward_test_data and
14796 lrint_upward_test_data.
14797 (lrint_test): Use ALL_RM_TEST.
14798 (lrint_tonearest_test_data): Remove.
14799 (lrint_test_tonearest): Likewise.
14800 (lrint_towardzero_test_data): Likewise.
14801 (lrint_test_towardzero): Likewise.
14802 (lrint_downward_test_data): Likewise.
14803 (lrint_test_downward): Likewise.
14804 (lrint_upward_test_data): Likewise.
14805 (lrint_test_upward): Likewise.
14806 (llrint_test_data): Merge in per-rounding-mode tests and results
14807 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14808 llrint_downward_test_data and llrint_upward_test_data.
14809 (llrint_test): Use ALL_RM_TEST.
14810 (llrint_tonearest_test_data): Remove.
14811 (llrint_test_tonearest): Likewise.
14812 (llrint_towardzero_test_data): Likewise.
14813 (llrint_test_towardzero): Likewise.
14814 (llrint_downward_test_data): Likewise.
14815 (llrint_test_downward): Likewise.
14816 (llrint_upward_test_data): Likewise.
14817 (llrint_test_upward): Likewise.
14818 (rint_test_data): Merge in per-rounding-mode tests and results
14819 from rint_tonearest_test_data, rint_towardzero_test_data,
14820 rint_downward_test_data and rint_upward_test_data. Add
14821 per-rounding-mode results for tests not in those arrays.
14822 (rint_test): Use ALL_RM_TEST.
14823 (rint_tonearest_test_data): Remove.
14824 (rint_test_tonearest): Likewise.
14825 (rint_towardzero_test_data): Likewise.
14826 (rint_test_towardzero): Likewise.
14827 (rint_downward_test_data): Likewise.
14828 (rint_test_downward): Likewise.
14829 (rint_upward_test_data): Likewise.
14830 (rint_test_upward): Likewise.
14831 (main): Don't call removed functions.
14833 2014-03-14 Roland McGrath <roland@hack.frob.com>
14835 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14836 "Compiled on ..." crapola. It is anti-useful.
14838 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14840 * scripts/evaluate-test.sh: Handle fourth argument to determine
14841 whether test run should stop on failure.
14842 * Makeconfig (stop-on-test-failure): New variable.
14843 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14844 $(stop-on-test-failure).
14845 * Makefile (tests): Give a summary of results from testing and
14846 exit with failure status if they include an ERROR or FAIL.
14847 (xtests): Likewise.
14848 * manual/install.texi (Configuring and compiling): Mention
14849 stop-on-test-failure=y.
14850 * INSTALL: Regenerated.
14852 2014-03-14 Roland McGrath <roland@hack.frob.com>
14854 * scripts/versionlist.awk: New file.
14855 * Makerules [$(build-shared) = yes]
14856 (postclean-generated): Add Versions.def, not Versions.def.v and
14858 ($(common-objpfx)Versions.def.v.i): Target removed.
14859 ($(common-objpfx)Versions.def): New target.
14860 ($(common-objpfx)Versions.all): Depend on that rather that
14861 $(common-objpfx)Versions.def.v.
14862 * Versions.def: File removed.
14864 * Makeconfig (+gccwarn): Add -Wundef.
14865 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14866 a dl-sysdep.h breaking its contract.
14867 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14868 * include/stackinfo.h: New file.
14869 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14870 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14871 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14872 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14873 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14874 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14875 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14876 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14877 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14878 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14879 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14880 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14881 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14882 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14883 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14885 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14888 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14890 * math/libm-test.inc (round_test_data): Add more tests.
14893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14895 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14898 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14900 * math/libm-test.inc (ceil_test_data): Add more tests.
14902 * math/libm-test.inc (trunc_test_data): Add more tests related to
14905 2014-03-14 Roland McGrath <roland@hack.frob.com>
14907 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14908 with #if rather than #ifdef.
14909 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14911 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14913 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14914 first. Disable AVX-512 GCC support if assembler doesn't support
14916 * sysdeps/x86_64/configure: Regenerated.
14918 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14920 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14921 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14922 (__old_pthread_attr_setstack): Likewise.
14923 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14924 [!_STACK_GROWS_DOWN]: Likewise.
14926 2014-03-13 Mike Frysinger <vapier@gentoo.org>
14928 * config.make.in (have-bash2): Delete.
14929 * configure.ac (libc_cv_have_bash2): Delete.
14930 * configure: Regenerate.
14931 * elf/Makefile (common-ldd-rewrite): Rename to ...
14932 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14933 (sh-ldd-rewrite): Delete.
14934 (bash-ldd-rewrite): Delete.
14935 (have-bash2): Delete checks.
14936 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14939 * config.make.in (have-ksh): Delete.
14941 * configure.ac (libc_cv_have_ksh): Delete.
14942 * configure: Regenerate.
14944 * elf/Makefile: Delete $(have-ksh) check.
14945 ($(objpfx)sotruss): Change KSH to BASH.
14946 * elf/sotruss.ksh: Rename to ...
14947 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14948 function style to match POSIX. Drop ksh vim mode setting.
14950 * manual/time.texi (Specifying the Time Zone with TZ): Change
14951 Tuesday to Thursday.
14953 * debug/tst-longjmp_chk2.c: Update header comment.
14954 (stackoverflow_handler): Add comment. Call assert on pass value.
14956 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14959 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14960 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14961 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14962 (La_x86_64_vector): Add zmm.
14963 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14964 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14965 ($(objpfx)tst-audit10): New target.
14966 ($(objpfx)tst-audit10.out): Likewise.
14967 (tst-audit10-ENV): New.
14968 (AVX512-CFLAGS): Likewise.
14969 (CFLAGS-tst-audit10.c): Likewise.
14970 (CFLAGS-tst-auditmod10a.c): Likewise.
14971 (CFLAGS-tst-auditmod10b.c): Likewise.
14972 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14973 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14974 * sysdeps/x86_64/configure: Regenerated.
14975 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14976 AVX-512 zmm register support.
14977 (_dl_x86_64_save_sse): Likewise.
14978 (_dl_x86_64_restore_sse): Likewise.
14979 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14980 size vector registers.
14981 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14982 (ZMM_SIZE): Likewise.
14983 * sysdeps/x86_64/tst-audit10.c: New file.
14984 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14985 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14987 2014-03-13 Roland McGrath <roland@hack.frob.com>
14989 * configure.ac (HAVE_EHDR_START): New check.
14990 * configure: Regenerated.
14991 * config.h.in (HAVE_EHDR_START): New #undef.
14992 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14993 assuming the lowest-addressed segment maps the start of the file.
14995 2014-03-13 Joseph Myers <joseph@codesourcery.com>
14997 * INSTALL: Regenerated.
14999 2014-03-13 Will Newton <will.newton@linaro.org>
15001 * manual/setjmp.texi (System V contexts): Improve
15002 clarity and grammar of documentation.
15004 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15007 * elf/Makefile (tests): Add tst-pie2.
15008 (tests-pie): Add tst-pie2.
15009 * elf/tst-pie2.c: New file.
15010 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15012 * elf/rtld.c (map_doit): Load executable as lt_executable.
15013 (dl_main): Likewise.
15015 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15019 (__ASSUME_PSELECT): Undefine.
15021 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15024 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15025 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15027 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15028 selector for static builds.
15030 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15033 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15036 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15038 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15039 IFUNC selector for static builds.
15041 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15043 * sysdeps/mips/math_private.h [__mips_hard_float]
15044 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15045 libc_feresetround_mips_ctx.
15046 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15047 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15048 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15051 * math/s_nextafter.c (__nextafter): Do not return value from
15052 overflowing computation.
15053 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15054 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15055 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15057 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15059 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15060 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15062 2014-03-11 Roland McGrath <roland@hack.frob.com>
15064 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15065 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15066 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15067 the new mov targetting sp.
15069 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15072 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15073 Define it for static builds as well.
15074 (NO_BZERO_IMPL): Likewise.
15076 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15078 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15079 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15080 multiarch strspn for PPC64.
15081 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15082 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15084 (__libc_ifunc_impl_list): Likewise.
15085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15086 multiarch optimizations
15087 * string/strspn.c (strspn): Using macro to redefine symbol name.
15089 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15090 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15092 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15093 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15094 multiarch strncat for PPC64.
15095 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15096 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15098 (__libc_ifunc_impl_list): Likewise.
15099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15100 multiarch optimizations
15102 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15105 * nscd/nscd.service: Make service type forking.
15107 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15109 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15110 sign in non default rounding modes.
15111 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15113 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15115 * math/libm-test.inc (ALL_RM_TEST): New macro.
15116 (ceil_test): Use ALL_RM_TEST.
15117 (cimag_test): Likewise.
15118 (conj_test): Likewise.
15119 (copysign_test): Likewise.
15120 (cproj_test): Likewise.
15121 (creal_test): Likewise.
15122 (fabs_test): Likewise.
15123 (floor_test): Likewise.
15124 (fmax_test): Likewise.
15125 (fmin_test): Likewise.
15126 (fmod_test): Likewise.
15127 (fpclassify_test): Likewise.
15128 (frexp_test): Likewise.
15129 (ilogb_test): Likewise.
15130 (isfinite_test): Likewise.
15131 (finite_test): Likewise.
15132 (isgreater_test): Likewise.
15133 (isgreaterequal_test): Likewise.
15134 (isinf_test): Likewise.
15135 (isless_test): Likewise.
15136 (islessequal_test): Likewise.
15137 (islessgreater_test): Likewise.
15138 (isnan_test): Likewise.
15139 (isnormal_test): Likewise.
15140 (issignaling_test): Likewise.
15141 (isunordered_test): Likewise.
15142 (logb_test): Likewise.
15143 (logb_downward_test_data): Remove.
15144 (logb_test_downward): Likewise.
15145 (lround_test): Use ALL_RM_TEST.
15146 (llround_test): Likewise.
15147 (modf_test): Likewise.
15148 (nexttoward_test): Likewise.
15149 (remainder_test): Likewise.
15150 (drem_test): Likewise.
15151 (remainder_tonearest_test_data): Likewise.
15152 (remainder_test_tonearest): Likewise.
15153 (drem_test_tonearest): Likewise.
15154 (remainder_towardzero_test_data): Likewise.
15155 (remainder_test_towardzero): Likewise.
15156 (drem_test_towardzero): Likewise.
15157 (remainder_downward_test_data): Likewise.
15158 (remainder_test_downward): Likewise.
15159 (drem_test_downward): Likewise.
15160 (remainder_upward_test_data): Likewise.
15161 (remainder_test_upward): Likewise.
15162 (drem_test_upward): Likewise.
15163 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15164 (round_test): Use ALL_RM_TEST.
15165 (signbit_test): Likewise.
15166 (trunc_test): Likewise.
15167 (significand_test): Likewise.
15168 (main): Don't call removed functions.
15170 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15173 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15174 || __USE_XOPEN2K8].
15175 (ILL_ILLOPN): Likewise.
15176 (ILL_ILLADR): Likewise.
15177 (ILL_ILLTRP): Likewise.
15178 (ILL_PRVOPC): Likewise.
15179 (ILL_PRVREG): Likewise.
15180 (ILL_COPROC): Likewise.
15181 (ILL_BADSTK): Likewise.
15182 (FPE_INTDIV): Likewise.
15183 (FPE_INTOVF): Likewise.
15184 (FPE_FLTDIV): Likewise.
15185 (FPE_FLTOVF): Likewise.
15186 (FPE_FLTUND): Likewise.
15187 (FPE_FLTRES): Likewise.
15188 (FPE_FLTINV): Likewise.
15189 (FPE_FLTSUB): Likewise.
15190 (SEGV_MAPERR): Likewise.
15191 (SEGV_ACCERR): Likewise.
15192 (BUS_ADRALN): Likewise.
15193 (BUS_ADRERR): Likewise.
15194 (BUS_OBJERR): Likewise.
15195 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15196 (TRAP_TRACE): Likewise.
15197 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15199 (CLD_KILLED): Likewise.
15200 (CLD_DUMPED): Likewise.
15201 (CLD_TRAPPED): Likewise.
15202 (CLD_STOPPED): Likewise.
15203 (CLD_CONTINUED): Likewise.
15204 (POLL_IN): Likewise.
15205 (POLL_OUT): Likewise.
15206 (POLL_MSG): Likewise.
15207 (POLL_ERR): Likewise.
15208 (POLL_PRI): Likewise.
15209 (POLL_HUP): Likewise.
15210 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15212 (ILL_ILLOPN): Likewise.
15213 (ILL_ILLADR): Likewise.
15214 (ILL_ILLTRP): Likewise.
15215 (ILL_PRVOPC): Likewise.
15216 (ILL_PRVREG): Likewise.
15217 (ILL_COPROC): Likewise.
15218 (ILL_BADSTK): Likewise.
15219 (FPE_INTDIV): Likewise.
15220 (FPE_INTOVF): Likewise.
15221 (FPE_FLTDIV): Likewise.
15222 (FPE_FLTOVF): Likewise.
15223 (FPE_FLTUND): Likewise.
15224 (FPE_FLTRES): Likewise.
15225 (FPE_FLTINV): Likewise.
15226 (FPE_FLTSUB): Likewise.
15227 (SEGV_MAPERR): Likewise.
15228 (SEGV_ACCERR): Likewise.
15229 (BUS_ADRALN): Likewise.
15230 (BUS_ADRERR): Likewise.
15231 (BUS_OBJERR): Likewise.
15232 (BUS_MCEERR_AR): Likewise.
15233 (BUS_MCEERR_AO): Likewise.
15234 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15235 (TRAP_TRACE): Likewise.
15236 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15238 (CLD_KILLED): Likewise.
15239 (CLD_DUMPED): Likewise.
15240 (CLD_TRAPPED): Likewise.
15241 (CLD_STOPPED): Likewise.
15242 (CLD_CONTINUED): Likewise.
15243 (POLL_IN): Likewise.
15244 (POLL_OUT): Likewise.
15245 (POLL_MSG): Likewise.
15246 (POLL_ERR): Likewise.
15247 (POLL_PRI): Likewise.
15248 (POLL_HUP): Likewise.
15249 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15250 (ILL_ILLOPN): Likewise.
15251 (ILL_ILLADR): Likewise.
15252 (ILL_ILLTRP): Likewise.
15253 (ILL_PRVOPC): Likewise.
15254 (ILL_PRVREG): Likewise.
15255 (ILL_COPROC): Likewise.
15256 (ILL_BADSTK): Likewise.
15257 (FPE_INTDIV): Likewise.
15258 (FPE_INTOVF): Likewise.
15259 (FPE_FLTDIV): Likewise.
15260 (FPE_FLTOVF): Likewise.
15261 (FPE_FLTUND): Likewise.
15262 (FPE_FLTRES): Likewise.
15263 (FPE_FLTINV): Likewise.
15264 (FPE_FLTSUB): Likewise.
15265 (SEGV_MAPERR): Likewise.
15266 (SEGV_ACCERR): Likewise.
15267 (BUS_ADRALN): Likewise.
15268 (BUS_ADRERR): Likewise.
15269 (BUS_OBJERR): Likewise.
15270 (BUS_MCEERR_AR): Likewise.
15271 (BUS_MCEERR_AO): Likewise.
15272 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15273 (TRAP_TRACE): Likewise.
15274 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15276 (CLD_KILLED): Likewise.
15277 (CLD_DUMPED): Likewise.
15278 (CLD_TRAPPED): Likewise.
15279 (CLD_STOPPED): Likewise.
15280 (CLD_CONTINUED): Likewise.
15281 (POLL_IN): Likewise.
15282 (POLL_OUT): Likewise.
15283 (POLL_MSG): Likewise.
15284 (POLL_ERR): Likewise.
15285 (POLL_PRI): Likewise.
15286 (POLL_HUP): Likewise.
15287 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15289 (ILL_ILLOPN): Likewise.
15290 (ILL_ILLADR): Likewise.
15291 (ILL_ILLTRP): Likewise.
15292 (ILL_PRVOPC): Likewise.
15293 (ILL_PRVREG): Likewise.
15294 (ILL_COPROC): Likewise.
15295 (ILL_BADSTK): Likewise.
15296 (ILL_BADIADDR): Likewise.
15297 (ILL_BREAK): Likewise.
15298 (FPE_INTDIV): Likewise.
15299 (FPE_INTOVF): Likewise.
15300 (FPE_FLTDIV): Likewise.
15301 (FPE_FLTOVF): Likewise.
15302 (FPE_FLTUND): Likewise.
15303 (FPE_FLTRES): Likewise.
15304 (FPE_FLTINV): Likewise.
15305 (FPE_FLTSUB): Likewise.
15306 (FPE_DECOVF): Likewise.
15307 (FPE_DECDIV): Likewise.
15308 (FPE_DECERR): Likewise.
15309 (FPE_INVASC): Likewise.
15310 (FPE_INVDEC): Likewise.
15311 (SEGV_MAPERR): Likewise.
15312 (SEGV_ACCERR): Likewise.
15313 (SEGV_PSTKOVF): Likewise.
15314 (BUS_ADRALN): Likewise.
15315 (BUS_ADRERR): Likewise.
15316 (BUS_OBJERR): Likewise.
15317 (BUS_MCEERR_AR): Likewise.
15318 (BUS_MCEERR_AO): Likewise.
15319 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15320 (TRAP_TRACE): Likewise.
15321 (TRAP_BRANCH): Likewise.
15322 (TRAP_HWBKPT): Likewise.
15323 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15325 (CLD_KILLED): Likewise.
15326 (CLD_DUMPED): Likewise.
15327 (CLD_TRAPPED): Likewise.
15328 (CLD_STOPPED): Likewise.
15329 (CLD_CONTINUED): Likewise.
15330 (POLL_IN): Likewise.
15331 (POLL_OUT): Likewise.
15332 (POLL_MSG): Likewise.
15333 (POLL_ERR): Likewise.
15334 (POLL_PRI): Likewise.
15335 (POLL_HUP): Likewise.
15336 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15337 (ILL_ILLOPN): Likewise.
15338 (ILL_ILLADR): Likewise.
15339 (ILL_ILLTRP): Likewise.
15340 (ILL_PRVOPC): Likewise.
15341 (ILL_PRVREG): Likewise.
15342 (ILL_COPROC): Likewise.
15343 (ILL_BADSTK): Likewise.
15344 (FPE_INTDIV): Likewise.
15345 (FPE_INTOVF): Likewise.
15346 (FPE_FLTDIV): Likewise.
15347 (FPE_FLTOVF): Likewise.
15348 (FPE_FLTUND): Likewise.
15349 (FPE_FLTRES): Likewise.
15350 (FPE_FLTINV): Likewise.
15351 (FPE_FLTSUB): Likewise.
15352 (SEGV_MAPERR): Likewise.
15353 (SEGV_ACCERR): Likewise.
15354 (BUS_ADRALN): Likewise.
15355 (BUS_ADRERR): Likewise.
15356 (BUS_OBJERR): Likewise.
15357 (BUS_MCEERR_AR): Likewise.
15358 (BUS_MCEERR_AO): Likewise.
15359 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15360 (TRAP_TRACE): Likewise.
15361 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15363 (CLD_KILLED): Likewise.
15364 (CLD_DUMPED): Likewise.
15365 (CLD_TRAPPED): Likewise.
15366 (CLD_STOPPED): Likewise.
15367 (CLD_CONTINUED): Likewise.
15368 (POLL_IN): Likewise.
15369 (POLL_OUT): Likewise.
15370 (POLL_MSG): Likewise.
15371 (POLL_ERR): Likewise.
15372 (POLL_PRI): Likewise.
15373 (POLL_HUP): Likewise.
15374 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15375 (ILL_ILLOPN): Likewise.
15376 (ILL_ILLADR): Likewise.
15377 (ILL_ILLTRP): Likewise.
15378 (ILL_PRVOPC): Likewise.
15379 (ILL_PRVREG): Likewise.
15380 (ILL_COPROC): Likewise.
15381 (ILL_BADSTK): Likewise.
15382 (FPE_INTDIV): Likewise.
15383 (FPE_INTOVF): Likewise.
15384 (FPE_FLTDIV): Likewise.
15385 (FPE_FLTOVF): Likewise.
15386 (FPE_FLTUND): Likewise.
15387 (FPE_FLTRES): Likewise.
15388 (FPE_FLTINV): Likewise.
15389 (FPE_FLTSUB): Likewise.
15390 (SEGV_MAPERR): Likewise.
15391 (SEGV_ACCERR): Likewise.
15392 (BUS_ADRALN): Likewise.
15393 (BUS_ADRERR): Likewise.
15394 (BUS_OBJERR): Likewise.
15395 (BUS_MCEERR_AR): Likewise.
15396 (BUS_MCEERR_AO): Likewise.
15397 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15398 (TRAP_TRACE): Likewise.
15399 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15401 (CLD_KILLED): Likewise.
15402 (CLD_DUMPED): Likewise.
15403 (CLD_TRAPPED): Likewise.
15404 (CLD_STOPPED): Likewise.
15405 (CLD_CONTINUED): Likewise.
15406 (POLL_IN): Likewise.
15407 (POLL_OUT): Likewise.
15408 (POLL_MSG): Likewise.
15409 (POLL_ERR): Likewise.
15410 (POLL_PRI): Likewise.
15411 (POLL_HUP): Likewise.
15412 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15413 (ILL_ILLOPN): Likewise.
15414 (ILL_ILLADR): Likewise.
15415 (ILL_ILLTRP): Likewise.
15416 (ILL_PRVOPC): Likewise.
15417 (ILL_PRVREG): Likewise.
15418 (ILL_COPROC): Likewise.
15419 (ILL_BADSTK): Likewise.
15420 (FPE_INTDIV): Likewise.
15421 (FPE_INTOVF): Likewise.
15422 (FPE_FLTDIV): Likewise.
15423 (FPE_FLTOVF): Likewise.
15424 (FPE_FLTUND): Likewise.
15425 (FPE_FLTRES): Likewise.
15426 (FPE_FLTINV): Likewise.
15427 (FPE_FLTSUB): Likewise.
15428 (SEGV_MAPERR): Likewise.
15429 (SEGV_ACCERR): Likewise.
15430 (BUS_ADRALN): Likewise.
15431 (BUS_ADRERR): Likewise.
15432 (BUS_OBJERR): Likewise.
15433 (BUS_MCEERR_AR): Likewise.
15434 (BUS_MCEERR_AO): Likewise.
15435 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15436 (TRAP_TRACE): Likewise.
15437 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15439 (CLD_KILLED): Likewise.
15440 (CLD_DUMPED): Likewise.
15441 (CLD_TRAPPED): Likewise.
15442 (CLD_STOPPED): Likewise.
15443 (CLD_CONTINUED): Likewise.
15444 (POLL_IN): Likewise.
15445 (POLL_OUT): Likewise.
15446 (POLL_MSG): Likewise.
15447 (POLL_ERR): Likewise.
15448 (POLL_PRI): Likewise.
15449 (POLL_HUP): Likewise.
15450 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15451 (ILL_ILLOPN): Likewise.
15452 (ILL_ILLADR): Likewise.
15453 (ILL_ILLTRP): Likewise.
15454 (ILL_PRVOPC): Likewise.
15455 (ILL_PRVREG): Likewise.
15456 (ILL_COPROC): Likewise.
15457 (ILL_BADSTK): Likewise.
15458 (ILL_DBLFLT): Likewise.
15459 (ILL_HARDWALL): Likewise.
15460 (FPE_INTDIV): Likewise.
15461 (FPE_INTOVF): Likewise.
15462 (FPE_FLTDIV): Likewise.
15463 (FPE_FLTOVF): Likewise.
15464 (FPE_FLTUND): Likewise.
15465 (FPE_FLTRES): Likewise.
15466 (FPE_FLTINV): Likewise.
15467 (FPE_FLTSUB): Likewise.
15468 (SEGV_MAPERR): Likewise.
15469 (SEGV_ACCERR): Likewise.
15470 (BUS_ADRALN): Likewise.
15471 (BUS_ADRERR): Likewise.
15472 (BUS_OBJERR): Likewise.
15473 (BUS_MCEERR_AR): Likewise.
15474 (BUS_MCEERR_AO): Likewise.
15475 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15476 (TRAP_TRACE): Likewise.
15477 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15479 (CLD_KILLED): Likewise.
15480 (CLD_DUMPED): Likewise.
15481 (CLD_TRAPPED): Likewise.
15482 (CLD_STOPPED): Likewise.
15483 (CLD_CONTINUED): Likewise.
15484 (POLL_IN): Likewise.
15485 (POLL_OUT): Likewise.
15486 (POLL_MSG): Likewise.
15487 (POLL_ERR): Likewise.
15488 (POLL_PRI): Likewise.
15489 (POLL_HUP): Likewise.
15490 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15491 (ILL_ILLOPN): Likewise.
15492 (ILL_ILLADR): Likewise.
15493 (ILL_ILLTRP): Likewise.
15494 (ILL_PRVOPC): Likewise.
15495 (ILL_PRVREG): Likewise.
15496 (ILL_COPROC): Likewise.
15497 (ILL_BADSTK): Likewise.
15498 (FPE_INTDIV): Likewise.
15499 (FPE_INTOVF): Likewise.
15500 (FPE_FLTDIV): Likewise.
15501 (FPE_FLTOVF): Likewise.
15502 (FPE_FLTUND): Likewise.
15503 (FPE_FLTRES): Likewise.
15504 (FPE_FLTINV): Likewise.
15505 (FPE_FLTSUB): Likewise.
15506 (SEGV_MAPERR): Likewise.
15507 (SEGV_ACCERR): Likewise.
15508 (BUS_ADRALN): Likewise.
15509 (BUS_ADRERR): Likewise.
15510 (BUS_OBJERR): Likewise.
15511 (BUS_MCEERR_AR): Likewise.
15512 (BUS_MCEERR_AO): Likewise.
15513 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15514 (TRAP_TRACE): Likewise.
15515 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15517 (CLD_KILLED): Likewise.
15518 (CLD_DUMPED): Likewise.
15519 (CLD_TRAPPED): Likewise.
15520 (CLD_STOPPED): Likewise.
15521 (CLD_CONTINUED): Likewise.
15522 (POLL_IN): Likewise.
15523 (POLL_OUT): Likewise.
15524 (POLL_MSG): Likewise.
15525 (POLL_ERR): Likewise.
15526 (POLL_PRI): Likewise.
15527 (POLL_HUP): Likewise.
15528 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15529 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15532 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15533 before #include of <time.h>.
15534 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15535 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15536 (test-xfail-UNIX98/sched.h/conform): Likewise.
15538 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15540 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15541 error absence of trapping exception support.
15542 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15544 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15546 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15547 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15548 * timezone/Makefile (testdata): Move definition above include of
15550 (test-zones): New variable.
15551 (tests-special): Add zone files.
15552 (build-testdata): Use $(evaluate-test).
15554 * elf/Makefile (tests-special): Rename tests to end with .out.
15555 ($(objpfx)noload-mem): Likewise.
15556 ($(objpfx)tst-leaks1-mem): Likewise.
15557 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15558 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15559 $(objpfx)test-iconvconfig.out.
15560 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15561 set -e inside subshell and redirect output to file.
15562 * iconvdata/Makefile (generated): Rename tests to end with .out.
15564 (tests-special): Rename tests to end with .out.
15565 ($(objpfx)mtrace-tst-loading): Likewise.
15566 * intl/Makefile (generated): Likewise.
15567 (tests-special): Likewise.
15568 ($(objpfx)mtrace-tst-gettext): Likewise.
15569 * misc/Makefile (generated): Likewise.
15570 (tests-special): Likewise.
15571 ($(objpfx)tst-error1-mem): Likewise.
15572 * nptl/Makefile (tests-special): Likewise.
15573 ($(objpfx)tst-stack3-mem): Likewise.
15574 (generated): Likewise.
15575 * posix/Makefile (generated): Likewise.
15576 (tests-special): Likewise.
15577 (xtests-special): Likewise.
15578 ($(objpfx)tst-fnmatch-mem): Likewise.
15579 ($(objpfx)bug-regex2-mem): Likewise.
15580 ($(objpfx)bug-regex14-mem): Likewise.
15581 ($(objpfx)bug-regex21-mem): Likewise.
15582 ($(objpfx)bug-regex31-mem): Likewise.
15583 ($(objpfx)tst-vfork3-mem): Likewise.
15584 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15585 ($(objpfx)tst-pcre-mem): Likewise.
15586 ($(objpfx)tst-boost-mem): Likewise.
15587 ($(objpfx)bug-ga2-mem): Likewise.
15588 ($(objpfx)bug-glob2-mem): Likewise.
15589 * resolv/Makefile (generate): Likewise.
15590 (tests-special): Likewise.
15591 (xtests-special): Likewise.
15592 (generated): Likewise.
15593 ($(objpfx)mtrace-tst-leaks): Likewise.
15594 ($(objpfx)mtrace-tst-leaks2): Likewise.
15596 * scripts/merge-test-results.sh: New file.
15597 * Makefile (tests-special-notdir): New variable.
15598 (tests): Run merge-test-results.sh.
15599 (xtests): Likewise.
15600 * Rules (tests-special-notdir): New variable.
15601 (xtests-special-notdir): Likewise.
15602 (tests): Run merge-test-results.sh
15603 (xtests): Likewise.
15605 * Makeconfig (test-xfail-name): New variable.
15606 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15607 compute variable name for expected failures.
15608 * conform/Makefile (conformtest-headers-data): New variable.
15609 (conformtest-standards): Likewise.
15610 (conformtest-headers-ISO): Likewise.
15611 (conformtest-headers-ISO99): Likewise.
15612 (conformtest-headers-ISO11): Likewise.
15613 (conformtest-headers-POSIX): Likewise.
15614 (conformtest-headers-XPG3): Likewise.
15615 (conformtest-headers-XPG4): Likewise.
15616 (conformtest-headers-UNIX98): Likewise.
15617 (conformtest-headers-XOPEN2K): Likewise.
15618 (conformtest-headers-POSIX2008): Likewise.
15619 (conformtest-headers-XOPEN2K8): Likewise.
15620 (conformtest-header-list-base): Likewise.
15621 (conformtest-header-list-tests): Likewise.
15622 (conformtest-header-base): Likewise.
15623 (conformtest-header-tests): Likewise.
15624 (tests-special): Add $(conformtest-header-list-tests). If
15625 [$(fast-check) && !$(cross-compiling)], add
15626 $(conformtest-header-tests) instead of
15627 $(objpfx)run-conformtest.out.
15628 (generated): Add $(conformtest-header-list-base). If
15629 [$(fast-check) && !$(cross-compiling)], add
15630 $(conformtest-header-base). Remove previous setting.
15631 ($(conformtest-header-list-tests)): New target.
15632 (test-xfail-run-conformtest): Remove variable.
15633 ($(objpfx)run-conformtest.out): Remove target.
15634 (test-xfail-ISO11/complex.h/conform): New variable.
15635 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15636 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15637 (test-xfail-XPG3/varargs.h/conform): Likewise.
15638 (test-xfail-XPG4/varargs.h/conform): Likewise.
15639 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15640 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15641 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15642 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15643 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15644 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15645 (test-xfail-XPG3/ftw.h/conform): Likewise.
15646 (test-xfail-XPG3/grp.h/conform): Likewise.
15647 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15648 (test-xfail-XPG3/limits.h/conform): Likewise.
15649 (test-xfail-XPG3/pwd.h/conform): Likewise.
15650 (test-xfail-XPG3/search.h/conform): Likewise.
15651 (test-xfail-XPG3/signal.h/conform): Likewise.
15652 (test-xfail-XPG3/stdio.h/conform): Likewise.
15653 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15654 (test-xfail-XPG3/string.h/conform): Likewise.
15655 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15656 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15657 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15658 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15659 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15660 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15661 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15662 (test-xfail-XPG3/termios.h/conform): Likewise.
15663 (test-xfail-XPG3/time.h/conform): Likewise.
15664 (test-xfail-XPG3/unistd.h/conform): Likewise.
15665 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15666 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15667 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15668 (test-xfail-XPG4/netdb.h/conform): Likewise.
15669 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15670 (test-xfail-XPG4/signal.h/conform): Likewise.
15671 (test-xfail-XPG4/stdio.h/conform): Likewise.
15672 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15673 (test-xfail-XPG4/stropts.h/conform): Likewise.
15674 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15675 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15676 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15677 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15678 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15679 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15680 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15681 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15682 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15683 (test-xfail-XPG4/termios.h/conform): Likewise.
15684 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15685 (test-xfail-XPG4/unistd.h/conform): Likewise.
15686 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15687 (test-xfail-POSIX/sched.h/conform): Likewise.
15688 (test-xfail-POSIX/signal.h/conform): Likewise.
15689 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15690 (test-xfail-POSIX/tar.h/conform): Likewise.
15691 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15692 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15693 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15694 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15695 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15696 (test-xfail-UNIX98/sched.h/conform): Likewise.
15697 (test-xfail-UNIX98/signal.h/conform): Likewise.
15698 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15699 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15700 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15701 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15702 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15703 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15704 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15705 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15706 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15707 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15708 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15709 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15710 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15711 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15712 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15713 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15714 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15715 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15716 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15717 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15718 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15719 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15720 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15721 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15722 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15723 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15724 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15725 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15726 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15727 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15728 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15729 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15730 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15731 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15732 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15733 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15734 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15735 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15736 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15737 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15738 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15739 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15740 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15741 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15742 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15743 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15744 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15745 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15746 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15747 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15748 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15749 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15750 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15751 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15752 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15753 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15754 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15755 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15756 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15757 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15758 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15759 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15760 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15761 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15762 (conformtest-cc-flags): Likewise.
15763 ($(conformtest-header-tests): New target.
15764 * conform/check-header-lists.sh: New file.
15765 * conform/run-conformtest.sh: Remove.
15767 * conform/conformtest.pl: Allow ' and \ in values given for
15769 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15771 [POSIX] (sys/types.h): Likewise.
15772 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15774 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15776 * conform/data/signal.h-data (SIGIO): Remove expectation.
15777 [XPG3] (SIGBUS): Do not expect.
15778 [POSIX || XPG3] (SIGPOLL): Likewise.
15779 [POSIX || XPG3] (SIGPROF): Likewise.
15780 [POSIX || XPG3] (SIGSYS): Likewise.
15781 [XPG3] (SIGTRAP): Likewise.
15782 [POSIX || XPG3] (SIGURG): Likewise.
15783 [POSIX || XPG3] (SIGVTALRM): Likewise.
15784 [POSIX || XPG3] (SIGXCPU): Likewise.
15785 [POSIX || XPG3] (SIGXFSZ): Likewise.
15786 [POSIX] (SA_SIGINFO): Expect.
15787 [XPG3] (siginfo_t): Do not expect type or contents.
15788 [POSIX] (si_pid): Do not expect element.
15789 [POSIX] (si_uid): Likewise.
15790 [POSIX] (si_addr): Likewise.
15791 [POSIX] (si_status): Likewise.
15792 [POSIX] (si_band): Likewise.
15793 [XPG4] (si_value): Likewise.
15794 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15795 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15796 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15797 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15798 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15799 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15800 [POSIX || XPG3] (ILL_COPROC): Likewise.
15801 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15802 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15803 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15804 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15805 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15806 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15807 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15808 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15809 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15810 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15811 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15812 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15813 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15814 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15815 [POSIX || XPG3] (CLD_EXITED): Likewise.
15816 [POSIX || XPG3] (CLD_KILLED): Likewise.
15817 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15818 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15819 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15820 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15821 [POSIX || XPG3] (POLL_IN): Likewise.
15822 [POSIX || XPG3] (POLL_OUT): Likewise.
15823 [POSIX || XPG3] (POLL_MSG): Likewise.
15824 [POSIX || XPG3] (POLL_ERR): Likewise.
15825 [POSIX || XPG3] (POLL_PRI): Likewise.
15826 [POSIX || XPG3] (POLL_HUP): Likewise.
15827 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15828 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15829 (SIG*): Do not allow.
15830 [XPG3] (si_*): Likewise.
15831 [XPG3] (SI_*): Likewise.
15832 [XPG3 || XPG4] (sigev_*): Likewise.
15833 [XPG3 || XPG4] (SIGEV_*): Likewise.
15834 [XPG3 || XPG4] (sival_*): Likewise.
15835 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15836 [POSIX || XPG3] (BUS_*): Likewise.
15837 [POSIX || XPG3] (CLD_*): Likewise.
15838 [POSIX || XPG3] (FPE_*): Likewise.
15839 [POSIX || XPG3] (ILL_*): Likewise.
15840 [POSIX || XPG3] (POLL_*): Likewise.
15841 [POSIX || XPG3] (SEGV_*): Likewise.
15842 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15843 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15844 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15845 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15846 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15847 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15848 Specify type and value.
15849 (TVERSLEN): Likewise.
15850 (REGTYPE): Likewise.
15851 (AREGTYPE): Likewise.
15852 (LNKTYPE): Likewise.
15853 (SYMTYPE): Likewise.
15854 (CHRTYPE): Likewise.
15855 (BLKTYPE): Likewise.
15856 (DIRTYPE): Likewise.
15857 (FIFOTYPE): Likewise.
15858 (CONTTYPE): Likewise.
15862 (TUREAD): Likewise.
15863 (TUWRITE): Likewise.
15864 (TUEXEC): Likewise.
15865 (TGREAD): Likewise.
15866 (TGWRITE): Likewise.
15867 (TGEXEC): Likewise.
15868 (TOREAD): Likewise.
15869 (TOWRITE): Likewise.
15870 (TOEXEC): Likewise.
15871 [POSIX] (TSVTX): Expect constant.
15873 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15875 * Makefile (tests): Change dependencies to ....
15876 (tests-special): ... additions to this variable.
15877 (tests): Depend on $(tests-special).
15878 * Makerules (check-abi-list): New variable.
15879 (check-abi): Depend on $(check-abi-list).
15880 [$(subdir) = elf] (tests-special): Add
15881 $(objpfx)check-abi-libc.out.
15882 [$(build-shared) = yes && subdir] (tests-special): Add
15884 [$(build-shared) = yes && subdir] (tests): Do not depend on
15886 * Rules (tests): Depend on $(tests-special).
15887 (xtests): Depend on $(xtests-special).
15888 * catgets/Makefile (tests): Change dependencies to ....
15889 (tests-special): ... additions to this variable.
15890 * conform/Makefile (tests): Change dependencies to ....
15891 (tests-special): ... additions to this variable.
15892 * elf/Makefile (tests): Change dependencies to ....
15893 (tests-special): ... additions to this variable.
15894 * grp/Makefile (tests): Change dependencies to ....
15895 (tests-special): ... additions to this variable.
15896 * iconv/Makefile (xtests): Change dependencies to ....
15897 (xtests-special): ... additions to this variable.
15898 * iconvdata/Makefile (tests): Change dependencies to ....
15899 (tests-special): ... additions to this variable.
15900 * intl/Makefile (tests): Change dependencies to ....
15901 (tests-special): ... additions to this variable. Also add
15902 $(objpfx)tst-gettext.out.
15903 * io/Makefile (tests): Change dependencies to ....
15904 (tests-special): ... additions to this variable.
15905 * libio/Makefile (tests): Change dependencies to ....
15906 (tests-special): ... additions to this variable.
15907 * malloc/Makefile (tests): Change dependencies to ....
15908 (tests-special): ... additions to this variable.
15909 * misc/Makefile (tests): Change dependencies to ....
15910 (tests-special): ... additions to this variable.
15911 * nptl/Makefile (tests): Change dependencies to ....
15912 (tests-special): ... additions to this variable.
15913 * nptl_db/Makefile (tests): Change dependencies to ....
15914 (tests-special): ... additions to this variable.
15915 * posix/Makefile (tests): Change dependencies to ....
15916 (tests-special): ... additions to this variable.
15917 (xtests): Change dependencies to ....
15918 (xtests-special): ... additions to this variable.
15919 * resolv/Makefile (tests): Change dependencies to ....
15920 (tests-special): ... additions to this variable.
15921 (xtests): Change dependencies to ....
15922 (xtests-special): ... additions to this variable.
15923 * stdio-common/Makefile (tests): Change dependencies to ....
15924 (tests-special): ... additions to this variable.
15925 (do-tst-unbputc): Remove target.
15926 (do-tst-printf): Likewise.
15927 * stdlib/Makefile (tests): Change dependencies to ....
15928 (tests-special): ... additions to this variable.
15929 * string/Makefile (tests): Change dependencies to ....
15930 (tests-special): ... additions to this variable.
15931 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15932 (tests-special): ... additions to this variable.
15934 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15936 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15938 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15939 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15941 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15942 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15943 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15944 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15945 * conform/data/libgen.h-data [XPG3]: Likewise.
15946 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15947 * conform/data/ndbm.h-data [XPG3]: Likewise.
15948 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15949 * conform/data/netdb.h-data [XPG3]: Likewise.
15950 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15951 * conform/data/poll.h-data [XPG3]: Likewise.
15952 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15953 * conform/data/strings.h-data [XPG3]: Likewise.
15954 * conform/data/stropts.h-data [XPG3]: Likewise.
15955 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15956 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15957 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15959 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15960 * conform/data/sys/time.h-data [XPG3]: Likewise.
15961 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15962 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15963 * conform/data/sys/un.h-data [XPG3]: Likewise.
15964 * conform/data/syslog.h-data [XPG3]: Likewise.
15965 * conform/data/ucontext.h-data [XPG3]: Likewise.
15966 * conform/data/utmpx.h-data [XPG3]: Likewise.
15967 * conform/data/varargs.h-data [UNIX98]: Enable file.
15969 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15971 * math/libm-test.inc (struct test_f_f_data): Move expected results
15972 into structure for each rounding mode.
15973 (struct test_ff_f_data): Likewise.
15974 (struct test_ff_f_data_nexttoward): Likewise.
15975 (struct test_fi_f_data): Likewise.
15976 (struct test_fl_f_data): Likewise.
15977 (struct test_if_f_data): Likewise.
15978 (struct test_fff_f_data): Likewise.
15979 (struct test_c_f_data): Likewise.
15980 (struct test_f_f1_data): Likewise.
15981 (struct test_fF_f1_data): Likewise.
15982 (struct test_ffI_f1_data): Likewise.
15983 (struct test_c_c_data): Likewise.
15984 (struct test_cc_c_data): Likewise.
15985 (struct test_f_i_data): Likewise.
15986 (struct test_ff_i_data): Likewise.
15987 (struct test_f_l_data): Likewise.
15988 (struct test_f_L_data): Likewise.
15989 (struct test_fFF_11_data): Likewise.
15991 (RM_FE_DOWNWARD): Likewise.
15992 (RM_FE_TONEAREST): Likewise.
15993 (RM_FE_TOWARDZERO): Likewise.
15994 (RM_FE_UPWARD): Likewise.
15995 (RUN_TEST_LOOP_f_f): Update references to expected results.
15996 (RUN_TEST_LOOP_2_f): Likewise.
15997 (RUN_TEST_LOOP_fff_f): Likewise.
15998 (RUN_TEST_LOOP_c_f): Likewise.
15999 (RUN_TEST_LOOP_f_f1): Likewise.
16000 (RUN_TEST_LOOP_fF_f1): Likewise.
16001 (RUN_TEST_LOOP_fI_f1): Likewise.
16002 (RUN_TEST_LOOP_ffI_f1): Likewise.
16003 (RUN_TEST_LOOP_c_c): Likewise.
16004 (RUN_TEST_LOOP_cc_c): Likewise.
16005 (RUN_TEST_LOOP_f_i): Likewise.
16006 (RUN_TEST_LOOP_f_i_tg): Likewise.
16007 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16008 (RUN_TEST_LOOP_f_b): Likewise.
16009 (RUN_TEST_LOOP_f_b_tg): Likewise.
16010 (RUN_TEST_LOOP_f_l): Likewise.
16011 (RUN_TEST_LOOP_f_L): Likewise.
16012 (RUN_TEST_LOOP_fFF_11): Likewise.
16013 * math/gen-libm-test.pl (parse_args): Output four copies of
16014 expected results for each test.
16016 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16017 (__ASSUME_UTIMES): Remove.
16018 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16019 (__ASSUME_UTIMES): Likewise.
16021 * math/gen-auto-libm-tests.c: Update comment on output format.
16022 (output_for_one_input_case): Generate before-rounding and
16023 after-rounding information as conditions on output flags not
16024 floating-point format.
16025 * math/auto-libm-test-out: Regenerated.
16026 * math/gen-libm-test.pl (cond_value): New function.
16027 (or_cond_value): Use cond_value.
16028 (generate_testfile): Handle conditional exceptions.
16030 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16032 * math/libm-test.inc (max_valid_error): New variable.
16033 (init_max_error): Take new argument specifying whether function
16034 results are exactly determined. Set max_valid_error and bound
16035 other variables for errors based on this argument.
16036 (set_max_error): Do not record results above max_valid_error.
16037 (check_float_internal): Only accept errors of up to 0.5ulps if
16038 also at most max_valid_error.
16039 (START): Take new argument EXACT and pass it to init_max_error.
16040 (acos_test): Update call to START.
16041 (acos_test_tonearest): Likewise.
16042 (acos_test_towardzero): Likewise.
16043 (acos_test_downward): Likewise.
16044 (acos_test_upward): Likewise.
16045 (acosh_test): Likewise.
16046 (asin_test): Likewise.
16047 (asin_test_tonearest): Likewise.
16048 (asin_test_towardzero): Likewise.
16049 (asin_test_downward): Likewise.
16050 (asin_test_upward): Likewise.
16051 (asinh_test): Likewise.
16052 (atan_test): Likewise.
16053 (atanh_test): Likewise.
16054 (atan2_test): Likewise.
16055 (cabs_test): Likewise.
16056 (cacos_test): Likewise.
16057 (cacosh_test): Likewise.
16058 (carg_test): Likewise.
16059 (casin_test): Likewise.
16060 (casinh_test): Likewise.
16061 (catan_test): Likewise.
16062 (catanh_test): Likewise.
16063 (cbrt_test): Likewise.
16064 (ccos_test): Likewise.
16065 (ccosh_test): Likewise.
16066 (ceil_test): Likewise.
16067 (cexp_test): Likewise.
16068 (cimag_test): Likewise.
16069 (clog_test): Likewise.
16070 (clog10_test): Likewise.
16071 (conj_test): Likewise.
16072 (copysign_test): Likewise.
16073 (cos_test): Likewise.
16074 (cos_test_tonearest): Likewise.
16075 (cos_test_towardzero): Likewise.
16076 (cos_test_downward): Likewise.
16077 (cos_test_upward): Likewise.
16078 (cosh_test): Likewise.
16079 (cosh_test_tonearest): Likewise.
16080 (cosh_test_towardzero): Likewise.
16081 (cosh_test_downward): Likewise.
16082 (cosh_test_upward): Likewise.
16083 (cpow_test): Likewise.
16084 (cproj_test): Likewise.
16085 (creal_test): Likewise.
16086 (csin_test): Likewise.
16087 (csinh_test): Likewise.
16088 (csqrt_test): Likewise.
16089 (ctan_test): Likewise.
16090 (ctan_test_tonearest): Likewise.
16091 (ctan_test_towardzero): Likewise.
16092 (ctan_test_downward): Likewise.
16093 (ctan_test_upward): Likewise.
16094 (ctanh_test): Likewise.
16095 (ctanh_test_tonearest): Likewise.
16096 (ctanh_test_towardzero): Likewise.
16097 (ctanh_test_downward): Likewise.
16098 (ctanh_test_upward): Likewise.
16099 (erf_test): Likewise.
16100 (erfc_test): Likewise.
16101 (exp_test): Likewise.
16102 (exp_test_tonearest): Likewise.
16103 (exp_test_towardzero): Likewise.
16104 (exp_test_downward): Likewise.
16105 (exp_test_upward): Likewise.
16106 (exp10_test): Likewise.
16107 (exp10_test_tonearest): Likewise.
16108 (exp10_test_towardzero): Likewise.
16109 (exp10_test_downward): Likewise.
16110 (exp10_test_upward): Likewise.
16111 (pow10_test): Likewise.
16112 (exp2_test): Likewise.
16113 (expm1_test): Likewise.
16114 (expm1_test_tonearest): Likewise.
16115 (expm1_test_towardzero): Likewise.
16116 (expm1_test_downward): Likewise.
16117 (expm1_test_upward): Likewise.
16118 (fabs_test): Likewise.
16119 (fdim_test): Likewise.
16120 (floor_test): Likewise.
16121 (fma_test): Likewise.
16122 (fma_test_towardzero): Likewise.
16123 (fma_test_downward): Likewise.
16124 (fma_test_upward): Likewise.
16125 (fmax_test): Likewise.
16126 (fmin_test): Likewise.
16127 (fmod_test): Likewise.
16128 (fpclassify_test): Likewise.
16129 (frexp_test): Likewise.
16130 (hypot_test): Likewise.
16131 (ilogb_test): Likewise.
16132 (isfinite_test): Likewise.
16133 (finite_test): Likewise.
16134 (isgreater_test): Likewise.
16135 (isgreaterequal_test): Likewise.
16136 (isinf_test): Likewise.
16137 (isless_test): Likewise.
16138 (islessequal_test): Likewise.
16139 (islessgreater_test): Likewise.
16140 (isnan_test): Likewise.
16141 (isnormal_test): Likewise.
16142 (issignaling_test): Likewise.
16143 (isunordered_test): Likewise.
16144 (j0_test): Likewise.
16145 (j1_test): Likewise.
16146 (jn_test): Likewise.
16147 (ldexp_test): Likewise.
16148 (lgamma_test): Likewise.
16149 (gamma_test): Likewise.
16150 (lrint_test): Likewise.
16151 (lrint_test_tonearest): Likewise.
16152 (lrint_test_towardzero): Likewise.
16153 (lrint_test_downward): Likewise.
16154 (lrint_test_upward): Likewise.
16155 (llrint_test): Likewise.
16156 (llrint_test_tonearest): Likewise.
16157 (llrint_test_towardzero): Likewise.
16158 (llrint_test_downward): Likewise.
16159 (llrint_test_upward): Likewise.
16160 (log_test): Likewise.
16161 (log10_test): Likewise.
16162 (log1p_test): Likewise.
16163 (log2_test): Likewise.
16164 (logb_test): Likewise.
16165 (logb_test_downward): Likewise.
16166 (lround_test): Likewise.
16167 (llround_test): Likewise.
16168 (modf_test): Likewise.
16169 (nearbyint_test): Likewise.
16170 (nextafter_test): Likewise.
16171 (nexttoward_test): Likewise.
16172 (pow_test): Likewise.
16173 (pow_test_tonearest): Likewise.
16174 (pow_test_towardzero): Likewise.
16175 (pow_test_downward): Likewise.
16176 (pow_test_upward): Likewise.
16177 (remainder_test): Likewise.
16178 (drem_test): Likewise.
16179 (remainder_test_tonearest): Likewise.
16180 (drem_test_tonearest): Likewise.
16181 (remainder_test_towardzero): Likewise.
16182 (drem_test_towardzero): Likewise.
16183 (remainder_test_downward): Likewise.
16184 (drem_test_downward): Likewise.
16185 (remainder_test_upward): Likewise.
16186 (drem_test_upward): Likewise.
16187 (remquo_test): Likewise.
16188 (rint_test): Likewise.
16189 (rint_test_tonearest): Likewise.
16190 (rint_test_towardzero): Likewise.
16191 (rint_test_downward): Likewise.
16192 (rint_test_upward): Likewise.
16193 (round_test): Likewise.
16194 (scalb_test): Likewise.
16195 (scalbn_test): Likewise.
16196 (scalbln_test): Likewise.
16197 (signbit_test): Likewise.
16198 (sin_test): Likewise.
16199 (sin_test_tonearest): Likewise.
16200 (sin_test_towardzero): Likewise.
16201 (sin_test_downward): Likewise.
16202 (sin_test_upward): Likewise.
16203 (sincos_test): Likewise.
16204 (sinh_test): Likewise.
16205 (sinh_test_tonearest): Likewise.
16206 (sinh_test_towardzero): Likewise.
16207 (sinh_test_downward): Likewise.
16208 (sinh_test_upward): Likewise.
16209 (sqrt_test): Likewise.
16210 (sqrt_test_tonearest): Likewise.
16211 (sqrt_test_towardzero): Likewise.
16212 (sqrt_test_downward): Likewise.
16213 (sqrt_test_upward): Likewise.
16214 (tan_test): Likewise.
16215 (tan_test_tonearest): Likewise.
16216 (tan_test_towardzero): Likewise.
16217 (tan_test_downward): Likewise.
16218 (tan_test_upward): Likewise.
16219 (tanh_test): Likewise.
16220 (tgamma_test): Likewise.
16221 (trunc_test): Likewise.
16222 (y0_test): Likewise.
16223 (y1_test): Likewise.
16224 (yn_test): Likewise.
16225 (significand_test): Likewise.
16227 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16228 individual tests in comment.
16229 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16230 (prev_max_error): New variable.
16231 (prev_real_max_error): Likewise.
16232 (prev_imag_max_error): Likewise.
16233 (compare_ulp_data): Don't refer to test names in comment.
16234 (find_test_ulps): Remove function.
16235 (find_function_ulps): Likewise.
16236 (find_complex_function_ulps): Likewise.
16237 (init_max_error): Take function name as argument. Look up ulps
16239 (print_ulps): Remove function.
16240 (print_max_error): Use prev_max_error instead of calling
16241 find_function_ulps.
16242 (print_complex_max_error): Use prev_real_max_error and
16243 prev_imag_max_error instead of calling find_complex_function_ulps.
16244 (check_float_internal): Take max_ulp parameter instead of calling
16245 find_test_ulps. Don't call print_ulps.
16246 (check_float): Update call to check_float_internal.
16247 (check_complex): Update calls to check_float_internal.
16248 (START): Pass argument to init_max_error.
16249 * math/gen-libm-test.pl (%results): Don't include "kind"
16251 (parse_ulps): Don't handle ulps of individual tests.
16252 (print_ulps_file): Likewise.
16253 (output_ulps): Likewise.
16254 * math/README.libm-test: Update.
16255 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16257 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16258 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16259 * sysdeps/arm/libm-test-ulps: Likewise.
16260 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16261 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16262 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16263 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16264 * sysdeps/microblaze/libm-test-ulps: Likewise.
16265 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16266 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16268 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16269 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16270 * sysdeps/sh/libm-test-ulps: Likewise.
16271 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16272 * sysdeps/tile/libm-test-ulps: Likewise.
16273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16275 2014-03-04 Joseph Myers <joseph@codesourcery.com>
16277 * math/libm-test.inc (print_complex_max_error): Check separately
16278 whether real and imaginary errors are within allowed range and
16279 pass 0 to print_complex_function_ulps instead of value within
16282 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16284 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16286 (get_handles_fopen): Likewise.
16287 (do_write_test): Likewise.
16289 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16291 * libio/fileops.c (do_ftell): Use cached offset when
16293 * libio/iofwide.c (do_ftell_wide): Likewise.
16294 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16296 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16299 * libio/libioP.h (get_file_offset): New function.
16300 * libio/fileops.c (get_file_offset): Likewise.
16301 (do_ftell): Likewise.
16302 (_IO_new_file_seekoff): Split out ftell logic.
16303 * libio/wfileops.c (do_ftell_wide): Likewise.
16304 (_IO_wfile_seekoff): Split out ftell logic.
16305 * libio/tst-ftell-active-handler.c: New test case.
16306 * libio/Makefile (tests): Add it.
16308 2014-03-03 Roland McGrath <roland@hack.frob.com>
16310 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16311 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16313 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16316 * nscd/connections.c (nscd_init): Call do_exit.
16317 (start_threads): Call do_exit and notify_parent.
16318 (begin_drop_privileges): Call do_exit.
16319 (finish_drop_privileges): Likewise.
16320 * nscd/selinux.c (preserve_capabilities): Likewise.
16321 (install_real_capabilities): Likewise.
16322 (nscd_selinux_enabled): Likewise.
16323 (avc_create_thread): Likewise.
16324 (avc_alloc_lock): Likewise.
16325 (nscd_avc_init): Likewise.
16326 * nscd/nscd.c (parent_fd): New static variable.
16327 (main): Create a pipe between parent and child processes.
16328 Skip closing parent_fd.
16329 (monitor_child): New function.
16330 (do_exit): Likewise.
16331 (notify_parent): Likewise.
16332 * nscd/nscd.h (notify_parent): Likewise.
16333 (do_exit): Likewise.
16335 2014-03-03 Carlos O'Donell <carlos@redhat.com>
16337 * malloc/malloc.c (__libc_calloc): Revert last change.
16339 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16343 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16345 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16349 (__libc_ifunc_impl_list): Likewise.
16350 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16351 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16352 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16353 * string/strrchr.c: Define STRRCHR.
16355 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
16357 * benchtest/bench-strtok.c (simple_strtok): Delete.
16358 (strtok_string): Use as benchmark.
16359 * string/strtok (STRTOK): New macro.
16361 2014-02-28 Carlos O'Donell <carlos@redhat.com>
16363 * manual/threads.texi: Add header and standard comments to all
16366 * elf/dl-lookup.c (check_match): New function.
16367 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16368 (do_lookup_x): Remove nested function check_match. Use non-nested
16369 function check_match.
16371 2014-02-28 Roland McGrath <roland@hack.frob.com>
16373 * csu/Makefile (generated, before-compile): Use += rather than =.
16374 * catgets/Makefile (generated, generated-dirs): Likewise.
16375 * debug/Makefile (generated): Likewise.
16376 * dlfcn/Makefile (generated): Likewise.
16377 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16378 * iconvdata/Makefile (before-compile, generated): Likewise.
16379 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16380 * libio/Makefile (generated): Likewise.
16381 * malloc/Makefile (generated): Likewise.
16382 * manual/Makefile (generated, generated-dirs): Likewise.
16383 * misc/Makefile (generated): Likewise.
16384 * posix/Makefile (generated): Likewise.
16385 * resolv/Makefile (generated): Likewise.
16386 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16387 * timezone/Makefile (generated, generated-dirs): Likewise.
16389 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16391 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16394 power8 implementation.
16395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16396 file: POWER8 llround ifunc implementation.
16397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16398 (__lllround): Add POWER8 implementation.
16399 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16400 POWER8 llround implementation.
16402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16403 power8 implementation.
16404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16405 file: POWER8 llrint ifunc implementation.
16406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16407 Add POWER8 implementation.
16408 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16409 POWER8 llrint implementation.
16411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16412 power8 implementation.
16413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16414 file: POWER8 finite ifunc implementation.
16415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16416 Add POWER8 implementation.
16417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16419 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16420 POWER8 finite implementation.
16421 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16423 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16424 power8 implementation.
16425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16426 file: POWER8 isinf ifunc implementation.
16427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16428 POWER8 implementation.
16429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16431 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16432 isinf implementation.
16433 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16435 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16436 (INIT_ARCH): Add hwcap2 initialization.
16437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16438 power8 implementation.
16439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16440 file: POWER8 isnan ifunc implementation.
16441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16442 POWER8 implementation.
16443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16445 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16446 isnan implementation.
16447 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16449 2014-02-27 Joey Ye <joey.ye@arm.com>
16451 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16452 (_FP_NANFRAC_Q): Set to zero.
16454 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16457 * math/auto-libm-test-in: New test inputs.
16458 * math/auto-libm-test-out: Regenerate.
16459 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16462 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16464 2014-02-27 Joseph Myers <joseph@codesourcery.com>
16466 * scripts/evaluate-test.sh: Take new argument indicating whether
16467 failure is expected.
16468 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16469 indicating whether failure is expected.
16470 * conform/Makefile (test-xfail-run-conformtest): New variable.
16471 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16473 * posix/Makefile (test-xfail-annexc): New variable.
16474 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16476 2014-02-26 Joseph Myers <joseph@codesourcery.com>
16478 * argp/Makefile: Include Makeconfig immediately after defining
16480 * assert/Makefile: Likewise.
16481 * benchtests/Makefile: Likewise.
16482 * catgets/Makefile: Likewise.
16483 * conform/Makefile: Likewise.
16484 * crypt/Makefile: Likewise.
16485 * csu/Makefile: Likewise.
16486 (all): Remove target.
16487 * ctype/Makefile: Include Makeconfig immediately after defining
16489 * debug/Makefile: Likewise.
16490 * dirent/Makefile: Likewise.
16491 * dlfcn/Makefile: Likewise.
16492 * gmon/Makefile: Likewise.
16493 * gnulib/Makefile: Likewise.
16494 * grp/Makefile: Likewise.
16495 * gshadow/Makefile: Likewise.
16496 * hesiod/Makefile: Likewise.
16497 * hurd/Makefile: Likewise.
16498 (all): Remove target.
16499 * iconvdata/Makefile: Include Makeconfig immediately after
16501 * inet/Makefile: Likewise.
16502 * intl/Makefile: Likewise.
16503 * io/Makefile: Likewise.
16504 * libio/Makefile: Likewise.
16505 (all): Remove target.
16506 * locale/Makefile: Include Makeconfig immediately after defining
16508 * login/Makefile: Likewise.
16509 * mach/Makefile: Likewise.
16510 (all): Remove target.
16511 * malloc/Makefile: Include Makeconfig immediately after defining
16513 (all): Remove target.
16514 * manual/Makefile: Include Makeconfig immediately after defining
16516 * math/Makefile: Likewise.
16517 * misc/Makefile: Likewise.
16518 * nis/Makefile: Likewise.
16519 * nss/Makefile: Likewise.
16520 * po/Makefile: Likewise.
16521 (all): Remove target.
16522 * posix/Makefile: Include Makeconfig immediately after defining
16524 * pwd/Makefile: Likewise.
16525 * resolv/Makefile: Likewise.
16526 * resource/Makefile: Likewise.
16527 * rt/Makefile: Likewise.
16528 * setjmp/Makefile: Likewise.
16529 * shadow/Makefile: Likewise.
16530 * signal/Makefile: Likewise.
16531 * socket/Makefile: Likewise.
16532 * soft-fp/Makefile: Likewise.
16533 * stdio-common/Makefile: Likewise.
16534 * stdlib/Makefile: Likewise.
16535 * streams/Makefile: Likewise.
16536 * string/Makefile: Likewise.
16537 * sunrpc/Makefile: Likewise.
16538 (all): Remove target.
16539 * sysvipc/Makefile: Include Makeconfig immediately after defining
16541 * termios/Makefile: Likewise.
16542 * time/Makefile: Likewise.
16543 * timezone/Makefile: Likewise.
16544 (all): Remove target.
16545 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16547 * wctype/Makefile: Likewise.
16549 2014-02-26 Steve Ellcey <sellcey@mips.com>
16551 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16552 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16553 (libc_feholdexcept_setround_mips): Ditto.
16554 (libc_feholdsetround): New.
16555 (libc_feholdsetroundf): New.
16556 (libc_feholdsetroundl): New.
16557 (libc_feupdateenv_test_mips): New.
16558 (libc_feupdateenv_test): New.
16559 (libc_feupdateenv_testf): New.
16560 (libc_feupdateenv_testl): New.
16561 (libc_feresetround): New.
16562 (libc_feresetroundf): New.
16563 (libc_feresetroundl): New.
16564 (libc_fetestexcept_mips): New.
16565 (libc_fetestexcept): New.
16566 (libc_fetestexceptf): New.
16567 (libc_fetestexceptl): New.
16568 (HAVE_RM_CTX): New.
16569 (libc_feholdexcept_setround_mips_ctx): New.
16570 (libc_feholdexcept_setround_ctx): New.
16571 (libc_feholdexcept_setroundf_ctx): New.
16572 (libc_feholdexcept_setroundl_ctx): New.
16573 (libc_fesetenv_mips_ctx): New.
16574 (libc_fesetenv_ctx): New.
16575 (libc_fesetenv_ctxf): New.
16576 (libc_fesetenv_ctxl): New.
16577 (libc_feupdateenv_mips_ctx): New.
16578 (libc_feupdateenv_ctx): New.
16579 (libc_feupdateenvf_ctx): New.
16580 (libc_feupdateenvl_ctx): New.
16581 (libc_feholdsetround_mips_ctx): New.
16582 (libc_feholdsetround_ctx): New.
16583 (libc_feholdsetroundf_ctx): New.
16584 (libc_feholdsetroundl_ctx): New.
16585 (libc_feresetround_mips_ctx): New.
16586 (libc_feresetround_ctx): New.
16587 (libc_feresetroundf_ctx): New.
16588 (libc_feresetroundl_ctx): New.
16590 2014-02-26 Carlos O'Donell <carlos@redhat.com>
16592 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16594 * manual/ipc.texi: New file.
16595 * manual/Makefile (chapters): Add ipc.
16596 * manual/job.texi: Add "Inter-Process Communication" to next.
16597 * manual/process.texi: Add "Inter-Process Communication" to prev.
16599 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16603 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
16605 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16607 * manual/arith.texi: Fix spaces after sentences.
16608 * manual/charset.texi: Likewise.
16609 * manual/errno.texi: Likewise.
16610 * manual/install.texi: Likewise.
16611 * manual/llio.texi: Likewise.
16612 * manual/locale.texi: Likewise.
16613 * manual/maint.texi: Likewise.
16614 * manual/math.texi: Likewise.
16615 * manual/memory.texi: Likewise.
16616 * manual/message.texi: Likewise.
16617 * manual/probes.texi: Likewise.
16618 * manual/resource.texi: Likewise.
16619 * manual/signal.texi: Likewise.
16620 * manual/socket.texi: Likewise.
16621 * manual/stdio.texi: Likewise.
16622 * manual/string.texi: Likewise.
16623 * manual/time.texi: Likewise.
16624 * manual/users.texi: Likewise.
16626 2014-02-25 Carlos O'Donell <carlos@redhat.com>
16629 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16630 _DEFAULT_SOURCE is defined.
16632 2014-02-25 Ulrich Drepper <drepper@gmail.com>
16633 Carlos O'Donell <carlos@redhat.com>
16636 * elf/dl-tls.c (_dl_count_modids): New function.
16637 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16638 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16639 audit library and increment generation counter.
16640 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16641 * elf/tst-audit9.c: New file.
16642 * elf/tst-auditmod9a.c: New file.
16643 * elf/tst-auditmod9b.c: New file.
16644 * elf/Makefile: Add rules to build and run tst-audit9.
16646 2014-02-25 Florian Weimer <fweimer@redhat.com>
16649 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16651 2014-02-25 Will Newton <will.newton@linaro.org>
16653 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16654 (__longjmp): Restore sp and lr before restoring callee
16655 saved registers. Add longjmp and longjmp_target
16656 SystemTap probe point.
16657 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16658 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16659 Define to zero to match jmpbuf layout.
16660 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16661 (__sigsetjmp): Save sp and lr before saving callee
16662 saved registers. Add setjmp SystemTap probe point.
16664 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16666 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16668 2014-02-24 Andreas Schwab <schwab@suse.de>
16671 * elf/pldd.c (wait_for_ptrace_stop): New function.
16672 (main): Call it after attaching.
16674 2014-02-22 Roland McGrath <roland@hack.frob.com>
16676 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16677 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16678 Versions files is now verboten.
16679 * hurd/Versions (libc: GLIBC_2.0):
16680 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16681 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16682 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16683 * mach/Versions: Likewise.
16685 * csu/Versions: Remove unused %include.
16686 * resolv/Versions: Likewise.
16688 2014-02-21 Joseph Myers <joseph@codesourcery.com>
16690 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16691 ($(objpfx)check-local-headers.out): Likewise.
16692 ($(objpfx)begin-end-check.out): Likewise.
16693 * Makerules (check-abi-%.out): Likewise.
16694 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16695 ($(objpfx)test2.cat): Likewise.
16696 ($(objpfx)de/libc.cat): Likewise.
16697 ($(objpfx)test-gencat.out): Likewise.
16698 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16699 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16700 ($(objpfx)noload-mem): Likewise.
16701 ($(objpfx)tst-pathopt.out): Likewise.
16702 ($(objpfx)tst-rtld-load-self.out): Likewise.
16703 ($(objpfx)tst-array1-cmp.out): Likewise.
16704 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16705 ($(objpfx)tst-array2-cmp.out): Likewise.
16706 ($(objpfx)tst-array3-cmp.out): Likewise.
16707 ($(objpfx)tst-array4-cmp.out): Likewise.
16708 ($(objpfx)tst-array5-cmp.out): Likewise.
16709 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16710 ($(objpfx)check-textrel.out): Likewise.
16711 ($(objpfx)check-execstack.out): Likewise.
16712 ($(objpfx)check-localplt.out): Likewise.
16713 ($(objpfx)order2-cmp.out): Likewise.
16714 ($(objpfx)tst-leaks1-mem): Likewise.
16715 ($(objpfx)tst-leaks1-static-mem): Likewise.
16716 ($(objpfx)tst-initorder-cmp.out): Likewise.
16717 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16718 ($(objpfx)tst-unused-dep.out): Likewise.
16719 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16720 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16721 * iconv/Makefile (test-iconvconfig): Likewise.
16722 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16723 ($(objpfx)iconv-test.out): Likewise.
16724 ($(objpfx)tst-tables.out): Likewise.
16725 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16726 ($(objpfx)tst-gettext.out): Likewise.
16727 ($(objpfx)tst-translit.out): Likewise.
16728 ($(objpfx)tst-gettext2.out): Likewise.
16729 ($(objpfx)tst-gettext4.out): Likewise.
16730 ($(objpfx)tst-gettext6.out): Likewise.
16731 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16732 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16733 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16734 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16735 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16736 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16737 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16738 ($(objpfx)wordexp-tst.out): Likewise.
16739 ($(objpfx)annexc.out): Likewise.
16740 ($(objpfx)tst-fnmatch-mem): Likewise.
16741 ($(objpfx)bug-regex2-mem): Likewise.
16742 ($(objpfx)bug-regex14-mem): Likewise.
16743 ($(objpfx)bug-regex21-mem): Likewise.
16744 ($(objpfx)bug-regex31-mem): Likewise.
16745 ($(objpfx)tst-vfork3-mem): Likewise.
16746 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16747 ($(objpfx)tst-pcre-mem): Likewise.
16748 ($(objpfx)tst-boost-mem): Likewise.
16749 ($(objpfx)tst-getconf.out): Likewise.
16750 ($(objpfx)bug-ga2-mem): Likewise.
16751 ($(objpfx)bug-glob2-mem): Likewise.
16752 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16753 ($(objpfx)mtrace-tst-leaks2): Likewise.
16754 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16755 ($(objpfx)tst-printf.out): Likewise.
16756 ($(objpfx)tst-setvbuf1.out): Likewise.
16757 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16758 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16759 ($(objpfx)tst-fmtmsg.out): Likewise.
16760 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16761 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16763 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16764 * bits/sigaction.h [__USE_MISC]: Likewise.
16765 * bits/waitstatus.h: Update #endif comments.
16766 * ctype/ctype.h: Likewise.
16767 * dirent/dirent.h: Likewise.
16768 [__USE_MISC]: Remove redundant conditionals.
16769 * grp/grp.h: Update #endif comments.
16770 [__USE_GNU]: Remove redundant conditionals.
16771 [__USE_MISC]: Likewise.
16772 * inet/netinet/in.h [__USE_GNU]: Likewise.
16773 * io/sys/stat.h [__USE_MISC]: Likewise.
16774 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16775 * libio/bits/stdio.h: Update #endif comments.
16776 [__USE_MISC]: Remove redundant conditionals.
16777 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16778 * libio/stdio.h: Update #endif comments.
16779 [__USE_MISC]: Remove redundant conditionals.
16780 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16781 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16782 * math/math.h: Update #else and #endif comments.
16783 [__USE_MISC]: Remove redundant conditionals.
16784 * misc/sys/uio.h: Update #endif comments.
16785 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16786 * posix/glob.h [__USE_MISC]: Likewise.
16787 * posix/sys/types.h: Update #endif comments.
16788 [__USE_MISC]: Remove redundant conditionals.
16789 * posix/sys/wait.h: Update #endif comments.
16790 [__USE_MISC]: Remove redundant conditionals.
16791 * posix/unistd.h: Update #endif comments.
16792 [__USE_MISC]: Remove redundant conditionals.
16793 * pwd/pwd.h [__USE_GNU]: Likewise.
16794 [__USE_MISC]: Likewise.
16795 * resolv/netdb.h [__USE_GNU]: Likewise.
16796 * signal/signal.h: Update #endif comments.
16797 [__USE_MISC]: Remove redundant conditionals.
16798 * stdlib/stdlib.h: Update #else and #endif comments.
16799 [__USE_MISC]: Remove redundant conditionals.
16800 [__USE_GNU]: Likewise.
16801 * string/bits/string2.h [__USE_MISC]: Likewise.
16802 * string/string.h: Update #endif comments.
16803 [__USE_MISC]: Remove redundant conditionals.
16804 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16806 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16807 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16808 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16810 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16814 [__USE_MISC]: Remove redundant conditionals.
16815 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16816 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16817 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16818 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16819 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16821 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16822 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16824 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16825 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16827 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16829 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16830 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16832 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16834 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16835 * sysdeps/x86/bits/string.h: Update #endif comments.
16836 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16838 * time/sys/time.h: Update #endif comments.
16839 * time/time.h: Likewise.
16840 [__USE_MISC]: Remove redundant conditionals.
16842 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16845 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16847 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16849 * Versions.def (librt): Add GLIBC_2.17.
16851 2014-02-21 Adam Conrad <adconrad@0c3.net>
16853 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16854 synonym for _SYS_AUXV_H to allow direct inclusion.
16855 * sysdeps/sparc/bits/hwcap.h: Likewise.
16856 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16857 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16858 * sysdeps/sparc/sysdep.h: Likewise.
16860 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16862 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16864 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16866 * benchtests/bench-strrchr.c: Print length instead of position.
16868 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16871 * sysdeps/unix/sysv/linux/kernel-features.h
16872 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16873 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16874 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16875 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16877 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16878 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16879 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16880 (__ASSUME_SENDMMSG): Define instead of using previous
16881 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16882 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16883 (__ASSUME_SENDMMSG_SYSCALL): Define.
16884 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16885 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16887 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16888 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16890 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16891 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16893 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16894 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16895 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16896 [__ASSUME_SENDMMSG]: Change conditionals to
16897 [__ASSUME_SENDMMSG_SOCKETCALL].
16898 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16899 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16901 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16902 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16904 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16905 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16906 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16907 [!__ASSUME_SENDMMSG]: Change conditional to
16908 [!__ASSUME_SENDMMSG_SOCKETCALL].
16909 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16910 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16914 * sysdeps/unix/sysv/linux/kernel-features.h
16915 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16916 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16917 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16918 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16919 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16920 [__i386__ || __sparc__]
16921 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16922 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16923 (__ASSUME_RECVMMSG): Define instead of using previous
16924 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16925 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16926 (__ASSUME_RECVMMSG_SYSCALL): Define.
16927 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16928 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16930 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16931 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16933 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16934 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16936 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16937 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16938 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16939 [__ASSUME_RECVMMSG]: Change condition to
16940 [__ASSUME_RECVMMSG_SOCKETCALL].
16941 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16942 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16944 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16945 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16946 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16948 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16949 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16950 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16951 [!__ASSUME_RECVMMSG]: Change condition to
16952 [!__ASSUME_RECVMMSG_SOCKETCALL].
16953 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16954 (__ASSUME_RECVMMSG_SYSCALL): Define.
16957 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16958 __powerpc__ || __s390__ || __sh__ || __sparc__]
16959 (__ASSUME_SOCKETCALL): Define.
16960 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16961 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16962 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16963 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16964 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16965 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16966 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16967 (__ASSUME_ACCEPT4): Define instead of using previous
16968 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16969 __powerpc__ || __sparc__ || __s390__)] condition.
16970 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16971 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16972 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16973 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16974 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16975 [!__ASSUME_ACCEPT4]: Change condition to
16976 [!__ASSUME_ACCEPT4_SOCKETCALL].
16977 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16978 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16979 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16980 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16981 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16982 __ASSUME_ACCEPT4_SYSCALL.
16983 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16984 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16985 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16986 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16987 __ASSUME_ACCEPT4_SYSCALL.
16988 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16989 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16990 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16991 [__ASSUME_ACCEPT4]: Change condition to
16992 [__ASSUME_ACCEPT4_SOCKETCALL].
16993 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16994 (__ASSUME_SOCKETCALL): Define.
16995 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16996 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16997 (__ASSUME_SOCKETCALL): Define.
16998 (__ASSUME_ACCEPT4): Remove.
16999 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17001 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17002 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17004 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17005 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17007 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17009 (HWCAP_ARM_LPAE): Likewise.
17010 (HWCAP_ARM_EVTSTRM): Likewise.
17011 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17012 Add vpfd32, lpae and evtstrm.
17013 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17016 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17018 * math/auto-libm-test-in: Add tests of clog10.
17019 * math/auto-libm-test-out: Regenerated.
17020 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17021 * sysdeps/i386/fpu/libm-test-ulps: Update.
17022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17024 2014-02-18 Andreas Schwab <schwab@suse.de>
17027 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17028 Store non-zero if the second buffer was newly allocated.
17029 (send_dg): Likewise.
17030 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17031 to send_vc and send_dg.
17032 (res_nsend): Pass NULL for ansp2_malloced.
17033 * resolv/res_query.c (__libc_res_nquery): Add parameter
17034 answerp2_malloced and pass it down to __libc_res_nsend.
17035 (res_nquery): Pass additional NULL to __libc_res_nquery.
17036 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17037 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17038 second answer buffer if answerp2_malloced was set.
17039 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17040 (__libc_res_nquerydomain): Add parameter
17041 answerp2_malloced and pass it down to __libc_res_nquery.
17042 (res_nquerydomain): Pass additional NULL to
17043 __libc_res_nquerydomain.
17044 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17045 additional NULL to __libc_res_nsend and __libc_res_nquery.
17046 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17047 additional NULL to __libc_res_nsearch.
17048 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17049 parameter of __libc_res_nsearch to check for separately allocated
17051 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17053 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17054 additional NULL to __libc_res_nquery.
17055 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17056 __libc_res_nsearch.
17057 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17058 * include/resolv.h: Update prototypes of __libc_res_nquery,
17059 __libc_res_nsearch, __libc_res_nsend.
17061 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17063 * math/auto-libm-test-in: Add tests of fma.
17064 * math/auto-libm-test-out: Regenerated.
17065 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17066 (fma_towardzero_test_data): Likewise.
17067 (fma_downward_test_data): Likewise.
17068 (fma_upward_test_data): Likewise.
17069 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17071 (rounding_modes): Add values for new field.
17072 (func_calc_method): Add value mpfr_fff_f.
17073 (func_calc_desc): Add mpfr_fff_f union field.
17074 (test_function): Add field exact_args.
17075 (FUNC): Add macro argument EXACT_ARGS.
17076 (FUNC_mpfr_f_f): Update call to FUNC.
17077 (FUNC_mpfr_f_f): Likewise.
17078 (FUNC_mpfr_ff_f): Likewise.
17079 (FUNC_mpfr_if_f): Likewise.
17080 (FUNC_mpc_c_f): Likewise.
17081 (FUNC_mpc_c_c): Likewise.
17082 (test_functions): Add fma. Update calls to FUNC.
17083 (handle_input_arg): Add argument exact_args.
17084 (add_test): Update call to handle_input_arg.
17085 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17086 (output_for_one_input_case): Update call to calc_generic_results.
17087 Recalculate exact zero results in each rounding mode.
17089 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17090 non-negative before setting low bit.
17091 * math/auto-libm-test-in: Mark one asin test possibly having
17092 spurious underflow.
17093 * math/auto-libm-test-out: Regenerated.
17094 * sysdeps/i386/fpu/libm-test-ulps: Update.
17095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17097 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17099 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17100 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17101 ports/sysdeps/unix/sysv/linux/microblaze.
17102 * README: Add missing listing for microblaze*-*-linux-gnu.
17104 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17106 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17109 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17111 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17112 * sysdeps/unix/sysv/linux/ia64: Move directory from
17113 ports/sysdeps/unix/sysv/linux/ia64.
17114 * README: Update listing for ia64-*-linux-gnu.
17116 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17117 Joseph Myers <joseph@codesourcery.com>
17119 * Makeconfig (test-name): New variable.
17120 (evaluate-test): Likewise.
17121 * Makerules (do-test-clean): Remove .test-result files.
17122 (common-mostlyclean): Likewise.
17123 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17124 * scripts/evaluate-test.sh: New file.
17126 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17128 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17129 separate $(objpfx)tst-fopenloc-cmp.out and
17130 $(objpfx)tst-fopenloc-mem.out targets.
17131 (tests): Update dependencies.
17132 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17133 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17134 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17135 (tst-rxspencer-no-utf8-ARGS): New variable.
17136 (tst-rxspencer-no-utf8-ENV): Likewise.
17137 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17138 instead of $(objpfx)tst-rxspencer-mem.
17139 ($(objpfx)tst-rxspencer-mem): Change target to
17140 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17141 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17142 * posix/tst-rxspencer-no-utf8.c: New file.
17144 * elf/Makefile ($(objpfx)order.out): Remove rule.
17145 [$(run-built-tests) = yes] (tests): Depend on
17146 $(objpfx)order-cmp.out.
17147 ($(objpfx)order-cmp.out): New rule.
17148 [$(run-built-tests) = yes] (tests): Depend on
17149 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17150 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17151 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17152 $(objpfx)tst-array5-static-cmp.out.
17153 ($(objpfx)tst-array1.out): Remove rule.
17154 ($(objpfx)tst-array1-cmp.out): New rule.
17155 ($(objpfx)tst-array1-static.out): Remove rule.
17156 ($(objpfx)tst-array1-static-cmp.out): New rule.
17157 ($(objpfx)tst-array2.out): Remove rule.
17158 ($(objpfx)tst-array2-cmp.out): New rule.
17159 ($(objpfx)tst-array3.out): Remove rule.
17160 ($(objpfx)tst-array3-cmp.out): New rule.
17161 ($(objpfx)tst-array4.out): Remove rule.
17162 ($(objpfx)tst-array4-cmp.out): New rule.
17163 ($(objpfx)tst-array5.out): Remove rule.
17164 ($(objpfx)tst-array5-cmp.out): New rule.
17165 ($(objpfx)tst-array5-static.out): Remove rule.
17166 ($(objpfx)tst-array5-static-cmp.out): New rule.
17167 [$(run-built-tests) = yes] (tests): Depend on
17168 $(objpfx)order2-cmp.out.
17169 ($(objpfx)order2.out): Remove rule.
17170 ($(objpfx)order2-cmp.out): New rule.
17171 ($(objpfx)tst-initorder.out): Remove rule.
17172 [$(run-built-tests) = yes] (tests): Depend on
17173 $(objpfx)tst-initorder-cmp.out.
17174 ($(objpfx)tst-initorder-cmp.out): New rule.
17175 ($(objpfx)tst-initorder2.out): Remove rule.
17176 [$(run-built-tests) = yes] (tests): Depend on
17177 $(objpfx)tst-initorder2-cmp.out.
17178 ($(objpfx)tst-initorder2-cmp.out): New rule.
17179 [$(run-built-tests) = yes] (tests): Depend on
17180 $(objpfx)tst-unused-dep-cmp.out.
17181 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17182 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17183 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17184 on $(objpfx)tst-setvbuf1-cmp.out.
17185 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17186 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17187 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17188 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17189 ($(objpfx)tst-svc.out): Remove rule.
17190 ($(objpfx)tst-svc-cmp.out): New rule.
17192 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17194 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17195 * ctype/ctype.h [__USE_MISC]: Likewise.
17196 * dirent/dirent.h [__USE_MISC]: Likewise.
17197 * grp/grp.h [__USE_MISC]: Likewise.
17198 * io/fcntl.h [__USE_MISC]: Likewise.
17199 * io/sys/stat.h [__USE_MISC]: Likewise.
17200 * libio/stdio.h [__USE_MISC]: Likewise.
17201 * posix/unistd.h [__USE_MISC]: Likewise.
17202 * pwd/pwd.h [__USE_MISC]: Likewise.
17203 * stdlib.h [__USE_MISC]: Likewise.
17204 * string/bits/string2.h [__USE_MISC]: Likewise.
17205 * string/string.h [__USE_MISC]: Likewise.
17206 * time/time.h [__USE_MISC]: Likewise.
17208 2014-02-13 Andreas Schwab <schwab@suse.de>
17211 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17212 second answer buffer if it was separately allocated.
17214 2014-02-12 Joseph Myers <joseph@codesourcery.com>
17216 * sysdeps/mips/math-tests.h: Include <features.h>.
17217 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17218 (ROUNDING_TESTS_long_double): Do not define.
17219 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17220 (EXCEPTION_TESTS_long_double): Likewise.
17221 * sysdeps/mips/mips64/libm-test-ulps: Update.
17223 * include/features.h (__USE_BSD): Remove macro definitions.
17224 (__USE_SVID): Likewise.
17225 (_BSD_SOURCE): Likewise.
17226 (_SVID_SOURCE): Likewise.
17227 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17228 from definition of _DEFAULT_SOURCE.
17229 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17231 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17232 * bits/mman.h [__USE_BSD]: Likewise.
17233 * bits/termios.h [__USE_BSD]: Likewise.
17234 * bits/waitstatus.h [__USE_BSD]: Likewise.
17235 * ctype/ctype.h [__USE_SVID]: Likewise.
17236 * dirent/dirent.h [__USE_BSD]: Likewise.
17237 * grp/grp.h [__USE_SVID]: Likewise.
17238 [__USE_BSD]: Likewise.
17239 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17240 * io/fcntl.h [__USE_BSD]: Likewise.
17241 * io/ftw.h [__USE_BSD]: Likewise.
17242 * io/sys/stat.h [__USE_BSD]: Likewise.
17243 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17244 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17245 * libio/stdio.h [__USE_SVID]: Likewise.
17246 [__USE_BSD]: Likewise.
17247 * math/math.h [__USE_SVID]: Likewise.
17248 [__USE_BSD]: Likewise.
17249 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17250 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17251 * misc/search.h [__USE_SVID]: Likewise.
17252 * misc/sys/mman.h [__USE_BSD]: Likewise.
17253 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17254 * misc/sys/uio.h [__USE_BSD]: Likewise.
17255 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17256 * posix/glob.h [__USE_BSD]: Likewise.
17257 * posix/regex.h [__USE_BSD]: Likewise.
17258 * posix/sys/types.h [__USE_BSD]: Likewise.
17259 [__USE_SVID]: Likewise.
17260 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17261 * posix/sys/wait.h [__USE_BSD]: Likewise.
17262 [__USE_SVID]: Likewise.
17263 * posix/unistd.h [__USE_BSD]: Likewise.
17264 [__USE_SVID]: Likewise.
17265 * pwd/pwd.h [__USE_SVID]: Likewise.
17266 * resolv/netdb.h [__USE_BSD]: Likewise.
17267 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17268 * signal/signal.h [__USE_BSD]: Likewise.
17269 [__USE_SVID]: Likewise.
17270 * socket/sys/socket.h [__USE_BSD]: Likewise.
17271 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17272 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17273 [__USE_SVID]: Likewise.
17274 * string/bits/string2.h [__USE_BSD]: Likewise.
17275 [__USE_SVID]: Likewise.
17276 * string/bits/string3.h [__USE_BSD]: Likewise.
17277 * string/endian.h [__USE_BSD]: Likewise.
17278 * string/string.h [__USE_SVID]: Likewise.
17279 [__USE_BSD]: Likewise.
17280 * string/strings.h [__USE_BSD]: Likewise.
17281 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17282 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17283 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17284 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17285 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17286 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17288 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17290 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17291 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17293 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17294 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17296 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17298 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17299 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17302 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17304 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17305 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17306 * termios/termios.h [__USE_BSD]: Likewise.
17307 * time/sys/time.h [__USE_BSD]: Likewise.
17308 * time/time.h [__USE_BSD]: Likewise.
17309 [__USE_SVID]: Likewise.
17311 * Makefile (subdir_targets): Remove subdir_lint.out.
17313 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17314 (do-tst-printf): Likewise.
17315 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17316 $(objpfx)tst-printf.out.
17318 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17320 * Makerules (check-abi-%): Change target to
17321 $(objpfx)check-abi-%.out.
17322 (check-abi target): Update dependencies.
17323 (check-abi-pattern variable): Redirect output of diff to $@.
17324 (check-abi variable): Likewise.
17325 * elf/Makefile (check-abi): Update dependencies.
17327 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17329 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17330 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17332 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17333 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17334 value has largest subnormal exponent.
17335 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17336 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17337 * sysdeps/aarch64/soft-fp/sfp-machine.h
17338 (_FP_TININESS_AFTER_ROUNDING): New macro.
17339 * sysdeps/alpha/soft-fp/sfp-machine.h
17340 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17341 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17343 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17344 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17345 * sysdeps/mips/soft-fp/sfp-machine.h
17346 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17347 * sysdeps/powerpc/soft-fp/sfp-machine.h
17348 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17349 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17351 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17352 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17353 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17354 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17355 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17358 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
17361 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17364 2014-02-12 Richard Henderson <rth@redhat.com>
17366 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17367 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17368 * sysdeps/unix/sysv/linux/alpha: Move directory from
17369 ports/sysdeps/unix/sysv/linux/alpha.
17370 * README: Update listing for alpha-*-linux-gnu.
17372 2014-02-11 Joseph Myers <joseph@codesourcery.com>
17374 * include/features.h: Update comment documenting feature test
17376 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17378 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17379 (_SVID_SOURCE): Likewise.
17380 (_DEFAULT_SOURCE): Update description of default features.
17381 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17383 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17384 (S_ISVTX): Likewise.
17385 * manual/math.texi (Mathematical Constants): Likewise.
17386 * manual/signal.texi (Interrupted Primitives): Likewise.
17387 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17388 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17389 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17390 Don't refer to _SVID_SOURCE in warning text.
17392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17394 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17396 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17397 * sysdeps/mips/dl-lookup.c: Remove.
17398 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17400 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17403 * math/auto-libm-test-in: Add testcase for expl.
17404 * math/auto-libm-test-out: Regenerate.
17405 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17406 calculation of unsafe.
17407 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17409 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17411 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17412 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17413 ports/sysdeps/unix/sysv/linux/aarch64.
17414 * README: Update listing for aarch64*-*-linux-gnu.
17416 2014-02-11 Will Newton <will.newton@linaro.org>
17418 * manual/probes.texi (Mathematical Function Probes): Use
17419 "triggered" instead of "hit".
17421 * manual/probes.texi (Internal Probes): Add documentation
17422 of setjmp, longjmp and longjmp_target probes.
17424 * include/stap-probe.h: Add comment about probe argument
17427 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17428 definition. (tr_where, tr_freehook, tr_mallochook,
17429 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17431 2014-02-11 David S. Miller <davem@davemloft.net>
17433 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17434 processing int_tests.
17436 2014-02-10 Joseph Myers <joseph@codesourcery.com>
17438 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17439 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17440 * sysdeps/unix/sysv/linux/mips: Move directory from
17441 ports/sysdeps/unix/sysv/linux/mips.
17442 * README: Update listing for mips-*-linux-gnu and
17443 mips64-*-linux-gnu.
17445 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17447 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17448 * sysdeps/unix/sysv/linux/m68k: Move directory from
17449 ports/sysdeps/unix/sysv/linux/m68k.
17450 * README: Update listing for m68k-*-linux-gnu.
17452 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17454 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17455 * sysdeps/unix/sysv/linux/generic: Move directory from
17456 ports/sysdeps/unix/sysv/linux/generic.
17457 * sysdeps/unix/sysv/linux/tile: Move directory from
17458 ports/sysdeps/unix/sysv/linux/tile.
17459 * README: Update listing for tile*-*-linux-gnu.
17461 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
17463 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17465 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17466 * catgets/open_catalog.c (__open_catalog): Likewise.
17467 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17468 * debug/confstr_chk.c: Likewise.
17469 * debug/fread_chk.c (__fread_chk): Likewise.
17470 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17471 * debug/getgroups_chk.c: Likewise.
17472 * debug/mbsnrtowcs_chk.c: Likewise.
17473 * debug/mbsrtowcs_chk.c: Likewise.
17474 * debug/mbstowcs_chk.c: Likewise.
17475 * debug/memcpy_chk.c: Likewise.
17476 * debug/memmove_chk.c: Likewise.
17477 * debug/mempcpy_chk.c: Likewise.
17478 * debug/memset_chk.c: Likewise.
17479 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17480 * debug/strcat_chk.c (__strcat_chk): Likewise.
17481 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17482 * debug/strncat_chk.c (__strncat_chk): Likewise.
17483 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17484 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17485 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17486 * debug/wcpncpy_chk.c: Likewise.
17487 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17488 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17489 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17490 * debug/wcsncpy_chk.c: Likewise.
17491 * debug/wcsnrtombs_chk.c: Likewise.
17492 * debug/wcsrtombs_chk.c: Likewise.
17493 * debug/wcstombs_chk.c: Likewise.
17494 * debug/wmemcpy_chk.c: Likewise.
17495 * debug/wmemmove_chk.c: Likewise.
17496 * debug/wmempcpy_chk.c: Likewise.
17497 * debug/wmemset_chk.c: Likewise.
17498 * dirent/scandirat.c (SCANDIRAT): Likewise.
17499 * dlfcn/dladdr1.c (dladdr1): Likewise.
17500 * dlfcn/dladdr.c (dladdr): Likewise.
17501 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17502 * dlfcn/dlerror.c (__dlerror): Likewise.
17503 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17504 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17505 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17506 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17507 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17508 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17509 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17510 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17512 * elf/dl-conflict.c: Likewise.
17513 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17514 * elf/dl-dst.h: Likewise.
17515 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17516 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17517 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17518 * elf/dl-init.c (call_init, _dl_init): Likewise.
17519 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17520 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17521 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17523 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17525 * elf/dl-minimal.c (__libc_memalign): Likewise.
17526 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17527 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17528 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17529 * elf/dl-sym.c (do_sym): Likewise.
17530 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17531 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17532 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17533 * elf/dl-writev.h (_dl_writev): Likewise.
17534 * elf/ldconfig.c (search_dir): Likewise.
17535 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17536 (dl_main): Likewise.
17537 * elf/setup-vdso.h (setup_vdso): Likewise.
17538 * grp/compat-initgroups.c (compat_call): Likewise.
17539 * grp/fgetgrent.c (fgetgrent): Likewise.
17540 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17541 * grp/putgrent.c (putgrent): Likewise.
17542 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17544 * hurd/hurdinit.c: Likewise.
17545 * iconvdata/8bit-gap.c (struct): Likewise.
17546 * iconvdata/ansi_x3.110.c : Likewise.
17547 * iconvdata/big5.c : Likewise.
17548 * iconvdata/big5hkscs.c : Likewise.
17549 * iconvdata/cp1255.c: Likewise.
17550 * iconvdata/cp1258.c : Likewise.
17551 * iconvdata/cp932.c : Likewise.
17552 * iconvdata/euc-cn.c: Likewise.
17553 * iconvdata/euc-jisx0213.c : Likewise.
17554 * iconvdata/euc-jp.c: Likewise.
17555 * iconvdata/euc-jp-ms.c : Likewise.
17556 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17557 * iconvdata/gb18030.c : Likewise.
17558 * iconvdata/gbbig5.c (const): Likewise.
17559 * iconvdata/gbgbk.c: Likewise.
17560 * iconvdata/gbk.c : Likewise.
17561 * iconvdata/ibm1364.c : Likewise.
17562 * iconvdata/ibm930.c : Likewise.
17563 * iconvdata/ibm932.c: Likewise.
17564 * iconvdata/ibm933.c : Likewise.
17565 * iconvdata/ibm935.c : Likewise.
17566 * iconvdata/ibm937.c : Likewise.
17567 * iconvdata/ibm939.c : Likewise.
17568 * iconvdata/ibm943.c: Likewise.
17569 * iconvdata/iso_11548-1.c: Likewise.
17570 * iconvdata/iso-2022-cn.c : Likewise.
17571 * iconvdata/iso-2022-cn-ext.c : Likewise.
17572 * iconvdata/iso-2022-jp-3.c: Likewise.
17573 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17574 * iconvdata/iso-2022-kr.c : Likewise.
17575 * iconvdata/iso646.c (gconv_end): Likewise.
17576 * iconvdata/iso_6937-2.c : Likewise.
17577 * iconvdata/iso_6937.c : Likewise.
17578 * iconvdata/iso8859-1.c: Likewise.
17579 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17580 * iconvdata/shift_jisx0213.c : Likewise.
17581 * iconvdata/sjis.c : Likewise.
17582 * iconvdata/t.61.c : Likewise.
17583 * iconvdata/tcvn5712-1.c : Likewise.
17584 * iconvdata/tscii.c: Likewise.
17585 * iconvdata/uhc.c : Likewise.
17586 * iconvdata/unicode.c (gconv_end): Likewise.
17587 * iconvdata/utf-16.c (gconv_end): Likewise.
17588 * iconvdata/utf-32.c (gconv_end): Likewise.
17589 * iconvdata/utf-7.c (base64): Likewise.
17590 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17591 * iconv/gconv_close.c (__gconv_close): Likewise.
17592 * iconv/gconv_open.c (__gconv_open): Likewise.
17593 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17594 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17595 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17596 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17597 (ucs4le_internal_loop_single): Likewise.
17598 * iconv/iconv.c (iconv): Likewise.
17599 * iconv/iconv_close.c: Likewise.
17600 * iconv/loop.c (SINGLE): Likewise.
17601 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17602 * include/atomic.h: Likewise.
17603 * inet/inet6_option.c (option_alloc): Likewise.
17604 * intl/bindtextdom.c (set_binding_values): Likewise.
17605 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17606 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17607 * intl/localealias.c (read_alias_file): Likewise.
17608 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17609 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17610 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17611 * libio/fmemopen.c (fmemopen): Likewise.
17612 * libio/iofgets.c (_IO_fgets): Likewise.
17613 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17614 * libio/iofgetws.c (fgetws): Likewise.
17615 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17616 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17617 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17618 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17619 * locale/findlocale.c (_nl_find_locale): Likewise.
17620 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17621 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17623 * locale/setlocale.c (setlocale): Likewise.
17624 * login/programs/pt_chown.c (main): Likewise.
17625 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17626 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17627 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17628 (mmap, mmap64, mremap, munmap): Likewise.
17629 * math/e_exp2l.c: Likewise.
17630 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17631 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17632 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17633 * math/s_catan.c (__catan): Likewise.
17634 * math/s_catanf.c (__catanf): Likewise.
17635 * math/s_catanh.c (__catanh): Likewise.
17636 * math/s_catanhf.c (__catanhf): Likewise.
17637 * math/s_catanhl.c (__catanhl): Likewise.
17638 * math/s_catanl.c (__catanl): Likewise.
17639 * math/s_ccosh.c (__ccosh): Likewise.
17640 * math/s_ccoshf.c (__ccoshf): Likewise.
17641 * math/s_ccoshl.c (__ccoshl): Likewise.
17642 * math/s_cexp.c (__cexp): Likewise.
17643 * math/s_cexpf.c (__cexpf): Likewise.
17644 * math/s_cexpl.c (__cexpl): Likewise.
17645 * math/s_clog10.c (__clog10): Likewise.
17646 * math/s_clog10f.c (__clog10f): Likewise.
17647 * math/s_clog10l.c (__clog10l): Likewise.
17648 * math/s_clog.c (__clog): Likewise.
17649 * math/s_clogf.c (__clogf): Likewise.
17650 * math/s_clogl.c (__clogl): Likewise.
17651 * math/s_csin.c (__csin): Likewise.
17652 * math/s_csinf.c (__csinf): Likewise.
17653 * math/s_csinh.c (__csinh): Likewise.
17654 * math/s_csinhf.c (__csinhf): Likewise.
17655 * math/s_csinhl.c (__csinhl): Likewise.
17656 * math/s_csinl.c (__csinl): Likewise.
17657 * math/s_csqrt.c (__csqrt): Likewise.
17658 * math/s_csqrtf.c (__csqrtf): Likewise.
17659 * math/s_csqrtl.c (__csqrtl): Likewise.
17660 * math/s_ctan.c (__ctan): Likewise.
17661 * math/s_ctanf.c (__ctanf): Likewise.
17662 * math/s_ctanh.c (__ctanh): Likewise.
17663 * math/s_ctanhf.c (__ctanhf): Likewise.
17664 * math/s_ctanhl.c (__ctanhl): Likewise.
17665 * math/s_ctanl.c (__ctanl): Likewise.
17666 * math/w_pow.c: Likewise.
17667 * math/w_powf.c: Likewise.
17668 * math/w_powl.c: Likewise.
17669 * math/w_scalb.c (sysv_scalb): Likewise.
17670 * math/w_scalbf.c (sysv_scalbf): Likewise.
17671 * math/w_scalbl.c (sysv_scalbl): Likewise.
17672 * misc/error.c (error_tail): Likewise.
17673 * misc/pselect.c (__pselect): Likewise.
17674 * nis/nis_callback.c (__nis_create_callback): Likewise.
17675 * nis/nis_call.c (__nisfind_server): Likewise.
17676 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17677 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17678 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17679 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17680 * nis/nis_lookup.c (nis_lookup): Likewise.
17681 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17682 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17683 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17684 * nis/nis_xdr.c (xdr_endpoint): Likewise.
17685 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17686 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17687 * nis/nss_compat/compat-initgroups.c (add_group)
17688 (internal_getgrent_r): Likewise.
17689 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17690 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17691 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17692 (internal_getspnam_r): Likewise.
17693 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17694 (_nss_nis_getaliasbyname_r): Likewise.
17695 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17696 (_nss_nis_getntohost_r): Likewise.
17697 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17698 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17699 (_nss_nis_getgrgid_r): Likewise.
17700 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17701 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17702 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17703 (_nss_nis_gethostbyname4_r): Likewise.
17704 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17705 (initgroups_netid): Likewise.
17706 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17707 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17708 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17709 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17710 (_nss_nis_getprotobynumber_r): Likewise.
17711 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17712 (_nss_nis_getsecretkey): Likewise.
17713 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17714 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17715 (_nss_nis_getpwuid_r): Likewise.
17716 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17717 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17718 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17719 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17720 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17721 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17722 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17724 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17725 (_nss_nisplus_getntohost_r): Likewise.
17726 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17727 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17728 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17729 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17731 * nis/nss_nisplus/nisplus-initgroups.c
17732 (_nss_nisplus_initgroups_dyn): Likewise.
17733 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17734 (_nss_nisplus_getnetbyaddr_r): Likewise.
17735 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17736 (_nss_nisplus_getprotobynumber_r): Likewise.
17737 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17738 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17739 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17741 * nis/nss_nisplus/nisplus-service.c
17742 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17743 (_nss_nisplus_getservbyport_r): Likewise.
17744 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17745 (_nss_nisplus_getspnam_r): Likewise.
17746 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17748 * nscd/aicache.c (addhstaiX): Likewise.
17749 * nscd/cache.c (cache_search, prune_cache): Likewise.
17750 * nscd/connections.c (register_traced_file, send_ro_fd)
17751 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17752 (main_loop_epoll): Likewise.
17753 * nscd/grpcache.c (addgrbyX): Likewise.
17754 * nscd/hstcache.c (addhstbyX): Likewise.
17755 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17756 * nscd/mem.c (gc, mempool_alloc): Likewise.
17757 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17758 (addinnetgrX): Likewise.
17759 * nscd/nscd-client.h (__nscd_acquire_maplock)
17760 (__nscd_drop_map_ref): Likewise.
17761 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17762 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17763 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17765 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17766 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17767 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17768 (__nscd_get_map_ref): Likewise.
17769 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17770 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17772 * nscd/pwdcache.c (addpwbyX): Likewise.
17773 * nscd/selinux.c (preserve_capabilities): Likewise.
17774 * nscd/servicescache.c (addservbyX): Likewise.
17775 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17776 * posix/fnmatch.c (fnmatch): Likewise.
17777 * posix/getopt.c (_getopt_internal_r): Likewise.
17778 * posix/glob.c (glob, glob_in_dir): Likewise.
17779 * posix/wordexp.c (exec_comm_child): Likewise.
17780 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17781 (getanswer_r, gaih_getanswer_slice): Likewise.
17782 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17783 * resolv/res_init.c: Likewise.
17784 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17785 * resolv/res_query.c (__libc_res_nquery): Likewise.
17786 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17788 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17789 * stdio-common/perror.c (perror): Likewise.
17790 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17791 * stdio-common/tmpnam.c (tmpnam): Likewise.
17792 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17793 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17794 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17796 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17797 * stdlib/putenv.c (putenv): Likewise.
17798 * stdlib/setenv.c (__add_to_environ): Likewise.
17799 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17800 * stdlib/strtol_l.c (INTERNAL): Likewise.
17801 * string/memmem.c (memmem): Likewise.
17802 * string/strerror.c (strerror): Likewise.
17803 * string/strnlen.c (__strnlen): Likewise.
17804 * string/test-memmem.c (simple_memmem): Likewise.
17805 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17806 * sunrpc/pm_getport.c (__get_socket): Likewise.
17807 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17808 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17809 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17810 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17812 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17813 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17814 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17815 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17816 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17817 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17819 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17821 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17822 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17823 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17824 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17825 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17827 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17828 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17829 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17830 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17831 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17832 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17834 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17836 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17838 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17839 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17840 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17841 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17842 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17843 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17844 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17847 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17848 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17850 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17851 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17853 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17855 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17857 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17859 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17861 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17863 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17865 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17866 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17867 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17868 * sysdeps/posix/sleep.c: Likewise.
17869 * sysdeps/posix/tempname.c: Likewise.
17870 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17871 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17873 * sysdeps/powerpc/powerpc32/dl-machine.h
17874 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17875 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17876 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17877 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17878 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17880 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17881 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17882 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17883 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17884 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17885 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17886 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17887 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17888 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17889 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17890 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17891 (elf_machine_lazy_rel): Likewise.
17892 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17894 (elf_machine_lazy_rel): Likewise.
17895 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17896 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17897 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17898 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17899 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17900 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17901 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17902 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17904 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17905 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17906 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17907 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17908 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17909 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17910 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17911 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17912 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17913 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17914 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17916 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17917 (__posix_fallocate64_l64): Likewise.
17918 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17919 (posix_fallocate): Likewise.
17920 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17923 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17924 (getifaddrs_internal): Likewise.
17925 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17926 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17927 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17928 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17929 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17930 (__posix_fallocate64_l64): Likewise.
17931 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17933 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17934 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17935 (__get_clockfreq): Likewise.
17936 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17937 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17938 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17939 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17940 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17941 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17942 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17943 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17945 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17946 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17947 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17948 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17949 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17950 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17951 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17953 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17954 (posix_fallocate): Likewise.
17955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17956 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17957 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17958 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17959 (elf_machine_rela, elf_machine_rela_relative)
17960 (elf_machine_lazy_rel): Likewise.
17961 * time/asctime.c (asctime_internal): Likewise.
17962 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17963 * time/tzset.c (__tzset_parse_tz): Likewise.
17964 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17965 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17966 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17967 * wcsmbs/wcsmbsload.h: Likewise.
17970 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17972 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17973 (arena_get2): Remove THREAD_STATS conditionals.
17974 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17975 (__malloc_stats, int): Likewise.
17977 2014-02-08 Mike Frysinger <vapier@gentoo.org>
17979 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17980 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17982 * manual/setjmp.texi: Fix typos/grammar errors.
17984 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17985 Only return early when n is <= 0. Delete unused return statement.
17987 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17988 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17989 * debug/tst-longjmp_chk3.c: New file.
17991 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17992 (test_main): Replace code with set_fortify_handler call.
17993 * debug/test-strcpy_chk.c: Likewise.
17994 * debug/tst-chk1.c: Likewise.
17995 * debug/tst-longjmp_chk.c: Likewise.
17996 * test-skeleton.c: Include fcntl.h & paths.h
17997 (set_fortify_handler): Define.
17999 * debug/tst-longjmp_chk.c: Add header comment and include
18000 ../test-skeleton.c.
18001 (do_test): Mark static.
18002 (TEST_FUNCTION): Define.
18004 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18005 (IP_PMTUDISC_INTERFACE): Likewise.
18006 (IP_MULTICAST_IF): Likewise.
18007 (IP_MULTICAST_TTL): Likewise.
18008 (IP_MULTICAST_LOOP): Likewise.
18009 (IP_ADD_MEMBERSHIP): Likewise.
18010 (IP_DROP_MEMBERSHIP): Likewise.
18011 (IP_UNBLOCK_SOURCE): Likewise.
18012 (IP_BLOCK_SOURCE): Likewise.
18013 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18014 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18015 (IP_MSFILTER): Likewise.
18016 (MCAST_JOIN_GROUP): Likewise.
18017 (MCAST_BLOCK_SOURCE): Likewise.
18018 (MCAST_UNBLOCK_SOURCE): Likewise.
18019 (MCAST_LEAVE_GROUP): Likewise.
18020 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18021 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18022 (MCAST_MSFILTER): Likewise.
18023 (IP_MULTICAST_ALL): Likewise.
18024 (IP_UNICAST_IF): Likewise.
18026 * timezone/Makefile: Delete $(have-ksh) check.
18027 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18028 * timezone/tzselect.ksh: Add +x mode bits.
18030 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18031 (ANON_INODE_FS_MAGIC): Likewise.
18032 (BDEVFS_MAGIC): Likewise.
18033 (BINFMTFS_MAGIC): Likewise.
18034 (BTRFS_TEST_MAGIC): Likewise.
18035 (CRAMFS_MAGIC_WEND): Likewise.
18036 (DEBUGFS_MAGIC): Likewise.
18037 (ECRYPTFS_SUPER_MAGIC): Likewise.
18038 (EXT3_SUPER_MAGIC): Likewise.
18039 (EXT4_SUPER_MAGIC): Likewise.
18040 (FUTEXFS_SUPER_MAGIC): Likewise.
18041 (HOSTFS_SUPER_MAGIC): Likewise.
18042 (HUGETLBFS_MAGIC): Likewise.
18043 (MINIX3_SUPER_MAGIC): Likewise.
18044 (MTD_INODE_FS_MAGIC): Likewise.
18045 (NILFS_SUPER_MAGIC): Likewise.
18046 (OPENPROM_SUPER_MAGIC): Likewise.
18047 (PIPEFS_MAGIC): Likewise.
18048 (PSTOREFS_MAGIC): Likewise.
18049 (QNX6_SUPER_MAGIC): Likewise.
18050 (RAMFS_MAGIC): Likewise.
18051 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18052 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18053 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18054 (SECURITYFS_MAGIC): Likewise.
18055 (SELINUX_MAGIC): Likewise.
18056 (SMACK_MAGIC): Likewise.
18057 (SOCKFS_MAGIC): Likewise.
18058 (SQUASHFS_MAGIC): Likewise.
18059 (STACK_END_MAGIC): Likewise.
18060 (TMPFS_MAGIC): Likewise.
18061 (USBDEVICE_SUPER_MAGIC): Likewise.
18062 (V9FS_MAGIC): Likewise.
18063 (XENFS_SUPER_MAGIC): Likewise.
18064 (CRAMFS_MAGIC): Fix typo in comment.
18065 (EXT2_SUPER_MAGIC): Update comment.
18066 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18068 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18070 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18071 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18072 * sysdeps/unix/sysv/linux/arm: Move directory from
18073 ports/sysdeps/unix/sysv/linux/arm.
18074 * README: Update listing for arm-*-linux-gnueabi.
18076 * README: Remove mention of am33.
18078 2014-02-07 Roland McGrath <roland@hack.frob.com>
18080 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18081 than the comma operator, to avoid "rhs of comma has no effect"
18083 (__sigfillset, __sigandset, __sigorset): Likewise.
18084 * include/signal.h (__sigemptyset): Likewise.
18085 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18087 2014-02-07 Allan McRae <allan@archlinux.org>
18089 * version.h (RELEASE): Set to "development".
18090 (VERSION): Set to "2.19.90"
18091 * NEWS: Add 2.20 section.
18093 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18096 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18098 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18100 * manual/contrib.texi: Update entry for Carlos O'Donell,
18101 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18103 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18105 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18107 * sysdeps/unix/sysv/linux/kernel-features.h
18108 [__LINUX_KERNEL_VERSION >= 0x020621]
18109 (__ASSUME_PROC_PID_TASK_COMM): Define.
18111 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18114 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18115 conversion when destination buffer does not have enough space.
18116 * libio/tst-ftell-partial-wide.c: New test case.
18117 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18119 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18120 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18121 Leonard and Allan McRae.
18123 2014-02-04 David S. Miller <davem@davemloft.net>
18125 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18128 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18157 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18159 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18160 * shlib-versions: Likewise.
18162 2014-02-04 Roland McGrath <roland@hack.frob.com>
18163 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18165 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18166 (abilist-pattern): New variable, set to %-le.abilist.
18168 * Makerules (abilist-pattern): New variable.
18169 (vpath): Use $(abilist-pattern) in place of %.abilist.
18170 (check-abi-% pattern rule): Likewise.
18171 (check-abi, update-abi): Likewise.
18173 2014-02-04 Eric Wong <normalperson@yhbt.net>
18175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18177 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18179 * manual/startup.texi: Add next, previous, and top entries for
18180 the `Program Arguments' and `Environment Variables' nodes.
18182 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18184 * manual/macros.texi: Add comments before MTASC-safety macros.
18186 * manual/users.texi: Document MTASC-safety properties.
18188 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18189 (pthread_getspecific, pthread_setspecific): Format with
18190 @deftypefun, and add @safety note.
18191 * manual/signal.texi: Move comments that analyze the above
18192 functions to their home place.
18194 2014-02-03 Allan McRae <allan@archlinux.org>
18196 * po/sl.po: Update Slovenian translation from translation project.
18198 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
18200 * manual/time.texi (timegm): Add missing blank after @c.
18201 Reported by Joseph Myers <joseph@codesourcery.com>.
18203 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
18205 * manual/check-safety.sh: New.
18206 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18208 * manual/terminal.texi: Document MTASC-safety properties.
18210 * manual/filesys.texi: Document MTASC-safety properties.
18212 * manual/errno.texi: Document MTASC-safety properties.
18214 * manual/intro.texi: Document safety identifiers and
18217 * manual/string.texi (wcstok): Fix prototype.
18218 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18220 * manual/time.texi: Document MTASC-safety properties.
18222 * manual/string.texi: Document MTASC-safety properties.
18224 * manual/threads.texi: Document MTASC-safety properties.
18226 * manual/stdio.texi: Document MTASC-safety properties.
18228 * manual/syslog.texi: Document MTASC-safety properties.
18230 * manual/sysinfo.texi: Document MTASC-safety properties.
18232 * manual/startup.texi: Document MTASC-safety properties.
18234 * manual/socket.texi: Document MTASC-safety properties.
18236 * manual/signal.texi: Document MTASC-safety properties.
18238 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18240 * manual/setjmp.texi: Document MTASC-safety properties.
18242 * manual/search.texi: Document MTASC-safety properties.
18244 * manual/resource.texi: Document MTASC-safety properties.
18246 * manual/process.texi: Document MTASC-safety properties.
18248 * manual/platform.texi: Document MTASC-safety properties.
18250 * manual/pipe.texi: Document MTASC-safety properties.
18252 * manual/pattern.texi: Document MTASC-safety properties.
18254 * manual/message.texi: Document MTASC-safety properties.
18257 * manual/memory.texi: Document MTASC-safety properties.
18259 * manual/math.texi: Document MTASC-safety properties.
18261 * manual/locale.texi: Document MTASC-safety properties.
18263 * manual/llio.texi: Document MTASC-safety properties.
18265 * manual/libdl.texi: New.
18267 * manual/lang.texi: Document MTASC-safety properties.
18269 * manual/job.texi: Document MTASC-safety properties.
18271 * manual/getopt.texi: Document MTASC-safety properties.
18273 * manual/ctype.texi: Document MTASC-safety properties.
18275 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18278 * csu/libc-tls.c (static_map): Remove variable.
18279 (__libc_setup_tls): Use main executable's link map for TLS data.
18280 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18281 casing for LM_ID_BASE and GL(dl_nns).
18282 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18283 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18284 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18285 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18286 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18288 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18291 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
18293 * manual/debug.texi: Document MTASC-safety properties.
18295 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18298 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18299 of __x86_64__ when disabling x87 inline functions.
18301 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
18303 * manual/charset.texi: Document MTASC-safety properties.
18305 * manual/crypt.texi: Document MTASC-safety properties.
18307 * manual/conf.texi: Document MTASC-safety properties.
18309 * manual/arith.texi: Document MTASC-safety properties.
18311 * manual/argp.texi: Document MTASC-safety properties.
18313 * manual/macros.texi: Introduce macros to document multi
18314 thread, asynchronous signal and asynchronous cancellation
18316 * manual/intro.texi: Introduce the properties themselves.
18318 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18320 * sysdeps/sh/sh4/Makefile: New file.
18322 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18324 * math/gen-libm-test.pl ($srcdir): New variable.
18325 ($auto_input): Use it.
18327 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18330 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18331 access beyond array bounds when parsing netgroups file.
18333 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18334 the old buffer before realloc.
18336 2014-01-27 Allan McRae <allan@archlinux.org>
18338 * po/fr.po: Update French translation from translation project.
18340 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18342 * sysdeps/sh/libm-test-ulps: Regenerate.
18344 2014-01-24 David S. Miller <davem@davemloft.net>
18346 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18348 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18350 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18351 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18353 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18356 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18357 string pointers after reallocation.
18359 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18361 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18362 __SH4A__ instead of __SH_FPU_ANY__.
18364 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18366 * sysdeps/sh/fpu_control.h: New file.
18367 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18368 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18369 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18370 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18371 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18372 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18373 * sysdeps/sh/sys/ucontext.h: Remove.
18374 * sysdeps/sh/sys: Remove directory.
18376 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18378 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18379 s390/sys/ucontext.h.
18380 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18381 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18383 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18386 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18388 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18391 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18392 Adjust the vDSO correctly for internal calls.
18393 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18395 2014-01-20 Allan McRae <allan@archlinux.org>
18397 * po/ca.po: Update Catalan translation from translation project.
18399 2014-01-16 Mike Frysinger <vapier@gentoo.org>
18401 * sysdeps/s390/sotruss-lib.c: New file.
18403 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18406 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18407 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18408 local calls issues by not having a PLT stub required for IFUNC calls.
18409 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18411 2014-01-16 Joseph Myers <joseph@codesourcery.com>
18413 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18414 * math/test-fpucw-static.c: Likewise.
18416 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18419 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18421 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18423 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18424 implementation for powerpc.
18426 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
18429 * sysdeps/posix/system.c (__libc_system): Do not enable
18430 asynchronous cancellation.
18432 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18435 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18436 handling only for numbers special also in the IEEE case.
18438 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18440 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18442 2014-01-11 Allan McRae <allan@archlinux.org>
18444 * po/bg.po: Update Bulgarian translation from translation project.
18446 * po/de.po: Update German translation from translation project.
18448 2014-01-10 Roland McGrath <roland@hack.frob.com>
18450 * sysdeps/generic/gcc-compat.h: New file.
18452 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18454 * benchtests/asin-inputs: Correct slow inputs.
18455 * benchtests/acos-inputs: Likewise.
18457 2014-01-10 Allan McRae <allan@archlinux.org>
18459 * po:sv.po: Update Swedish translation from translation project.
18461 * po/vi.po: Update Vietnamese translation from translation project.
18463 * po/eo.po: Update Esperanto translation from translation project.
18465 * po/cs.po: Update Czech translation from translation project.
18467 * po/nl.po: Update Dutch translation from translation project.
18469 * po/pl.po: Update Polish translation from translation project.
18471 * po/ru.po: Update Russian translation from translation project.
18473 * po/uk.po: Update Ukrainian translation from translation project.
18475 2014-01-08 Brooks Moses <bmoses@google.com>
18477 * elf/dl-load.c: Fix comment typo.
18479 2014-01-08 Carlos O'Donell <carlos@redhat.com>
18481 * po/header.pot: Rename to...
18482 * po/pot.header: ... this.
18483 * po/Makefile: Use pot.header.
18485 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18486 Maxim Kuvyrkov <maxim@kugelworks.com>
18489 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18490 SRC and DEST against LEN.
18492 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18495 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18497 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18499 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18503 2014-01-08 Joseph Myers <joseph@codesourcery.com>
18506 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18507 for large positive arguments.
18509 2014-01-07 Joseph Myers <joseph@codesourcery.com>
18511 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18513 * math/auto-libm-test-in: Mark various tests with
18514 xfail-rounding:ldbl-128ibm.
18515 * math/auto-libm-test-out: Regenerated.
18518 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18519 Increase overflow threshold.
18521 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
18524 * stdio-common/vfprintf.c: Check for integer overflow.
18526 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18528 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18529 the first argument and return value of __tls_get_addr_internal.
18531 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18533 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18534 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18536 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18538 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18539 * sysdeps/s390/rtld-global-offsets.sym: New file.
18540 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18542 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18543 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18544 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18546 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18547 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18553 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18554 halfs of GPRs for high_gprs contexts.
18555 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18556 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18558 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18560 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18562 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18563 for high GPRs (uc_high_gprs) and for future extensions
18565 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18566 for future extensions (__reserved).
18567 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18569 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18570 SC_HIGHGPRS offset definition.
18571 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18572 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18574 * Versions.def: Add GLIBC_2.19 for libpthread.
18575 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18576 siglongjmp for libpthread with GLIBC_2.19 symver.
18577 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18578 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18579 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18580 * sysdeps/s390/__longjmp.c: New file.
18581 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18582 * sysdeps/s390/longjmp.c: New file.
18583 * sysdeps/s390/setjmp.S: New file.
18584 * sysdeps/s390/sigjmp.S: New file.
18585 * sysdeps/s390/v1-longjmp.c: New file.
18586 * sysdeps/s390/v1-setjmp.h: New file.
18587 * sysdeps/s390/v1-sigjmp.c: New file.
18588 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18589 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18590 GLIBC_2.19 version.
18591 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18592 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18593 versioned symbols for ____longjmp_chk.
18594 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18604 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18605 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18606 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18607 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18608 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18609 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18610 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18611 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18612 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18613 * sysdeps/s390/rtld-__longjmp.c: New file.
18614 * sysdeps/s390/rtld-setjmp.S: New file.
18616 2014-01-06 Joseph Myers <joseph@codesourcery.com>
18619 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18620 Return -__logl (x) for small positive arguments without evaluating
18623 2014-01-06 Mike Frysinger <vapier@gentoo.org>
18625 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18627 (__ptrace_peeksiginfo_args): ... this.
18628 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18629 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18630 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18632 2014-01-06 Allan McRae <allan@archlinux.org>
18634 * inet/netinet/in.h: Fix typo in comment.
18636 2014-01-05 Andreas Jaeger <aj@suse.de>
18638 * sysdeps/i386/fpu/libm-test-ulps: Update.
18640 2014-01-05 Allan McRae <allan@archlinux.org>
18642 * po/libc.pot: Regenerated.
18644 * malloc/memusagestat.c: Fix gettext call formatting.
18646 2014-01-04 Sami Kerola <kerolasa@iki.fi>
18648 * nscd/nscd.c: Improve usage() output.
18650 2014-01-04 Mike Frysinger <vapier@gentoo.org>
18652 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18653 * sysdeps/unix/sysv/linux/configure: Regenerated.
18654 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18655 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18657 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18660 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18661 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18663 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18665 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18666 extra tokens at end of #undef directive.
18667 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18668 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18669 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18671 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18673 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18675 * math/auto-libm-test-in: Mark various tests with
18676 xfail-rounding:ldbl-128ibm.
18677 * math/auto-libm-test-out: Regenerated.
18679 2014-01-02 Joseph Myers <joseph@codesourcery.com>
18682 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18683 numbers with subnormal high part when calculating exponent.
18686 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18690 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18692 (__ieee754_acoshl): Use __log1pl not __log1p.
18694 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
18696 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18697 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18698 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18699 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18700 (reused_arena, arena_get2): Convert to GNU style.
18701 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18702 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18703 (memalign_check, __malloc_set_state): Likewise.
18704 * malloc/mallocbug.c (main): Likewise.
18705 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18706 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18707 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18708 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18709 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18710 (__posix_memalign, malloc_info): Likewise.
18711 * malloc/malloc.h: Likewise.
18712 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18713 (mallochook, memalignhook, reallochook, mabort): Likewise.
18714 * malloc/mcheck.h: Likewise.
18715 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18716 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18717 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18718 * malloc/morecore.c (__default_morecore): Likewise.
18719 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18720 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18721 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18722 (print_and_abort): Likewise.
18723 * malloc/obstack.h: Likewise.
18724 * malloc/set-freeres.c (__libc_freeres): Likewise.
18725 * malloc/tst-mallocstate.c (main): Likewise.
18726 * malloc/tst-mtrace.c (main): Likewise.
18727 * malloc/tst-realloc.c (do_test): Likewise.
18729 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18732 * nscd/netgroupcache.c (do_notfound): New function.
18733 (addgetnetgrentX): Use it.
18736 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18737 NSS_STATUS_NOTFOUND.
18739 2014-01-01 Joseph Myers <joseph@codesourcery.com>
18741 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18744 2014-01-01 Allan McRae <allan@archlinux.org>
18746 * scripts/update-copyrights: Update configure input file suffix.
18748 * NEWS: Update copyright year.
18749 * catgets/gencat.c: Likewise.
18750 * csu/version.c: Likewise.
18751 * debug/catchsegv.sh: Likewise.
18752 * debug/pcprofiledump.c: Likewise.
18753 * debug/xtrace.sh: Likewise.
18754 * elf/ldconfig.c: Likewise.
18755 * elf/ldd.bash.in: Likewise.
18756 * elf/pldd.c: Likewise.
18757 * elf/sotruss.ksh: Likewise.
18758 * elf/sprof.c: Likewise.
18759 * iconv/iconv_prog.c: Likewise.
18760 * iconv/iconvconfig.c: Likewise.
18761 * locale/programs/locale.c: Likewise.
18762 * locale/programs/localedef.c: Likewise.
18763 * login/programs/pt_chown.c: Likewise.
18764 * malloc/memusage.sh: Likewise.
18765 * malloc/memusagestat.c: Likewise.
18766 * malloc/mtrace.pl: Likewise.
18767 * manual/libc.texinfo: Likewise.
18768 * nscd/nscd.c: Likewise.
18769 * nss/getent.c: Likewise.
18770 * nss/makedb.c: Likewise.
18771 * posix/getconf.c: Likewise.
18772 * scripts/test-installation.pl: Likewise.
18774 * All files with FSF copyright notices: Update copyright dates
18775 using scripts/update-copyrights.
18776 * intl/plural.c: Regenerated.
18777 * locale/programs/charmap-kw.h: Likewise.
18778 * locale/programs/locfile-kw.h: Likewise.
18780 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18782 * sysdeps/unix/sysv/linux/configure: Regenerated.
18783 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18784 the linux/fanotify.h header.
18785 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18786 HAVE_LINUX_FANOTIFY_H is defined.
18788 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18790 * benchtests/cos-inputs: New inputs.
18791 * benchtests/sin-inputs: Likewise.
18793 * benchtests/atan-inputs: New inputs. Fix name of multiple
18794 precision fallback inputs.
18796 * benchtests/atanh-inputs: New inputs.
18797 * benchtests/tanh-inputs: Likewise.
18799 * benchtests/acosh-inputs: New inputs.
18800 * benchtests/asinh-inputs: Likewise.
18802 * benchtests/cosh-inputs: New inputs.
18803 * benchtests/sinh-inputs: Likewise.
18805 * benchtests/acos-inputs: Add more inputs.
18806 * benchtests/asin-inputs: Likewise.
18808 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18811 * manual/arith.texi: Fix spelling.
18812 * manual/charset.texi: Likewise.
18813 * manual/errno.texi: Likewise.
18814 * manual/filesys.texi: Likewise.
18815 * manual/lang.texi: Likewise.
18816 * manual/llio.texi: Likewise.
18817 * manual/locale.texi: Likewise.
18818 * manual/message.texi: Likewise.
18819 * manual/resource.texi: Likewise.
18820 * manual/search.texi: Likewise.
18821 * manual/setjmp.texi: Likewise.
18822 * manual/stdio.texi: Likewise.
18823 * manual/string.texi: Likewise.
18824 * manual/sysinfo.texi: Likewise.
18825 * manual/time.texi: Likewise.
18827 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18829 * po/sl.po: New file.
18831 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18833 * .gitignore: Add core/.gdbinit/.gdb_history.
18835 2013-12-27 Allan McRae <allan@archlinux.org>
18838 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18839 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18841 2013-12-24 Brooks Moses <bmoses@google.com>
18843 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18844 all compilers that claim C++98 compliance, not just GCC.
18845 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18848 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18850 * NEWS: Restore accidentally deleted bug-fix entries.
18852 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18853 Ondřej Bílka <neleai@seznam.cz>
18856 * malloc/malloc.c (_int_free): Perform sanity check only if we
18859 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18862 * manual/stdio.texi (String Input Conversions): Clarify that character
18863 classes are not supported.
18865 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18869 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18872 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18873 Calculate results for small negative arguments directly rather
18874 than using reflection formula with special underflow handling.
18876 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18877 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18878 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18879 (fchflags): Likewise.
18880 (revoke): Likewise.
18881 (setlogin): Likewise.
18882 (sigaltstack): Likewise.
18884 (sigblock): Remove.
18885 (sigsetmask): Likewise.
18887 (waitpid): Likewise.
18888 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18889 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18891 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18892 * sysdeps/unix/bsd/Makefile: ... here.
18893 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18894 * sysdeps/unix/bsd/Versions: ... here.
18895 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18896 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18897 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18898 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18899 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18900 * sysdeps/unix/bsd/sigblock.c: ... here.
18901 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18902 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18903 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18904 * sysdeps/unix/bsd/sigvec.c: ... here.
18905 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18906 * sysdeps/unix/bsd/tcdrain.c: ... here.
18907 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18908 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18909 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18910 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18911 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18912 * sysdeps/unix/bsd/wait.c: ... here.
18913 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18914 * sysdeps/unix/bsd/wait3.c: ... here.
18915 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18916 * sysdeps/unix/bsd/waitpid.c: ... here.
18918 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18921 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18922 round-to-nearest for [!USE_AS_EXPM1L].
18923 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18924 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18925 more tests of exp and exp10. Expect some exp10 tests to miss
18926 exceptions or fail in directed rounding modes.
18927 * math/auto-libm-test-out: Regenerated.
18928 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18929 (exp10_test_tonearest): New function.
18930 (exp10_towardzero_test_data): New array.
18931 (exp10_test_towardzero): New function.
18932 (exp10_downward_test_data): New array.
18933 (exp10_test_downward): New function.
18934 (exp10_upward_test_data): New array.
18935 (exp10_test_upward): New function.
18936 (main): Call the new functions.
18937 * sysdeps/i386/fpu/libm-test-ulps: Update.
18938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18940 2013-12-20 Joseph Myers <joseph@codesourcery.com>
18942 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18943 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18944 * math/auto-libm-test-out: Regenerated.
18945 * math/libm-test.inc (acosh_test_data): Add more tests.
18946 (atanh_test_data): Likewise.
18947 (ceil_test_data): Likewise.
18948 (copysign_test_data): Likewise.
18949 * sysdeps/i386/fpu/libm-test-ulps: Update.
18950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18952 * timezone/checktab.awk: Update from tzcode 2013i.
18953 * timezone/private.h: Likewise.
18954 * timezone/scheck.c: Likewise.
18955 * timezone/tzfile.h: Likewise.
18956 * timezone/tzselect.ksh: Likewise.
18957 * timezone/zdump.c: Likewise.
18958 * timezone/zic.c: Likewise.
18960 * math/auto-libm-test-in: Add tests of cpow.
18961 * math/auto-libm-test-out: Regenerated.
18962 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18963 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18965 (func_calc_desc): Add mpc_cc_c union field.
18966 (test_functions): Add cpow.
18967 (special_fill_2pi): New function.
18968 (special_real_inputs): Add 2pi.
18969 (calc_generic_results): Handle mpc_cc_c.
18970 * sysdeps/i386/fpu/libm-test-ulps: Update.
18971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18973 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18974 csqrt, ctan and ctanh.
18975 * math/auto-libm-test-out: Regenerated.
18976 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18977 (TEST_COND_x86): Likewise.
18978 (ccos_test_data): Use AUTO_TESTS_c_c.
18979 (ccosh_test_data): Likewise.
18980 (cexp_test_data): Likewise.
18981 (clog_test_data): Likewise.
18982 (csqrt_test_data): Likewise.
18983 (ctan_test_data): Likewise.
18984 (ctan_tonearest_test_data): Likewise.
18985 (ctan_towardzero_test_data): Likewise.
18986 (ctan_downward_test_data): Likewise.
18987 (ctan_upward_test_data): Likewise.
18988 (ctanh_test_data): Likewise.
18989 (ctanh_tonearest_test_data): Likewise.
18990 (ctanh_towardzero_test_data): Likewise.
18991 (ctanh_downward_test_data): Likewise.
18992 (ctanh_upward_test_data): Likewise.
18993 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18995 (func_calc_desc): Add mpc_c_c union field.
18996 (FUNC_mpc_c_c): New macro.
18997 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18998 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19000 (special_fill_min_subnorm_p120): New function.
19001 (special_real_inputs): Add min_subnorm_p120.
19002 (calc_generic_results): Handle mpc_c_c.
19003 * sysdeps/i386/fpu/libm-test-ulps: Update.
19004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19006 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19008 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19009 (do_sin_slow): New functions.
19010 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19011 (cslow2, csloww1, csloww2): Use the new functions.
19013 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19014 Use M to change sign of result instead of X. Assume X is
19016 (csloww1): Likewise.
19020 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19021 arguments A and DA.
19025 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19027 (sloww1): Don't adjust sign of DX.
19028 (csloww1): Likewise.
19029 (sloww2): Use X directly and don't adjust sign of DX.
19030 (csloww2): Likewise.
19032 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19034 * math/auto-libm-test-in: Add tests of cabs and carg.
19035 * math/auto-libm-test-out: Regenerated.
19036 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19037 (carg_test_data): Likewise.
19038 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19040 (func_calc_desc): Add mpc_c_f union field.
19041 (test_functions): Add cabs and carg.
19042 (calc_generic_results): Handle mpc_c_f.
19044 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19045 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19046 as a macro and a compat symbol.
19047 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19048 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19049 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19050 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19051 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19052 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19054 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19056 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19058 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19060 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19062 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19064 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19065 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19068 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19072 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19074 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19075 trailing whitespace removed.
19076 * scripts/config.guess: Update to version 2013-11-29.
19077 * scripts/config.sub: Update to version 2013-10-01.
19079 * math/auto-libm-test-in: Add tests of sincos.
19080 * math/auto-libm-test-out: Regenerated.
19081 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19082 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19084 (func_calc_desc): Add mpfr_f_11 union field.
19085 (test_functions): Add sincos.
19086 (calc_generic_results): Handle mpfr_f_11.
19087 * sysdeps/i386/fpu/libm-test-ulps: Update.
19088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19090 2013-12-19 Andreas Schwab <schwab@suse.de>
19092 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19094 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19095 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19096 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19098 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19100 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19101 * sysdeps/i386/fpu/libm-test-ulps: Update.
19102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19105 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19106 round-to-nearest mode when using frndint.
19107 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19108 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19109 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19111 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19113 * math/auto-libm-test-out: Regenerated.
19114 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19115 (TEST_COND_x86): Likewise.
19116 (expm1_tonearest_test_data): New array.
19117 (expm1_test_tonearest): New function.
19118 (expm1_towardzero_test_data): New array.
19119 (expm1_test_towardzero): New function.
19120 (expm1_downward_test_data): New array.
19121 (expm1_test_downward): New function.
19122 (expm1_upward_test_data): New array.
19123 (expm1_test_upward): New function.
19124 (main): Run the new test functions.
19125 * sysdeps/i386/fpu/libm-test-ulps: Update.
19126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19128 * include/features.h: Update comment documenting feature test
19129 macros. Mention _DEFAULT_SOURCE in comment.
19130 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19131 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19132 _BSD_SOURCE and _SVID_SOURCE.
19133 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19134 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19135 !_SVID_SOURCE]: Likewise.
19136 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19137 (__USE_POSIX_IMPLICITLY): Define.
19138 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19139 (_POSIX_SOURCE): Undefine and redefine.
19140 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19141 (_POSIX_C_SOURCE): Likewise.
19142 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19143 (Feature Test Macros): Update documentation of default features.
19145 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19147 * benchtests/Makefile: Add bench-strtok.
19148 * benchtests/bench-strtok.c: New file: strtok benchtest.
19150 2013-12-19 Allan McRae <allan@archlinux.org>
19152 * manual/install.texi: Suppress menu for plain text output.
19153 * INSTALL: Regenerated.
19155 2013-12-18 Brooks Moses <bmoses@google.com>
19158 * misc/getauxval.c: Include errno.h.
19159 (__getauxval): Set errno to ENOENT if the requested type is not
19161 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19162 don't declare with __attribute_const__.
19163 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19164 * manual/startup.texi: Document that getauxval sets errno.
19166 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19168 * math/auto-libm-test-in: Add tests of jn and yn.
19169 * math/auto-libm-test-out: Regenerated.
19170 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19171 (yn_test_data): Likewise.
19172 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19174 (func_calc_desc): Add mpfr_if_f union field.
19175 (FUNC_mpfr_if_f): New macro.
19176 (test_functions): Add jn and yn.
19177 (calc_generic_results): Assert type of second input for
19178 mpfr_ff_f. Handle mpfr_if_f.
19179 (output_for_one_input_case): Disable all checking for arguments
19180 fitting floating-point types in case of an integer argument.
19181 * sysdeps/i386/fpu/libm-test-ulps: Update.
19182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19185 Don't expect fegetround reference in libm.so.
19187 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19189 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19190 $(config-cflags-nofma).
19192 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19194 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19195 * math/auto-libm-test-out: Regenerated.
19198 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19199 to determine exponent and adjust argument to have exponent of -1.
19200 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19202 * math/auto-libm-test-out: Regenerated.
19203 * sysdeps/i386/fpu/libm-test-ulps: Update.
19204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19206 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
19208 * manual/probes.texi: Remove cases when per-thread arenas are
19211 2013-12-18 Andreas Schwab <schwab@suse.de>
19213 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19214 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19215 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19216 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19217 * sysdeps/i386/i686/multiarch/Makefile: Update.
19218 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19220 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19222 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19223 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19225 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19228 Support TZ transition times < 00:00:00.
19229 This is needed for version-3 tz-format files; it supports time
19230 stamps past 2037 for America/Godthab (the only entry in the tz
19231 database for which this change is relevant).
19232 * manual/time.texi (TZ Variable): Document transition times
19233 from -167:59:59 through -00:00:01.
19234 * time/tzset.c (tz_rule): Time of day is now signed.
19235 (__tzset_parse_tz): Parse negative time of day.
19237 Document TZ transition times >= 25:00:00.
19238 * manual/time.texi (TZ Variable): Document transition times from
19239 25:00:00 through 167:59:59. These are already supported, and this
19240 support will help with version-3 tz-format files.
19242 * manual/time.texi (TZ Variable): Modernize North America example
19243 to reflect current (i.e., 2007-and-later) daylight saving rules.
19245 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19247 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19249 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19250 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19251 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19253 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19254 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19255 * sysdeps/unix/bsd/clock.c: Likewise.
19256 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19257 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19258 * sysdeps/unix/bsd/init-posix.c: Likewise.
19259 * sysdeps/unix/bsd/poll.c: Likewise.
19260 * sysdeps/unix/bsd/ptsname.c: Likewise.
19261 * sysdeps/unix/bsd/seekdir.c: Likewise.
19262 * sysdeps/unix/bsd/setegid.c: Likewise.
19263 * sysdeps/unix/bsd/seteuid.c: Likewise.
19264 * sysdeps/unix/bsd/setgid.c: Likewise.
19265 * sysdeps/unix/bsd/setrgid.c: Likewise.
19266 * sysdeps/unix/bsd/setruid.c: Likewise.
19267 * sysdeps/unix/bsd/setsid.c: Likewise.
19268 * sysdeps/unix/bsd/setuid.c: Likewise.
19269 * sysdeps/unix/bsd/sigaction.c: Likewise.
19270 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19271 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19272 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19273 * sysdeps/unix/bsd/telldir.c: Likewise.
19274 * sysdeps/unix/bsd/times.c: Likewise.
19275 * sysdeps/unix/bsd/usleep.c: Likewise.
19277 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19278 ($(objpfx)libbsd-compat.a): Remove rule.
19280 * include/features.h (__FAVOR_BSD): Do not define.
19281 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19282 features conflicting with POSIX.
19283 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19284 (_BSD_SOURCE): Remove description of not being a subset of other
19285 feature test macros.
19286 * manual/job.texi (getpgrp): Do not document BSD version.
19287 (getpgid): Do not document by reference to BSD getpgrp.
19288 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19289 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19290 * signal/signal.h [__FAVOR_BSD]: Likewise.
19291 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19292 instead of making contents conditional on [__FAVOR_BSD].
19293 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19295 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19299 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19302 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19303 values below 2**-450, not 2**-500.
19304 * math/auto-libm-test-in: Don't allow spurious underflow from
19306 * math/auto-libm-test-out: Regenerated.
19310 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19311 values of ha and hb and sort them after adjusting subnormal
19313 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19315 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19316 values of ea and eb and sort them after adjusting subnormal
19318 * math/auto-libm-test-in: Do not expect some hypot tests of
19319 subnormals to fail. Add more hypot tests.
19320 * math/auto-libm-test-out: Regenerated.
19322 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19325 * sysdeps/sh/s_fma.c: New file.
19326 * sysdeps/sh/s_fmaf.c: New file.
19327 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19329 * sysdeps/sh/Implies: Add sh/soft-fp.
19331 2013-12-16 Roland McGrath <roland@hack.frob.com>
19333 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19334 level of indirection to members `objname', `errstring', `malloced'.
19335 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19336 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19337 it as the __longjmp argument (just pass 1 instead).
19338 (_dl_catch_error): Initialize C with argument pointers and address of
19339 volatile local ERRCODE rather than copying values out of C at return.
19341 2013-12-16 Joseph Myers <joseph@codesourcery.com>
19343 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19344 * math/auto-libm-test-out: Regenerated.
19345 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19346 (hypot_test_data): Likewise.
19347 (pow_test_data): Likewise.
19348 (pow_tonearest_test_data): Likewise.
19349 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19351 (func_calc_desc): Add mpfr_ff_f union field.
19352 (FUNC_mpfr_ff_f): New macro.
19353 (test_functions): Add atan2, hypot and pow.
19354 (special_fill_min): New function.
19355 (special_fill_minus_min): Likewise.
19356 (special_fill_min_subnorm): Likewise.
19357 (special_fill_minus_min_subnorm): Likewise.
19358 (special_real_inputs): Add min, -min, min_subnorm and
19360 (calc_generic_results): Handle mpfr_ff_f.
19361 * sysdeps/i386/fpu/libm-test-ulps: Update.
19362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19364 2013-12-16 Will Newton <will.newton@linaro.org>
19366 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19367 (Aligned Memory Blocks): Add documentation for aligned_alloc
19368 and suggest it as an alternative to posix_memalign.
19369 (Hooks for Malloc): Document __memalign_hook is also called
19370 for aligned_alloc. (Summary of Malloc): Add summary for
19371 aligned alloc. Document __memalign_hook is also called
19374 2013-12-16 Will Newton <will.newton@linaro.org>
19376 * manual/memory.texi (Malloc Examples): Clarify default
19377 alignment documentation. Suggest posix_memalign rather
19378 than memalign or valloc.
19379 (Aligned Memory Blocks): Remove suggestion to use memalign
19380 or valloc. Remove obsolete comment about BSD.
19381 Document memalign errno values and mark the function obsolete.
19382 Document posix_memalign returned error codes. Mark valloc
19383 as obsolete. (Hooks for Malloc): __memalign_hook is also
19384 called for posix_memalign and valloc.
19385 (Summary of Malloc): Add posix_memalign to function summary.
19386 __memalign_hook is also called for posix_memalign and valloc.
19388 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19390 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19394 (sloww): Use mynumber union. Expand ternary operator into
19395 if-else statements.
19396 (cslow): use mynumber union.
19398 2013-12-16 Allan McRae <allan@archlinux.org>
19400 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19401 * configure: Regenerated.
19403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19406 * configure.ac: Added --enable-maintainer-mode. Check for
19407 autoconf when enabled.
19408 * configure: Regenerated.
19410 * nscd/nscd.service: New file.
19411 * nscd/nscd.tmpfiles: New file.
19413 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
19416 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19417 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19418 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19419 (strstr): Add __strstr_sse2_unaligned ifunc.
19420 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19421 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19422 (strcasestr): Remove __strcasestr_sse42 ifunc.
19423 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19424 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19427 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19429 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19430 * sysdeps/sh/bits/fenv.h: ... here.
19431 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19433 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19435 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19438 hypotf multiarch implementations.
19439 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19440 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19441 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19442 multiarch hypot for PPC64.
19443 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19444 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19445 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19446 multiarch hypotf for PPC64.
19448 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19449 modff multiarch implementations.
19450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19453 multiarch modf for PPC64.
19454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19457 multiarch modff for PPC64.
19459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19460 and logl multiarch implementations.
19461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19464 multiarch logb for PPC64.
19465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19468 multiarch logb for PPC64.
19469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19472 multiarch logb for PPC64.
19474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19475 isinff multiarch implementation.
19476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19480 multiarch isinf for PPC64.
19481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19484 multiarch isinff for PPC64.
19486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19487 finitef multiarch implementation.
19488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19492 multiarch finite for PPC64.
19493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19496 multiarch finitef for PPC64.
19498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19499 lrint multiarch implementation.
19500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19504 multiarch llrint for PPC64.
19505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19506 multiarch lrint for PPC64.
19508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19509 copysignf multiarch implementation.
19510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19515 multiarch copysign for PPC64.
19516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19517 multiarch copysignf for PPC64.
19519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19520 multiarch implementation.
19521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19529 multiarch llround for PPC64.
19530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19531 multiarch trunc for PPC64.
19532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19533 multiarch truncf for PPC64.
19535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19536 multiarch implementation.
19537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19545 multiarch llround for PPC64.
19546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19547 multiarch round for PPC64.
19548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19549 multiarch roundf for PPC64.
19551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19552 multiarch implementation.
19553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19561 multiarch llround for PPC64.
19562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19563 multiarch floor for PPC64.
19564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19565 multiarch floorf for PPC64.
19567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19568 multiarch implementation.
19569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19577 multiarch llround for PPC64.
19578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19579 multiarch ceil for PPC64.
19580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19581 multiarch ceilf for PPC64.
19583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19584 multiarch implementation.
19585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19592 multiarch llround for PPC64.
19593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19594 multiarch lround for PPC64.
19596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19597 multiarch implementation.
19598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19605 multiarch isnan for PPC64.
19606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19607 multiarch isnanf for PPC64.
19609 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19610 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19611 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19612 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19613 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19616 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19617 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19618 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19619 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19622 multiarch implementations.
19623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19624 (__libc_ifunc_impl_list): Likewise.
19625 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19626 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19627 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19628 multiarch stpcpy for PPC64.
19630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19631 multiarch implementations.
19632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19633 (__libc_ifunc_impl_list): Likewise.
19634 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19635 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19636 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19637 multiarch strcpy for PPC64.
19639 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19640 redefine function name.
19641 (_wordcopy_fwd_dest_aligned): Likewise.
19642 (_wordcopy_bwd_aligned): Likewise.
19643 (_wordcopy_bwd_dest_aligned): Likewise.
19644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19645 multiarch implementations.
19646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19647 (__libc_ifunc_impl_list): Likewise.
19648 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19649 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19650 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19651 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19652 multiarch wcscpy for PPC64.
19654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19655 multiarch implementations.
19656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19657 (__libc_ifunc_impl_list): Likewise.
19658 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19659 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19660 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19661 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19662 multiarch wcscpy for PPC64.
19664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19665 multiarch implementations.
19666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19667 (__libc_ifunc_impl_list): Likewise.
19668 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19669 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19670 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19671 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19672 multiarch wcsrchr for PPC64.
19674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19675 multiarch implementations.
19676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19677 (__libc_ifunc_impl_list): Likewise.
19678 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19679 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19680 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19681 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19682 multiarch wcschr for PPC64.
19684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19685 multiarch implementations.
19686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19687 (__libc_ifunc_impl_list): Likewise.
19688 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19689 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19690 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19691 multiarch strchrnul for PPC64.
19693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19696 (__libc_ifunc_impl_list): Likewise.
19697 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19698 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19699 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19700 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19706 (__libc_ifunc_impl_list): Likewise.
19707 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19708 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19709 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19710 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19714 multiarch implementations.
19715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19716 (__libc_ifunc_impl_list): Likewise.
19717 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19718 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19719 strncasecmp for PPC64.
19720 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19721 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19722 multiarch strncasecmp_l for PPC64.
19724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19725 multiarch implementations.
19726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19727 (__libc_ifunc_impl_list): Likewise.
19728 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19729 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19730 multiarch strcasecmp for PPC64.
19731 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19733 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19734 multiarch strcasecmp_l for PPC64.
19736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19739 (__libc_ifunc_impl_list): Likewise.
19740 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19741 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19742 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19748 (__libc_ifunc_impl_list): Likewise.
19749 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19750 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19751 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19757 (__libc_ifunc_impl_list): Likewise.
19758 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19759 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19760 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19761 rawmemrchr for PPC64.
19763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19766 (__libc_ifunc_impl_list): Likewise.
19767 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19768 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19769 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19775 (__libc_ifunc_impl_list): Likewise.
19776 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19777 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19778 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19784 (__libc_ifunc_impl_list): Likewise.
19785 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19786 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19787 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19790 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19791 avoid cretion of __bzero symbol.
19792 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19794 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19796 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19799 multiarch implementations.
19800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19801 (__libc_ifunc_impl_list): Likewise.
19802 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19803 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19804 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19805 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19807 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19808 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19809 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19810 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19811 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19813 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19815 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19819 (__libc_ifunc_impl_list): Likewise.
19820 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19821 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19822 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19823 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19827 multiarch for POWER/PPC64.
19828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19829 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19830 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19831 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19832 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19833 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19834 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19835 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19836 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19839 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19840 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19841 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19842 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19843 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19844 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19845 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19846 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19847 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19848 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19849 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19850 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19851 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19852 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19853 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19862 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19864 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19866 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19868 * benchtests/Makefile (bench): Add exp2 and log2.
19869 (LDLIBS-bench-exp2): Add -lm.
19870 (LDLIBS-bench-log2): Likewise.
19871 * benchtests/exp2-inputs: New inputs file.
19872 * benchtests/log2-inputs: New inputs file.
19873 * benchtests/log-inputs: Add new inputs.
19874 * benchtests/tan-inputs: Likewise.
19876 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19878 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19880 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19881 (csloww2): ... from here.
19883 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19884 instead of structures.
19885 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19886 (POLYNOMIAL): Likewise.
19887 (TAYLOR_SLOW): Likewise.
19893 (sloww1); Likewise.
19894 (sloww2): Likewise.
19895 (bsloww1): Likewise.
19896 (bsloww2): Likewise.
19897 (cslow2): Likewise.
19898 (csloww): Likewise.
19899 (csloww1): Likewise.
19900 (csloww2): Likewise.
19902 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19904 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19905 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19906 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19907 * malloc/hooks.c (realloc_check): Likewise.
19909 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19910 * malloc/arena.c: Remove PER_THREAD conditional.
19911 [!PER_THREAD]: Remove code.
19912 (ptmalloc_unlock_all2): Likewise.
19913 (ptmalloc_init): Likewise.
19914 (_int_new_arena): Likewise.
19915 (arena_get2): Likewise.
19916 * malloc/hooks.c (__malloc_get_state): Likewise.
19917 (__malloc_set_state): Likewise.
19918 * malloc/malloc.c: Likewise.
19919 (struct malloc_state): Likewise.
19920 (struct malloc_par): Likewise.
19921 (__libc_realloc): Likewise.
19922 (__libc_mallopt): Likewise.
19924 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19926 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19928 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
19930 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19931 macro to a function. Check for zero perturb_byte.
19932 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19934 * malloc/malloc.c: (force_reg): Remove.
19935 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19936 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19937 force_reg by atomic_forced_read.
19938 * malloc/arena.c (ptmalloc_init): Likewise.
19939 * malloc/hooks.c (top_check): Likewise.
19941 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19945 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19949 2013-12-08 Joseph Myers <joseph@codesourcery.com>
19951 * math/auto-libm-test-in: Add tests of lgamma.
19952 * math/auto-libm-test-out: Regenerated.
19953 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19954 (M_LOG_2_SQRT_PIl): Likewise.
19955 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19956 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19958 (func_calc_desc): Add mpfr_f_f1 union field.
19959 (ARGS1): New macro.
19967 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19968 (test_functions): Add lgamma.
19969 (calc_generic_results): Handle mpfr_f_f1.
19970 * sysdeps/i386/fpu/libm-test-ulps: Update.
19971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19973 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19975 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19976 __mpn_add_n for PowerPC64/POWER7.
19977 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19978 __mpn_sub_n for PowerPC64/POWER7.
19980 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19981 __mpn_addmul_1 for PowerPC64.
19982 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19983 __mpn_submul_1 for PowerPC64.
19984 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19986 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19989 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19992 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19994 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19996 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19998 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19999 add multiarch folders.
20000 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20001 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20002 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20003 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20004 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20005 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20006 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20007 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20008 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20009 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20010 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20019 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20025 multiarch __ieee754_hypot for PowerPC32.
20026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20031 multiarch __ieee754_hypotf for PowerPC32.
20033 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20034 long_double_symbol only if __logbl is defined.
20035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20036 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20037 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20038 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20040 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20041 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20042 path for implementation.
20043 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20044 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20046 logb, and logbl multiarch implementations for PowerPC32.
20047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20052 multiarch logb for PowerPC32.
20053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20058 multiarch logbf for PowerPC32.
20059 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20063 multiarch logbl implementation for PowerPC32.
20065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20066 and modff multiarch implementations.
20067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20072 multiarch modf for PowerPC32.
20073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20078 multiarch modff for PowerPC32.
20080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20081 and lrintf multiarch implementations.
20082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20087 multiarch lrint for PowerPC32.
20088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20089 file: multiarch lrintf for PowerPC32.
20091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20092 and lroundf multiarch implementations.
20093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20100 multiarch lround for PowerPC32.
20101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20102 file: multiarch lroundf for PowerPC32.
20104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20105 copysign and copysignf multiarch implementations.
20106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20111 file: multiarch copysign for PowerPC32.
20112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20113 file: multiarch copysignf for PowerPC32.
20115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20116 and truncf multiarch implementations.
20117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20122 multiarch trunc for PowerPC32.
20123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20128 multiarch truncf for PowerPC32.
20130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20131 and roundf multiarch implementations.
20132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20137 multiarch round for PowerPC32.
20138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20143 multiarch roundf for PowerPC32.
20145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20146 and floorf multiarch implementations.
20147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20152 multiarch floor for PowerPC32.
20153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20158 multiarch floorf for PowerPC32.
20160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20161 and ceilf multiarch implementations.
20162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20167 multiarch ceil for PowerPC32.
20168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20173 multiarch ceilf for PowerPC32.
20175 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20177 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20178 FINITEF is defined.
20179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20180 and finitef multiarch implementations.
20181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20186 multiarch finite for PowerPC32.
20187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20190 file: multiarch finitef for PowerPC32.
20192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20193 and isinff multiarch implementations.
20194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20199 multiarch isinf for PowerPC32.
20200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20203 multiarch isinff for PowerPC32.
20205 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20206 alias when __isnan is defined.
20207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20208 and isnanf multiarch implementations.
20209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20218 multiarch isnan for PowerPC32.
20219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20224 multiarch isnanf for PowerPC32.
20226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20227 and sqrtf multiarch implementations.
20228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20233 multiarch sqrt for PowerPC32.
20234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20239 multiarch sqrtf for PowerPC32.
20241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20242 and llroundf multiarch implementations.
20243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20250 file: multiarch llround for PowerPC32.
20251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20252 file: multiarch llroundf for PowerPC32.
20254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20255 multiarch PowerPC32 fpu implementations.
20256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20261 multiarch llrint for PowerPC32.
20262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20271 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20273 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20275 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20277 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20278 multiarch wordcopy for PPC32.
20279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20282 (__libc_ifunc_impl_list): Likewise.
20283 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20284 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20285 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20286 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20287 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20288 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20290 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20298 multiarch wcscpy for PPC32.
20299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20302 (__libc_ifunc_impl_list): Likewise.
20303 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20304 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20305 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20306 sysdeps/powerpc/power6/wcscpy.c.
20308 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20309 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20311 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20316 multiarch wcsrchr for PPC32.
20317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20320 (__libc_ifunc_impl_list): Likewise.
20321 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20322 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20323 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20324 sysdeps/powerpc/power6/wcsrchr.c.
20326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20330 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20332 multiarch wcschr for PPc32.
20333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20336 (__libc_ifunc_impl_list): Likewise.
20337 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20338 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20339 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20340 sysdeps/powerpc/power6/wcschr.c.
20342 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20343 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20345 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20346 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20347 file: multiarch strchr for PPC32.
20348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20351 (__libc_ifunc_impl_list): Likewise.
20353 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20355 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20357 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20359 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20360 multiarch strchrnul for PPC32.
20361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20364 (__libc_ifunc_impl_list): Likewise.
20366 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20368 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20369 multiarch strncasecmp for PPC32.
20370 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20372 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20373 multiarch strncasecmp_l for PPC32.
20374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20375 strncasecmp multiarch objects.
20376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20377 (__libc_ifunc_impl_list): Likewise.
20379 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20381 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20382 multiarch strncasecmp for PPC32.
20383 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20385 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20386 multiarch strcasecmp_l for PPC32.
20387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20390 (__libc_ifunc_impl_list): Likewise.
20392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20394 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20396 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20397 multiarch strncmp for PPC32.
20398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20401 (__libc_ifunc_impl_list): Likewise.
20403 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20404 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20406 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20407 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20411 (__libc_ifunc_impl_list): Likewise.
20413 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20415 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20417 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20421 (__libc_ifunc_impl_list): Likewise.
20423 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20425 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20427 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20428 multiarch rawmemchr for PPC32.
20429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20432 (__libc_ifunc_impl_list): Likewise.
20434 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20436 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20438 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20439 file: memrchr multiarch for PPC32.
20440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20443 (__libc_ifunc_impl_list): Likewise.
20445 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20446 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20448 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20449 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20450 multiarch memchr for PPC32.
20451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20454 (__libc_ifunc_impl_list): Likewise.
20456 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20457 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20459 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20461 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20462 file: multiarch mempcpy for PPC32.
20463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20466 (__libc_ifunc_impl_list): Likewise.
20468 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20469 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20470 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20471 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20472 multiarch bzero for PPC32.
20473 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20475 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20477 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20478 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20479 file: multiarch memset for PPC32.
20480 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20482 memset multiarch objects.
20483 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20484 (__libc_ifunc_impl_list): Likewise.
20486 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20488 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20491 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20495 (__libc_ifunc_impl_list): Likewise.
20497 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20499 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20501 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20503 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20505 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20506 multiarch memcpy for PPC32.
20507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20510 (__libc_ifunc_impl_list): Likewise.
20512 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20513 support multiarch for POWER/PPC32.
20514 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20516 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20518 Implies file to make multiarch folder appers before the fpu and
20519 default folder for power4 configuration.
20521 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20523 * scripts/bench.pl: Append volatile keyword to type.
20525 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20527 * sysdeps/sh/sotruss-lib.c: New file.
20528 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20530 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20534 2013-12-05 Joseph Myers <joseph@codesourcery.com>
20537 * math/w_tgamma.c: Include <errno.h>.
20538 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20539 * math/w_tgammaf.c: Include <errno.h>.
20540 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20541 * math/w_tgammal.c: Include <errno.h>.
20542 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20543 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20544 underflow. Add more tgamma tests.
20545 * math/auto-libm-test-out: Regenerated.
20546 * sysdeps/i386/fpu/libm-test-ulps: Update.
20547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20549 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20550 sin, sinh, tan, tanh, tgamma, y0 and y1.
20551 * math/auto-libm-test-out: Regenerated.
20552 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20553 (TEST_COND_x86): Likewise.
20554 (M_E2l): Remove macro.
20556 (M_2_SQRT_PIl): Likewise.
20557 (M_SQRT_PIl): Likewise.
20558 (M_1_DIV_El): Likewise.
20559 (log_test_data): Use AUTO_TESTS_f_f.
20560 (log10_test_data): Likewise.
20561 (log1p_test_data): Likewise.
20562 (log2_test_data): Likewise.
20563 (sin_test_data): Likewise.
20564 (sin_tonearest_test_data): Likewise.
20565 (sin_towardzero_test_data): Likewise.
20566 (sin_downward_test_data): Likewise.
20567 (sin_upward_test_data): Likewise.
20568 (sinh_test_data): Likewise.
20569 (sinh_tonearest_test_data): Likewise.
20570 (sinh_towardzero_test_data): Likewise.
20571 (sinh_downward_test_data): Likewise.
20572 (sinh_upward_test_data): Likewise.
20573 (tan_test_data): Likewise.
20574 (tan_tonearest_test_data): Likewise.
20575 (tan_towardzero_test_data): Likewise.
20576 (tan_downward_test_data): Likewise.
20577 (tan_upward_test_data): Likewise.
20578 (tanh_test_data): Likewise.
20579 (tgamma_test_data): Likewise.
20580 (y0_test_data): Likewise.
20581 (y1_test_data): Likewise.
20582 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20583 (special_real_inputs): Add pi/4.
20584 * sysdeps/i386/fpu/libm-test-ulps: Update.
20585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20587 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20589 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20590 "longjmp_target" static probes.
20591 (__longjmp): Rename to __longjmp_symbol.
20592 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20593 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20594 on which longjmp to generate.
20595 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20596 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20598 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20599 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20600 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20601 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20602 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20603 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20605 __longjmp_symbol based on which __longjmp to generate.
20606 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20608 (setjmp): Rename to setjmp_symbol.
20609 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20610 (_setjmp): Rename to _setjmp_symbol.
20611 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20612 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20613 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20614 which setjmp to generate.
20615 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20616 "longjmp_target" static probes.
20618 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20620 * benchtests/README: Add note about output arguments.
20621 * benchtests/bench-sincos.c: Remove file.
20622 * benchtests/sincos-inputs: New file.
20623 * scripts/bench.pl: Identify output arguments and define
20624 static variables for them.
20626 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20629 * Makefile (INSTALL): Add install-plain.texi as the primary
20631 * manual/install-plain.texi: New file.
20632 * manual/install.texi: Include node directive only for
20633 non-plaintext output.
20635 2013-12-04 Joseph Myers <joseph@codesourcery.com>
20637 * stdlib/longlong.h: Update from GCC.
20641 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20642 * math/w_j0f.c (y0f): Likewise.
20643 * math/w_j0l.c (__y0l): Likewise.
20644 * math/w_j1.c (y1): Likewise.
20645 * math/w_j1f.c (y1f): Likewise.
20646 * math/w_j1l.c (__y1l): Likewise
20647 * math/w_jn.c (yn): Likewise.
20648 * math/w_jnf.c (ynf): Likewise.
20649 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20650 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20651 value for Bessel function domain errors outside _SVID_ mode.
20652 Adjust sign of return value for yn (negative integer, 0).
20653 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20654 by zero in return for negative x and set sign appropriately for
20656 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20657 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20658 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20659 expectations in error cases.
20660 (y1_test_data): Likewise.
20661 (yn_test_data): Likewise.
20662 * sysdeps/i386/fpu/libm-test-ulps: Update.
20663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20665 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20667 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20668 "64" to "64-v1". Add "64-v2".
20669 (abi-64-options): Rename to ...
20670 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20671 (abi-64-condition): Rename to ...
20672 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20673 (abi-64-ld-soname): Rename to ...
20674 (abi-64-v1-ld-soname): ... this.
20675 (abi-64-v2-options): Define.
20676 (abi-64-v2-condition): Likewise.
20677 (abi-64-v2-ld-soname): Likewise.
20678 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20679 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20684 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20685 Alan Modra <amodra@gmail.com>
20687 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20688 New versions for use with the ELFv2 ABI.
20689 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20690 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20692 (struct La_ppc64v2_retval): Likewise.
20693 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20694 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20695 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20696 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20697 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20698 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20699 Do not save or restore CR.
20700 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20701 (_dl_profile_resolve): Do no save or restore CR. Support extended
20702 return values for ELFv2 ABI. Fix location of FPR return registers.
20703 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20704 updated values for _CALL_ELF == 2.
20705 (La_regs, La_retval, int_retval): Likewise.
20707 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20709 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20710 (FRAME_MIN_SIZE_PARM): Likewise.
20711 (FRAME_BACKCHAIN): Likewise.
20712 (FRAME_CR_SAVE): Likewise.
20713 (FRAME_LR_SAVE): Likewise.
20714 (FRAME_TOC_SAVE): Likewise.
20715 (FRAME_PARM_SAVE): Likewise.
20716 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20717 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20718 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20719 (call_mcount_parm_offset): New macro.
20720 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20721 (PROF): Use symbolic stack frame offsets.
20722 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20723 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20724 Redefine in terms of FRAME_MIN_SIZE.
20725 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20726 (_dl_profile_resolve): Likewise. Update comment.
20727 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20728 symbols stack frame offsets.
20729 (__sigsetjmp): Likewise.
20730 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20731 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20732 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20733 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20736 (FRAME_BACKCHAIN): Remove.
20737 (FRAME_CR_SAVE): Likewise.
20738 (FRAME_LR_SAVE): Likewise.
20739 (FRAME_COMPILER_DW): Likewise.
20740 (FRAME_LINKER_DW): Likewise.
20741 (FRAME_TOC_SAVE): Likewise.
20742 (FRAME_PARM_SAVE): Likewise.
20743 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20744 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20745 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20747 (CHECK_SP): Use symbolic stack frame offsets.
20748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20749 zone" instead of caller's parameter save area for temp storage.
20750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20751 Likewise. Also, use symbolic stack frame offsets.
20752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20753 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20754 our own stack frame instead of the caller's.
20755 (__socket): Use symbolic stack frame offsets.
20757 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20758 Alan Modra <amodra@gmail.com>
20760 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20762 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20763 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20764 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20766 (elf_machine_fixup_plt): Call it.
20767 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20769 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20771 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20772 r2 before calling target.
20774 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20775 Alan Modra <amodra@gmail.com>
20777 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20778 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20779 versions of macros to support ELFv2 ABI.
20780 (LOCALENTRY): New macro.
20781 (ENTRY, EALIGN): Use it.
20782 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20783 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20784 fall through into ENTRY entry point.
20785 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20786 Only define if _CALL_ELF != 2.
20788 (elf_machine_matches_host): Verify ABI version matches.
20789 (RTLD_START): Use LOCALENTRY.
20790 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20791 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20792 (PLT_ENTRY_WORDS): New macro.
20793 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20794 (elf_machine_runtime_setup): Support ELFv2 ABI.
20795 (elf_machine_fixup_plt): Likewise.
20796 (elf_machine_plt_conflict): Likewise.
20797 (resolve_ifunc): Likewise.
20798 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20799 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20802 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20804 (makecontext): Support ELFv2 ABI.
20805 * elf/elf.h (EF_PPC64_ABI): Define.
20807 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20809 * sysdeps/powerpc/powerpc64/sysdep.h
20810 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20811 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20812 (ENTRY) [ASSEMBLER]: ... but instead here ...
20813 (EALIGN) [ASSEMBLER]: ... and here.
20814 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20815 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20816 (ENTRY_2) [!ASSEMBLER]: Use it.
20817 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20818 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20819 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20820 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20821 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20823 Use PPC64_LOAD_FUNCPTR.
20825 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20827 2013-12-04 Alan Modra <amodra@gmail.com>
20829 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20830 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20831 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20832 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20834 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20835 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20836 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20837 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20838 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20839 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20841 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20844 (__makecontext): Fix incorrect CFI when backtracing out of
20845 context created via makecontext.
20846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20847 (__setcontext): Fix incorrect CFI during switch to new context.
20848 (__novec_setcontext): Likewise.
20850 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20853 * time/strptime_l.c (__strptime_internal): Allow modifiers
20855 * time/tst-strptime.c (day_tests): Add testcase.
20857 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20859 * scripts/bench.pl: Skip over blank lines.
20861 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20864 * manual/time.texi (Calendar Time): Clarify what timezone functions
20867 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20871 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20873 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20875 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20876 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20877 * debug/memset_chk.c (__memset_chk): Likewise.
20878 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20879 * debug/strncpy_chk.c: Likewise.
20881 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20885 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20886 (__ieee754_exp): For possibly underflowing results, check size of
20887 result and force underflow exception if required.
20888 * math/auto-libm-test-in: Add more tests of exp.
20889 * math/auto-libm-test-out: Regenerated.
20890 * sysdeps/i386/fpu/libm-test-ulps: Update.
20891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20894 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20895 * math/w_exp2f.c (__exp2f): Likewise.
20896 * math/w_exp2l.c (__exp2l): Likewise.
20897 * math/auto-libm-test-in: Do not allow missing errno on exp2
20899 * math/auto-libm-test-out: Regenerated.
20901 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20904 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20905 handle filename validation.
20906 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20909 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20912 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20913 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20914 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20916 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20917 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20918 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20920 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20921 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20922 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20923 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20924 Add more erfc tests.
20925 * math/auto-libm-test-out: Regenerated.
20926 * sysdeps/i386/fpu/libm-test-ulps: Update.
20927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20929 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20930 exp2, expm1, j0 and j1.
20931 * math/auto-libm-test-out: Regenerated.
20932 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20933 (erfc_test_data): Likewise.
20934 (exp_test_data): Likewise.
20935 (exp_tonearest_test_data): Likewise.
20936 (exp_towardzero_test_data): Likewise.
20937 (exp_downward_test_data): Likewise.
20938 (exp_upward_test_data): Likewise.
20939 (exp10_test_data): Likewise.
20940 (exp2_test_data): Likewise.
20941 (expm1_test_data): Likewise.
20942 (j0_test_data): Likewise.
20943 (j1_test_data): Likewise.
20944 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20945 (input_flag_type): Add flag_xfail_rounding.
20946 (input_flags): Add xfail-rounding.
20947 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20948 (output_for_one_input_case): Handle flag_xfail_rounding.
20949 * sysdeps/i386/fpu/libm-test-ulps: Update.
20950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20952 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20955 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20958 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20961 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20962 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20963 (STAP_PROBE0): New macro.
20964 (STAP_PROBE1): Likewise.
20965 (STAP_PROBE2): Likewise.
20966 (STAP_PROBE3): Likewise.
20967 (STAP_PROBE4): Likewise.
20969 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
20971 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20973 2013-12-02 Steve Ellcey <sellcey@mips.com>
20975 * benchtests/Makefile (bench): Add sqrt.
20976 (LDLIBS-bench-sqrt): New.
20977 * benchtests/sqrt-input: New.
20979 2013-12-02 Pavel Simerda <psimerda@redhat.com>
20981 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20982 (GAIH_EAI): Likewise.
20983 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20984 (gaih_inet): Likewise.
20985 (getaddrinfo): Don't use GAIH_EAI.
20987 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20988 (struct gaih): Remove definition.
20990 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20992 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20993 Use HERRNOP directly.
20995 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20999 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21001 * math/gen-auto-libm-tests.c (test_functions): Add more
21002 single-argument functions.
21003 (special_fill_pi_2): New function.
21004 (special_fill_minus_pi_2): Likewise.
21005 (special_fill_pi_6): Likewise.
21006 (special_fill_minus_pi_6): Likewise.
21007 (special_fill_pi_3): Likewise.
21008 (special_fill_2pi_3): Likewise.
21009 (special_fill_e): Likewise.
21010 (special_fill_1_e): Likewise.
21011 (special_fill_e_minus_1): Likewise.
21012 (special_real_inputs): Add more special inputs.
21013 (output_for_one_input_case): Do not require ERANGE on underflow to
21014 zero if round-to-nearest result does not underflow to zero, unless
21015 exact results required.
21016 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21017 atan, atanh, cbrt, cos and cosh.
21018 * math/auto-libm-test-out: Regenerated.
21019 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21020 (acos_tonearest_test_data): Likewise.
21021 (acos_towardzero_test_data): Likewise.
21022 (acos_downward_test_data): Likewise.
21023 (acos_upward_test_data): Likewise.
21024 (acosh_test_data): Likewise.
21025 (asin_test_data): Likewise.
21026 (asin_tonearest_test_data): Likewise.
21027 (asin_towardzero_test_data): Likewise.
21028 (asin_upward_test_data): Likewise.
21029 (asinh_test_data): Likewise.
21030 (atan_test_data): Likewise.
21031 (atanh_test_data): Likewise.
21032 (cbrt_test_data): Likewise.
21033 (cos_test_data): Likewise.
21034 (cos_tonearest_test_data): Likewise.
21035 (cos_towardzero_test_data): Likewise.
21036 (cos_downward_test_data): Likewise.
21037 (cos_upward_test_data): Likewise.
21038 (cosh_test_data): Likewise.
21039 (cosh_tonearest_test_data): Likewise.
21040 (cosh_towardzero_test_data): Likewise.
21041 (cosh_downward_test_data): Likewise.
21042 (cosh_upward_test_data): Likewise.
21043 * sysdeps/i386/fpu/libm-test-ulps: Update.
21044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21046 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21049 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21050 * math/w_exp10f.c (__exp10f): Likewise.
21051 * math/w_exp10l.c (__exp10l): Likewise.
21052 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21053 errno settings in existing tests.
21056 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21057 precision control set to double precision.
21058 * sysdeps/i386/fpu/w_sqrt.c: New file.
21059 * math/auto-libm-test-in: Add more tests.
21060 * math/auto-libm-test-out: Update.
21062 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21063 (sqrt_test_tonearest): New function.
21064 (sqrt_towardzero_test_data): New variable.
21065 (sqrt_test_towardzero): New function.
21066 (sqrt_downward_test_data): New variable.
21067 (sqrt_test_downward): New function.
21068 (sqrt_upward_test_data): New variable.
21069 (sqrt_test_upward): New function.
21070 (main): Call the new functions.
21072 * math/gen-auto-libm-tests.c: New file.
21073 * math/auto-libm-test-in: Likewise.
21074 * math/auto-libm-test-out: New generated file.
21075 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21077 (%beautify): Add generated representations of zero.
21078 (top level): Set $auto_input and call parse_auto_input.
21079 (beautify): Remove trailing "f" from hex float constants.
21080 (parse_args): Handle XFAIL_TEST.
21081 (convert_condition): New function.
21082 (or_value): Likewise.
21083 (or_cond_value): Likewise.
21084 (generate_testfile): Handle AUTO_TESTS_* lines.
21085 (parse_auto_input): New function.
21086 * math/libm-test.inc (XFAIL_TEST): New macro.
21087 (ERRNO_UNCHANGED): Update value.
21088 (ERRNO_EDOM): Likewise.
21089 (ERRNO_ERANGE): Likewise.
21090 (IGNORE_RESULT): Likewise.
21091 (TEST_COND_flt_32): New macro.
21092 (TEST_COND_dbl_64): Likewise.
21093 (TEST_COND_ldbl_96_intel): Likewise.
21094 (TEST_COND_ldbl_96_m68k): Likewise.
21095 (TEST_COND_ldbl_128): Likewise.
21096 (TEST_COND_ldbl_128ibm): Likewise.
21097 (TEST_COND_long32): Likewise.
21098 (TEST_COND_long64): Likewise.
21099 (TEST_COND_before_rounding): Likewise.
21100 (TEST_COND_after_rounding): Likewise.
21101 (enable_test): Handle XFAIL_TEST flag.
21102 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21103 with finite results.
21104 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21105 auto-libm-test-out.
21107 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21108 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21111 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21112 __tls_get_addr_internal instead of __tls_get_offset in order to
21113 avoid GOT pointer dependency. Make rtld export
21114 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21115 __tls_get_addr since we are a __tls_get_offset platform.
21116 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21117 GOT pointer being set up before.
21118 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21120 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21122 * manual/math.texi (Errors in Math Functions): Document accuracy
21126 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21127 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21128 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21129 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21130 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21131 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21132 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21133 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21134 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21135 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21136 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21137 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21138 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21139 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21140 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21141 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21143 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21144 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21145 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21146 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21147 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21149 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21151 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21153 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21154 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21155 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21156 atomic-feupdateenv and flt-rounds.
21157 * sysdeps/powerpc/nofpu/Versions (libc): Add
21158 __atomic_feholdexcept, __atomic_feclearexcept,
21159 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21160 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21161 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21162 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21163 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21168 * manual/arith.texi (FP Exceptions): Document that exceptions may
21169 not be raised when matherr is used.
21170 (Math Error Reporting): Document overflow in directed rounding
21171 modes. Document that errno may not be set when finite values are
21172 returned on overflow. Document intent to set errno on underflow
21173 only for underflow to zero.
21176 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21177 round-to-nearest then adjust result for other rounding modes.
21178 * include/fenv.h (fegetround): Use libm_hidden_proto.
21179 * math/fegetround.c (fegetround): Use libm_hidden_def.
21180 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21181 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21182 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21183 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21185 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21186 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21187 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21188 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21190 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21193 * nss/Versions (libnss_files): Add
21194 _nss_files_gethostbyname3_r.
21195 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21197 (HOST_DB_LOOKUP): Remove macro.
21198 (_nss_files_gethostbyname_r): Implement function without the
21199 HOST_DB_LOOKUP macro.
21200 (_nss_files_gethostbyname2_r): Likewise.
21202 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
21204 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21206 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
21208 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21209 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21212 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21214 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21215 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21216 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21217 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21218 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21219 __fe_nomask_env_priv and attribute_hidden.
21220 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21221 (libc_feupdateenv_test_ppc): Likewise.
21222 (libc_feresetround_ppc): Likewise.
21223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21224 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21225 compat_symbol macro.
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21227 (__fe_nomask_env): Likewise.
21228 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21230 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21232 * string/Makefile: Remove ifunc tests.
21233 * string/test-string.h: Define TEST_IFUNC.
21234 * string/test-bcopy-ifunc.c: Remove.
21235 * string/test-bzero-ifunc.c: Likewise.
21236 * string/test-memccpy-ifunc.c: Likewise.
21237 * string/test-memchr-ifunc.c: Likewise.
21238 * string/test-memcmp-ifunc.c: Likewise.
21239 * string/test-memcpy-ifunc.c: Likewise.
21240 * string/test-memmem-ifunc.c: Likewise.
21241 * string/test-memmove-ifunc.c: Likewise.
21242 * string/test-mempcpy-ifunc.c: Likewise.
21243 * string/test-memrchr-ifunc.c: Likewise.
21244 * string/test-memset-ifunc.c: Likewise.
21245 * string/test-rawmemchr-ifunc.c: Likewise.
21246 * string/test-stpcpy-ifunc.c: Likewise.
21247 * string/test-stpncpy-ifunc.c: Likewise.
21248 * string/test-strcasecmp-ifunc.c: Likewise.
21249 * string/test-strcasestr-ifunc.c: Likewise.
21250 * string/test-strcat-ifunc.c: Likewise.
21251 * string/test-strchr-ifunc.c: Likewise.
21252 * string/test-strchrnul-ifunc.c: Likewise.
21253 * string/test-strcmp-ifunc.c: Likewise.
21254 * string/test-strcpy-ifunc.c: Likewise.
21255 * string/test-strcspn-ifunc.c: Likewise.
21256 * string/test-strlen-ifunc.c: Likewise.
21257 * string/test-strncasecmp-ifunc.c: Likewise.
21258 * string/test-strncat-ifunc.c: Likewise.
21259 * string/test-strncmp-ifunc.c: Likewise.
21260 * string/test-strncpy-ifunc.c: Likewise.
21261 * string/test-strnlen-ifunc.c: Likewise.
21262 * string/test-strpbrk-ifunc.c: Likewise.
21263 * string/test-strrchr-ifunc.c: Likewise.
21264 * string/test-strspn-ifunc.c: Likewise.
21265 * string/test-strstr-ifunc.c: Likewise.
21267 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21269 * benchtests/Makefile: Remove ifunc tests.
21270 * benchtests/bench-string.h: Define TEST_IFUNC.
21271 * benchtests/bench-bcopy-ifunc.c: Remove.
21272 * benchtests/bench-bzero-ifunc.c: Likewise.
21273 * benchtests/bench-memccpy-ifunc.c: Likewise.
21274 * benchtests/bench-memchr-ifunc.c: Likewise.
21275 * benchtests/bench-memcmp-ifunc.c: Likewise.
21276 * benchtests/bench-memcpy-ifunc.c: Likewise.
21277 * benchtests/bench-memmem-ifunc.c: Likewise.
21278 * benchtests/bench-memmove-ifunc.c: Likewise.
21279 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21280 * benchtests/bench-memrchr-ifunc.c: Likewise.
21281 * benchtests/bench-memset-ifunc.c: Likewise.
21282 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21283 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21284 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21285 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21286 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21287 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21288 * benchtests/bench-strcat-ifunc.c: Likewise.
21289 * benchtests/bench-strchr-ifunc.c: Likewise.
21290 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21291 * benchtests/bench-strcmp-ifunc.c: Likewise.
21292 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21293 * benchtests/bench-strcpy-ifunc.c: Likewise.
21294 * benchtests/bench-strcspn-ifunc.c: Likewise.
21295 * benchtests/bench-strlen-ifunc.c: Likewise.
21296 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21297 * benchtests/bench-strncat-ifunc.c: Likewise.
21298 * benchtests/bench-strncmp-ifunc.c: Likewise.
21299 * benchtests/bench-strncpy-ifunc.c: Likewise.
21300 * benchtests/bench-strnlen-ifunc.c: Likewise.
21301 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21302 * benchtests/bench-strrchr-ifunc.c: Likewise.
21303 * benchtests/bench-strsep-ifunc.c: Likewise.
21304 * benchtests/bench-strspn-ifunc.c: Likewise.
21305 * benchtests/bench-strstr-ifunc.c: Likewise.
21307 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21309 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21311 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21313 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21314 * rt/aio.h: Likewise.
21315 * sysdeps/gnu/bits/utmp.h: Likewise.
21316 * sysdeps/gnu/bits/utmpx.h: Likewise.
21317 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21318 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21319 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21320 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21321 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21322 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21323 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21324 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21325 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21326 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21327 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21328 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21329 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21331 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21332 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21333 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21334 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21335 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21336 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21337 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21338 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21339 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21340 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21341 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21343 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21344 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21345 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21346 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21347 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21348 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21349 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21350 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21351 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21352 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21353 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21354 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21355 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21356 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21357 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21358 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21360 2013-11-25 Carlos O'Donell <carlos@redhat.com>
21363 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21364 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21366 2013-11-25 Joseph Myers <joseph@codesourcery.com>
21368 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21369 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21372 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21374 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21375 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21376 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21377 (__fesetround): Remove define.
21378 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21379 rounding and exceptions handling.
21380 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21381 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21382 (__fe_nomask_env): Likewise.
21383 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21384 __fegetround instead of fegetround.
21385 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21386 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21388 2013-11-21 Roland McGrath <roland@hack.frob.com>
21390 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21393 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21395 2013-11-21 Meador Inge <meadori@codesourcery.com>
21398 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21399 (encrypt_r): Likewise.
21400 * malloc/obstack.h (obstack_free): Likewise.
21401 * posix/unistd.h (encrypt): Likewise.
21403 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21405 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21406 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21407 DL_CALL_DT_FINI() that call the functions directly.
21408 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21409 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21410 * elf/dl-fini.c: Likewise.
21412 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
21414 * malloc/hooks.c (memalign_check): Add alignment rounding.
21415 * malloc/malloc.c (_mid_memalign): New function.
21416 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21417 Implement by calling _mid_memalign.
21418 * manual/probes.texi (Memory Allocation Probes): Remove
21419 memory_valloc_retry and memory_pvalloc_retry.
21421 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21423 * locale/programs/locarchive.c (open_archive): Add const
21424 qualifier to ARCHIVEFNAME and copy default fname to
21428 * libio/tst-widetext.input: Rename Oriya to Odia.
21429 * locale/iso-639.def: Likewise.
21431 * manual/probes.texi (Mathematical Function Probes): Add
21432 documentation for sin, cos, asin and acos probes.
21433 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21434 (__sin32): Add slowasin probe.
21435 (__cos32): Add slowacos probe.
21436 (__mpsin): Add slowsin probe.
21437 (__mpcos): Add slowcos probe.
21439 2013-11-19 Joseph Myers <joseph@codesourcery.com>
21442 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21443 thread-local __sim_exceptions_thread and global
21444 __sim_exceptions_global.
21445 (__sim_disabled_exceptions): Change to thread-local
21446 __sim_disabled_exceptions_thread and global
21447 __sim_disabled_exceptions_global.
21448 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21449 and global __sim_round_mode_global.
21450 (__simulate_exceptions): Use thread-local floating-point state and
21451 set global state from it as needed.
21452 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21453 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21454 __sim_round_mode_thread.
21455 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21456 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21457 and global __sim_exceptions_global.
21458 (__sim_disabled_exceptions): Change to thread-local
21459 __sim_disabled_exceptions_thread and global
21460 __sim_disabled_exceptions_global.
21461 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21462 and global __sim_round_mode_global.
21463 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21464 (SIM_SET_GLOBAL): Likewise.
21465 * sysdeps/powerpc/soft-fp/sfp-machine.h
21466 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21467 __sim_round_mode_thread.
21468 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21469 __sim_disabled_exceptions_thread.
21470 (__sim_exceptions): Change to __sim_exceptions_thread.
21471 (__sim_disabled_exceptions): Change to
21472 __sim_disabled_exceptions_thread.
21473 (__sim_round_mode): Change to __sim_round_mode_thread.
21474 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21475 thread-local floating-point state and set global state from it as
21477 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21478 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21479 (__sim_disabled_exceptions): Remove extern declaration.
21480 (feenableexcept): Use thread-local floating-point state and set
21481 global state from it as needed.
21482 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21483 extern declaration.
21484 (__sim_disabled_exceptions): Likewise.
21485 (__sim_round_mode): Likewise.
21486 (__fegetenv): Use thread-local floating-point state.
21487 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21488 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21489 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21490 floating-point state and set global state from it as needed.
21491 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21492 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21493 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21495 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21496 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21498 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21499 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21500 Use __sim_round_mode_thread.
21501 * math/test-fenv-tls.c: New file.
21502 * math/Makefile (tests): Add test-fenv-tls.
21503 ($(objpfx)test-fenv-tls): Depend on
21504 $(common-objpfx)nptl/libpthread.so.
21506 2013-11-19 Andreas Schwab <schwab@suse.de>
21508 * locale/programs/locale.c (show_info): Decode wordarray elements.
21509 * locale/categories.def (LC_MONETARY): Add element for
21510 _NL_MONETARY_CRNCYSTR.
21511 * locale/C-monetary.c (conversion_rate): New variable.
21512 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21515 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21517 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21518 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21520 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21522 * elf/Makefile (tst-auxv): New test.
21523 * elf/tst-auxv.c: New
21524 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21526 2013-11-18 Joseph Myers <joseph@codesourcery.com>
21528 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21529 (hidden_proto): Caller changed.
21530 (hidden_tls_proto): New macro.
21531 (libc_hidden_tls_proto): Likewise.
21532 (rtld_hidden_tls_proto): Likewise.
21533 (libm_hidden_tls_proto): Likewise.
21534 (libresolv_hidden_tls_proto): Likewise.
21535 (librt_hidden_tls_proto): Likewise.
21536 (libdl_hidden_tls_proto): Likewise.
21537 (libnss_files_hidden_tls_proto): Likewise.
21538 (libnsl_hidden_tls_proto): Likewise.
21539 (libnss_nisplus_hidden_tls_proto): Likewise.
21540 (libutil_hidden_tls_proto): Likewise.
21542 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
21545 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21546 (decompose_rpath): Defer expansion to fillin_rpath.
21547 (_dl_init_paths): Pass linkmap to fillin_rpath.
21549 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21551 * benchtests/Makefile: Add strsep.
21552 * benchtests/bench-strsep.c: New file: strsep benchtest.
21553 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21555 2013-11-18 Andreas Schwab <schwab@suse.de>
21557 * locale/programs/locale.c (show_info) [case byte]: Check for
21558 '\377' instead of '\177'.
21559 * locale/C-monetary.c (not_available): Always use "\377".
21560 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21561 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21562 detect unavailable sign_posn locale elements.
21563 * locale/localeconv.c (__localeconv): For grouping and
21564 mon_grouping handle "\177" and "\377" like no grouping.
21565 (INT_ELEM): New macro. Use it to set all numeric members.
21566 * locale/programs/ld-monetary.c (monetary_read)
21567 <tok_mon_grouping>: Normalize single -1 to the empty string.
21568 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21571 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21574 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21575 when we match (nil).
21576 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21578 2013-11-16 Joseph Myers <joseph@codesourcery.com>
21580 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21581 (NO_TEST_INLINE): Update value.
21582 (ERRNO_UNCHANGED): Likewise.
21583 (ERRNO_EDOM): Likewise.
21584 (ERRNO_ERANGE): Likewise.
21585 (IGNORE_RESULT): Likewise.
21586 (check_float_internal): Check signs of NaN results if
21587 TEST_NAN_SIGN used.
21588 (check_complex): Pass TEST_NAN_SIGN flag through to second
21589 check_float_internal call.
21590 (copysign_test_data): Add tests with quiet NaNs as second
21591 argument. Use TEST_NAN_SIGN.
21592 (fabs_test_data): Add test of negative quiet NaN argument. Use
21594 (signbit_test_data): Add tests of quiet NaN argument.
21595 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21597 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21599 (parse_args): Handle function results specified as IGNORE.
21600 * math/libm-test.inc (IGNORE_RESULT): New macro.
21601 (check_float_internal): Do not check numerical result if flag
21603 (check_complex): Pass through IGNORE_RESULT to second
21604 check_float_internal call.
21605 (check_int): Do not check numerical result if flag IGNORE_RESULT
21607 (check_long): Likewise.
21608 (check_bool): Likewise.
21609 (check_longlong): Likewise.
21610 (lrint_test_data): Add tests of infinite and NaN arguments.
21611 (lrint_tonearest_test_data): Likewise.
21612 (lrint_towardzero_test_data): Likewise.
21613 (lrint_downward_test_data): Likewise.
21614 (lrint_upward_test_data): Likewise.
21615 (llrint_test_data): Likewise.
21616 (llrint_tonearest_test_data): Likewise.
21617 (llrint_towardzero_test_data): Likewise.
21618 (llrint_downward_test_data): Likewise.
21619 (llrint_upward_test_data): Likewise.
21620 (lround_test_data): Likewise.
21621 (llround_test_data): Likewise.
21623 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21624 (ERRNO_UNCHANGED): Update value.
21625 (ERRNO_EDOM): Likewise.
21626 (ERRNO_ERANGE): Likewise.
21627 (NO_TEST_INLINE_FLOAT): New macro.
21628 (NO_TEST_INLINE_DOUBLE): Likewise.
21629 (enable_test): New function.
21630 (RUN_TEST_f_f): Check enable_test before running test.
21631 (RUN_TEST_2_f): Likewise.
21632 (RUN_TEST_fff_f): Likewise.
21633 (RUN_TEST_c_f): Likewise.
21634 (RUN_TEST_f_f1): Likewise.
21635 (RUN_TEST_fF_f1): Likewise.
21636 (RUN_TEST_fI_f1): Likewise.
21637 (RUN_TEST_ffI_f1): Likewise.
21638 (RUN_TEST_c_c): Likewise.
21639 (RUN_TEST_cc_c): Likewise.
21640 (RUN_TEST_f_i): Likewise.
21641 (RUN_TEST_f_i_tg): Likewise.
21642 (RUN_TEST_ff_i_tg): Likewise.
21643 (RUN_TEST_f_b): Likewise.
21644 (RUN_TEST_f_b_tg): Likewise.
21645 (RUN_TEST_f_l): Likewise.
21646 (RUN_TEST_f_L): Likewise.
21647 (RUN_TEST_fFF_11): Likewise.
21648 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21650 (cosh_test_data): Likewise.
21651 (exp_test_data): Likewise.
21652 (expm1_test_data): Likewise.
21653 (hypot_test_data): Likewise.
21654 (pow_test_data): Likewise.
21655 (sinh_test_data): Likewise.
21656 (tanh_test_data): Likewise.
21657 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21660 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21661 tests with quiet NaN input and output.
21662 (acosh_test_data): Likewise.
21663 (asin_test_data): Likewise.
21664 (asinh_test_data): Likewise.
21665 (atan_test_data): Likewise.
21666 (atanh_test_data): Likewise.
21667 (atan2_test_data): Likewise.
21668 (cbrt_test_data): Likewise.
21669 (cos_test_data): Likewise.
21670 (cosh_test_data): Likewise.
21671 (erf_test_data): Likewise.
21672 (erfc_test_data): Likewise.
21673 (exp_test_data): Likewise.
21674 (exp10_test_data): Likewise.
21675 (exp2_test_data): Likewise.
21676 (expm1_test_data): Likewise.
21677 (hypot_test_data): Likewise.
21678 (j0_test_data): Likewise.
21679 (j1_test_data): Likewise.
21680 (jn_test_data): Likewise.
21681 (lgamma_test_data): Likewise.
21682 (log_test_data): Likewise.
21683 (log10_test_data): Likewise.
21684 (log1p_test_data): Likewise.
21685 (log2_test_data): Likewise.
21686 (pow_test_data): Likewise.
21687 (scalb_test_data): Likewise.
21688 (sin_test_data): Likewise.
21689 (sincos_test_data): Likewise.
21690 (sinh_test_data): Likewise.
21691 (tan_test_data): Likewise.
21692 (tanh_test_data): Likewise.
21693 (tgamma_test_data): Likewise.
21694 (y0_test_data): Likewise.
21695 (y1_test_data): Likewise.
21696 (yn_test_data): Likewise.
21699 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21700 argument being NaN and avoid computations with second argument in
21702 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21703 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21704 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21706 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21708 * locale/iso-639.def: Add Chitwani Tharu (the).
21710 2013-11-14 Andreas Schwab <schwab@suse.de>
21712 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21713 word instead of empty string.
21715 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21718 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21720 (__fe_nomask_env): Likewise.
21722 2013-11-13 Steve Ellcey <sellcey@mips.com>
21724 * benchtests/bench-timing.h: Include time.h.
21726 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21729 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21731 * sysdeps/unix/sysv/linux/configure: Regenerated.
21733 2013-11-13 Joseph Myers <joseph@codesourcery.com>
21736 * stdlib/strtod_l.c (round_and_return): Do not consider
21737 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21738 exponent one less than half the least subnormal exponent.
21739 * stdlib/test-strtod-round-data: Add more tests.
21740 * stdlib/tst-strtod-round.c (tests): Regenerated.
21742 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21745 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21746 (__fe_mask_env): Likewise.
21747 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21748 libm_hidden_proto and add function prototype.
21749 (__fe_mask_env): Add function prototype.
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21751 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21753 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21755 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21757 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21759 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21760 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21762 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21764 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21765 of htab_find_slot().
21767 2013-11-11 David S. Miller <davem@davemloft.net>
21770 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21771 symbol in the non-vis3 case in static builds.
21772 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21773 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21774 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21775 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21777 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21780 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21783 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21785 * benchtests/Makefile: Add bench-strtod.
21786 * benchtests/bench-strtod.c: New file: strtod benchtest
21788 2013-11-11 Andreas Schwab <schwab@suse.de>
21791 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21792 terminating NUL in key length.
21794 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21796 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21797 Add artificial ODP entry for vDSO symbol for PPC64.
21798 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21799 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21801 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21804 * nss/getent.c (services_keys): Recognize services starting with digit.
21806 2013-11-06 David S. Miller <davem@davemloft.net>
21809 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21810 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21812 2013-11-06 Will Newton <will.newton@linaro.org>
21814 * manual/memory.texi (Malloc Examples): Remove register
21815 keyword from examples.
21817 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21819 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21821 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21824 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21825 depending on [__GCC_IEC_559 > 0].
21826 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21827 depending on [__GCC_IEC_559_COMPLEX > 0].
21829 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21831 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21834 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21836 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21838 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21841 * malloc/malloc (malloc_info): Do not handle first bin as
21844 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21846 * locale/iso-639.def: Add Central Nahuatl (nhn).
21848 2013-11-01 Bruno Haible <bruno@clisp.org>
21851 * manual/math.texi (BSD Random): Specify range upper bound as
21854 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21856 * locale/iso-639.def: Add Meadow Mari (mhr).
21858 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21860 [BZ #14752], [BZ #15763]
21861 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21863 * rt/tst_shm.c: Add test for escaping directory.
21865 2013-10-31 Andreas Schwab <schwab@suse.de>
21868 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21869 followed by 'x' as part of digit sequence.
21870 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21872 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21875 * configure.ac: allow GNU Make 4.0 and greater.
21876 * configure: Regenerated.
21878 2013-10-30 Will Newton <will.newton@linaro.org>
21881 * malloc/hooks.c (memalign_check): Limit alignment to the
21882 maximum representable power of two.
21883 * malloc/malloc.c (__libc_memalign): Likewise.
21884 * malloc/tst-memalign.c (do_test): Add test for very
21885 large alignment values.
21886 * malloc/tst-posix_memalign.c (do_test): Likewise.
21888 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21891 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21892 (munmap_chunk): Likewise.
21893 (mremap_chunk): Likewise.
21895 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21898 * stdlib/div.c (div): Remove obsolete code.
21899 * stdlib/ldiv.c (ldiv): Likewise.
21900 * stdlib/lldiv.c (lldiv): Likewise.
21902 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21905 * nss/nss_files/files-XXX.c (get_contents_ret): New
21907 (get_contents): New function.
21908 (internal_getent): Use it. Expand size of LINEBUFLEN.
21910 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21912 * configure.in: Moved to ...
21913 * configure.ac: ... here. Change reference to configure.in
21915 * sysdeps/arm/preconfigure.ac: ... here.
21916 configure.in to configure.ac.
21917 * sysdeps/gnu/configure.in: Moved to ...
21918 * sysdeps/gnu/configure.ac: ... here.
21919 * sysdeps/i386/configure.in: Moved to ...
21920 * sysdeps/i386/configure.ac: ... here.
21921 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21922 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21923 * sysdeps/mach/configure.in: Moved to ...
21924 * sysdeps/mach/configure.ac: ... here.
21925 * sysdeps/mach/hurd/configure.in: Moved to ...
21926 * sysdeps/mach/hurd/configure.ac: ... here.
21927 * sysdeps/powerpc/configure.in: Moved to ...
21928 * sysdeps/powerpc/configure.ac: ... here.
21929 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21930 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21931 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21932 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21933 * sysdeps/s390/s390-32/configure.in: Moved to ...
21934 * sysdeps/s390/s390-32/configure.ac: ... here.
21935 * sysdeps/s390/s390-64/configure.in: Moved to ...
21936 * sysdeps/s390/s390-64/configure.ac: ... here.
21937 * sysdeps/sh/configure.in: Moved to ...
21938 * sysdeps/sh/configure.ac: ... here.
21939 * sysdeps/sparc/configure.in: Moved to ...
21940 * sysdeps/sparc/configure.ac: ... here.
21941 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21942 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21943 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21944 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21945 * sysdeps/x86_64/configure.in: Moved to ...
21946 * sysdeps/x86_64/configure.ac: ... here.
21947 * sysdeps/x86_64/preconfigure.in: Moved to ...
21948 * sysdeps/x86_64/preconfigure.ac: ... here.
21949 * aclocal.m4: Change reference to configure.in to configure.ac.
21950 * config.h.in: Likewise.
21951 * manual/install.texi: Likewise.
21952 * manual/maint.texi: Likewise.
21953 * Makefile: Likewise.
21954 * malloc/Makefile: Likewise.
21955 * nscd/Makefile: Likewise.
21956 * Makeconfig: Change reference to configure.in and
21957 preconfigure.in to configure.ac and preconfigure.ac
21959 * INSTALL: Regenerated.
21960 * configure: Likewise.
21961 * sysdeps/gnu/configure: Likewise.
21962 * sysdeps/i386/configure: Likewise.
21963 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21964 * sysdeps/mach/configure: Likewise.
21965 * sysdeps/mach/hurd/configure: Likewise.
21966 * sysdeps/powerpc/configure: Likewise.
21967 * sysdeps/powerpc/powerpc32/configure: Likewise.
21968 * sysdeps/powerpc/powerpc64/configure: Likewise.
21969 * sysdeps/s390/s390-32/configure: Likewise.
21970 * sysdeps/s390/s390-64/configure: Likewise.
21971 * sysdeps/sh/configure: Likewise.
21972 * sysdeps/sparc/configure: Likewise.
21973 * sysdeps/unix/sysv/linux/configure: Likewise.
21974 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21975 * sysdeps/x86_64/configure: Likewise.
21976 * sysdeps/x86_64/preconfigure: Likewise.
21978 2013-10-29 Andreas Schwab <schwab@suse.de>
21980 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21982 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21984 * benchtests/pow-inputs: Add new inputs.
21986 * benchtests/exp-inputs: Add new inputs.
21988 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21989 conditional check for return value.
21990 (__cos32): Likewise.
21992 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21994 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21995 to provide a boost for large inputs with word alignment.
21996 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21997 implementation based on optimized PPC64 strcpy.
21998 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21999 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22000 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22001 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22003 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22006 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22008 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22011 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22012 * time/tst-strptime.c (day_tests): Add testcase.
22014 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22017 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22019 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22022 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22023 MAP_FAILED on error.
22025 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22028 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22029 heap for large requests.
22031 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22034 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22035 result if the result has no associated interface.
22036 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22037 interface for all 127.X.Y.Z addresses.
22039 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22041 * locale/iso-639.def: Add Ligurian (lij)
22043 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22046 * sunrpc/rpc_main.c: Document rpcgen -5.
22048 2013-10-19 Michael Stahl <mstahl@redhat.com>
22050 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22052 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22055 * posix/glob.c: Match only directories when trailing slash is present.
22056 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22057 (main): Add testcase.
22059 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22062 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22064 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22066 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22067 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22068 AUTH_DES and cindex for FIPS 140-2.
22069 (DES Encryption): Add cindex FIPS 46-3.
22071 * locale/locarchive.h (struct locarhandle): Add fname.
22072 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22073 if an optional argument was specified to --list-archive,
22075 * locale/programs/locarchive.c (show_archive_content): Take new
22076 argument fname and pass it via ah.fname to open_archive.
22077 * locale/programs/localedef.h: Update decl.
22078 (open_archive): If AH->fname is non-null, open that file
22079 rather than the default file name, and don't ignore ENOENT.
22080 (create_archive): Set AH.fname to NULL.
22081 (delete_locales_from_archive): Likewise.
22082 (add_locales_to_archive): Likewise.
22083 * locale/programs/locfile.c (write_all_categories): Likewise.
22085 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22086 Aldy Hernandez <aldyh@redhat.com>
22088 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22089 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22090 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22091 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22092 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22093 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22094 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22095 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22096 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22097 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22098 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22099 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22100 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22101 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22102 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22104 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22106 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22108 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22110 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22111 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22113 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22114 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22115 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22116 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22118 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22119 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22120 * sysdeps/powerpc/preconfigure: Likewise.
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22123 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22124 Replace contents of file by #include of <fenv_libc.h>.
22125 * sysdeps/powerpc/soft-fp/sfp-machine.h
22126 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22128 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22129 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22135 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22136 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22137 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22138 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22139 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22141 Allow copysignl PLT reference to be missing.
22143 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22144 Joseph Myers <joseph@codesourcery.com
22147 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22149 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22151 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22153 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22154 * elf/tst-tls1.c: Likewise.
22155 * elf/tst-tls10.h: Likewise.
22156 * elf/tst-tls14.c: Likewise.
22157 * elf/tst-tls2.c: Likewise.
22158 * elf/tst-tls3.c: Likewise.
22159 * elf/tst-tls4.c: Likewise.
22160 * elf/tst-tls5.c: Likewise.
22161 * elf/tst-tls6.c: Likewise.
22162 * elf/tst-tls7.c: Likewise.
22163 * elf/tst-tls8.c: Likewise.
22164 * elf/tst-tls9.c: Likewise.
22165 * elf/tst-tlsmod1.c: Likewise.
22166 * elf/tst-tlsmod13.c: Likewise.
22167 * elf/tst-tlsmod13a.c: Likewise.
22168 * elf/tst-tlsmod14a.c: Likewise.
22169 * elf/tst-tlsmod16a.c: Likewise.
22170 * elf/tst-tlsmod16b.c: Likewise.
22171 * elf/tst-tlsmod2.c: Likewise.
22172 * elf/tst-tlsmod3.c: Likewise.
22173 * elf/tst-tlsmod4.c: Likewise.
22174 * elf/tst-tlsmod5.c: Likewise.
22175 * elf/tst-tlsmod6.c: Likewise.
22177 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22180 * malloc/malloc.c: remove checks for statistics.
22182 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22185 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22186 * inet/tst-network.c: Add testcase.
22188 2013-10-17 Andreas Schwab <schwab@suse.de>
22191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22192 to determine canonical name.
22194 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22196 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22197 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22198 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22199 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22201 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22202 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22203 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22204 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22205 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22206 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22208 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22209 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22210 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22211 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22213 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22214 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22215 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22216 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22218 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22219 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22220 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22221 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22222 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22223 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22224 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22225 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22226 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22227 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22228 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22229 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22230 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22231 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22232 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22233 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22234 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22235 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22236 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22237 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22238 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22239 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22240 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22241 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22242 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22243 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22244 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22245 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22246 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22247 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22248 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22249 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22250 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22251 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22252 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22253 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22255 2013-10-17 Joseph Myers <joseph@codesourcery.com>
22258 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22259 make result into a quiet NaN.
22261 2013-10-16 Joseph Myers <joseph@codesourcery.com>
22263 * soft-fp/adddf3.c: Fix horizontal whitespace.
22264 * soft-fp/addsf3.c: Likewise.
22265 * soft-fp/addtf3.c: Likewise.
22266 * soft-fp/divdf3.c: Likewise.
22267 * soft-fp/divsf3.c: Likewise.
22268 * soft-fp/divtf3.c: Likewise.
22269 * soft-fp/double.h: Likewise.
22270 * soft-fp/eqdf2.c: Likewise.
22271 * soft-fp/eqsf2.c: Likewise.
22272 * soft-fp/eqtf2.c: Likewise.
22273 * soft-fp/extenddftf2.c: Likewise.
22274 * soft-fp/extended.h: Likewise.
22275 * soft-fp/extendsfdf2.c: Likewise.
22276 * soft-fp/extendsftf2.c: Likewise.
22277 * soft-fp/extendxftf2.c: Likewise.
22278 * soft-fp/fixdfdi.c: Likewise.
22279 * soft-fp/fixdfsi.c: Likewise.
22280 * soft-fp/fixdfti.c: Likewise.
22281 * soft-fp/fixsfdi.c: Likewise.
22282 * soft-fp/fixsfsi.c: Likewise.
22283 * soft-fp/fixsfti.c: Likewise.
22284 * soft-fp/fixtfdi.c: Likewise.
22285 * soft-fp/fixtfsi.c: Likewise.
22286 * soft-fp/fixtfti.c: Likewise.
22287 * soft-fp/fixunsdfdi.c: Likewise.
22288 * soft-fp/fixunsdfsi.c: Likewise.
22289 * soft-fp/fixunsdfti.c: Likewise.
22290 * soft-fp/fixunssfdi.c: Likewise.
22291 * soft-fp/fixunssfsi.c: Likewise.
22292 * soft-fp/fixunssfti.c: Likewise.
22293 * soft-fp/fixunstfdi.c: Likewise.
22294 * soft-fp/fixunstfsi.c: Likewise.
22295 * soft-fp/fixunstfti.c: Likewise.
22296 * soft-fp/floatdidf.c: Likewise.
22297 * soft-fp/floatdisf.c: Likewise.
22298 * soft-fp/floatditf.c: Likewise.
22299 * soft-fp/floatsidf.c: Likewise.
22300 * soft-fp/floatsisf.c: Likewise.
22301 * soft-fp/floatsitf.c: Likewise.
22302 * soft-fp/floattidf.c: Likewise.
22303 * soft-fp/floattisf.c: Likewise.
22304 * soft-fp/floattitf.c: Likewise.
22305 * soft-fp/floatundidf.c: Likewise.
22306 * soft-fp/floatundisf.c: Likewise.
22307 * soft-fp/floatunditf.c: Likewise.
22308 * soft-fp/floatunsidf.c: Likewise.
22309 * soft-fp/floatunsisf.c: Likewise.
22310 * soft-fp/floatunsitf.c: Likewise.
22311 * soft-fp/floatuntidf.c: Likewise.
22312 * soft-fp/floatuntisf.c: Likewise.
22313 * soft-fp/floatuntitf.c: Likewise.
22314 * soft-fp/fmadf4.c: Likewise.
22315 * soft-fp/fmasf4.c: Likewise.
22316 * soft-fp/fmatf4.c: Likewise.
22317 * soft-fp/gedf2.c: Likewise.
22318 * soft-fp/gesf2.c: Likewise.
22319 * soft-fp/getf2.c: Likewise.
22320 * soft-fp/ledf2.c: Likewise.
22321 * soft-fp/lesf2.c: Likewise.
22322 * soft-fp/letf2.c: Likewise.
22323 * soft-fp/muldf3.c: Likewise.
22324 * soft-fp/mulsf3.c: Likewise.
22325 * soft-fp/multf3.c: Likewise.
22326 * soft-fp/negdf2.c: Likewise.
22327 * soft-fp/negsf2.c: Likewise.
22328 * soft-fp/negtf2.c: Likewise.
22329 * soft-fp/op-1.h: Likewise.
22330 * soft-fp/op-2.h: Likewise.
22331 * soft-fp/op-4.h: Likewise.
22332 * soft-fp/op-8.h: Likewise.
22333 * soft-fp/op-common.h: Likewise.
22334 * soft-fp/quad.h: Likewise.
22335 * soft-fp/single.h: Likewise.
22336 * soft-fp/soft-fp.h: Likewise.
22337 * soft-fp/sqrtdf2.c: Likewise.
22338 * soft-fp/sqrtsf2.c: Likewise.
22339 * soft-fp/sqrttf2.c: Likewise.
22340 * soft-fp/subdf3.c: Likewise.
22341 * soft-fp/subsf3.c: Likewise.
22342 * soft-fp/subtf3.c: Likewise.
22343 * soft-fp/truncdfsf2.c: Likewise.
22344 * soft-fp/trunctfdf2.c: Likewise.
22345 * soft-fp/trunctfsf2.c: Likewise.
22346 * soft-fp/trunctfxf2.c: Likewise.
22347 * soft-fp/unorddf2.c: Likewise.
22348 * soft-fp/unordsf2.c: Likewise.
22349 * soft-fp/unordtf2.c: Likewise.
22351 2013-10-15 Joseph Myers <joseph@codesourcery.com>
22353 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22354 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22356 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
22358 * elf/dl-libc.c: Clear initfini list after freeing.
22360 2013-10-14 Joseph Myers <joseph@codesourcery.com>
22362 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
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/floatunsidf.c: Likewise.
22407 * soft-fp/floatunsisf.c: Likewise.
22408 * soft-fp/floatuntidf.c: Likewise.
22409 * soft-fp/floatuntisf.c: Likewise.
22410 * soft-fp/floatuntitf.c: Likewise.
22411 * soft-fp/fmadf4.c: Likewise.
22412 * soft-fp/fmasf4.c: Likewise.
22413 * soft-fp/fmatf4.c: Likewise.
22414 * soft-fp/gedf2.c: Likewise.
22415 * soft-fp/gesf2.c: Likewise.
22416 * soft-fp/getf2.c: Likewise.
22417 * soft-fp/ledf2.c: Likewise.
22418 * soft-fp/lesf2.c: Likewise.
22419 * soft-fp/letf2.c: Likewise.
22420 * soft-fp/muldf3.c: Likewise.
22421 * soft-fp/mulsf3.c: Likewise.
22422 * soft-fp/multf3.c: Likewise.
22423 * soft-fp/negdf2.c: Likewise.
22424 * soft-fp/negsf2.c: Likewise.
22425 * soft-fp/negtf2.c: Likewise.
22426 * soft-fp/op-1.h: Likewise.
22427 * soft-fp/op-2.h: Likewise.
22428 * soft-fp/op-4.h: Likewise.
22429 * soft-fp/op-8.h: Likewise.
22430 * soft-fp/op-common.h: Likewise.
22431 * soft-fp/quad.h: Likewise.
22432 * soft-fp/single.h: Likewise.
22433 * soft-fp/soft-fp.h: Likewise.
22434 * soft-fp/sqrtdf2.c: Likewise.
22435 * soft-fp/sqrtsf2.c: Likewise.
22436 * soft-fp/sqrttf2.c: Likewise.
22437 * soft-fp/subdf3.c: Likewise.
22438 * soft-fp/subsf3.c: Likewise.
22439 * soft-fp/subtf3.c: Likewise.
22440 * soft-fp/truncdfsf2.c: Likewise.
22441 * soft-fp/trunctfdf2.c: Likewise.
22442 * soft-fp/trunctfsf2.c: Likewise.
22443 * soft-fp/trunctfxf2.c: Likewise.
22444 * soft-fp/unorddf2.c: Likewise.
22445 * soft-fp/unordsf2.c: Likewise.
22446 * soft-fp/unordtf2.c: Likewise.
22448 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
22451 * misc/error.c (error_tail): Fix possible buffer overflow.
22453 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22456 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22459 2013-10-14 P. J. McDermott <pj@pehjota.net>
22462 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22463 testing pipefail option.
22465 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22467 * soft-fp/double.h: Indent preprocessor directives inside #if.
22468 * soft-fp/extended.h: Likewise.
22469 * soft-fp/op-2.h: Likewise.
22470 * soft-fp/op-4.h: Likewise.
22471 * soft-fp/op-common.h: Likewise.
22472 * soft-fp/quad.h: Likewise.
22473 * soft-fp/single.h: Likewise.
22474 * soft-fp/soft-fp.h: Likewise.
22476 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22478 * iconv/iconv_prog.c: Fix typos.
22479 * stdio-common/psiginfo-data.h: Likewise.
22481 2013-10-12 Reuben Thomas <rrt@sc3d.org>
22484 * locale/setlocale.c: Fix typo.
22486 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22489 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22490 signaling NaN arguments.
22491 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22492 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22495 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22496 unordered operands.
22497 * soft-fp/gesf2.c (__gesf2): Likewise.
22498 * soft-fp/getf2.c (__getf2): Likewise.
22499 * soft-fp/ledf2.c (__ledf2): Likewise.
22500 * soft-fp/lesf2.c (__lesf2): Likewise.
22501 * soft-fp/letf2.c (__letf2): Likewise.
22503 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22504 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22505 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22506 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22507 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22508 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22509 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22510 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22511 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22512 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22513 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22514 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22515 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22516 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22517 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22518 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22519 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22520 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22521 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22522 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22523 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22524 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22525 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22526 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22527 * soft-fp/floattidf.c (__floattidf): Likewise.
22528 * soft-fp/floattisf.c (__floattisf): Likewise.
22529 * soft-fp/floattitf.c (__floattitf): Likewise.
22530 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22531 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22532 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22533 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22534 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22535 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22536 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22537 * soft-fp/gesf2.c (__gesf2): Likewise.
22538 * soft-fp/getf2.c (__getf2): Likewise.
22539 * soft-fp/ledf2.c (__ledf2): Likewise.
22540 * soft-fp/lesf2.c (__lesf2): Likewise.
22541 * soft-fp/letf2.c (__letf2): Likewise.
22543 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22544 Undefine and redefine.
22545 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22546 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22547 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22548 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22549 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22550 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22551 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22552 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22553 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22554 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22555 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22556 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22557 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22558 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22559 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22562 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22563 without decrementing exponent if mantissa >= that for the
22564 denominator, not >.
22565 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22566 denominator, not >. Decrement exponent in < case instead of
22567 incrementing in >= case.
22568 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22569 without decrementing exponent if mantissa >= that for the
22570 denominator, not >.
22572 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22573 computing saturated result for unsigned overflow.
22575 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22576 Jeff Law <law@redhat.com>
22578 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22579 (atan2Mp): Add systemtap probe marker.
22580 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22581 (__ieee754_log): Add systemtap probe marker.
22582 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22583 (atanMp): Add systemtap probe marker.
22584 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22585 (tanMp): Add systemtap probe marker.
22586 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22587 (__slowexp): Add systemtap probe marker.
22588 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22589 (__slowpow): Add systemtap probe marker.
22590 * manual/probes.texi: Document probes.
22592 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
22595 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22597 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22599 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22600 written to buffer but not flushed.
22601 * libio/iofwrite_u.c: Likewise.
22602 * libio/iopadn.c: Return bytes returned even if EOF was
22604 * libio/iowpadn.c: Likewise.
22605 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22606 if _IO_padn does not write the whole buffer.
22607 [!COMPILE_WPRINTF] (PAD): Likewise.
22609 2013-10-10 David S. Miller <davem@davemloft.net>
22611 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22614 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22616 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22617 instead of FSF address.
22618 * soft-fp/fixdfti.c: Likewise.
22619 * soft-fp/fixsfti.c: Likewise.
22620 * soft-fp/fixtfti.c: Likewise.
22621 * soft-fp/fixunsdfti.c: Likewise.
22622 * soft-fp/fixunssfti.c: Likewise.
22623 * soft-fp/fixunstfti.c: Likewise.
22624 * soft-fp/floattidf.c: Likewise.
22625 * soft-fp/floattisf.c: Likewise.
22626 * soft-fp/floattitf.c: Likewise.
22627 * soft-fp/floatuntidf.c: Likewise.
22628 * soft-fp/floatuntisf.c: Likewise.
22629 * soft-fp/floatuntitf.c: Likewise.
22630 * soft-fp/trunctfxf2.c: Likewise.
22632 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22633 * soft-fp/fixdfti.c: Likewise.
22634 * soft-fp/fixsfti.c: Likewise.
22635 * soft-fp/fixtfti.c: Likewise.
22636 * soft-fp/fixunsdfti.c: Likewise.
22637 * soft-fp/fixunssfti.c: Likewise.
22638 * soft-fp/fixunstfti.c: Likewise.
22639 * soft-fp/floattidf.c: Likewise.
22640 * soft-fp/floattisf.c: Likewise.
22641 * soft-fp/floattitf.c: Likewise.
22642 * soft-fp/floatuntidf.c: Likewise.
22643 * soft-fp/floatuntisf.c: Likewise.
22644 * soft-fp/floatuntitf.c: Likewise.
22645 * soft-fp/trunctfxf2.c: Likewise.
22647 2013-10-10 David S. Miller <davem@davemloft.net>
22649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22651 2013-10-10 Joseph Myers <joseph@codsourcery.com>
22653 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22654 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22655 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22656 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22657 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22658 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22659 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22661 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22662 for NaNs before doing comparisons on argument.
22663 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22666 2013-10-10 Will Newton <will.newton@linaro.org>
22668 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22669 passed to _int_memalign does not overflow.
22671 2013-10-10 Torvald Riegel <triegel@redhat.com>
22673 * scripts/bench.pl: Add include-sources directive.
22674 * benchtests/README: Update documentation.
22676 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22678 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22679 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22680 instead of FP_INIT_ROUNDMODE.
22681 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22682 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22685 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22686 copy class of input value.
22687 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22688 not handle exceptions.
22689 * soft-fp/negsf2.c (__negsf2): Likewise.
22690 * soft-fp/negtf2.c (__negtf2): Likewise.
22691 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22693 2013-10-09 Joseph Myers <joseph@codesourcery.com>
22695 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22696 semicolon. From Linux kernel.
22698 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22700 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22702 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22705 * manual/socket.texi: Added statement about buffer
22706 for gethostbyname2_r.
22708 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
22710 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22711 Use .p2align directive instead, throughout.
22712 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22713 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22714 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22715 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22716 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22717 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22718 * sysdeps/x86_64/strchr.S: Likewise.
22719 * sysdeps/x86_64/strrchr.S: Likewise.
22721 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22723 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22725 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22727 * sysdeps/generic/math_private.h (__mpsin1): Remove
22729 (__mpcos1): Likewise.
22730 (__mpsin): New argument __range_reduce.
22731 (__mpcos): Likewise.
22732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22733 (slow): Use __mpsin and __mpcos.
22737 (sloww1): Likewise.
22738 (sloww2): Likewise.
22739 (bsloww): Likewise.
22740 (bsloww1): Likewise.
22741 (bsloww2): Likewise.
22742 (cslow2): Likewise.
22743 (csloww): Likewise.
22744 (csloww1): Likewise.
22745 (csloww2): Likewise.
22746 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22747 range_reduce. Merge in __mpsin1.
22748 (__mpcos): Likewise.
22749 (__mpsin1): Remove.
22750 (__mpcos1): Likewise.
22752 2013-10-07 Joseph Myers <joseph@codesourcery.com>
22754 * locale/loadlocale.c (_nl_intern_locale_data): Use
22756 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22757 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22758 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22759 obstack data is appropriately aligned.
22760 (obstack_int32_grow_fast): Likewise.
22761 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22762 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22763 (add_locale_uint32_array): Likewise.
22765 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22767 * benchtests/Makefile: Remove ARGLIST and RET variables.
22768 ($(objpfx)bench-%.c): Pass only function name to the script.
22769 * benchtests/README: Update documentation.
22770 * benchtests/acos-inputs: Add new directives.
22771 * benchtests/acosh-inputs: Likewise.
22772 * benchtests/asin-inputs: Likewise.
22773 * benchtests/asinh-inputs: Likewise.
22774 * benchtests/atan-inputs: Likewise.
22775 * benchtests/atanh-inputs: Likewise.
22776 * benchtests/cos-inputs: Likewise.
22777 * benchtests/cosh-inputs: Likewise.
22778 * benchtests/exp-inputs: Likewise.
22779 * benchtests/log-inputs: Likewise.
22780 * benchtests/pow-inputs: Likewise.
22781 * benchtests/rint-inputs: Likewise.
22782 * benchtests/sin-inputs: Likewise.
22783 * benchtests/sinh-inputs: Likewise.
22784 * benchtests/tan-inputs: Likewise.
22785 * benchtests/tanh-inputs: Likewise.
22786 * scripts/bench.pl: Add support for new directives.
22788 2013-10-07 Alan Modra <amodra@gmail.com>
22790 * README: Fix careless merge.
22792 2013-10-05 Alan Modra <amodra@gmail.com>
22794 * NEWS: Mention powerpc64le support and bugs fixed.
22795 * README: Both big-endian and little-endian powerpc64 supported.
22797 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22799 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22800 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22801 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22802 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22804 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22806 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22809 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22811 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22812 Move -mhard-float appending from
22813 ports/sysdeps/powerpc/powerpc32/Makefile.
22814 [$(with-fp) = yes] (ASFLAGS): Likewise.
22815 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22816 * sysdeps/powerpc/nofpu: Move directory from
22817 ports/sysdeps/powerpc/nofpu.
22818 * sysdeps/powerpc/soft-fp: Move directory from
22819 ports/sysdeps/powerpc/soft-fp.
22820 * sysdeps/powerpc/powerpc32/405: Move directory from
22821 ports/sysdeps/powerpc/powerpc32/405.
22822 * sysdeps/powerpc/powerpc32/440: Move directory from
22823 ports/sysdeps/powerpc/powerpc32/440.
22824 * sysdeps/powerpc/powerpc32/464: Move directory from
22825 ports/sysdeps/powerpc/powerpc32/464.
22826 * sysdeps/powerpc/powerpc32/476: Move directory from
22827 ports/sysdeps/powerpc/powerpc32/476.
22828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22829 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22831 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22833 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22835 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22837 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22838 * README: Update for powerpc-*-linux-gnu software floating point
22841 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22842 case to powerpc/powerpc32*.
22843 * sysdeps/unix/sysv/linux/configure: Regenerated.
22845 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22846 (_FPU_MASK_OM): Define as 0x04.
22847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22855 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22858 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22861 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22862 and setcontext_e500.
22864 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22866 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22868 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22870 * manual/threads.texi (Default Thread Attributes): Fix typo.
22872 2013-10-04 Will Newton <will.newton@linaro.org>
22874 * malloc/Makefile: Add tst-memalign.
22875 * malloc/tst-memalign.c: New file.
22877 * malloc/tst-posix_memalign.c: Add comments.
22878 (do_test): Add comments and call free on all potentially
22879 allocated pointers. Add space after cast.
22881 * malloc/tst-pvalloc.c: Add comments.
22882 (do_test): Add comments and call free on all potentially
22883 allocated pointers. Remove duplicate check for NULL pointer.
22884 Add space after cast.
22886 * malloc/tst-valloc.c: Add comments.
22887 (do_test): Add comments and call free on all potentially
22888 allocated pointers. Remove duplicate check for NULL pointer.
22889 Add space after cast.
22891 2013-10-04 Alan Modra <amodra@gmail.com>
22893 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22894 Use stdint types in rather than __attribute__((mode())).
22895 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22897 2013-10-04 Alan Modra <amodra@gmail.com>
22899 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22900 Correct handling of unaligned relocs for little-endian.
22901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22903 2013-10-04 Alan Modra <amodra@gmail.com>
22905 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22906 * configure: Regenerate.
22907 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22908 * shlib-versions: Likewise.
22910 2013-10-04 Alan Modra <amodra@gmail.com>
22912 * string/tester.c (test_memrchr): Increment reported test cycle.
22914 2013-10-04 Alan Modra <amodra@gmail.com>
22916 * string/test-memcpy.c (do_one_test): When reporting errors, print
22917 string address and don't overrun end of string.
22919 2013-10-04 Alan Modra <amodra@gmail.com>
22921 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22922 insrdi. Make better use of reg selection to speed exit slightly.
22923 Schedule entry path a little better. Remove useless "are we done"
22924 checks on entry to main loop. Handle wrapping around zero address.
22925 Correct main loop count. Handle single left-over word from main
22926 loop inline rather than by using loop_small. Remove extra word
22927 case in loop_small caused by wrong loop count. Add little-endian
22929 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22930 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22932 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22933 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22934 support. Avoid rlwimi.
22935 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22937 2013-10-04 Alan Modra <amodra@gmail.com>
22939 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22940 insrdi. Formatting.
22941 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22942 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22943 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22944 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22945 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22946 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22948 2013-10-04 Alan Modra <amodra@gmail.com>
22950 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22951 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22952 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22953 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22954 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22955 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22956 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22957 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22958 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22959 use of regs. Use power7 mtocrf. Tidy function tails.
22961 2013-10-04 Alan Modra <amodra@gmail.com>
22963 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22964 Formatting. Consistently use rXXX register defines or rN defines.
22965 Use early exit labels that avoid restoring unused non-volatile regs.
22966 Make cr field use more consistent with rWORDn compares. Rename
22967 regs used as shift registers for unaligned loop, using rN defines
22968 for short lifetime/multiple use regs.
22969 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22970 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22971 addi 1,1,64 to pop stack frame. Simplify return value code.
22972 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22974 2013-10-04 Alan Modra <amodra@gmail.com>
22976 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22977 support. Correct typos, formatting. Optimize tail. Use insrdi
22978 rather than rlwimi.
22979 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22980 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22981 little-endian support. Correct typos.
22982 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22983 rather than rlwimi.
22984 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22985 in loop and entry code to keep "and." results.
22986 (strchr): Add little-endian support. Comment. Move cntlzd
22988 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22990 2013-10-04 Alan Modra <amodra@gmail.com>
22992 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22993 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22994 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22995 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22997 2013-10-04 Alan Modra <amodra@gmail.com>
22999 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23000 (rTMP): Define as r11.
23001 (strcmp): Add little-endian support. Optimise tail.
23002 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23003 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23004 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23005 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23006 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23008 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23010 2013-10-04 Alan Modra <amodra@gmail.com>
23012 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23013 little-endian support. Remove unnecessary "are we done" tests.
23014 Handle "s" wrapping around zero and extremely large "size".
23015 Correct main loop count. Handle single left-over word from main
23016 loop inline rather than by using small_loop. Correct comments.
23017 Delete "zero" tail, use "end_max" instead.
23018 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23020 2013-10-04 Alan Modra <amodra@gmail.com>
23022 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23023 support. Don't branch over align.
23024 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23025 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23026 support. Rearrange tmp reg use to suit. Comment.
23027 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23029 2013-10-04 Alan Modra <amodra@gmail.com>
23031 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23033 2013-10-04 Alan Modra <amodra@gmail.com>
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23036 conditional form of branch and link when obtaining pc.
23037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23039 2013-10-04 Alan Modra <amodra@gmail.com>
23041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23046 2013-10-04 Alan Modra <amodra@gmail.com>
23048 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23049 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23050 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23051 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23052 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23053 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23054 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23055 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23056 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23057 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23059 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23060 Alistair Popple <alistair@ozlabs.au.ibm.com>
23061 Alan Modra <amodra@gmail.com>
23064 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23065 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23066 _dl_hwcap access for little-endian.
23067 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23068 destroy vmx regs when saving unaligned.
23069 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23070 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23071 destroy vmx regs when saving unaligned.
23073 2013-10-04 Alan Modra <amodra@gmail.com>
23075 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23076 Don't use a union to pack hi/low value.
23078 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23080 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23082 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23083 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23084 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23085 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23086 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23088 2013-10-04 Alan Modra <amodra@gmail.com>
23090 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23091 constants to usual value for .cst8 section, and remove redundant
23093 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23094 constant for 0x1p52. Load little-endian words of double from
23095 correct stack offsets.
23097 2013-10-04 Alan Modra <amodra@gmail.com>
23099 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23100 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23101 words of double from correct stack offsets.
23102 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23103 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23104 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23105 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23106 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23107 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23108 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23109 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23110 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23111 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23112 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23113 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23114 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23115 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23116 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23117 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23118 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23120 2013-10-04 Alan Modra <amodra@gmail.com>
23122 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23123 64-bit int/double union.
23124 (_FPU_SETCW): Likewise.
23125 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23126 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23128 2013-10-04 Alan Modra <amodra@gmail.com>
23130 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23131 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23133 2013-10-04 Alan Modra <amodra@gmail.com>
23135 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23136 use vector int constants.
23137 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23139 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23141 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23142 array with long long.
23143 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23144 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23145 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23146 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23147 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23148 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23149 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23150 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23151 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23152 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23153 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23154 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23155 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23157 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23159 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23160 (__signbit): Likewise. Correct for little-endian.
23161 (__signbitl): Call __signbit.
23162 (lrint): Correct for little-endian.
23163 (lrintf): Call lrint.
23165 2013-10-04 Alan Modra <amodra@gmail.com>
23167 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23168 union 32-bit int array member with 64-bit int array.
23169 (t515, tm256): Double rather than long double.
23170 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23172 2013-10-04 Alan Modra <amodra@gmail.com>
23174 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23176 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23177 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23178 version of math_ldbl.h.
23180 2013-10-04 Alan Modra <amodra@gmail.com>
23182 [BZ #15734], [BZ #15735]
23183 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23184 all uses of ieee875 long double macros and unions. Simplify test
23185 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23186 ldbl_extract_mantissa value for ix,iy exponents. Properly
23187 normalize after ldbl_extract_mantissa, and don't add hidden bit
23188 already handled. Don't treat low word of ieee854 mantissa like
23189 low word of IBM long double and mask off bit when testing for
23191 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23192 all uses of ieee875 long double macros and unions. Simplify tests
23193 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23194 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23195 two1022, instead use their values. Recognise that tests for large
23196 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23197 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23198 Rewrite all uses of ieee875 long double macros and unions. Simplify
23199 test for 0.0L and nan. Correct negation.
23200 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23201 ieee875 long double macros and unions. Correct output for large
23202 magnitude x. Correct absolute value calculation.
23203 (__erfcl): Likewise.
23204 * math/libm-test.inc: Add tests for errors discovered in IBM long
23205 double versions of fmodl, remainderl, erfl and erfcl.
23207 2013-10-04 Alan Modra <amodra@gmail.com>
23209 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23210 all uses of ieee854 long double macros and unions. Simplify tests
23211 for long doubles that are fully specified by the high double.
23212 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23214 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23215 Remove dead code too.
23216 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23217 (__ieee754_ynl): Likewise.
23218 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23219 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23220 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23221 Remove dead code too.
23222 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23223 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23224 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23225 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23227 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23229 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23230 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23231 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23232 Comment on variable precision.
23233 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23234 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23236 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23237 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23238 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23239 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23240 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23242 2013-10-04 Alan Modra <amodra@gmail.com>
23244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23245 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23246 all uses of ieee854 long double macros and unions.
23247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23248 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23249 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23250 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23251 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23252 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23254 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23255 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23256 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23257 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23258 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23259 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23260 Simplify sign and nan test too.
23261 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23262 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23263 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23264 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23266 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23267 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23269 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23270 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23271 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23272 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23273 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23276 2013-10-04 Alan Modra <amodra@gmail.com>
23278 * stdio-common/printf_size.c (__printf_size): Don't use
23279 union ieee854_long_double in fpnum union.
23280 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23281 signbit macro to retrieve sign from long double.
23282 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23283 retrieve sign from long double.
23284 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23285 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23286 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23287 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23288 * math/test-misc.c (main): Don't use union ieee854_long_double.
23290 2013-10-04 Alan Modra <amodra@gmail.com>
23293 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23294 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23295 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23296 calculation. Remove unnecessary test for denormal exponent.
23297 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23298 Correct handling of denormals. Avoid undefined shift behaviour.
23299 Correct normalisation of low mantissa when low double is denormal.
23300 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23301 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23302 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23303 Correct normalisation of low mantissa. Test for overflow of high
23304 mantissa and normalise.
23305 (ldbl_nearbyint): Use more readable constant for two52.
23306 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23307 (__mpn_construct_long_double): Fix test for overflow of high
23308 mantissa and correct normalisation. Avoid undefined shift.
23310 2013-10-04 Alan Modra <amodra@gmail.com>
23312 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23313 (union ibm_extended_long_double): Define as an array of ieee754_double.
23314 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23315 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23316 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23317 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23321 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23322 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23326 2013-10-03 Joseph Myers <joseph@codesourcery.com>
23328 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23329 page size instead of calling getpagesize.
23331 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23332 (LOCFILE_ALIGN_MASK): Likewise.
23333 (LOCFILE_ALIGN_UP): Likewise.
23334 (LOCFILE_ALIGNED_P): Likewise.
23335 * locale/programs/ld-collate.c (collate_output): Use the new
23336 macros instead of __alignof__ (int32_t).
23337 * locale/weight.h (findidx): Likewise.
23339 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
23342 * manual/string.texi: Fix strncat and wcsncat.
23344 2013-10-03 Brooks Moses <bmoses@google.com>
23347 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23348 * Makerules: ...here, and adjust associated comments.
23350 2013-10-02 Will Newton <will.newton@linaro.org>
23352 * malloc/Makefile: Add tst-pvalloc.
23353 * malloc/tst-pvalloc.c: New file.
23355 2013-10-02 Will Newton <will.newton@linaro.org>
23357 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23358 improve test coverage.
23360 2013-10-02 Will Newton <will.newton@linaro.org>
23362 * malloc/Makefile: Add tst-posix_memalign.
23363 * malloc/tst-posix_memalign.c: New file.
23365 2013-10-01 Eric Blake <eblake@redhat.com>
23367 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23368 Use __THROWNL rather than __THROW on static functions.
23370 2013-09-30 Petr Machata <pmachata@redhat.com>
23372 * elf/elf.h (R_AARCH64_ABS16): New macro.
23373 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23374 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23375 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23376 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23377 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23378 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23379 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23380 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23381 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23382 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23383 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23384 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23385 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23386 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23387 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23388 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23389 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23390 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23391 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23392 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23393 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23394 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23395 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23396 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23397 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23398 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23399 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23400 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23401 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23402 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23403 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23404 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23405 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23406 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23407 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23408 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23409 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23410 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23411 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23412 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23413 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23414 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23415 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23416 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23417 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23418 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23419 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23420 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23421 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23422 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23423 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23424 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23425 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23426 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23427 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23428 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23429 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23430 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23431 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23432 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23433 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23434 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23435 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23436 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23437 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23438 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23439 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23440 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23441 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23442 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23443 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23444 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23445 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23446 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23447 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23448 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23449 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23450 (R_AARCH64_TLSDESC_LDR): Likewise.
23451 (R_AARCH64_TLSDESC_ADD): Likewise.
23452 (R_AARCH64_TLSDESC_CALL): Likewise.
23454 2013-09-30 Andreas Schwab <schwab@suse.de>
23457 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23458 the nss database lookup.
23459 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23462 2013-09-28 Mike Frysinger <vapier@gentoo.org>
23464 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23466 2013-09-28 P. J. McDermott <pj@pehjota.net>
23468 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23469 ${Bash-specific parameter/pattern/string} parameter expansion.
23470 * sysdeps/unix/make-syscalls.sh: Likewise.
23472 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23474 * sysdeps/sh/stackguard-macros.h: New file.
23476 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
23478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23480 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23481 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23482 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23483 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23485 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23487 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23488 Fix thread ID register.
23490 2013-09-25 Joseph Myers <joseph@codesourcery.com>
23492 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23493 [POSIX || UNIX98]: Require rather than permitting all symbols from
23495 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23496 element of struct sched_param.
23497 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23498 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23499 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23500 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23503 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23505 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23506 argument calculation.
23508 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23510 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23512 [POSIX] (pthread_attr_t): Do not require type.
23513 [POSIX] (pthread_cond_t): Likewise.
23514 [POSIX] (pthread_condattr_t): Likewise.
23515 [POSIX] (pthread_key_t): Likewise.
23516 [POSIX] (pthread_mutex_t): Likewise.
23517 [POSIX] (pthread_mutexattr_t): Likewise.
23518 [POSIX] (pthread_once_t): Likewise.
23519 [POSIX] (pthread_t): Likewise.
23520 [POSIX-based standards] (pthread_atfork): Expect function.
23522 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23523 Richard Sandiford <richard@codesourcery.com>
23525 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23526 (swap_endianness_p): New extern variable.
23527 (set_big_endian): New inline function.
23528 (maybe_swap_uint32): Likewise.
23529 (maybe_swap_uint32_array): Likewise.
23530 (maybe_swap_uint32_obstack): Likewise.
23531 * locale/programs/locfile.c: Include <stdbool.h>.
23532 (swap_endianness_p): New variable.
23533 (add_locale_uint32): Call maybe_swap_uint32.
23534 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23535 (write_locale_data): Call maybe_swap_uint32_array.
23536 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23538 (obstack_int32_grow_fast): Likewise.
23539 (output_weightwc): Call maybe_swap_uint32_obstack.
23540 (collate_output): Likewise.
23541 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23542 (OPT_LITTLE_ENDIAN): Likewise.
23543 (options): Add --little-endian and --big-endian options.
23544 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23545 * locale/programs/locarchive.c: Include "locfile.h".
23549 (create_archive): Use the new macros to access fields of
23550 structures directly mapped from or written to locale archives.
23551 (oldlocrecentcmp): Likewise.
23552 (enlarge_archive): Likewise.
23553 (insert_name): Likewise.
23554 (add_alias): Likewise.
23555 (add_locale): Likewise.
23556 (delete_locales_from_archive): Likewise.
23557 (show_archive_content): Likewise.
23558 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23561 2013-09-24 Roland McGrath <roland@hack.frob.com>
23563 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23564 http://www.gnu.org/doc/freemanuals.texi.
23565 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23567 2013-09-24 Will Newton <will.newton@linaro.org>
23569 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23572 2013-09-23 Joseph Myers <joseph@codesourcery.com>
23574 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23577 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23579 * manual/threads.texi (POSIX Threads): Fix a typo.
23581 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23584 * string/tst-strcoll-overflow.c: New test case.
23585 * string/Makefile (xtests): Add tst-strcoll-overflow.
23586 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23587 cache if string sizes may cause integer overflow.
23590 * string/strcoll_l.c (coll_seq): New members rule, idx,
23591 save_idx and back_us.
23592 (get_next_seq_nocache): New function.
23593 (do_compare_nocache): New function.
23594 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23597 2013-09-23 Carlos O'Donell <carlos@redhat.com>
23600 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23601 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23602 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23605 * elf/Makefile (tests): Add tst-ptrguard1.
23606 (tests-static): Add tst-ptrguard1-static.
23607 (tst-ptrguard1-ARGS): Define.
23608 (tst-ptrguard1-static-ARGS): Define.
23609 * elf/tst-ptrguard1.c: New file.
23610 * elf/tst-ptrguard1-static.c: New file.
23611 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23612 * sysdeps/i386/stackguard-macros.h: Likewise.
23613 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23614 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23615 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23616 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23617 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23618 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23620 2013-09-23 Hector Marco <hecmargi@upv.es>
23621 Ismael Ripoll <iripoll@disca.upv.es>
23622 Carlos O'Donell <carlos@redhat.com>
23625 * sysdeps/generic/stackguard-macros.h: Define
23626 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23627 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23628 Define __pointer_chk_guard_local.
23629 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23630 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23632 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23635 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23637 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23639 * include/string.h (__ffs): Declare as hidden.
23640 * string/ffs.c (__ffs): Define as hidden.
23641 * sysdeps/i386/ffs.c (__ffs): Likewise.
23642 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23643 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23644 * sysdeps/s390/ffs.c (__ffs): Likewise.
23645 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23647 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
23649 * NEWS: Mention malloc probes.
23651 * malloc/arena.c (new_heap): New memory_heap_new probe.
23652 (grow_heap): New memory_heap_more probe.
23653 (shrink_heap): New memory_heap_less probe.
23654 (heap_trim): New memory_heap_free probe.
23655 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23656 (systrim): New memory_sbrk_less probe.
23657 * manual/probes.texi: Document them.
23659 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23660 * manual/probes.texi: Document it.
23662 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23663 (__libc_realloc): Add memory_realloc_retry probe.
23664 (__libc_memalign): Add memory_memalign_retry probe.
23665 (__libc_valloc): Add memory_valloc_retry probe.
23666 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23667 (__libc_calloc): Add memory_calloc_retry probe.
23668 * manual/probes.texi: Document them.
23670 * malloc/arena.c (get_free_list): Add probe
23671 memory_arena_reuse_free_list.
23672 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23673 and memory_arena_reuse.
23674 (arena_get2) [!PER_THREAD]: Likewise.
23675 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23676 memory_arena_reuse_realloc.
23677 * manual/probes.texi: Document them.
23679 * malloc/malloc.c (__libc_free): Add
23680 memory_mallopt_free_dyn_thresholds probe.
23681 (__libc_mallopt): Add multiple memory_mallopt probes.
23682 * manual/probes.texi: Document them.
23684 * malloc/malloc.c: Include stap-probe.h.
23685 (__libc_mallopt): Add memory_mallopt probe.
23686 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23687 * manual/probes.texi: New.
23688 * manual/Makefile (chapters): Add probes.
23689 * manual/threads.texi: Set next node.
23691 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
23693 [BZ #15963, #13985]
23694 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23695 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23696 Add `Chinese' to `nan' entry name.
23698 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23700 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23701 (POLYNOMIAL): Likewise.
23702 (TAYLOR_SINCOS): Likewise.
23703 (TAYLOR_SLOW): Likewise.
23704 (__sin): Use TAYLOR_SINCOS.
23706 (slow): Use TAYLOR_SLOW.
23708 (bsloww): Likewise.
23709 (csloww): Likewise.
23711 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23713 * stdlib/strtod_l.c: Fix buffer overrun.
23715 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23717 * benchtests/Makefile (bench): Add sincos.
23718 * benchtests/bench-sincos.c: New file.
23720 * math/libm-test.inc (cos_test_data): New test inputs.
23721 (sin_test_data): Likewise.
23723 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23729 (sloww1): Likewise.
23730 (sloww2): Likewise.
23731 (bsloww1): Likewise.
23732 (bsloww2): Likewise.
23733 (cslow2): Likewise.
23734 (csloww1): Likewise.
23735 (csloww2): Likewise.
23737 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23746 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23748 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23749 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23750 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23751 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23752 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23753 * elf/cache.c (print_entry): Handle the new cache flags.
23755 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23756 Aldy Hernandez <aldyh@redhat.com>
23758 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23759 Change condition to [_SOFT_FLOAT].
23760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23772 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23775 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23778 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23780 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23781 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23782 (__longjmp): Use LOAD_GP to load saved GPRs.
23783 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23784 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23785 (__sigsetjmp): Use SAVE_GP to save GPRs.
23787 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23788 Do not append -msoft-float.
23789 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23791 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23793 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23795 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23798 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23799 (_FPU_GETCW): Use initial "__" on variable and field names but not
23800 on macro parameter name.
23801 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23802 parentheses around reference to macro parameter.
23804 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23806 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23808 (ctype_startup): Use uint32_t in cast and sizeof for
23811 2013-09-11 Jia Liu <proljc@gmail.com>
23813 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23815 [__FreeBSD__]: Likewise.
23817 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23820 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23821 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23822 (strchr): Remove __strchr_sse42 ifunc selection.
23823 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23824 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23826 2013-09-11 Will Newton <will.newton@linaro.org>
23828 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23829 parameter to RES. Remove hardcoded 1000 value.
23830 * benchtests/bench-skeleton.c (main): Pass RES parameter
23831 to TIMING_INIT and multiply result by 1000.
23833 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23837 2013-09-11 Andreas Schwab <schwab@suse.de>
23839 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23841 (O_TMPFILE) [__USE_GNU]: Define.
23842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23845 2013-09-11 Will Newton <will.newton@linaro.org>
23848 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23851 2013-09-11 Will Newton <will.newton@linaro.org>
23854 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23857 2013-09-11 Will Newton <will.newton@linaro.org>
23860 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23863 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23865 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23866 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23867 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23868 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23869 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23871 2013-09-10 Allan McRae <allan@archlinux.org>
23874 * manual/arith.texi (Parsing of Floats): Clarify
23878 * manual/install.texi (Running make install): Mention
23880 * INSTALL: Regenerated.
23882 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23884 * csu/init-first.c (_init): Remove the !SHARED condition around
23885 FPU control word initialization.
23886 * elf/dl-support.c (_dl_fpu_control): New variable.
23887 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23888 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23889 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23890 * math/test-fpucw-static.c: New file.
23891 * math/test-fpucw-ieee.c: New file.
23892 * math/test-fpucw-ieee-static.c: New file.
23893 * math/Makefile (tests): Add `test-fpucw-ieee' and
23895 (tests-static): New variable.
23896 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23898 [($(build-shared),yes)]
23899 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23901 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23904 2013-09-09 Allan McRae <allan@archlinux.org>
23907 * manual/string.texi (Collation Functions): Fix typo in
23909 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23912 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23915 * libio/memstream.c (open_memstream): Fix memory leak.
23916 * libio/wmemstream.c (open_wmemstream): Likewise.
23919 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23921 2013-09-09 Will Newton <will.newton@linaro.org>
23923 * malloc/Makefile: Add tst-realloc to tests.
23924 * malloc/tst-realloc.c: New file.
23926 2013-09-09 Allan McRae <allan@archlinux.org>
23929 * COPYING: Update from GNU website to fix FSF address.
23930 * COPYING.LIB: Likewise.
23932 2013-09-06 David S. Miller <davem@davemloft.net>
23934 * po/zh_TW.po: Update Chinese (traditional) translation from
23935 translation project.
23937 2013-09-06 Richard Sandiford <richard@codesourcery.com>
23938 Joseph Myers <joseph@codesourcery.com>
23940 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23942 (obstack_chunk_alloc): New macro.
23943 (obstack_chunk_free): Likewise.
23944 (record_offset): New function.
23945 (init_locale_data): Likewise.
23946 (align_locale_data): Likewise.
23947 (add_locale_empty): Likewise.
23948 (add_locale_raw_data): Likewise.
23949 (add_locale_raw_obstack): Likewise.
23950 (add_locale_string): Likewise.
23951 (add_locale_wstring): Likewise.
23952 (add_locale_uint32): Likewise.
23953 (add_locale_uint32_array): Likewise.
23954 (add_locale_char): Likewise.
23955 (start_locale_structure): Likewise.
23956 (end_locale_structure): Likewise.
23957 (start_locale_prelude): Likewise.
23958 (end_locale_prelude): Likewise.
23959 (write_locale_data): Take locale_file structure rather than an
23961 * locale/programs/locfile.h: Include "obstack.h".
23962 (struct locale_file): Change to store locale file contents instead
23964 (init_locale_data): New prototype.
23965 (align_locale_data): Likewise.
23966 (add_locale_empty): Likewise.
23967 (add_locale_raw_data): Likewise.
23968 (add_locale_raw_obstack): Likewise.
23969 (add_locale_string): Likewise.
23970 (add_locale_wstring): Likewise.
23971 (add_locale_uint32): Likewise.
23972 (add_locale_uint32_array): Likewise.
23973 (add_locale_char): Likewise.
23974 (start_locale_structure): Likewise.
23975 (end_locale_structure): Likewise.
23976 (start_locale_prelude): Likewise.
23977 (end_locale_prelude): Likewise.
23978 (write_locale_data): Update prototype.
23979 * locale/programs/3level.h (struct TABLE): Remove result field.
23980 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23981 Use new locale_file interface.
23982 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23983 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23984 * locale/programs/ld-address.c (address_output): Use new
23985 locale_file interface.
23986 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23988 (collate_finish): Don't call collseq_table_finalize.
23989 (collate_output): Use new locale_file interface.
23990 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23992 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23993 (TABLE): Move defines earlier in file.
23994 (ELEMENT): Likewise.
23995 (DEFAULT): Likewise.
23996 (wctrans_table_add): Move macro and inline function earlier in
23998 (struct wctype_table): Move type earlier in file.
23999 (add_locale_wctype_table): New static prototype.
24000 (struct locale_ctype_t): Use logical types instead of struct iovec
24001 pointers for members.
24002 (ctype_output): Use new locale_file interface.
24003 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24004 new locale_file interface.
24005 (allocate_arrays): Update for use of new locale_file interface.
24006 * locale/programs/ld-identification.c (identification_output): Use
24007 new locale_file interface.
24008 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24009 * locale/programs/ld-messages.c (messages_output): Likewise.
24010 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24011 * locale/programs/ld-name.c (name_output): Likewise.
24012 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24013 * locale/programs/ld-paper.c (paper_output): Likewise.
24014 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24015 * locale/programs/ld-time.c (time_output): Likewise.
24017 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24019 * benchtests/Makefile: Add memrchr benchmark.
24020 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24021 benchmark as memrchr.
24022 * benchtests/bench-memrchr-ifunc.c: New file.
24023 * benchtests/bench-memrchr.c: New file.
24025 2013-09-06 Will Newton <will.newton@linaro.org>
24027 * benchtests/Makefile (string-bench): Add memcpy.
24029 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24030 Cong Wang <amwang@redhat.com>
24033 * sysdeps/unix/sysv/linux/bits/in.h
24034 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24035 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24036 before __USE_KERNEL_IPV6_DEFS uses.
24037 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24039 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24040 sockaddr_in6, or ipv6_mreq.
24042 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24044 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24045 memory access for final bytes in some large inputs.
24046 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24048 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24050 * string/test-memrchr.c: New file.
24051 * string/test-memrchr-ifunc.c: New file.
24052 * string/Makefile: Add new memrchr testcase.
24054 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24056 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24057 fanotify_init returns EPERM.
24059 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24061 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24063 (top level): Treat second token from macro or constant entries for
24064 allowed headers as allowed.
24065 * include/complex.h: Condition internal declarations on
24067 * include/fenv.h: Condition include of <stdbool.h> and internal
24068 declarations on [!_ISOMAC].
24070 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24073 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24075 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24077 * configure.in (--enable-versioning): Remove configure option.
24078 (libc_cv_asm_symver_directive): Remove configure test.
24079 (libc_cv_ld_version_script_option): Likewise.
24080 (VERSIONING): Remove variable and AC_SUBST.
24081 (DO_VERSIONING): Remove AC_DEFINE.
24082 * configure: Regenerated.
24083 * config.h.in (DO_VERSIONING): Remove macro.
24084 * Makerules [$(versioning) = yes]: Change conditionals to
24085 [$(build-shared) = yes].
24086 * config.make.in (versioning): Remove variable.
24087 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24088 [$(build-shared) = yes].
24089 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24090 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24091 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24092 [$(build-shared) = yes].
24093 * extra-lib.mk [$(versioning) = yes]: Likewise.
24094 * hurd/Makefile [$(versioning) = yes]: Likewise.
24095 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24097 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24099 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24100 [SHARED && !NO_HIDDEN].
24101 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24103 [SHARED && DO_VERSIONING]: Likewise..
24104 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24105 [$(build-shared) = yes].
24106 * manual/install.texi (--disable-versioning): Remove
24108 * INSTALL: Regenerated.
24109 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24111 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24112 [$(build-shared) = yes].
24113 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24114 * sysdeps/i386/i686/multiarch/strstr-c.c
24115 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24116 [SHARED && !NO_HIDDEN].
24117 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24118 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24119 * sysdeps/powerpc/powerpc32/dl-machine.c
24120 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24121 * sysdeps/powerpc/powerpc32/sysdep.h
24122 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24123 to [SHARED && PIC && !NO_HIDDEN].
24124 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24125 conditional to [SHARED].
24127 2013-09-04 Will Newton <will.newton@linaro.org>
24129 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24130 * benchtests/bench-string.h: Include bench-timing.h instead
24131 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24132 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24133 call to HP_TIMING_DIFF_INIT.
24134 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24135 instead of hp-timing.h macros.
24136 * benchtests/bench-memchr.c: Likewise.
24137 * benchtests/bench-memcmp.c: Likewise.
24138 * benchtests/bench-memcpy.c: Likewise.
24139 * benchtests/bench-memmem.c: Likewise.
24140 * benchtests/bench-memmove.c: Likewise.
24141 * benchtests/bench-memset.c: Likewise.
24142 * benchtests/bench-rawmemchr.c: Likewise.
24143 * benchtests/bench-strcasecmp.c: Likewise.
24144 * benchtests/bench-strcasestr.c: Likewise.
24145 * benchtests/bench-strcat.c: Likewise.
24146 * benchtests/bench-strchr.c: Likewise.
24147 * benchtests/bench-strcmp.c: Likewise.
24148 * benchtests/bench-strcpy.c: Likewise.
24149 * benchtests/bench-strcpy_chk.c: Likewise.
24150 * benchtests/bench-strlen.c: Likewise.
24151 * benchtests/bench-strncasecmp.c: Likewise.
24152 * benchtests/bench-strncat.c: Likewise.
24153 * benchtests/bench-strncmp.c: Likewise.
24154 * benchtests/bench-strncpy.c: Likewise.
24155 * benchtests/bench-strnlen.c: Likewise.
24156 * benchtests/bench-strpbrk.c: Likewise.
24157 * benchtests/bench-strrchr.c: Likewise.
24158 * benchtests/bench-strspn.c: Likewise.
24159 * benchtests/bench-strstr.c: Likewise.
24161 2013-09-04 Will Newton <will.newton@linaro.org>
24163 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24165 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24168 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24169 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24170 * math/libm-test.inc (lgamma_test_data): Add more tests.
24171 * sysdeps/i386/fpu/libm-test-ulps: Update.
24172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24174 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24176 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24177 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24180 Add strcmp-sse2-unaligned
24181 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24183 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24185 * Versions.def (libc): Add GLIBC_2.19.
24187 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24189 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24190 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24192 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24195 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24196 intermediate calculations in recurrence.
24197 (__ieee754_ynf): Likewise.
24198 * math/libm-test.inc (jn_test_data): Do not allow spurious
24199 underflow exception. Add more tests.
24200 (yn_test_data): Add more tests.
24201 * sysdeps/i386/fpu/libm-test-ulps: Update.
24202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24204 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
24206 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24208 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24210 * csu/init-first.c: Fix then/than typos.
24211 * locale/programs/ld-collate.c: Likewise.
24212 * locale/programs/linereader.h: Likewise.
24213 * manual/charset.texi: Likewise.
24214 * manual/filesys.texi: Likewise.
24215 * manual/stdio.texi: Likewise.
24216 * manual/string.texi: Likewise.
24217 * stdlib/fmtmsg.c: Likewise.
24218 * sysdeps/i386/stpncpy.S: Likewise.
24219 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24220 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24221 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24222 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24224 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24226 * elf/dl-open.c: Fix typos.
24227 * iconvdata/gbbig5.c: Likewise.
24228 * iconvdata/iso-2022-jp.c: Likewise.
24229 * iconv/gconv_int.h: Likewise.
24230 * iconv/loop.c: Likewise.
24231 * nis/rpcsvc/nis.h: Likewise.
24232 * resolv/ns_name.c: Likewise.
24233 * stdio-common/vfscanf.c: Likewise.
24234 * streams/stropts.h: Likewise.
24235 * sunrpc/rpc_thread.c: Likewise.
24236 * sysdeps/i386/strpbrk.S: Likewise.
24237 * sysdeps/ieee754/k_standard.c: Likewise.
24238 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24240 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24241 * sysdeps/mach/hurd/profil.c: Likewise.
24242 * sysdeps/s390/dl-procinfo.h: Likewise.
24243 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24244 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24245 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24246 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24247 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24249 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24251 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24252 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24254 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24256 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24257 aix specific files.
24258 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24259 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24260 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24261 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24262 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24263 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24264 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24265 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24267 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24268 Roland McGrath <roland@hack.frob.com>
24270 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24271 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24273 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24275 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24276 __executable_start symbol instead of _start.
24278 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24280 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24281 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24283 * sysdeps/gnu/ldsodefs.h: ... this new file.
24285 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24286 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24287 instead of ELFOSABI_LINUX.
24289 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24290 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24291 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24292 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24294 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24295 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24296 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24298 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24299 (ibm_extended_long_double): Add ieee_nan member.
24300 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24301 (do_test): New function.
24303 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24305 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24306 functions, renamed from truncdfsf_test, trunctfsf_test,
24308 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24310 (do_test): Run all these.
24312 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24314 * argp/argp-help.c: Fix typos.
24315 * argp/argp-parse.c: Likewise.
24316 * debug/backtracesyms.c: Likewise.
24317 * elf/elf.h: Likewise.
24318 * malloc/malloc.c: Likewise.
24319 * nis/nis_print.c: Likewise.
24320 * resolv/res_comp.c: Likewise.
24321 * stdlib/stdlib.h: Likewise.
24322 * sunrpc/clnt_tcp.c: Likewise.
24323 * sunrpc/clnt_udp.c: Likewise.
24324 * sunrpc/clnt_unix.c: Likewise.
24325 * sysdeps/unix/bsd/ptsname.c: Likewise.
24326 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24327 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24334 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24336 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24338 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24341 2013-08-27 Mike Frysinger <vapier@gentoo.org>
24344 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24345 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24346 ($(objpfx)bug-dl-leaf): New rule.
24347 ($(objpfx)bug-dl-leaf.so): Likewise.
24348 ($(objpfx)bug-dl-leaf.out): Likewise.
24349 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24350 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24351 * dlfcn/bug-dl-leaf.c: New test.
24352 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24353 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24354 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24355 (dlclose): Likewise.
24356 (dlmopen): Likewise.
24358 2013-08-27 Roland McGrath <roland@hack.frob.com>
24360 * include/netdb.h [!_ISOMAC]:
24361 Don't include <tls.h>.
24362 (h_errno, __libc_h_errno): Move declaration and macros out of
24365 * include/resolv.h [_RESOLV_H_]:
24366 Don't include <tls.h>.
24367 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24368 * resolv/res_libc.c: Don't include <tls.h>.
24369 (_res): Use __attribute__ ((nocommon)) in place of
24370 __attribute__ ((section (".bss"))).
24372 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24373 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24375 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24377 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24378 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24380 * resolv/res_mkquery.c: Include <sys/time.h>.
24382 * inet/ifreq.c: Moved to ...
24383 * sysdeps/unix/ifreq.c: ... here.
24384 * inet/ifreq.c: New file, true stub version.
24386 * socket/sa_len.c: New file.
24387 * socket/Makefile (aux): Add it.
24388 * sysdeps/unix/sysv/linux/Makefile
24389 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24390 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24391 and #include <socket/sa_len.c>.
24392 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24393 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24395 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24396 * bits/socket.h: ... here.
24398 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24399 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24400 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24402 2013-08-27 Andreas Schwab <schwab@suse.de>
24405 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24406 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24407 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24408 * string/test-strcasecmp.c (test_main): Run tests in several
24410 * string/test-strncasecmp.c (test_main): Likewise.
24412 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24413 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24414 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24415 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24416 (__strncasecmp_ssse3) [PIC]: Likewise.
24418 2013-08-26 Roland McGrath <roland@hack.frob.com>
24420 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24422 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24423 instead of explicitly declaring xdecrypt.
24424 * nis/nss_nis/nis-publickey.c: Likewise.
24426 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24429 * nscd/aicache.c: Include res_hconf.h.
24430 (addhstaiX): Initialize res_hconf.
24432 2013-08-26 Andreas Schwab <schwab@suse.de>
24434 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24435 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24437 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24439 * nscd/aicache.c (addhstaiX): Fix indentation.
24441 2013-08-25 Mike Frysinger <vapier@gentoo.org>
24443 * configure.ac: Quote $build_pt_chown test.
24444 * configure: Regenerated.
24446 2013-08-23 Joseph Myers <joseph@codesourcery.com>
24449 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24450 * math/s_cexpf.c (__cexpf): Likewise.
24451 * math/s_cexpl.c (__cexpl): Likewise.
24452 * math/libm-test.inc (cexp_test_data): Correct expected return
24453 value for NaN + i0. Add another test.
24455 2013-08-22 David S. Miller <davem@davemloft.net>
24457 * po/ca.po: Update Catalan translation from translation project.
24458 * po/uk.po: Add Ukrainian translations from translation project.
24460 2013-08-21 Joseph Myers <joseph@codesourcery.com>
24463 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24464 is infinite, not alongside NaN test.
24465 * math/s_fdimf.c (__fdimf): Likewise.
24466 * math/s_fdiml.c (__fdiml): Likewise.
24467 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24468 errno is unchanged.
24470 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
24472 * argp/argp-help.c: Fix typos.
24473 * crypt/speeds.c: Likewise.
24474 * csu/check_fds.c: Likewise.
24475 * elf/dl-load.c: Likewise.
24476 * elf/dl-open.c: Likewise.
24477 * elf/reldep3.c: Likewise.
24478 * elf/reldep.c: Likewise.
24479 * elf/sprof.c: Likewise.
24480 * iconv/iconv_charmap.c: Likewise.
24481 * iconv/skeleton.c: Likewise.
24482 * iconv/strtab.c: Likewise.
24483 * io/lockf64.c: Likewise.
24484 * libio/libioP.h: Likewise.
24485 * resolv/gai_notify.c: Likewise.
24486 * resolv/ns_name.c: Likewise.
24487 * resolv/ns_samedomain.c: Likewise.
24488 * resolv/res_send.c: Likewise.
24489 * stdlib/random.c: Likewise.
24490 * sunrpc/rpc/xdr.h: Likewise.
24491 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24492 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24493 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24494 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24495 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24498 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24499 * sysdeps/mach/hurd/check_fds.c: Likewise.
24500 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24501 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24502 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24503 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24504 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24505 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24506 * sysdeps/pthread/aio_notify.c: Likewise.
24507 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24508 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24509 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24510 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24511 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24513 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24515 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24516 version if bit_Slow_SSE4_2 is set.
24517 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24518 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24520 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24523 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24524 trampoline stack frame information.
24525 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24526 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24527 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24528 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24529 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24530 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24531 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24532 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24534 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24535 interrupting a syscall and set with option SA_SIGINFO.
24537 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24540 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24541 argument is infinite.
24542 * math/s_cprojf.c (__cprojf): Likewise.
24543 * math/s_cprojl.c (__cprojl): Likewise.
24544 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24545 * math/libm-test.inc (cproj_test_data): Add more tests.
24547 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24549 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24550 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24551 size. Use __ffs to determine corresponding shift.
24553 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24554 Roland McGrath <roland@hack.frob.com>
24556 * Makefile (INSTALL): Remove trailing blank lines from output of
24559 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24561 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24562 Align 32 bit compat elf_greg to 8 bytes.
24564 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24566 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24568 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24570 * string/strcoll_l.c (coll_seq): New structure.
24571 (get_next_seq_cached): New function.
24572 (get_next_seq): New function.
24573 (do_compare): New function.
24574 (STRCOLL): Use GNU style definition. Simplify implementation
24575 by using get_next_seq, get_next_seq_cached and do_compare.
24577 2013-08-16 Florian Weimer <fweimer@redhat.com>
24581 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24583 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24585 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24586 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24587 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24589 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24590 GETDENTS_64BIT_ALIGNED.
24591 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24592 * manual/filesys.texi (Reading/Closing Directory): Document
24593 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24595 * manual/conf.texi (Limits for Files): Add portability note to
24596 NAME_MAX, PATH_MAX.
24597 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24599 2013-08-13 Andreas Schwab <schwab@suse.de>
24602 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24604 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24605 LDBL_MAX_EXP >= 16384]: Add tests for it.
24607 2013-08-12 David S. Miller <davem@davemloft.net>
24609 * version.h (RELEASE): Set to "development".
24610 (VERSION): Set to "2.18.90".
24611 * NEWS: Add 2.19 section.
24613 2013-08-03 David S. Miller <davem@davemloft.net>
24615 * po/ko.po: Update Korean translation from translation project.
24617 2013-08-01 David S. Miller <davem@davemloft.net>
24619 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24620 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24623 2013-07-30 David S. Miller <davem@davemloft.net>
24625 * po/fr.po: Update French translation from translation project.
24627 2013-07-28 David S. Miller <davem@davemloft.net>
24629 * po/cs.po: Update Czech translation from translation project.
24631 * po/sv.po: Update Swedish translation from translation project.
24633 2013-07-27 David S. Miller <davem@davemloft.net>
24635 * po/eo.po: Update Esperanto translation from translation project.
24637 * po/vi.po: Update Vietnamese translation from translation project.
24639 * po/de.po: Update German translation from translation project.
24641 2013-07-26 David S. Miller <davem@davemloft.net>
24643 * po/bg.po: Update Bulgarian translation from translation project.
24645 * po/nl.po: Update Dutch translation from translation project.
24646 * po/pl.po: Update Polish translation from translation project.
24647 * po/ru.po: Update Russian translation from translation project.
24649 2013-07-24 David S. Miller <davem@davemloft.net>
24651 * po/libc.pot: Update.
24653 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24655 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24656 variable page size.
24657 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24658 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24659 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24661 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24663 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24665 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24666 Andreas Schwab <schwab@suse.de>
24667 Roland McGrath <roland@hack.frob.com>
24668 Joseph Myers <joseph@codesourcery.com>
24669 Carlos O'Donell <carlos@redhat.com>
24672 * config.h.in: Define HAVE_PT_CHOWN.
24673 * config.make.in (build-pt-chown): New variable.
24674 * configure.in (--enable-pt_chown): New configure option.
24675 * configure: Regenerate.
24676 * login/Makefile: Include Makeconfig. Build pt_chown only if
24677 build-pt-chown is enabled.
24678 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24679 pt_chown to fix pty ownership.
24680 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24682 * manual/install.texi (Configuring and compiling): Mention
24683 --enable-pt_chown. Add @findex for grantpt.
24684 * INSTALL: Regenerate.
24686 2013-07-20 David S. Miller <davem@davemloft.net>
24688 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24689 difference between 32-bit and 64-bit.
24691 2013-07-15 Carlos O'Donell <carlos@redhat.com>
24694 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24695 Avoid system header dependency with -ffreestanding.
24696 ($(objpfx)bits/syscall%d): Likewise.
24698 2013-07-13 David S. Miller <davem@davemloft.net>
24700 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24701 underflows from atanl/atan2l due to bug 15319.
24702 (casinh_test_data): Likewise.
24704 2013-07-07 David S. Miller <davem@davemloft.net>
24706 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24708 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24710 * sysdeps/i386/fpu/libm-test-ulps: Update.
24711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24713 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24715 * configure.in (--enable-lock-elision): Fix message text.
24716 * INSTALL: Regenerate.
24717 * configure: Regenerate.
24719 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24723 2013-07-03 Andreas Jaeger <aj@suse.de>
24725 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24727 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24728 (ptrace_peeksiginfo_args): Add.
24729 (__ptrace_peeksiginfo_flags): Add.
24730 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24731 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24732 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24734 2013-07-03 Allan McRae <allan@archlinux.org>
24736 * sysdeps/i386/fpu/libm-test-ulps: Update.
24738 2013-07-02 David S. Miller <davem@davemloft.net>
24740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24742 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24746 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24748 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24751 2013-07-02 Andi Kleen <ak@linux.intel.com>
24753 * config.h.in (ENABLE_LOCK_ELISION): Add.
24754 * configure.in (--enable-lock-elision): Add option.
24755 * manual/install.texi: Document --enable lock elision.
24756 * configure: Regenerate
24757 * INSTALL: Regenerate.
24759 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24761 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24762 SSE4.2 strcasecmp for libc.a.
24763 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24765 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24768 * soft-fp/op-common.h (_FP_FMA): New macro.
24769 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24770 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24771 (_FP_MUL_MEAT_1_imm): ... here.
24772 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24773 (_FP_MUL_MEAT_1_wide): ... here.
24774 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24775 (_FP_MUL_MEAT_1_hard): ... here.
24776 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24777 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24778 (_FP_MUL_MEAT_2_wide): ... here.
24779 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24780 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24781 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24782 (_FP_MUL_MEAT_2_gmp): ... here.
24783 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24784 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24785 (_FP_MUL_MEAT_4_wide): ... here.
24786 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24787 (_FP_MUL_MEAT_4_gmp): ... here.
24788 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24789 (_FP_WFRACBITS_DW_S): Likewise.
24790 (_FP_WFRACXBITS_DW_S): Likewise.
24791 (_FP_HIGHBIT_DW_S): Likewise.
24792 (FP_FMA_S): Likewise.
24793 (_FP_FRAC_HIGH_DW_S): Likewise.
24794 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24795 (_FP_WFRACBITS_DW_D): Likewise.
24796 (_FP_WFRACXBITS_DW_D): Likewise.
24797 (_FP_HIGHBIT_DW_D): Likewise.
24798 (FP_FMA_D): Likewise.
24799 (_FP_FRAC_HIGH_DW_D): Likewise.
24800 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24801 (_FP_WFRACBITS_DW_E): Likewise.
24802 (_FP_WFRACXBITS_DW_E): Likewise.
24803 (_FP_HIGHBIT_DW_E): Likewise.
24804 (FP_FMA_E): Likewise.
24805 (_FP_FRAC_HIGH_DW_E): Likewise.
24806 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24807 (_FP_WFRACBITS_DW_Q): Likewise.
24808 (_FP_WFRACXBITS_DW_Q): Likewise.
24809 (_FP_HIGHBIT_DW_Q): Likewise.
24810 (FP_FMA_Q): Likewise.
24811 (_FP_FRAC_HIGH_DW_Q): Likewise.
24812 * soft-fp/fmasf4.c: New file.
24813 * soft-fp/fmadf4.c: Likewise.
24814 * soft-fp/fmatf4.c: Likewise.
24816 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24819 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24821 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24823 (index_Slow_SSE4_2): Likewise.
24824 (index_Prefer_PMINUB_for_stringop): Likewise.
24825 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24826 bit_Slow_SSE4_2 is set.
24827 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24828 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24830 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24832 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24833 rtld_global._dl_hwcap2.
24834 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24836 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24837 POWER8 feature descriptions defined in _dl_hwcap2.
24838 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24839 string handling for POWER8 feature bits.
24840 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24841 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24842 _dl_powerpc_cap_flags.
24843 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24844 * sysdeps/powerpc/rtld-global-offsets.sym
24845 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24846 _dl_hwcap2 in the rtld_global_ro structure.
24848 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24850 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24851 hardware capabilities in support of AT_HWCAP2.
24852 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24853 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24855 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24856 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24857 explicitly the unknown a_type display mechanism is used.
24858 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24859 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24861 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24862 to macro prototype for AT_HWCAP2 support.
24863 * sysdeps/i386/dl-procinfo.h: Likewise.
24864 * sysdeps/s390/dl-procinfo.h: Likewise.
24865 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24866 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24867 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24868 return -1 for unknown a_type display fallback.
24869 * sysdeps/sparc/dl-procinfo.h: Likewise.
24870 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24871 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24873 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24875 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24876 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24878 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24881 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24882 mprotect making __stack_prot writable.
24884 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24885 Joseph Myers <joseph@codesourcery.com>
24887 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24888 as being properly aligned.
24890 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24892 * dlfcn/modstatic5.c: New file.
24893 * dlfcn/tststatic5.c: New file.
24894 * dlfcn/Makefile (tests): Add tststatic5.
24895 (tests-static): Likewise.
24896 (modules-names): Add modstatic5.
24897 (tststatic5-ENV): New variable.
24898 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24901 * elf/dl-support.c (_dl_main_map): New variable.
24902 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24903 (_dl_nns, _dl_load_adds): Set to 1.
24904 (_dl_initial_searchlist): Refer to _dl_main_map.
24905 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24906 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24907 call to _dl_get_origin.
24908 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24910 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24911 * dlfcn/modstatic3.c: New file.
24912 * dlfcn/tststatic3.c: New file.
24913 * dlfcn/tststatic4.c: New file.
24914 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24915 (tests-static): Likewise.
24916 (modules-names): Add modstatic3.
24917 (tststatic3-ENV, tststatic4-ENV): New variables.
24918 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24919 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24921 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24923 * configure.in (CC): Require GCC version 4.4 or later.
24924 * configure: Regenerated.
24925 * manual/install.texi (Tools for Compilation): Update GCC version
24927 * INSTALL: Regenerated.
24929 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24932 * string/test-memcmp.c (check2): New.
24933 (main): Call check2.
24935 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24937 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24940 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24942 (dl_open_worker) [!SHARED]: ... here.
24944 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24946 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24948 2013-06-25 Richard Henderson <rth@redhat.com>
24950 * locale/programs/locarchive.c: Include <libc-internal.h>
24952 2013-06-25 Joseph Myers <joseph@codesourcery.com>
24954 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24955 trailing whitespace removed.
24957 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24960 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24961 * locale/programs/locarchive.c: Include libc-mmap.h.
24962 (prepare_address_space): Take two new outputs (the mmap base and len).
24963 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24965 (create_archive): Declare new mmap base and len values for
24966 prepare_address_space, and store the result in ah.
24967 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24968 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24969 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24970 Declare new mmap base and len values for
24971 prepare_address_space, and store the result in new_ah.
24972 (open_archive): Declare new mmap base and len values for
24973 prepare_address_space, and store the result in ah.
24974 (close_archive): If ah->mmap_base is not NULL, use that and
24975 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24976 * sysdeps/generic/libc-mmap.h: New file.
24978 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24980 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24981 (ALIGN_UP): Likewise.
24982 (PTR_ALIGN_DOWN): Likewise.
24983 (PTR_ALIGN_UP): Likewise.
24985 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24987 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24988 entry mapped to PPC_PLATFORM_POWER8.
24989 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24991 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24992 (_dl_string_platform): Add case for exporting platform position for
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24995 search path to sysdeps/powerpc/powerpc32/power8 directory.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24997 search path to sysdeps/powerpc/powerpc64/power8 directory.
24998 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24999 power7 directories.
25000 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25001 power7 directories.
25003 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25005 * INSTALL: Regenerate.
25007 * nscd/connections.c (nscd_init): Fix comment.
25009 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25011 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25014 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25015 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25017 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25019 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25021 (DL_DST_REQ_STATIC): Remove macro.
25023 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25026 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25027 with a shift of 0 bits.
25029 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25031 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25034 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25037 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25039 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25041 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25042 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25043 accepts -fno-tree-loop-distribute-patterns.
25044 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25045 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25047 * string/memset.c (memset): Likewise.
25048 * string/test-memmove.c (simple_memmove): Disable loop transformation
25050 * string/test-memset.c (simple_memset): Likewise.
25051 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25052 * benchtests/bench-memset.c (simple_memset): Likewise.
25053 * configure: Regenerated.
25055 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25057 * math/test-misc.c (main): Ignore fesetround failure when failures
25058 of subsequent rounding tests would be ignored.
25061 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25062 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25063 * math/fegetenv.c (__fegetenv): Return 0.
25064 * math/fegetexcept.c (fegetexcept): Return 0.
25065 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25067 * math/feholdexcpt.c (feholdexcept): Return 0.
25068 * math/fesetenv.c (__fesetenv): Return 0.
25069 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25070 argument FE_TONEAREST.
25071 * math/feupdateenv.c (__feupdateenv): Return 0.
25072 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25074 2013-06-18 Roland McGrath <roland@hack.frob.com>
25076 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25077 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25078 ($(objpfx)rtld-%.os rules): Use them.
25080 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25082 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25085 2013-06-17 Roland McGrath <roland@hack.frob.com>
25087 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25088 length of target pattern, then descending length of dependency pattern.
25089 * configure.in (AWK): Require gawk 3.1.2 or newer.
25090 * manual/install.texi (Tools for Compilation): Say that we do.
25091 * configure: Regenerated.
25093 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25094 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25095 * scripts/sysd-rules.awk: ... this new script.
25096 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25097 than a glob-style pattern.
25099 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25101 * math/test-misc.c (main): Do not treat incorrectly rounded
25102 conversions as failure unless ROUNDING_TESTS passes.
25104 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25107 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25108 restore exception state around main square root computation, then
25109 check for inexactness explicitly.
25111 * math/libm-test.inc (fma_test_data): Add another test.
25113 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25115 * manual/threads.texi (Non-POSIX Extensions): New document
25116 node. Document pthread_getattr_default_np and
25117 pthread_setattr_default_np.
25119 * Versions.def (libpthread): Add GLIBC_2.18.
25120 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25129 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25140 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25143 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25145 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25146 H.J. Lu <hjl.tools@gmail.com>
25149 * sysdeps/x86_64/rtld-memset.c: Remove file.
25150 * sysdeps/x86_64/rtld-memset.S: New file.
25152 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25154 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25155 (test_in_one_mode): Take arguments for whether the rounding mode
25156 is supported for each floating-point type.
25157 (do_test): Pass new arguments to test_in_one_mode using
25160 2013-06-13 Roland McGrath <roland@hack.frob.com>
25162 * posix/tst-waitid.c (do_test): Distinguish different instances of
25163 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25164 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25165 before entering the kernel for waitpid.
25167 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25169 * NEWS: Fix note on clock function precision. Text by Roland
25172 2013-06-13 Roland McGrath <roland@hack.frob.com>
25174 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25175 it into place only when and if the sanity check passes.
25177 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25179 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25180 output for whether conversion result is exact. Take argument
25181 indicating whether type is IBM long double.
25182 (round_for_all): Change need_exact field to ibm_ld.
25183 * stdlib/tst-strtod-round.c (struct exactness): New type.
25184 (struct test): Change bool ld_ok field to struct exactness exact.
25185 (TEST): Update all definitions for change to field.
25186 (tests): Regenerate array contents.
25187 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25188 field value. Check for IBM long double here.
25189 (do_test): Update calls to test_in_one_mode.
25191 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25194 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25195 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25197 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25200 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25201 generated by the compiler on loop optimizations.
25202 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25203 general definitions.
25205 2013-06-12 Joseph Myers <joseph@codesourcery.com>
25207 * math/bug-nextafter.c: Include <math-tests.h>.
25208 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25210 * math/bug-nexttoward.c: Include <math-tests.h>.
25211 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25213 * math/test-misc.c: Include <math-tests.h>.
25214 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25217 2013-06-12 Andreas Jaeger <aj@suse.de>
25219 * po/ia.po: Update Interlingua translation from translation
25222 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25224 * include/fenv.h: Include stdbool.h.
25225 (struct rm_ctx): New structure.
25226 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25228 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25229 (SET_RESTORE_ROUNDF): Likewise.
25230 (SET_RESTORE_ROUNDL): Likewise.
25231 (SET_RESTORE_ROUND_NOEX): Likewise.
25232 (SET_RESTORE_ROUND_NOEXF): Likewise.
25233 (SET_RESTORE_ROUND_NOEXL): Likewise.
25234 (SET_RESTORE_ROUND_53BIT): Likewise.
25235 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25236 (libc_feresetround_noexf_ctx): Likewise.
25237 (libc_feresetround_noexl_ctx): Likewise.
25238 (libc_feholdsetround_53bit_ctx): Likewise.
25239 (libc_feresetround_53bit_ctx): Likewise.
25240 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25241 (libc_feholdexcept_setround_sse_ctx): New function.
25242 (libc_fesetenv_sse_ctx): Likewise.
25243 (libc_feupdateenv_sse_ctx): Likewise.
25244 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25245 (libc_feholdexcept_setround_387_ctx): Likewise.
25246 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25247 (libc_feholdsetround_387_prec_ctx): Likewise.
25248 (libc_feholdsetround_387_ctx): Likewise.
25249 (libc_feholdsetround_387_53bit_ctx): Likewise.
25250 (libc_feholdsetround_sse_ctx): Likewise.
25251 (libc_feresetround_sse_ctx): Likewise.
25252 (libc_feresetround_387_ctx): Likewise.
25253 (libc_feupdateenv_387_ctx): Likewise.
25254 (libc_feholdexcept_setroundf_ctx): Define macro.
25255 (libc_fesetenvf_ctx): Likewise.
25256 (libc_feupdateenvf_ctx): Likewise.
25257 (libc_feholdsetroundf_ctx): Likewise.
25258 (libc_feresetroundf_ctx): Likewise.
25259 (libc_feholdexcept_setround_ctx): Likewise.
25260 (libc_fesetenv_ctx): Likewise.
25261 (libc_feupdateenv_ctx): Likewise.
25262 (libc_feholdsetround_ctx): Likewise.
25263 (libc_feresetround_ctx): Likewise.
25264 (libc_feholdexcept_setroundl_ctx): Likewise.
25265 (libc_feupdateenvl_ctx): Likewise.
25266 (libc_feholdsetroundl_ctx): Likewise.
25267 (libc_feresetroundl_ctx): Likewise.
25268 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25269 (libc_feresetround_53bit_ctx): Likewise.
25271 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25273 * locale/iso-639.def: Convert to UTF-8.
25275 2013-06-11 Joseph Myers <joseph@codesourcery.com>
25277 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25278 (EXCEPTION_TESTS_double): Likewise.
25279 (EXCEPTION_TESTS_long_double): Likewise.
25280 (EXCEPTION_TESTS): Likewise.
25281 * math/libm-test.inc (test_exceptions): Only test exceptions if
25282 EXCEPTION_TESTS (FLOAT).
25284 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25286 * benchtests/Makefile (string-bench): Add strcpy_chk and
25288 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25289 * benchtests/bench-stpcpy_chk.c: New file.
25290 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25291 * benchtests/bench-strcpy_chk.c: New file.
25292 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25294 (do_test): Likewise.
25296 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25298 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25299 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25300 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25301 with tabs where appropriate.
25302 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25304 [PPC_PLATFORM_PPC440]: Likewise.
25305 [PPC_PLATFORM_PPC464]: Likewise.
25306 [PPC_PLATFORM_PPC476]: Likewise.
25307 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25308 ppc464, and ppc476 platform strings merging from ports/
25311 2013-06-11 Andreas Schwab <schwab@suse.de>
25314 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25315 (from_ucs4_idx): Regenerate.
25316 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25317 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25318 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25319 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25320 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25321 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25322 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25323 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25324 from FROM_LOOP and TO_LOOP specific macros.
25325 (BODY): Handle combining characters.
25326 * iconvdata/BIG5HKSCS.irreversible: Update.
25327 * iconvdata/BIG5HKSCS.precomposed: New file.
25328 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25330 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25332 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25334 * include/sys/time.h: Fix indentation and add copyright header.
25336 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25337 (do_test): Likewise.
25338 * string/test-memchr.c (do_one_test): Likewise.
25339 (do_test): Likewise.
25340 * string/test-memcmp.c (do_one_test): Likewise.
25341 (do_test): Likewise.
25342 * string/test-memcpy.c (do_one_test): Likewise.
25343 (do_test): Likewise.
25344 * string/test-memmem.c (do_one_test): Likewise.
25345 (do_test): Likewise.
25346 (do_random_tests): Likewise.
25347 * string/test-memmove.c (do_one_test): Likewise.
25348 (do_test): Likewise.
25349 * string/test-memset.c (do_one_test): Likewise.
25350 (do_test): Likewise.
25351 * string/test-rawmemchr.c (do_one_test): Likewise.
25352 (do_test): Likewise.
25353 * string/test-strcasecmp.c (do_one_test): Likewise.
25354 (do_test): Likewise.
25355 * string/test-strcasestr.c (do_one_test): Likewise.
25356 (do_test): Likewise.
25357 * string/test-strcat.c (do_one_test): Likewise.
25358 (do_test): Likewise.
25359 * string/test-strchr.c (do_one_test): Likewise.
25360 (do_test): Likewise.
25361 * string/test-strcmp.c (do_one_test): Likewise.
25362 (do_test): Likewise.
25363 * string/test-strcpy.c (do_one_test): Likewise.
25364 (do_test): Likewise.
25365 * string/test-string.h: Likewise.
25366 (test_init): Likewise.
25367 * string/test-strlen.c (do_one_test): Likewise.
25368 (do_test): Likewise.
25369 * string/test-strncasecmp.c (do_one_test): Likewise.
25370 (do_test): Likewise.
25371 * string/test-strncat.c (do_one_test): Likewise.
25372 (do_test): Likewise.
25373 * string/test-strncmp.c (do_one_test): Likewise.
25374 (do_test_limit): Likewise.
25375 (do_test): Likewise.
25376 * string/test-strncpy.c (do_one_test): Likewise.
25377 (do_test): Likewise.
25378 * string/test-strnlen.c (do_one_test): Likewise.
25379 (do_test): Likewise.
25380 * string/test-strpbrk.c (do_one_test): Likewise.
25381 (do_test): Likewise.
25382 * string/test-strrchr.c (do_one_test): Likewise.
25383 (do_test): Likewise.
25384 * string/test-strspn.c (do_one_test): Likewise.
25385 (do_test): Likewise.
25386 * string/test-strstr.c (do_one_test): Likewise.
25387 (do_test): Likewise.
25389 * benchtests/Makefile (string-bench): Add string benchmarks.
25390 * benchtests/bench-bcopy-ifunc.c: New file.
25391 * benchtests/bench-bcopy.c: New file.
25392 * benchtests/bench-bzero-ifunc.c: New file.
25393 * benchtests/bench-bzero.c: New file.
25394 * benchtests/bench-memccpy-ifunc.c: New file.
25395 * benchtests/bench-memccpy.c: New file.
25396 * benchtests/bench-memchr-ifunc.c: New file.
25397 * benchtests/bench-memchr.c: New file.
25398 * benchtests/bench-memcmp-ifunc.c: New file.
25399 * benchtests/bench-memcmp.c: New file.
25400 * benchtests/bench-memmem-ifunc.c: New file.
25401 * benchtests/bench-memmem.c: New file.
25402 * benchtests/bench-memmove-ifunc.c: New file.
25403 * benchtests/bench-memmove.c: New file.
25404 * benchtests/bench-mempcpy-ifunc.c: New file.
25405 * benchtests/bench-mempcpy.c: New file.
25406 * benchtests/bench-memset-ifunc.c: New file.
25407 * benchtests/bench-memset.c: New file.
25408 * benchtests/bench-rawmemchr-ifunc.c: New file.
25409 * benchtests/bench-rawmemchr.c: New file.
25410 * benchtests/bench-stpcpy-ifunc.c: New file.
25411 * benchtests/bench-stpcpy.c: New file.
25412 * benchtests/bench-stpncpy-ifunc.c: New file.
25413 * benchtests/bench-stpncpy.c: New file.
25414 * benchtests/bench-strcasecmp-ifunc.c: New file.
25415 * benchtests/bench-strcasecmp.c: New file.
25416 * benchtests/bench-strcasestr-ifunc.c: New file.
25417 * benchtests/bench-strcasestr.c: New file.
25418 * benchtests/bench-strcat-ifunc.c: New file.
25419 * benchtests/bench-strcat.c: New file.
25420 * benchtests/bench-strchr-ifunc.c: New file.
25421 * benchtests/bench-strchr.c: New file.
25422 * benchtests/bench-strchrnul-ifunc.c: New file.
25423 * benchtests/bench-strchrnul.c: New file.
25424 * benchtests/bench-strcmp-ifunc.c: New file.
25425 * benchtests/bench-strcmp.c: New file.
25426 * benchtests/bench-strcpy-ifunc.c: New file.
25427 * benchtests/bench-strcpy.c: New file.
25428 * benchtests/bench-strcspn-ifunc.c: New file.
25429 * benchtests/bench-strcspn.c: New file.
25430 * benchtests/bench-strlen-ifunc.c: New file.
25431 * benchtests/bench-strlen.c: New file.
25432 * benchtests/bench-strncasecmp-ifunc.c: New file.
25433 * benchtests/bench-strncasecmp.c: New file.
25434 * benchtests/bench-strncat-ifunc.c: New file.
25435 * benchtests/bench-strncat.c: New file.
25436 * benchtests/bench-strncmp-ifunc.c: New file.
25437 * benchtests/bench-strncmp.c: New file.
25438 * benchtests/bench-strncpy-ifunc.c: New file.
25439 * benchtests/bench-strncpy.c: New file.
25440 * benchtests/bench-strnlen-ifunc.c: New file.
25441 * benchtests/bench-strnlen.c: New file.
25442 * benchtests/bench-strpbrk-ifunc.c: New file.
25443 * benchtests/bench-strpbrk.c: New file.
25444 * benchtests/bench-strrchr-ifunc.c: New file.
25445 * benchtests/bench-strrchr.c: New file.
25446 * benchtests/bench-strspn-ifunc.c: New file.
25447 * benchtests/bench-strspn.c: New file.
25448 * benchtests/bench-strstr-ifunc.c: New file.
25449 * benchtests/bench-strstr.c: New file.
25451 * benchtests/Makefile: Disable parallel execution of targets.
25452 (string-bench): Add memcpy.
25453 (benchset): New variable to store a list of benchmark sets.
25454 (bench-func): Renamed from bench.
25455 (bench-set): New target.
25456 (bench): Depend on bench-func and bench-set.
25457 * benchtests/README: Add section on benchmark sets.
25458 * benchtests/bench-memcpy-ifunc.c: New file.
25459 * benchtests/bench-memcpy.c: New file.
25460 * benchtests/bench-string.h: New file.
25462 2013-06-11 Andreas Schwab <schwab@suse.de>
25465 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25466 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25467 values in the triple.
25468 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25469 terminator in the group key.
25471 2013-06-11 Andreas Jaeger <aj@suse.de>
25473 * po/zh_TW.po: Update Chinese (traditional) translation from
25474 translation project.
25476 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25478 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25479 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25480 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25481 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25482 (clock_getcpuclockid): Likewise.
25483 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25484 Add weak_alias and libc_hidden_def.
25485 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25486 * rt/clock_gettime.c (clock_gettime): Rename to
25487 __clock_gettime. Add weak_alias and libc_hidden_def.
25488 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25489 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25490 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25491 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25492 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25494 * rt/clock_settime.c (clock_settime): Rename to
25495 __clock_settime. Add weak_alias and libc_hidden_def.
25496 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25498 2013-06-10 Joseph Myers <joseph@codesourcery.com>
25500 * mach/err_boot.sub: Remove trailing whitespace.
25501 * mach/err_ipc.sub: Likewise.
25502 * mach/err_mach.sub: Likewise.
25504 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25505 (ROUNDING_TESTS_double): Likewise.
25506 (ROUNDING_TESTS_long_double): Likewise.
25507 (ROUNDING_TESTS): Likewise.
25508 * math/libm-test.inc: Include <math-tests.h>.
25509 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25510 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25511 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25512 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25514 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25516 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25519 2013-06-08 Joseph Myers <joseph@codesourcery.com>
25521 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25522 otherwise empty TRANS lines.
25523 * sysdeps/gnu/errlist.c: Regenerated.
25525 * catgets/gencat.c (error_print): Use (void) in function
25527 * crypt/crypt_util.c (__init_des): Likewise.
25528 * crypt/speeds.c (Stop): Likewise.
25530 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25531 * inet/ruserpass.c (token): Likewise.
25532 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25533 * intl/localealias.c (extend_alias_table): Likewise.
25534 * intl/plural-exp.c (init_germanic_plural): Likewise.
25535 * libio/fcloseall.c (__fcloseall): Likewise.
25536 * libio/genops.c (_IO_flush_all): Likewise.
25537 (_IO_flush_all_linebuffered): Likewise.
25538 (_IO_cleanup): Likewise.
25539 (_IO_iter_begin): Likewise.
25540 (_IO_iter_end): Likewise.
25541 (_IO_list_lock): Likewise.
25542 (_IO_list_unlock): Likewise.
25543 (_IO_list_resetlock): Likewise.
25544 * libio/getchar.c (getchar): Likewise.
25545 * libio/getchar_u.c (getchar_unlocked): Likewise.
25546 * libio/getwchar.c (getwchar): Likewise.
25547 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25548 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25549 * login/getpt.c (__getpt): Likewise.
25550 * login/tst-utmp.c (main): Likewise.
25551 * malloc/hooks.c (__malloc_check_init): Likewise.
25552 * malloc/malloc.c (__malloc_stats): Likewise.
25553 * malloc/mtrace.c (tr_break): Likewise.
25554 (mtrace): Likewise.
25555 (muntrace): Likewise.
25556 * misc/fstab.c (endfsent): Likewise.
25557 * misc/getclktck.c (__getclktck): Likewise.
25558 * misc/getdtsz.c (__getdtablesize): Likewise.
25559 * misc/gethostid.c (gethostid): Likewise.
25560 * misc/getpagesize.c (__getpagesize): Likewise.
25561 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25562 (__get_nprocs): Likewise.
25563 (__get_phys_pages): Likewise.
25564 (__get_avphys_pages): Likewise.
25565 * misc/getttyent.c (getttyent): Likewise.
25566 (setttyent): Likewise.
25567 (endttyent): Likewise.
25568 * misc/getusershell.c (getusershell): Likewise.
25569 (endusershell): Likewise.
25570 (setusershell): Likewise.
25571 (initshells): Likewise.
25572 * misc/hsearch.c (__hdestroy): Likewise.
25573 * misc/sync.c (sync): Likewise.
25574 * misc/syslog.c (closelog_internal): Likewise.
25575 (closelog): Likewise.
25576 * misc/ttyslot.c (ttyslot): Likewise.
25577 * misc/vhangup.c (vhangup): Likewise.
25578 * posix/fork.c (__fork): Likewise.
25579 * posix/getegid.c (__getegid): Likewise.
25580 * posix/geteuid.c (__geteuid): Likewise.
25581 * posix/getgid.c (__getgid): Likewise.
25582 * posix/getpid.c (__getpid): Likewise.
25583 * posix/getppid.c (__getppid): Likewise.
25584 * posix/getuid.c (__getuid): Likewise.
25585 * posix/pause.c (pause): Likewise.
25586 * posix/setpgrp.c (setpgrp): Likewise.
25587 * posix/setsid.c (__setsid): Likewise.
25588 * posix/test-vfork.c (noop): Likewise.
25589 * resolv/gethnamaddr.c (_endhtent): Likewise.
25590 (_gethtent): Likewise.
25591 (ht_endhostent): Likewise.
25592 (gethostent): Likewise.
25593 (dns_service): Likewise.
25594 * stdlib/drand48.c (drand48): Likewise.
25595 * stdlib/lrand48.c (lrand48): Likewise.
25596 * stdlib/mrand48.c (mrand48): Likewise.
25597 * stdlib/rand.c (rand): Likewise.
25598 * stdlib/random.c (__random): Likewise.
25599 * stdlib/setenv.c (clearenv): Likewise.
25600 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25601 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25602 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25603 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25604 (__get_nprocs): Likewise.
25605 (__get_phys_pages): Likewise.
25606 (__get_avphys_pages): Likewise.
25607 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25608 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25609 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25610 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25611 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25612 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25613 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25614 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25615 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25616 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25617 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25618 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25619 * sysdeps/posix/clock.c (clock): Likewise.
25620 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25621 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25622 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25623 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25624 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25625 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25626 (__get_nprocs_conf): Likewise.
25627 (__get_phys_pages): Likewise.
25628 (__get_avphys_pages): Likewise.
25629 * time/clock.c (clock): Likewise.
25630 * time/tzset.c (__tzname_max): Likewise.
25632 2013-06-07 Joseph Myers <joseph@codesourcery.com>
25634 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25635 (__bswap_32): Do not use "register".
25636 * crypt/crypt.c (_ufc_doit_r): Likewise.
25637 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25638 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25639 * gmon/gmon.c (__monstartup): Likewise.
25640 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25641 * hurd/hurdmalloc.c (more_memory): Likewise.
25642 (malloc): Likewise.
25644 (realloc): Likewise.
25645 (malloc_fork_prepare): Likewise.
25646 (malloc_fork_parent): Likewise.
25647 (malloc_fork_child): Likewise.
25648 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25649 (_svcauth_des): Likewise.
25650 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25651 * inet/inet_net.c (inet_network): Likewise.
25652 * inet/inet_netof.c (inet_netof): Likewise.
25653 * inet/rcmd.c (__validuser2_sa): Likewise.
25654 * io/fts.c (fts_open): Likewise.
25655 (fts_load): Likewise.
25656 (fts_close): Likewise.
25657 (fts_read): Likewise.
25658 (fts_children): Likewise.
25659 (fts_build): Likewise.
25660 (fts_stat): Likewise.
25661 (fts_sort): Likewise.
25662 (fts_alloc): Likewise.
25663 (fts_lfree): Likewise.
25664 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25665 (_IO_file_xsgetn): Likewise.
25666 (_IO_file_xsgetn_mmap): Likewise.
25667 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25668 (_IO_cookie_write): Likewise.
25669 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25670 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25671 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25672 * malloc/obstack.c (_obstack_begin): Likewise.
25673 (_obstack_begin_1): Likewise.
25674 (_obstack_newchunk): Likewise.
25675 (_obstack_allocated_p): Likewise.
25676 (obstack_free): Likewise.
25677 (_obstack_memory_used): Likewise.
25678 * misc/getttyent.c (getttynam): Likewise.
25679 (getttyent): Likewise.
25682 * misc/getusershell.c (initshells): Likewise.
25683 * misc/syslog.c (__vsyslog_chk): Likewise.
25684 * misc/ttyslot.c (ttyslot): Likewise.
25685 * nis/nis_hash.c (__nis_hash): Likewise.
25686 * posix/fnmatch_loop.c (FCT): Likewise.
25687 * posix/getconf.c (print_all): Likewise.
25689 * posix/getopt.c (exchange): Likewise.
25690 * posix/glob.c (globfree): Likewise.
25691 (prefix_array): Likewise.
25692 (__glob_pattern_type): Likewise.
25693 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25694 (NS_GET32): Likewise.
25695 (NS_PUT16): Likewise.
25696 (NS_PUT32): Likewise.
25697 * resolv/gethnamaddr.c (getanswer): Likewise.
25698 (gethostbyname2): Likewise.
25699 (gethostbyaddr): Likewise.
25700 (_gethtent): Likewise.
25701 (_gethtbyname2): Likewise.
25702 (_gethtbyaddr): Likewise.
25703 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25704 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25705 * resolv/res_init.c (__res_vinit): Likewise.
25706 (net_mask): Likewise.
25707 * resolv/res_mkquery.c (outchar): Likewise.
25709 * stdio-common/printf_fp.c (outchar): Likewise.
25711 * stdio-common/printf_fphex.c (outchar): Likewise.
25713 * stdio-common/printf_size.c (outchar): Likewise.
25715 * stdio-common/test_rdwr.c (main): Likewise.
25716 * stdio-common/tfformat.c (matches): Likewise.
25717 * stdio-common/vfprintf.c (outchar): Likewise.
25718 (printf_unknown): Likewise.
25719 (buffered_vfprintf): Likewise.
25720 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25721 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25722 (ReadFile): Likewise.
25723 * stdlib/qsort.c (SWAP): Likewise.
25724 (_quicksort): Likewise.
25725 * stdlib/setenv.c (__add_to_environ): Likewise.
25726 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25727 * stdlib/strtol_l.c (__strtol_l): Likewise.
25728 * stdlib/tst-strtod.c (main): Likewise.
25729 * stdlib/tst-strtol.c (main): Likewise.
25730 * stdlib/tst-strtoll.c (main): Likewise.
25731 * string/bits/string2.h (__strcmp_cc): Likewise.
25732 (__strcmp_cg): Likewise.
25733 (__strcspn_c1): Likewise.
25734 (__strcspn_c2): Likewise.
25735 (__strcspn_c3): Likewise.
25736 (__strspn_c1): Likewise.
25737 (__strspn_c2): Likewise.
25738 (__strspn_c3): Likewise.
25739 (__strsep_1c): Likewise.
25740 (__strsep_2c): Likewise.
25741 (__strsep_3c): Likewise.
25742 * string/memccpy.c (__memccpy): Likewise.
25743 * string/stpcpy.c (__stpcpy): Likewise.
25744 * string/strcmp.c (strcmp): Likewise.
25745 * string/strrchr.c (strrchr): Likewise.
25746 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25748 * sysdeps/mach/hurd/getcwd.c
25749 (_hurd_canonicalize_directory_name_internal): Likewise.
25750 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25751 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25752 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25753 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25754 Likewise, in both definitions.
25755 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25757 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25758 64] (__bswap_64): Likewise.
25759 * time/test_time.c (main): Likewise.
25760 * time/tzfile.c (__tzfile_read): Likewise.
25761 (__tzfile_compute): Likewise.
25762 * time/tzset.c (__tzset_parse_tz): Likewise.
25763 (tzset_internal): Likewise.
25764 (compute_change): Likewise.
25765 * wcsmbs/wcscat.c (__wcscat): Likewise.
25766 * wcsmbs/wcschr.c (wcschr): Likewise.
25767 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25768 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25769 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25770 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25771 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25772 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25773 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25774 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25775 * wcsmbs/wmemset.c (wmemset): Likewise.
25777 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25779 * scripts/config.guess: Update to version 2013-05-16.
25780 * scripts/config.sub: Update to version 2013-04-24.
25781 * scripts/install-sh: Update to version 2011-11-20.07.
25782 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25783 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25785 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25787 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25788 * elf/sln.c: Likewise.
25789 * hurd/hurd/ioctl.h: Likewise.
25790 * hurd/hurdmalloc.c: Likewise.
25791 * hurd/xattr.c: Likewise.
25792 * include/shlib-compat.h: Likewise.
25793 * inet/ruserpass.c: Likewise.
25794 * libio/iofgets_u.c: Likewise.
25795 * libio/iofgetws_u.c: Likewise.
25796 * locale/programs/ld-identification.c: Likewise.
25797 * locale/programs/ld-time.c: Likewise.
25798 * mach/msg-destroy.c: Likewise.
25799 * nss/nss_files/files-netgrp.c: Likewise.
25800 * resolv/res_data.c: Likewise.
25801 * soft-fp/op-1.h: Likewise.
25802 * soft-fp/op-2.h: Likewise.
25803 * soft-fp/op-4.h: Likewise.
25804 * soft-fp/op-common.h: Likewise.
25805 * stdio-common/printf_fphex.c: Likewise.
25806 * stdlib/strtod_l.c: Likewise.
25807 * sunrpc/rpc/clnt.h: Likewise.
25808 * sysdeps/generic/framestate.c: Likewise.
25809 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25810 * sysdeps/i386/bsd-setjmp.S: Likewise.
25811 * sysdeps/i386/__longjmp.S: Likewise.
25812 * sysdeps/i386/setjmp.S: Likewise.
25813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25814 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25815 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25818 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25822 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25823 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25824 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25825 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25826 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25827 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25828 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25829 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25830 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25831 * sysdeps/ieee754/support.c: Likewise.
25832 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25833 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25834 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25835 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25836 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25837 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25838 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25839 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25840 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25841 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25842 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25843 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25844 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25845 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25846 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25847 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25848 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25851 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25853 * posix/transbug.c: Remove executable mode.
25855 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25857 * crypt/speeds.c: Remove trailing whitespace.
25858 * dlfcn/default.c: Likewise.
25859 * elf/ifuncdep2.c: Likewise.
25860 * elf/ifuncmain1.c: Likewise.
25861 * elf/ifuncmain1vis.c: Likewise.
25862 * elf/testobj.h: Likewise.
25863 * elf/tst-stackguard1.c: Likewise.
25864 * gmon/sys/gmon.h: Likewise.
25865 * hurd/hurdmsg.c: Likewise.
25866 * hurd/new-fd.c: Likewise.
25867 * hurd/ports-get.c: Likewise.
25868 * iconvdata/ibm1008_420.c: Likewise.
25869 * inet/tst-getni1.c: Likewise.
25870 * inet/tst-getni2.c: Likewise.
25871 * libio/ioungetc.c: Likewise.
25872 * libio/wfiledoalloc.c: Likewise.
25873 * manual/libm-err-tab.pl: Likewise.
25874 * math/w_dremf.c: Likewise.
25875 * misc/ftruncate.c: Likewise.
25876 * posix/bug-glob2.c: Likewise.
25877 * posix/tst-pcre.c: Likewise.
25878 * posix/wait4.c: Likewise.
25879 * resolv/README: Likewise.
25880 * resolv/res_debug.h: Likewise.
25881 * resolv/tst-inet_ntop.c: Likewise.
25882 * setjmp/bug269-setjmp.c: Likewise.
25883 * soft-fp/extended.h: Likewise.
25884 * soft-fp/op-1.h: Likewise.
25885 * soft-fp/op-2.h: Likewise.
25886 * soft-fp/op-4.h: Likewise.
25887 * soft-fp/op-8.h: Likewise.
25888 * soft-fp/testit.c: Likewise.
25889 * stdio-common/bug16.c: Likewise.
25890 * stdlib/random.c: Likewise.
25891 * sunrpc/rpcsvc/rquota.x: Likewise.
25892 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25893 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25894 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25895 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25896 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25898 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25899 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25900 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25901 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25902 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25904 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25908 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25919 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25921 * sysdeps/ieee754/s_lib_version.c: Likewise.
25922 * sysdeps/mach/hurd/check_fds.c: Likewise.
25923 * sysdeps/mach/hurd/getsockname.c: Likewise.
25924 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25925 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25926 * sysdeps/powerpc/bits/link.h: Likewise.
25927 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25928 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25929 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25930 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25931 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25932 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25933 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25934 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25935 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25936 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25937 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25938 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25939 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25940 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25941 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25942 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25943 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25944 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25945 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25946 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25947 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25948 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25949 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25950 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25951 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25952 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25954 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25955 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25957 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25958 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25959 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25960 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25961 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25962 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25963 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25964 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25965 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25966 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25967 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25968 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25969 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25970 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25971 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25972 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25973 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25974 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25975 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25976 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25979 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25980 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25981 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25982 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25983 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25984 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25985 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25986 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25987 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25988 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25989 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25990 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25991 * sysdeps/powerpc/sysdep.h: Likewise.
25992 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25993 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25994 * sysdeps/sh/dl-trampoline.S: Likewise.
25995 * sysdeps/sh/memset.S: Likewise.
25996 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25997 * sysdeps/sh/strlen.S: Likewise.
25998 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25999 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26000 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26001 * sysdeps/sparc/sparc32/rem.S: Likewise.
26002 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26003 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26004 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26005 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26006 * sysdeps/sparc/sparc32/urem.S: Likewise.
26007 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26008 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26009 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26010 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26011 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26012 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26013 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26014 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26015 * sysdeps/unix/bsd/times.c: Likewise.
26016 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26017 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26021 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26022 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26023 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26024 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26025 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26026 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26027 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26028 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26029 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26030 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26031 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26032 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26033 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26034 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26035 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26036 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26037 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26038 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26039 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26040 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26041 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26042 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26043 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26044 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26045 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26046 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26047 * sysdeps/x86_64/strcspn.S: Likewise.
26049 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26051 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26052 generated file. Regenerate properly from gen-translit.pl.
26053 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26054 locale/C-translit.h.
26056 2013-06-05 Andreas Schwab <schwab@suse.de>
26059 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26060 week as 6 instead of -1.
26061 * time/tst-strptime.c (day_tests): Add test case.
26063 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26065 * sysdeps/generic/math_private.h
26066 (libc_feholdexcept_setround_53bit): Replace with
26067 libc_feholdsetround_53bit.
26068 (libc_feupdateenv_53bit): Replace with
26069 libc_feresetround_53bit.
26070 (SET_RESTORE_ROUND_53BIT): Adjust.
26072 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26074 * string/test-strchrnul.c: Add copyright header.
26076 * posix/tst-getaddrinfo4.c: Increase test timeout.
26078 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26081 * math/libm-test.inc (MAX_EXP): Remove
26083 (ulp): Use MIN_EXP - MANT_DIG.
26084 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26086 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26088 * po/be.po: Revert last change.
26089 * po/zh_CN.po: Likewise.
26090 * po/header.pot: Likewise.
26092 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26094 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26095 link-libc-deps to empty as target-specific variable.
26096 * Makerules (link-libc-args): New variable.
26097 (libc-for-link): Likewise.
26098 (link-libc-deps): Likewise.
26099 (lib%.so): Depend on $(link-libc-deps). Link with
26101 (build-module): Link with $(link-libc-args).
26102 (build-module-asneeded): Likewise.
26103 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26105 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26106 target-specific variable.
26107 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26108 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26109 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26111 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26113 ($(objpfx)libpcprofile.so): Likewise.
26114 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26116 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26117 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26118 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26120 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26121 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26122 * login/Makefile ($(objpfx)libutil.so): Likewise.
26123 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26124 * math/Makefile ($(objpfx)libm.so): Likewise.
26125 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26126 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26127 variable instead of depending directly on libc.
26128 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26129 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26131 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26133 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26134 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26135 ($(objpfx)libanl.so): Likewise.
26136 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26138 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26140 * sysdeps/i386/fpu/Makefile: Remove file.
26141 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26142 ($(objpfx)libm.so): Remove dependency on ld.so.
26144 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26147 * nis/yp_xdr.c (XDRMAXNAME): Define.
26148 (XDRMAXRECORD): Define.
26149 (xdr_domainname): Use XDRMAXNAME.
26150 (xdr_mapname): Likewise.
26151 (xdr_peername): Likewise.
26152 (xdr_keydat): Use XDRMAXRECORD.
26153 (xdr_valdat): Likewise.
26155 2013-05-30 Jeff Law <law@redhat.com>
26158 * manual/errno.texi (ESTALE): Update to account for more than
26159 just NFS file systems.
26160 * sysdeps/gnu/errlist.c: Regenerated.
26162 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26165 * elf/Makefile (tests): Add tst-null-argv.
26166 (modules-names): Add tst-null-argv-lib.
26167 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26168 (tst-null-argv-ENV): Set environment for tst-null-argv.
26169 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26170 (RTLD_PROGNAME): New macro.
26171 * elf/tst-null-argv.c: New test case.
26172 * elf/tst-null-argv-lib.c: Library for test case.
26173 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26174 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26175 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26176 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26177 * elf/dl-init.c (call_init): Likewise.
26178 (_dl_init): Likewise.
26179 * elf/dl-load.c (print_search_path): Likewise.
26180 (_dl_map_object): Likewise.
26181 * elf/dl-lookup.c (do_lookup_x): Likewise.
26182 (add_dependency): Likewise.
26183 (_dl_lookup_symbol_x): Likewise.
26184 (_dl_debug_bindings): Likewise.
26185 * elf/dl-open.c (_dl_show_scope): Likewise.
26186 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26187 * elf/dl-version.c (match_symbol): Likewise.
26188 (_dl_check_map_versions): Likewise.
26189 * elf/rtld.c (dl_main): Likewise.
26190 (print_unresolved): Use RTLD_PROGNAME.
26191 (print_missing_version): Likewise.
26192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26193 (elf_machine_rela): Likewise.
26194 * sysdeps/powerpc/powerpc32/dl-machine.c
26195 (__process_machine_rela): Likewise.
26196 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26198 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26200 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26202 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26203 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26205 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26207 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26209 2013-05-28 Carlos O'Donell <carlos@redhat.com>
26211 * po/be.po: Add descriptive title.
26212 * po/zh_CN.po: Likewise.
26213 * po/header.pot: Likewise.
26215 2013-05-28 Mike Frysinger <vapier@gentoo.org>
26217 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26219 (enlarge_archive): Likewise.
26221 2013-05-28 Ben North <ben@redfrontdoor.org>
26223 * manual/arith.texi (frexp): It is the magnitude of the return
26224 value which lies in [0.5, 1), not the return value itself.
26226 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26230 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26232 * stdio-common/bug26.c (main): Correct fscanf template.
26234 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26235 declare _dl_skip_args.
26237 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26240 * manual/platform.texi: Add missing @end deftypefun.
26242 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26245 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26246 bit of mantissa of 2^16382.
26247 * math/libm-test.inc (hypot_test_data): Add more tests.
26249 * math/libm-test.inc: Add drem and pow10 to list of tested
26251 (pow10_test): New function.
26252 (drem_test): Likewise.
26253 (drem_test_tonearest): Likewise.
26254 (drem_test_towardzero): Likewise.
26255 (drem_test_downward): Likewise.
26256 (drem_test_upward): Likewise.
26257 (main): Call the new functions.
26259 * math/libm-test.inc (finite_test_data): Remove.
26260 (finite_test): Run tests from isfinite_test_data.
26261 (gamma_test_data): Remove.
26262 (gamma_test): Run tests from lgamma_test_data.
26263 * sysdeps/i386/fpu/libm-test-ulps: Update.
26264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26266 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26268 * manual/platform.texi: Add PowerPC PPR function set documentation.
26269 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26272 2013-05-24 Carlos O'Donell <carlos@redhat.com>
26274 * math/libm-test.inc (MAX_EXP): Define.
26276 (ulp): New function.
26277 (check_float_internal): Use ULPDIFF.
26278 (cpow_test): Disable failing test.
26279 (check_ulp): Test ulp() implemetnation.
26280 (main): Call check_ulp before starting tests.
26282 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26284 * math/gen-libm-test.pl (generate_testfile): Do not handle
26285 START_DATA and END_DATA.
26286 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26288 (acos_tonearest_test_data): Likewise.
26289 (acos_towardzero_test_data): Likewise.
26290 (acos_downward_test_data): Likewise.
26291 (acos_upward_test_data): Likewise.
26292 (acosh_test_data): Likewise.
26293 (asin_test_data): Likewise.
26294 (asin_tonearest_test_data): Likewise.
26295 (asin_towardzero_test_data): Likewise.
26296 (asin_downward_test_data): Likewise.
26297 (asin_upward_test_data): Likewise.
26298 (asinh_test_data): Likewise.
26299 (atan_test_data): Likewise.
26300 (atanh_test_data): Likewise.
26301 (atan2_test_data): Likewise.
26302 (cabs_test_data): Likewise.
26303 (cacos_test_data): Likewise.
26304 (cacosh_test_data): Likewise.
26305 (carg_test_data): Likewise.
26306 (casin_test_data): Likewise.
26307 (casinh_test_data): Likewise.
26308 (catan_test_data): Likewise.
26309 (catanh_test_data): Likewise.
26310 (cbrt_test_data): Likewise.
26311 (ccos_test_data): Likewise.
26312 (ccosh_test_data): Likewise.
26313 (ceil_test_data): Likewise.
26314 (cexp_test_data): Likewise.
26315 (cimag_test_data): Likewise.
26316 (clog_test_data): Likewise.
26317 (clog10_test_data): Likewise.
26318 (conj_test_data): Likewise.
26319 (copysign_test_data): Likewise.
26320 (cos_test_data): Likewise.
26321 (cos_tonearest_test_data): Likewise.
26322 (cos_towardzero_test_data): Likewise.
26323 (cos_downward_test_data): Likewise.
26324 (cos_upward_test_data): Likewise.
26325 (cosh_test_data): Likewise.
26326 (cosh_tonearest_test_data): Likewise.
26327 (cosh_towardzero_test_data): Likewise.
26328 (cosh_downward_test_data): Likewise.
26329 (cosh_upward_test_data): Likewise.
26330 (cpow_test_data): Likewise.
26331 (cproj_test_data): Likewise.
26332 (creal_test_data): Likewise.
26333 (csin_test_data): Likewise.
26334 (csinh_test_data): Likewise.
26335 (csqrt_test_data): Likewise.
26336 (ctan_test_data): Likewise.
26337 (ctan_tonearest_test_data): Likewise.
26338 (ctan_towardzero_test_data): Likewise.
26339 (ctan_downward_test_data): Likewise.
26340 (ctan_upward_test_data): Likewise.
26341 (ctanh_test_data): Likewise.
26342 (ctanh_tonearest_test_data): Likewise.
26343 (ctanh_towardzero_test_data): Likewise.
26344 (ctanh_downward_test_data): Likewise.
26345 (ctanh_upward_test_data): Likewise.
26346 (erf_test_data): Likewise.
26347 (erfc_test_data): Likewise.
26348 (exp_test_data): Likewise.
26349 (exp_tonearest_test_data): Likewise.
26350 (exp_towardzero_test_data): Likewise.
26351 (exp_downward_test_data): Likewise.
26352 (exp_upward_test_data): Likewise.
26353 (exp10_test_data): Likewise.
26354 (exp2_test_data): Likewise.
26355 (expm1_test_data): Likewise.
26356 (fabs_test_data): Likewise.
26357 (fdim_test_data): Likewise.
26358 (finite_test_data): Likewise.
26359 (floor_test_data): Likewise.
26360 (fma_test_data): Likewise.
26361 (fma_towardzero_test_data): Likewise.
26362 (fma_downward_test_data): Likewise.
26363 (fma_upward_test_data): Likewise.
26364 (fmax_test_data): Likewise.
26365 (fmin_test_data): Likewise.
26366 (fmod_test_data): Likewise.
26367 (fpclassify_test_data): Likewise.
26368 (frexp_test_data): Likewise.
26369 (gamma_test_data): Likewise.
26370 (hypot_test_data): Likewise.
26371 (ilogb_test_data): Likewise.
26372 (isfinite_test_data): Likewise.
26373 (isgreater_test_data): Likewise.
26374 (isgreaterequal_test_data): Likewise.
26375 (isinf_test_data): Likewise.
26376 (isless_test_data): Likewise.
26377 (islessequal_test_data): Likewise.
26378 (islessgreater_test_data): Likewise.
26379 (isnan_test_data): Likewise.
26380 (isnormal_test_data): Likewise.
26381 (issignaling_test_data): Likewise.
26382 (isunordered_test_data): Likewise.
26383 (j0_test_data): Likewise.
26384 (j1_test_data): Likewise.
26385 (jn_test_data): Likewise.
26386 (ldexp_test_data): Likewise.
26387 (lgamma_test_data): Likewise.
26388 (lrint_test_data): Likewise.
26389 (lrint_tonearest_test_data): Likewise.
26390 (lrint_towardzero_test_data): Likewise.
26391 (lrint_downward_test_data): Likewise.
26392 (lrint_upward_test_data): Likewise.
26393 (llrint_test_data): Likewise.
26394 (llrint_tonearest_test_data): Likewise.
26395 (llrint_towardzero_test_data): Likewise.
26396 (llrint_downward_test_data): Likewise.
26397 (llrint_upward_test_data): Likewise.
26398 (log_test_data): Likewise.
26399 (log10_test_data): Likewise.
26400 (log1p_test_data): Likewise.
26401 (log2_test_data): Likewise.
26402 (logb_test_data): Likewise.
26403 (logb_downward_test_data): Likewise.
26404 (lround_test_data): Likewise.
26405 (llround_test_data): Likewise.
26406 (modf_test_data): Likewise.
26407 (nearbyint_test_data): Likewise.
26408 (nextafter_test_data): Likewise.
26409 (nexttoward_test_data): Likewise.
26410 (pow_test_data): Likewise.
26411 (pow_tonearest_test_data): Likewise.
26412 (pow_towardzero_test_data): Likewise.
26413 (pow_downward_test_data): Likewise.
26414 (pow_upward_test_data): Likewise.
26415 (remainder_test_data): Likewise.
26416 (remainder_tonearest_test_data): Likewise.
26417 (remainder_towardzero_test_data): Likewise.
26418 (remainder_downward_test_data): Likewise.
26419 (remainder_upward_test_data): Likewise.
26420 (remquo_test_data): Likewise.
26421 (rint_test_data): Likewise.
26422 (rint_tonearest_test_data): Likewise.
26423 (rint_towardzero_test_data): Likewise.
26424 (rint_downward_test_data): Likewise.
26425 (rint_upward_test_data): Likewise.
26426 (round_test_data): Likewise.
26427 (scalb_test_data): Likewise.
26428 (scalbn_test_data): Likewise.
26429 (scalbln_test_data): Likewise.
26430 (signbit_test_data): Likewise.
26431 (sin_test_data): Likewise.
26432 (sin_tonearest_test_data): Likewise.
26433 (sin_towardzero_test_data): Likewise.
26434 (sin_downward_test_data): Likewise.
26435 (sin_upward_test_data): Likewise.
26436 (sincos_test_data): Likewise.
26437 (sinh_test_data): Likewise.
26438 (sinh_tonearest_test_data): Likewise.
26439 (sinh_towardzero_test_data): Likewise.
26440 (sinh_downward_test_data): Likewise.
26441 (sinh_upward_test_data): Likewise.
26442 (sqrt_test_data): Likewise.
26443 (tan_test_data): Likewise.
26444 (tan_tonearest_test_data): Likewise.
26445 (tan_towardzero_test_data): Likewise.
26446 (tan_downward_test_data): Likewise.
26447 (tan_upward_test_data): Likewise.
26448 (tanh_test_data): Likewise.
26449 (tgamma_test_data): Likewise.
26450 (trunc_test_data): Likewise.
26451 (y0_test_data): Likewise.
26452 (y1_test_data): Likewise.
26453 (yn_test_data): Likewise.
26454 (significand_test_data): Likewise.
26456 * math/gen-libm-test.pl (@functions): Remove variable.
26457 (generate_testfile): Don't handle START and END lines.
26458 * math/libm-test.inc (START): New macro.
26460 (END_COMPLEX): Likewise.
26461 (acos_test): Use END macro without arguments.
26462 (acos_test_tonearest): Likewise.
26463 (acos_test_towardzero): Likewise.
26464 (acos_test_downward): Likewise.
26465 (acos_test_upward): Likewise.
26466 (acosh_test): Likewise.
26467 (asin_test): Likewise.
26468 (asin_test_tonearest): Likewise.
26469 (asin_test_towardzero): Likewise.
26470 (asin_test_downward): Likewise.
26471 (asin_test_upward): Likewise.
26472 (asinh_test): Likewise.
26473 (atan_test): Likewise.
26474 (atanh_test): Likewise.
26475 (atan2_test): Likewise.
26476 (cabs_test): Likewise.
26477 (cacos_test): Use END_COMPLEX macro without arguments.
26478 (cacosh_test): Likewise.
26479 (carg_test): Use END macro without arguments.
26480 (casin_test): Use END_COMPLEX macro without arguments.
26481 (casinh_test): Likewise.
26482 (catan_test): Likewise.
26483 (catanh_test): Likewise.
26484 (cbrt_test): Use END macro without arguments.
26485 (ccos_test): Use END_COMPLEX macro without arguments.
26486 (ccosh_test): Likewise.
26487 (ceil_test): Use END macro without arguments.
26488 (cexp_test): Use END_COMPLEX macro without arguments.
26489 (cimag_test): Use END macro without arguments.
26490 (clog_test): Use END_COMPLEX macro without arguments.
26491 (clog10_test): Likewise.
26492 (conj_test): Likewise.
26493 (copysign_test): Use END macro without arguments.
26494 (cos_test): Likewise.
26495 (cos_test_tonearest): Likewise.
26496 (cos_test_towardzero): Likewise.
26497 (cos_test_downward): Likewise.
26498 (cos_test_upward): Likewise.
26499 (cosh_test): Likewise.
26500 (cosh_test_tonearest): Likewise.
26501 (cosh_test_towardzero): Likewise.
26502 (cosh_test_downward): Likewise.
26503 (cosh_test_upward): Likewise.
26504 (cpow_test): Use END_COMPLEX macro without arguments.
26505 (cproj_test): Likewise.
26506 (creal_test): Use END macro without arguments.
26507 (csin_test): Use END_COMPLEX macro without arguments.
26508 (csinh_test): Likewise.
26509 (csqrt_test): Likewise.
26510 (ctan_test): Likewise.
26511 (ctan_test_tonearest): Likewise.
26512 (ctan_test_towardzero): Likewise.
26513 (ctan_test_downward): Likewise.
26514 (ctan_test_upward): Likewise.
26515 (ctanh_test): Likewise.
26516 (ctanh_test_tonearest): Likewise.
26517 (ctanh_test_towardzero): Likewise.
26518 (ctanh_test_downward): Likewise.
26519 (ctanh_test_upward): Likewise.
26520 (erf_test): Use END macro without arguments.
26521 (erfc_test): Likewise.
26522 (exp_test): Likewise.
26523 (exp_test_tonearest): Likewise.
26524 (exp_test_towardzero): Likewise.
26525 (exp_test_downward): Likewise.
26526 (exp_test_upward): Likewise.
26527 (exp10_test): Likewise.
26528 (exp2_test): Likewise.
26529 (expm1_test): Likewise.
26530 (fabs_test): Likewise.
26531 (fdim_test): Likewise.
26532 (finite_test): Likewise.
26533 (floor_test): Likewise.
26534 (fma_test): Likewise.
26535 (fma_test_towardzero): Likewise.
26536 (fma_test_downward): Likewise.
26537 (fma_test_upward): Likewise.
26538 (fmax_test): Likewise.
26539 (fmin_test): Likewise.
26540 (fmod_test): Likewise.
26541 (fpclassify_test): Likewise.
26542 (frexp_test): Likewise.
26543 (gamma_test): Likewise.
26544 (hypot_test): Likewise.
26545 (ilogb_test): Likewise.
26546 (isfinite_test): Likewise.
26547 (isgreater_test): Likewise.
26548 (isgreaterequal_test): Likewise.
26549 (isinf_test): Likewise.
26550 (isless_test): Likewise.
26551 (islessequal_test): Likewise.
26552 (islessgreater_test): Likewise.
26553 (isnan_test): Likewise.
26554 (isnormal_test): Likewise.
26555 (issignaling_test): Likewise.
26556 (isunordered_test): Likewise.
26557 (j0_test): Likewise.
26558 (j1_test): Likewise.
26559 (jn_test): Likewise.
26560 (ldexp_test): Likewise.
26561 (lgamma_test): Likewise.
26562 (lrint_test): Likewise.
26563 (lrint_test_tonearest): Likewise.
26564 (lrint_test_towardzero): Likewise.
26565 (lrint_test_downward): Likewise.
26566 (lrint_test_upward): Likewise.
26567 (llrint_test): Likewise.
26568 (llrint_test_tonearest): Likewise.
26569 (llrint_test_towardzero): Likewise.
26570 (llrint_test_downward): Likewise.
26571 (llrint_test_upward): Likewise.
26572 (log_test): Likewise.
26573 (log10_test): Likewise.
26574 (log1p_test): Likewise.
26575 (log2_test): Likewise.
26576 (logb_test): Likewise.
26577 (logb_test_downward): Likewise.
26578 (lround_test): Likewise.
26579 (llround_test): Likewise.
26580 (modf_test): Likewise.
26581 (nearbyint_test): Likewise.
26582 (nextafter_test): Likewise.
26583 (nexttoward_test): Likewise.
26584 (pow_test): Likewise.
26585 (pow_test_tonearest): Likewise.
26586 (pow_test_towardzero): Likewise.
26587 (pow_test_downward): Likewise.
26588 (pow_test_upward): Likewise.
26589 (remainder_test): Likewise.
26590 (remainder_test_tonearest): Likewise.
26591 (remainder_test_towardzero): Likewise.
26592 (remainder_test_downward): Likewise.
26593 (remainder_test_upward): Likewise.
26594 (remquo_test): Likewise.
26595 (rint_test): Likewise.
26596 (rint_test_tonearest): Likewise.
26597 (rint_test_towardzero): Likewise.
26598 (rint_test_downward): Likewise.
26599 (rint_test_upward): Likewise.
26600 (round_test): Likewise.
26601 (scalb_test): Likewise.
26602 (scalbn_test): Likewise.
26603 (scalbln_test): Likewise.
26604 (signbit_test): Likewise.
26605 (sin_test): Likewise.
26606 (sin_test_tonearest): Likewise.
26607 (sin_test_towardzero): Likewise.
26608 (sin_test_downward): Likewise.
26609 (sin_test_upward): Likewise.
26610 (sincos_test): Likewise.
26611 (sinh_test): Likewise.
26612 (sinh_test_tonearest): Likewise.
26613 (sinh_test_towardzero): Likewise.
26614 (sinh_test_downward): Likewise.
26615 (sinh_test_upward): Likewise.
26616 (sqrt_test): Likewise.
26617 (tan_test): Likewise.
26618 (tan_test_tonearest): Likewise.
26619 (tan_test_towardzero): Likewise.
26620 (tan_test_downward): Likewise.
26621 (tan_test_upward): Likewise.
26622 (tanh_test): Likewise.
26623 (tgamma_test): Likewise.
26624 (trunc_test): Likewise.
26625 (y0_test): Likewise.
26626 (y1_test): Likewise.
26627 (yn_test): Likewise.
26628 (significand_test): Likewise.
26630 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
26633 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26635 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26638 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26639 __ppc_mdoio and __ppc_mdoom.
26640 * manual/platform.texi: Document new functions __ppc_yield,
26641 __ppc_mdoio and __ppc_mdoom.
26643 2013-05-22 Carlos O'Donell <carlos@redhat.com>
26645 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26646 (main): Mention "tls" pseudo-hwcap is legacy.
26647 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26649 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26651 * math/gen-libm-test.pl (parse_args): Output only string of
26652 arguments as text for test name, not full call or descriptions of
26653 tests for extra outputs.
26654 (generate_testfile): Do not pass function name to parse_args.
26655 Generate this_func variable from START.
26656 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26658 (struct test_ff_f_data): Likewise.
26659 (test_ff_f_data_nexttoward): Likewise.
26660 (struct test_fi_f_data): Likewise.
26661 (struct test_fl_f_data): Likewise.
26662 (struct test_if_f_data): Likewise.
26663 (struct test_fff_f_data): Likewise.
26664 (struct test_c_f_data): Likewise.
26665 (struct test_f_f1_data): Likewise. Remove field extra_name.
26666 (struct test_fF_f1_data): Likewise.
26667 (struct test_ffI_f1_data): Likewise.
26668 (struct test_c_c_data): Rename test_name field to arg_str.
26669 (struct test_cc_c_data): Likewise.
26670 (struct test_f_i_data): Likewise.
26671 (struct test_ff_i_data): Likewise.
26672 (struct test_f_l_data): Likewise.
26673 (struct test_f_L_data): Likewise.
26674 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26676 (COMMON_TEST_SETUP): New macro.
26677 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26678 (COMMON_TEST_CLEANUP): Likewise.
26679 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26680 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26682 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26683 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26685 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26686 (RUN_TEST_fff_f): Take argument string. Call new setup and
26688 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26689 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26691 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26692 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26694 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26695 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26697 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26698 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26700 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26701 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26703 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26704 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26706 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26707 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26709 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26710 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26712 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26713 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26715 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26716 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26718 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26719 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26721 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26722 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26724 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26725 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26727 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26728 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26730 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26731 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26733 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26735 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26737 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26738 to _sifields.sigfault.
26739 (si_addr_lsb): Define new macro.
26740 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26741 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26742 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26744 2013-05-03 Carlos O'Donell <carlos at redhat.com>
26747 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26749 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26751 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26752 loading the domain.
26754 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26756 * math/gen-libm-test.pl (parse_args): Do not include expected
26757 result in test name.
26758 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26759 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26760 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26761 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26762 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26765 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26767 * benchtests/Makefile: Sort function entries.
26769 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26770 tanh, asinh, acosh, atanh.
26771 * benchtests/acos-inputs: New file.
26772 * benchtests/acosh-inputs: New file.
26773 * benchtests/asin-inputs: New file.
26774 * benchtests/asinh-inputs: New file.
26775 * benchtests/atanh-inputs: New file.
26776 * benchtests/cosh-inputs: New file.
26777 * benchtests/log-inputs: New file.
26778 * benchtests/sinh-inputs: New file.
26779 * benchtests/tanh-inputs: New file.
26781 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26784 * posix/tst-getaddrinfo4.c: New test.
26785 * posix/Makefile (tests): Add it.
26787 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26790 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26791 when no services were used.
26792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26793 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26795 2013-05-21 Andreas Schwab <schwab@suse.de>
26798 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26799 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26801 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26802 redundant variable declarations and reallocation of buffer when
26803 parsing as IPv6 address. Always set NSS status when called from
26804 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26805 buffer too small. Correct computation of needed size.
26806 * nss/Makefile (tests): Add test-digits-dots.
26807 * nss/test-digits-dots.c: New test.
26809 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26811 * benchtests/Makefile: Remove instructions for adding
26813 * benchtests/README: New file to explain how to execute and
26814 enhance the benchmark tests.
26816 2013-05-21 Andreas Schwab <schwab@suse.de>
26819 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26820 * setjmp/tst-sigsetjmp.c: New test.
26822 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26824 * sysdeps/x86_64/memset.S (memset): New implementation.
26825 (__bzero): Likewise.
26826 (__memset_tail): New function.
26828 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26830 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26831 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26832 __memcpy_sse2_unaligned ifunc selection.
26833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26834 Add memcpy-sse2-unaligned.S.
26835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26836 Add: __memcpy_sse2_unaligned.
26838 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26841 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26842 math_force_eval before restoring floating-point envrionment.
26843 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26844 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26846 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26848 (__nearbyintl): Use math_force_eval before restoring
26849 floating-point environment.
26850 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26852 * math/gen-libm-test.pl (special_functions): Remove.
26853 (parse_args): Don't handle TEST_extra. Handle functions with no
26855 * math/libm-test.inc (struct test_sincos_data): Replace with
26856 struct test_fFF_11_data.
26857 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26858 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26859 (sincos_test_data): Change element type to struct
26860 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26861 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26862 RUN_TEST_LOOP_sincos.
26863 * math/README.libm-test: Don't mention special handling of
26864 individual functions.
26865 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26866 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26867 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26868 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26869 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26872 * math/gen-libm-test.pl (get_variable): Remove function.
26873 (parse_args): Don't show pointer parameters to call in test
26874 names. Use "extra output N" in test names for extra outputs
26875 rather than naming variables.
26877 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26880 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26881 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26882 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26884 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26886 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26889 * math/gen-libm-test.pl (@tests): Remove variable.
26890 ($count): Likewise.
26891 (new_test): Remove function.
26892 (show_exceptions): New function.
26893 (special_functions): Use show_exceptions instead of new_test.
26894 (parse_args): Likewise.
26895 (generate_testfile): Pass only function name in generated call to
26896 print_max_error or print_complex_max_error.
26897 (get_ulps): Do not handle complex tests specially.
26898 (output_test): Rename to ...
26899 (get_all_ulps_for_test): ... this. Return a string rather than
26900 printing to a file. Require ulps to be present.
26901 (output_ulps): Generate arrays rather than #defines.
26902 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26903 (struct ulp_data): New type.
26904 (BUILD_COMPLEX_ULP): Remove macro.
26905 (compare_ulp_data): New function.
26906 (find_ulps): Likewise.
26907 (find_test_ulps): Likewise.
26908 (find_function_ulps): Likewise.
26909 (find_complex_function_ulps): Likewise.
26910 (print_max_error): Determine allowed ulps using
26911 find_function_ulps.
26912 (print_complex_max_error): Determine allowed ulps using
26913 find_complex_function_ulps.
26914 (check_float_internal): Determine max ulps using find_test_ulps.
26915 (check_float): Do not take max_ulp parameter. Update call to
26916 check_float_internal.
26917 (check_complex): Likewise.
26918 (check_int): Do not take max_ulp parameter.
26919 (check_long): Likewise.
26920 (check_bool): Likewise.
26921 (check_longlong): Likewise.
26922 (struct test_f_f_data): Remove max_ulp field.
26923 (struct test_ff_f_data): Likewise.
26924 (struct test_ff_f_data_nexttoward): Likewise.
26925 (struct test_fi_f_data): Likewise.
26926 (struct test_fl_f_data): Likewise.
26927 (struct test_if_f_data): Likewise.
26928 (struct test_fff_f_data): Likewise.
26929 (struct test_c_f_data): Likewise.
26930 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26931 (struct test_fF_f1_data): Likewise.
26932 (struct test_ffI_f1_data): Likewise.
26933 (struct test_c_c_data): Remove max_ulp field.
26934 (struct test_cc_c_data): Likewise.
26935 (struct test_f_i_data): Likewise.
26936 (struct test_ff_i_data): Likewise.
26937 (struct test_f_l_data): Likewise.
26938 (struct test_f_L_data): Likewise.
26939 (struct test_sincos_data): Likewise.
26940 (RUN_TEST_f_f): Do not handle ulps.
26941 (RUN_TEST_LOOP_f_f): Likewise.
26942 (RUN_TEST_2_f): Likewise.
26943 (RUN_TEST_LOOP_2_f): Likewise.
26944 (RUN_TEST_fff_f): Likewise.
26945 (RUN_TEST_LOOP_fff_f): Likewise.
26946 (RUN_TEST_c_f): Likewise.
26947 (RUN_TEST_LOOP_c_f): Likewise.
26948 (RUN_TEST_f_f1): Likewise.
26949 (RUN_TEST_LOOP_f_f1): Likewise.
26950 (RUN_TEST_fF_f1): Likewise.
26951 (RUN_TEST_LOOP_fF_f1): Likewise.
26952 (RUN_TEST_fI_f1): Likewise.
26953 (RUN_TEST_LOOP_fI_f1): Likewise.
26954 (RUN_TEST_ffI_f1): Likewise.
26955 (RUN_TEST_LOOP_ffI_f1): Likewise.
26956 (RUN_TEST_c_c): Likewise.
26957 (RUN_TEST_LOOP_c_c): Likewise.
26958 (RUN_TEST_cc_c): Likewise.
26959 (RUN_TEST_LOOP_cc_c): Likewise.
26960 (RUN_TEST_f_i): Likewise.
26961 (RUN_TEST_LOOP_f_i): Likewise.
26962 (RUN_TEST_f_i_tg): Likewise.
26963 (RUN_TEST_LOOP_f_i_tg): Likewise.
26964 (RUN_TEST_ff_i_tg): Likewise.
26965 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26966 (RUN_TEST_f_b): Likewise.
26967 (RUN_TEST_LOOP_f_b): Likewise.
26968 (RUN_TEST_f_b_tg): Likewise.
26969 (RUN_TEST_LOOP_f_b_tg): Likewise.
26970 (RUN_TEST_f_l): Likewise.
26971 (RUN_TEST_LOOP_f_l): Likewise.
26972 (RUN_TEST_f_L): Likewise.
26973 (RUN_TEST_LOOP_f_L): Likewise.
26974 (RUN_TEST_sincos): Likewise.
26975 (RUN_TEST_LOOP_sincos): Likewise.
26977 2013-05-17 Joseph Myers <joseph@codesourcery.com>
26981 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26982 main case of finite arguments, set rounding mode to FE_TONEAREST
26983 and discard exceptions.
26984 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26986 (remainder_tonearest_test_data): New variable.
26987 (remainder_test_tonearest): New function.
26988 (remainder_towardzero_test_data): New variable.
26989 (remainder_test_towardzero): New function.
26990 (remainder_downward_test_data): New variable.
26991 (remainder_test_downward): New function.
26992 (remainder_upward_test_data): New variable.
26993 (remainder_test_upward): New function.
26994 (main): Call the new test functions.
26996 * math/libm-test.inc (struct test_f_f1_data): Remove field
26998 (struct test_fF_f1_data): Likewise.
26999 (struct test_ffI_f1_data): Likewise.
27000 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27001 based on value of EXTRA_EXPECTED.
27002 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27003 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27004 EXTRA_VAR based on value of EXTRA_EXPECTED.
27005 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27006 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27007 EXTRA_VAR based on value of EXTRA_EXPECTED.
27008 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27009 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27010 EXTRA_VAR based on value of EXTRA_EXPECTED.
27011 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27012 * math/gen-libm-test.pl (parse_args): Don't output initializers
27013 for extra output values.
27015 * math/libm-test.inc (check_int): Expect result to be exactly
27016 equal to expected value and do not handle ulps.
27017 (check_long): Likewise.
27018 (check_longlong): Likewise.
27020 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27022 (cimag_test_data): Likewise.
27023 (conj_test_data): Likewise.
27024 (copysign_test_data): Likewise.
27025 (cproj_test_data): Likewise.
27026 (creal_test_data): Likewise.
27027 (fabs_test_data): Likewise.
27028 (fdim_test_data): Likewise.
27029 (finite_test_data): Likewise.
27030 (floor_test_data): Likewise.
27031 (fmax_test_data): Likewise.
27032 (fmin_test_data): Likewise.
27033 (fmod_test_data): Likewise.
27034 (fpclassify_test_data): Likewise.
27035 (frexp_test_data): Likewise.
27036 (ilogb_test_data): Likewise.
27037 (isfinite_test_data): Likewise.
27038 (isgreater_test_data): Likewise.
27039 (isgreaterequal_test_data): Likewise.
27040 (isinf_test_data): Likewise.
27041 (isless_test_data): Likewise.
27042 (islessequal_test_data): Likewise.
27043 (islessgreater_test_data): Likewise.
27044 (isnan_test_data): Likewise.
27045 (isnormal_test_data): Likewise.
27046 (issignaling_test_data): Likewise.
27047 (isunordered_test_data): Likewise.
27048 (ldexp_test_data): Likewise.
27049 (lrint_test_data): Likewise.
27050 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27051 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27052 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27053 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27054 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27055 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27057 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27058 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27059 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27060 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27062 (lrint_downward_test_data): Test for "inexact" exceptions.
27063 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27064 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27065 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27067 (lrint_upward_test_data): Test for "inexact" exceptions.
27068 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27070 (llrint_test_data): Test for "inexact" exceptions.
27071 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27072 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27073 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27074 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27075 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27076 (llrint_downward_test_data): Test for "inexact" exceptions.
27077 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27078 (llrint_upward_test_data): Test for "inexact" exceptions.
27079 (logb_test_data): Likewise.
27080 (logb_downward_test_data): Likewise.
27081 (nextafter_test_data): Likewise.
27082 (nexttoward_test_data): Likewise.
27083 (remainder_test_data): Likewise.
27084 (remquo_test_data): Likewise.
27085 (scalbn_test_data): Likewise.
27086 (scalbln_test_data): Likewise.
27087 (signbit_test_data): Likewise.
27088 (sqrt_test_data): Likewise.
27089 (significand_test_data): Likewise.
27091 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27094 * benchtests/bench-modf.c (struct args): Mark arg0 as
27096 * scripts/bench.pl: Mark members of struct args as volatile.
27098 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27101 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27102 negative infinity on POWER6 or lower.
27103 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27105 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27108 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27109 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27110 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27111 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27112 (_FP_SETQNAN): New macro.
27113 (_FP_SETQNAN_SEMIRAW): Likewise.
27114 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27115 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27116 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27117 (FP_EXTEND): Use _FP_FRAC_SNANP.
27118 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27119 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27121 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27123 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27126 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27128 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27129 with DIVIDE_BY_ZERO_EXCEPTION.
27130 (gamma_test_data): Likewise.
27131 (lgamma_test_data): Likewise.
27132 (log_test_data): Likewise.
27133 (log10_test_data): Likewise.
27134 (log2_test_data): Likewise.
27135 (tgamma_test_data): Likewise.
27137 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27138 (acos_test_tonearest): Likewise.
27139 (acos_test_towardzero): Likewise.
27140 (acos_test_downward): Likewise.
27141 (acos_test_upward): Likewise.
27142 (acosh_test): Likewise.
27143 (asin_test): Likewise.
27144 (asin_test_tonearest): Likewise.
27145 (asin_test_towardzero): Likewise.
27146 (asin_test_downward): Likewise.
27147 (asin_test_upward): Likewise.
27148 (asinh_test): Likewise.
27149 (atan_test): Likewise.
27150 (atanh_test): Likewise.
27151 (atan2_test): Likewise.
27152 (cabs_test): Likewise.
27153 (cacos_test): Likewise.
27154 (cacosh_test): Likewise.
27155 (casin_test): Likewise.
27156 (casinh_test): Likewise.
27157 (catan_test): Likewise.
27158 (catanh_test): Likewise.
27159 (cbrt_test): Likewise.
27160 (ccos_test): Likewise.
27161 (ccosh_test): Likewise.
27162 (cexp_test): Likewise.
27163 (clog_test): Likewise.
27164 (clog10_test): Likewise.
27165 (cos_test): Likewise.
27166 (cos_test_tonearest): Likewise.
27167 (cos_test_towardzero): Likewise.
27168 (cos_test_downward): Likewise.
27169 (cos_test_upward): Likewise.
27170 (cosh_test): Likewise.
27171 (cosh_test_tonearest): Likewise.
27172 (cosh_test_towardzero): Likewise.
27173 (cosh_test_downward): Likewise.
27174 (cosh_test_upward): Likewise.
27175 (cpow_test): Likewise.
27176 (csin_test): Likewise.
27177 (csinh_test): Likewise.
27178 (csqrt_test): Likewise.
27179 (ctan_test): Likewise.
27180 (ctan_test_tonearest): Likewise.
27181 (ctan_test_towardzero): Likewise.
27182 (ctan_test_downward): Likewise.
27183 (ctan_test_upward): Likewise.
27184 (ctanh_test): Likewise.
27185 (ctanh_test_tonearest): Likewise.
27186 (ctanh_test_towardzero): Likewise.
27187 (ctanh_test_downward): Likewise.
27188 (ctanh_test_upward): Likewise.
27189 (erf_test): Likewise.
27190 (erfc_test): Likewise.
27191 (exp_test): Likewise.
27192 (exp_test_tonearest): Likewise.
27193 (exp_test_towardzero): Likewise.
27194 (exp_test_downward): Likewise.
27195 (exp_test_upward): Likewise.
27196 (exp10_test): Likewise.
27197 (exp2_test): Likewise.
27198 (expm1_test): Likewise.
27199 (fmod_test): Likewise.
27200 (gamma_test): Likewise.
27201 (hypot_test): Likewise.
27202 (j0_test): Likewise.
27203 (j1_test): Likewise.
27204 (jn_test): Likewise.
27205 (lgamma_test): Likewise.
27206 (log_test): Likewise.
27207 (log10_test): Likewise.
27208 (log1p_test): Likewise.
27209 (log2_test): Likewise.
27210 (logb_test_downward): Likewise.
27211 (pow_test): Likewise.
27212 (pow_test_tonearest): Likewise.
27213 (pow_test_towardzero): Likewise.
27214 (pow_test_downward): Likewise.
27215 (pow_test_upward): Likewise.
27216 (remainder_test): Likewise.
27217 (remquo_test): Likewise.
27218 (sin_test): Likewise.
27219 (sin_test_tonearest): Likewise.
27220 (sin_test_towardzero): Likewise.
27221 (sin_test_downward): Likewise.
27222 (sin_test_upward): Likewise.
27223 (sincos_test): Likewise.
27224 (sinh_test): Likewise.
27225 (sinh_test_tonearest): Likewise.
27226 (sinh_test_towardzero): Likewise.
27227 (sinh_test_downward): Likewise.
27228 (sinh_test_upward): Likewise.
27229 (sqrt_test): Likewise.
27230 (tan_test): Likewise.
27231 (tan_test_tonearest): Likewise.
27232 (tan_test_towardzero): Likewise.
27233 (tan_test_downward): Likewise.
27234 (tan_test_upward): Likewise.
27235 (tanh_test): Likewise.
27236 (tgamma_test): Likewise.
27237 (y0_test): Likewise.
27238 (y1_test): Likewise.
27239 (yn_test): Likewise.
27241 * math/gen-libm-test.pl (adjust_arg): Remove function.
27242 (special_function): Remove argument $in_func. Only handle
27243 generating output for tables of tests, not inside functions.
27244 (parse_args): Likewise.
27245 (generate_testfile): Remove variable $in_func. Update call to
27247 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27248 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27249 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27250 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27251 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27252 (MAX_VALUE_INIT): Rename macro to max_value.
27253 (MIN_VALUE_INIT): Rename macro to min_value.
27254 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27255 (plus_zero): Remove variable.
27256 (minus_zero): Likewise.
27257 (plus_infty): Likewise.
27258 (minus_infty): Likewise.
27259 (qnan_value): Likewise.
27260 (max_value): Likewise.
27261 (min_value): Likewise.
27262 (min_subnorm_value): Likewise.
27264 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27266 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27267 uint64_t or uint32_t usage.
27268 * crypt/sha256-block.c: Likewise.
27269 * crypt/sha256-crypt.c: Likewise.
27270 * crypt/sha256.c: Likewise.
27271 * crypt/sha512-block.c: Likewise.
27272 * crypt/sha512-crypt.c: Likewise.
27273 * crypt/sha512.c: Likewise.
27274 * debug/backtrace-tst.c: Likewise.
27275 * debug/pcprofiledump.c: Likewise.
27276 * elf/cache.c: Likewise.
27277 * elf/dl-cache.c: Likewise.
27278 * elf/dl-misc.c: Likewise.
27279 * elf/dl-profile.c: Likewise.
27280 * elf/dl-support.c: Likewise.
27281 * elf/ldconfig.c: Likewise.
27282 * elf/sprof.c: Likewise.
27283 * iconv/dummy-repertoire.c: Likewise.
27284 * iconv/iconv_charmap.c: Likewise.
27285 * iconv/skeleton.c: Likewise.
27286 * iconvdata/8bit-generic.c: Likewise.
27287 * iconvdata/cp737.h: Likewise.
27288 * iconvdata/cp775.h: Likewise.
27289 * iconvdata/ibm1008.h: Likewise.
27290 * iconvdata/ibm1025.h: Likewise.
27291 * iconvdata/ibm1046.h: Likewise.
27292 * iconvdata/ibm1097.h: Likewise.
27293 * iconvdata/ibm1112.h: Likewise.
27294 * iconvdata/ibm1122.h: Likewise.
27295 * iconvdata/ibm1123.h: Likewise.
27296 * iconvdata/ibm1124.h: Likewise.
27297 * iconvdata/ibm1129.h: Likewise.
27298 * iconvdata/ibm1130.h: Likewise.
27299 * iconvdata/ibm1132.h: Likewise.
27300 * iconvdata/ibm1133.h: Likewise.
27301 * iconvdata/ibm1137.h: Likewise.
27302 * iconvdata/ibm1140.h: Likewise.
27303 * iconvdata/ibm1141.h: Likewise.
27304 * iconvdata/ibm1142.h: Likewise.
27305 * iconvdata/ibm1143.h: Likewise.
27306 * iconvdata/ibm1144.h: Likewise.
27307 * iconvdata/ibm1145.h: Likewise.
27308 * iconvdata/ibm1146.h: Likewise.
27309 * iconvdata/ibm1147.h: Likewise.
27310 * iconvdata/ibm1148.h: Likewise.
27311 * iconvdata/ibm1149.h: Likewise.
27312 * iconvdata/ibm1153.h: Likewise.
27313 * iconvdata/ibm1154.h: Likewise.
27314 * iconvdata/ibm1155.h: Likewise.
27315 * iconvdata/ibm1156.h: Likewise.
27316 * iconvdata/ibm1157.h: Likewise.
27317 * iconvdata/ibm1158.h: Likewise.
27318 * iconvdata/ibm1160.h: Likewise.
27319 * iconvdata/ibm1161.h: Likewise.
27320 * iconvdata/ibm1162.h: Likewise.
27321 * iconvdata/ibm1163.h: Likewise.
27322 * iconvdata/ibm1164.h: Likewise.
27323 * iconvdata/ibm1166.h: Likewise.
27324 * iconvdata/ibm1167.h: Likewise.
27325 * iconvdata/ibm12712.h: Likewise.
27326 * iconvdata/ibm1390.h: Likewise.
27327 * iconvdata/ibm1399.h: Likewise.
27328 * iconvdata/ibm16804.h: Likewise.
27329 * iconvdata/ibm4517.h: Likewise.
27330 * iconvdata/ibm4899.h: Likewise.
27331 * iconvdata/ibm4909.h: Likewise.
27332 * iconvdata/ibm4971.h: Likewise.
27333 * iconvdata/ibm5347.h: Likewise.
27334 * iconvdata/ibm803.h: Likewise.
27335 * iconvdata/ibm856.h: Likewise.
27336 * iconvdata/ibm901.h: Likewise.
27337 * iconvdata/ibm902.h: Likewise.
27338 * iconvdata/ibm9030.h: Likewise.
27339 * iconvdata/ibm9066.h: Likewise.
27340 * iconvdata/ibm921.h: Likewise.
27341 * iconvdata/ibm922.h: Likewise.
27342 * iconvdata/ibm9448.h: Likewise.
27343 * iconvdata/isiri-3342.h: Likewise.
27344 * iconvdata/jis0201.h: Likewise.
27345 * include/link.h: Likewise.
27346 * include/netdb.h: Likewise.
27347 * inet/check_native.c: Likewise.
27348 * inet/check_pf.c: Likewise.
27349 * inet/getipv4sourcefilter.c: Likewise.
27350 * inet/getnameinfo.c: Likewise.
27351 * inet/getsourcefilter.c: Likewise.
27352 * inet/htonl.c: Likewise.
27353 * inet/setipv4sourcefilter.c: Likewise.
27354 * inet/setsourcefilter.c: Likewise.
27355 * inet/test-inet6_opt.c: Likewise.
27356 * inet/tst-network.c: Likewise.
27357 * locale/C-collate.c: Likewise.
27358 * locale/C-ctype.c: Likewise.
27359 * locale/C-time.c: Likewise.
27360 * locale/C-translit.h: Likewise.
27361 * locale/loadarchive.c: Likewise.
27362 * locale/programs/3level.h: Likewise.
27363 * locale/programs/charmap.c: Likewise.
27364 * locale/programs/charmap.h: Likewise.
27365 * locale/programs/ld-address.c: Likewise.
27366 * locale/programs/ld-collate.c: Likewise.
27367 * locale/programs/ld-ctype.c: Likewise.
27368 * locale/programs/ld-identification.c: Likewise.
27369 * locale/programs/ld-measurement.c: Likewise.
27370 * locale/programs/ld-messages.c: Likewise.
27371 * locale/programs/ld-monetary.c: Likewise.
27372 * locale/programs/ld-name.c: Likewise.
27373 * locale/programs/ld-numeric.c: Likewise.
27374 * locale/programs/ld-paper.c: Likewise.
27375 * locale/programs/ld-telephone.c: Likewise.
27376 * locale/programs/ld-time.c: Likewise.
27377 * locale/programs/linereader.c: Likewise.
27378 * locale/programs/locale.c: Likewise.
27379 * locale/programs/locarchive.c: Likewise.
27380 * locale/programs/locfile.h: Likewise.
27381 * locale/programs/repertoire.c: Likewise.
27382 * locale/programs/simple-hash.c: Likewise.
27383 * locale/programs/simple-hash.h: Likewise.
27384 * malloc/memusage.c: Likewise.
27385 * malloc/memusagestat.c: Likewise.
27386 * nis/nis_defaults.c: Likewise.
27387 * nis/nis_hash.c: Likewise.
27388 * nis/nis_print.c: Likewise.
27389 * nis/nis_xdr.c: Likewise.
27390 * nscd/connections.c: Likewise.
27391 * nscd/hstcache.c: Likewise.
27392 * nscd/nscd_gethst_r.c: Likewise.
27393 * nscd/nscd_getserv_r.c: Likewise.
27394 * nscd/nscd_helper.c: Likewise.
27395 * nscd/servicescache.c: Likewise.
27396 * nss/makedb.c: Likewise.
27397 * nss/nss_db/db-XXX.c: Likewise.
27398 * nss/nss_db/db-initgroups.c: Likewise.
27399 * nss/nss_db/db-netgrp.c: Likewise.
27400 * nss/nss_files/files-network.c: Likewise.
27401 * nss/nss_files/files-parse.c: Likewise.
27402 * posix/bug-regex5.c: Likewise.
27403 * posix/fnmatch_loop.c: Likewise.
27404 * posix/regcomp.c: Likewise.
27405 * posix/regexec.c: Likewise.
27406 * posix/tst-rfc3484-2.c: Likewise.
27407 * posix/tst-rfc3484-3.c: Likewise.
27408 * posix/tst-rfc3484.c: Likewise.
27409 * resolv/nss_dns/dns-canon.c: Likewise.
27410 * resolv/nss_dns/dns-network.c: Likewise.
27411 * resolv/res_init.c: Likewise.
27412 * resolv/res_mkquery.c: Likewise.
27413 * resolv/tst-aton.c: Likewise.
27414 * stdlib/cxa_atexit.c: Likewise.
27415 * stdlib/cxa_finalize.c: Likewise.
27416 * stdlib/gen-fpioconst.c: Likewise.
27417 * stdlib/strtol_l.c: Likewise.
27418 * string/tst-endian.c: Likewise.
27419 * sunrpc/auth_des.c: Likewise.
27420 * sunrpc/clnt_udp.c: Likewise.
27421 * sunrpc/rtime.c: Likewise.
27422 * sunrpc/svcauth_des.c: Likewise.
27423 * sunrpc/xdr.c: Likewise.
27424 * sunrpc/xdr_intXX_t.c: Likewise.
27425 * sunrpc/xdr_rec.c: Likewise.
27426 * sysdeps/generic/ldconfig.h: Likewise.
27427 * sysdeps/generic/ldsodefs.h: Likewise.
27428 * sysdeps/generic/memusage.h: Likewise.
27429 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27430 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27431 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27432 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27433 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27434 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27435 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27436 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27437 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27438 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27439 * sysdeps/posix/getaddrinfo.c: Likewise.
27440 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27441 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27442 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27443 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27444 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27445 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27446 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27447 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27448 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27449 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27450 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27451 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27452 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27453 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27454 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27455 * sysdeps/x86_64/dl-tls.h: Likewise.
27456 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27457 * time/alt_digit.c: Likewise.
27458 * time/era.c: Likewise.
27459 * wcsmbs/tst-c16c32-1.c: Likewise.
27461 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27463 * math/libm-test.inc (struct test_sincos_data): New type.
27464 (RUN_TEST_LOOP_sincos): New macro.
27465 (sincos_test_data): New variable.
27466 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27468 2013-05-16 Richard Henderson <rth@redhat.com>
27470 * math/atest-exp2.c (LIMB64): New macro.
27471 (CONSTSZ): New macro.
27472 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27474 (print_mpn_fp): ... to function scope.
27475 (read_mpn_hex): Remove.
27476 (get_log2): Remove.
27477 (exp2_mpn): Use mp_log2.
27478 (main): Use mp_exp1.
27480 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27482 * math/libm-test.inc: Remove comment about not testing "inexact"
27484 (INEXACT_EXCEPTION): New macro.
27485 (NO_INEXACT_EXCEPTION): Likewise.
27486 (INVALID_EXCEPTION_OK): Update value.
27487 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27488 (OVERFLOW_EXCEPTION_OK): Likewise.
27489 (UNDERFLOW_EXCEPTION_OK): Likewise.
27490 (IGNORE_ZERO_INF_SIGN): Likewise.
27491 (ERRNO_UNCHANGED): Likewise.
27492 (ERRNO_EDOM): Likewise.
27493 (ERRNO_ERANGE): Likewise.
27494 (test_exceptions): Handle testing "inexact" exceptions.
27495 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27496 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27497 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27498 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27500 (rint_towardzero_test_data): Likewise.
27501 (rint_downward_test_data): Likewise.
27502 (rint_upward_test_data): Likewise.
27504 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27505 with OVERFLOW_EXCEPTION.
27506 (exp10_test_data): Likewise.
27507 (exp2_test_data): Likewise.
27508 (expm1_test_data): Likewise.
27509 (lgamma_test_data): Likewise.
27510 (pow_test_data): Likewise.
27511 (tgamma_test_data): Likewise.
27512 (yn_test_data): Remove duplicate test of overflow.
27514 * math/libm-test.inc (struct test_cc_c_data): New type.
27515 (RUN_TEST_LOOP_cc_c): New macro.
27516 (cpow_test_data): New variable.
27517 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27519 * math/libm-test.inc (struct test_f_L_data): New type.
27520 (RUN_TEST_LOOP_f_L): New macro.
27521 (llrint_test_data): New variable.
27522 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27523 (llrint_tonearest_test_data): New variable.
27524 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27525 (llrint_towardzero_test_data): New variable.
27526 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27527 (llrint_downward_test_data): New variable.
27528 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27529 (llrint_upward_test_data): New variable.
27530 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27531 (llround_test_data): New variable.
27532 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27534 2013-05-13 Peter Collingbourne <pcc@google.com>
27536 * math/atest-exp2.c (get_log2): Remove const attribute.
27538 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27540 * math/libm-test.inc (struct test_f_l_data): New type.
27541 (RUN_TEST_LOOP_f_l): New macro.
27542 (lrint_test_data): New variable.
27543 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27544 (lrint_tonearest_test_data): New variable.
27545 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27546 (lrint_towardzero_test_data): New variable.
27547 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27548 (lrint_downward_test_data): New variable.
27549 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27550 (lrint_upward_test_data): New variable.
27551 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27552 (lround_test_data): New variable.
27553 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27555 2013-05-15 Peter Collingbourne <pcc@google.com>
27557 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27558 (EXTRACT_WORDS64) Use where appropriate.
27559 (INSERT_WORDS64) Likewise.
27561 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27562 constraints with x constraints.
27563 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27565 * malloc/obstack.c (_obstack_compat): Add initializer.
27567 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27569 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27570 si_trapno and add si_addr_lsb to _sifields.sigfault.
27571 (si_trapno): Remove macro.
27572 (si_addr_lsb): Define new macro.
27573 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27575 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27577 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27578 instead of TEST_f_l.
27579 (llrint_test_tonearest): Likewise.
27580 (llrint_test_towardzero): Likewise.
27581 (llrint_test_downward): Likewise.
27582 (llrint_test_upward): Likewise.
27583 (llround_test): Likewise.
27585 * math/libm-test.inc (struct test_f_i_data): Add comment.
27586 (RUN_TEST_LOOP_f_b): New macro.
27587 (RUN_TEST_LOOP_f_b_tg): Likewise.
27588 (finite_test_data): New variable.
27589 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27590 (isfinite_test_data): New variable.
27591 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27592 (isinf_test_data): New variable.
27593 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27594 (isnan_test_data): New variable.
27595 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27596 (isnormal_test_data): New variable.
27597 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27598 (issignaling_test_data): New variable.
27599 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27600 (signbit_test_data): New variable.
27601 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27603 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27604 with INVALID_EXCEPTION.
27605 (acosh_test_data): Likewise.
27606 (asin_test_data): Likewise.
27607 (atanh_test_data): Likewise.
27608 (fmod_test_data): Likewise.
27609 (log_test_data): Likewise.
27610 (log10_test_data): Likewise.
27611 (log2_test_data): Likewise.
27612 (pow_test_data): Likewise.
27613 (sqrt_test_data): Likewise.
27614 (y0_test_data): Likewise.
27615 (y1_test_data): Likewise.
27616 (yn_test_data): Likewise.
27618 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27621 * math/libm-test.inc (struct test_ff_i_data): New type.
27622 (RUN_TEST_LOOP_ff_i_tg): New macro.
27623 (isgreater_test_data): New variable.
27624 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27625 (isgreaterequal_test_data): New variable.
27626 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27627 (isless_test_data): New variable.
27628 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27629 (islessequal_test_data): New variable.
27630 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27631 (islessgreater_test_data): New variable.
27632 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27633 (isunordered_test_data): New variable.
27634 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27636 2013-05-14 David S. Miller <davem@davemloft.net>
27638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27640 2013-05-14 Joseph Myers <joseph@codesourcery.com>
27642 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27644 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27646 (struct test_f_i_data): Change type of max_ulp to int.
27648 * math/libm-test.inc (test_ffI_f1_data): New type.
27649 (RUN_TEST_LOOP_ffI_f1): New macro.
27650 (remquo_test_data): New variable.
27651 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27653 * setjmp/tst-setjmp-fp.c: New file.
27654 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27655 (link-libm): New variable.
27656 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27658 * math/libm-test.inc (struct test_f_i_data): New type.
27659 (RUN_TEST_LOOP_f_i): New macro.
27660 (RUN_TEST_LOOP_f_i_tg): Likewise.
27661 (fpclassify_test_data): New variable.
27662 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27663 (ilogb_test_data): New variable.
27664 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27666 * math/libm-test.inc (scalbln_test): Correct function name in END
27669 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27670 (RUN_TEST_LOOP_fI_f1): New macro.
27671 (frexp_test_data): New variable.
27672 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27674 * math/libm-test.inc (struct test_fF_f1_data): New type.
27675 (RUN_TEST_LOOP_fF_f1): New macro.
27676 (modf_test_data): New variable.
27677 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27679 * math/libm-test.inc (struct test_f_f1_data): New type.
27680 (RUN_TEST_LOOP_f_f1): New macro.
27681 (gamma_test_data): New variable.
27682 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27683 (lgamma_test_data): New variable.
27684 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27686 2013-05-13 Carlos O'Donell <carlos@redhat.com>
27688 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27689 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27690 (main): Comment "tls" pseudo-hwcap.
27692 2013-05-13 Joseph Myers <joseph@codesourcery.com>
27694 * math/libm-test.inc (struct test_fl_f_data): New type.
27695 (RUN_TEST_LOOP_fl_f): New variable.
27696 (scalbln_test_data): New variable.
27697 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27699 * math/libm-test.inc (struct test_fi_f_data): New type.
27700 (RUN_TEST_LOOP_fi_f): New macro.
27701 (ldexp_test_data): New variable.
27702 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27703 (scalbn_test_data): New variable.
27704 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27706 * math/libm-test.inc (struct test_c_f_data): New type.
27707 (RUN_TEST_LOOP_c_f): New macro.
27708 (cabs_test_data): New variable.
27709 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27710 (carg_test_data): New variable.
27711 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27712 (cimag_test_data): New variable.
27713 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27714 (creal_test_data): New variable.
27715 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27717 * math/libm-test.inc (struct test_if_f_data): New type.
27718 (RUN_TEST_LOOP_if_f): New macro.
27719 (jn_test_data): New variable.
27720 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27721 (yn_test_data): New variable.
27722 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27724 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27726 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27728 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27729 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27731 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27733 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27734 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27735 (bench-deps): Add bench-timing.h.
27736 * benchtests-bench-skeleton.c: Include bench-timing.h.
27737 (main): Use TIMING_* macros instead of clock_gettime.
27738 * benchtests/bench-timing.h: New file.
27741 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27742 Renamed from _LIB_VERSION.
27743 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27745 2013-05-12 Joseph Myers <joseph@codesourcery.com>
27747 * math/libm-test.inc (struct test_fff_f_data): New type.
27748 (RUN_TEST_LOOP_fff_f): New macro.
27749 (fma_test_data): New variable.
27750 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27751 (fma_towardzero_test_data): New variable.
27752 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27753 (fma_downward_test_data): New variable.
27754 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27755 (fma_upward_test_data): New variable.
27756 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27758 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27759 (struct test_c_c_data): New type.
27760 (RUN_TEST_LOOP_c_c): New macro.
27761 (cacos_test_data): New variable.
27762 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27763 (cacosh_test_data): New variable.
27764 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27765 (casin_test_data): New variable.
27766 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27767 (casinh_test_data): New variable.
27768 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27769 (catan_test_data): New variable.
27770 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27771 (catanh_test_data): New variable.
27772 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27773 (ccos_test_data): New variable.
27774 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27775 (ccosh_test_data): New variable.
27776 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27777 (cexp_test_data): New variable.
27778 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27779 (clog_test_data): New variable.
27780 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27781 (clog10_test_data): New variable.
27782 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27783 (conj_test_data): New variable.
27784 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27785 (cproj_test_data): New variable.
27786 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27787 (csin_test_data): New variable.
27788 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27789 (csinh_test_data): New variable.
27790 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27791 (csqrt_test_data): New variable.
27792 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27793 (ctan_test_data): New variable.
27794 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27795 (ctan_tonearest_test_data): New variable.
27796 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27797 (ctan_towardzero_test_data): New variable.
27798 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27799 (ctan_downward_test_data): New variable.
27800 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27801 (ctan_upward_test_data): New variable.
27802 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27803 (ctanh_test_data): New variable.
27804 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27805 (ctanh_tonearest_test_data): New variable.
27806 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27807 (ctanh_towardzero_test_data): New variable.
27808 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27809 (ctanh_downward_test_data): New variable.
27810 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27811 (ctanh_upward_test_data): New variable.
27812 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27813 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27816 * math/libm-test.inc (struct test_ff_f_data): New type.
27817 (struct test_ff_f_data_nexttoward): Likewise.
27818 (RUN_TEST_LOOP_2_f): New macro.
27819 (RUN_TEST_LOOP_ff_f): Likewise.
27820 (atan2_test_data): New variable.
27821 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27822 (copysign_test_data): New variable.
27823 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27824 (fdim_test_data): New variable.
27825 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27826 (fmax_test_data): New variable.
27827 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27828 (fmin_test_data): New variable.
27829 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27830 (fmod_test_data): New variable.
27831 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27832 (hypot_test_data): New variable.
27833 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27834 (nextafter_test_data): New variable.
27835 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27836 (nexttoward_test_data): New variable.
27837 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27838 (pow_test_data): New variable.
27839 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27840 (pow_tonearest_test_data): New variable.
27841 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27842 (pow_towardzero_test_data): New variable.
27843 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27844 (pow_downward_test_data): New variable.
27845 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27846 (pow_upward_test_data): New variable.
27847 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27848 (remainder_test_data): New variable.
27849 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27850 (scalb_test_data): New variable.
27851 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27852 * sysdeps/i386/fpu/libm-test-ulps: Update.
27854 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27856 * math/libm-test.inc (fma_test): Use max_value instead of local
27858 (nextafter_test): Likewise.
27860 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27861 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27862 (acos_downward_test_data): New variable.
27863 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27864 (acos_upward_test_data): New variable.
27865 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27866 (acosh_test_data): New variable.
27867 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27868 (asin_test_data): New variable.
27869 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27870 (asin_tonearest_test_data): New variable.
27871 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27872 (asin_towardzero_test_data): New variable.
27873 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27874 (asin_downward_test_data): New variable.
27875 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27876 (asin_upward_test_data): New variable.
27877 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27878 (asinh_test_data): New variable.
27879 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27880 (atan_test_data): New variable.
27881 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27882 (atanh_test_data): New variable.
27883 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27884 (cbrt_test_data): New variable.
27885 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27886 (ceil_test_data): New variable.
27887 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27888 (cos_test_data): New variable.
27889 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27890 (cos_tonearest_test_data): New variable.
27891 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27892 (cos_towardzero_test_data): New variable.
27893 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27894 (cos_downward_test_data): New variable.
27895 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27896 (cos_upward_test_data): New variable.
27897 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27898 (cosh_test_data): New variable.
27899 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27900 (cosh_tonearest_test_data): New variable.
27901 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27902 (cosh_towardzero_test_data): New variable.
27903 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27904 (cosh_downward_test_data): New variable.
27905 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27906 (cosh_upward_test_data): New variable.
27907 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27908 (erf_test_data): New variable.
27909 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27910 (erfc_test_data): New variable.
27911 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27912 (exp_test_data): New variable.
27913 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27914 (exp_tonearest_test_data): New variable.
27915 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27916 (exp_towardzero_test_data): New variable.
27917 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27918 (exp_downward_test_data): New variable.
27919 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27920 (exp_upward_test_data): New variable.
27921 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27922 (exp10_test_data): New variable.
27923 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27924 (exp2_test_data): New variable.
27925 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27926 (expm1_test_data): New variable.
27927 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27928 (fabs_test_data): New variable.
27929 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27930 (floor_test_data): New variable.
27931 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27932 (j0_test_data): New variable.
27933 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27934 (j1_test_data): New variable.
27935 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27936 (log_test_data): New variable.
27937 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27938 (log10_test_data): New variable.
27939 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27940 (log1p_test_data): New variable.
27941 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27942 (log2_test_data): New variable.
27943 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27944 (logb_test_data): New variable.
27945 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27946 (logb_downward_test_data): New variable.
27947 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27948 (nearbyint_test_data): New variable.
27949 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27950 (rint_test_data): New variable.
27951 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27952 (rint_tonearest_test_data): New variable.
27953 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27954 (rint_towardzero_test_data): New variable.
27955 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27956 (rint_downward_test_data): New variable.
27957 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27958 (rint_upward_test_data): New variable.
27959 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27960 (round_test_data): New variable.
27961 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27962 (sin_test_data): New variable.
27963 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27964 (sin_tonearest_test_data): New variable.
27965 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27966 (sin_towardzero_test_data): New variable.
27967 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27968 (sin_downward_test_data): New variable.
27969 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27970 (sin_upward_test_data): New variable.
27971 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27972 (sinh_test_data): New variable.
27973 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27974 (sinh_tonearest_test_data): New variable.
27975 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27976 (sinh_towardzero_test_data): New variable.
27977 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27978 (sinh_downward_test_data): New variable.
27979 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27980 (sinh_upward_test_data): New variable.
27981 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27982 (sqrt_test_data): New variable.
27983 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27984 (tan_test_data): New variable.
27985 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27986 (tan_tonearest_test_data): New variable.
27987 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27988 (tan_towardzero_test_data): New variable.
27989 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27990 (tan_downward_test_data): New variable.
27991 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27992 (tan_upward_test_data): New variable.
27993 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27994 (tanh_test_data): New variable.
27995 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27996 (tgamma_test_data): New variable.
27997 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27998 (trunc_test_data): New variable.
27999 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28000 (y0_test_data): New variable.
28001 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28002 (y1_test_data): New variable.
28003 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28004 (significand_test_data): New variable.
28005 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28007 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28010 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28012 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28014 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28016 2013-05-10 Andreas Jaeger <aj@suse.de>
28019 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28020 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28022 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28024 * math/gen-libm-test.pl (adjust_arg): New function.
28025 (special_functions): Handle generating output in both functions
28027 (parse_args): Likewise.
28028 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28029 $in_func argument to parse_args.
28030 * math/libm-test.inc (struct test_f_f_data): New type.
28031 (IF_ROUND_INIT_): New macro.
28032 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28033 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28034 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28035 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28036 (ROUND_RESTORE_): Likewise.
28037 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28038 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28039 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28040 (ROUND_RESTORE_FE_UPWARD): Likewise.
28041 (RUN_TEST_LOOP_f_f): New macro.
28042 (acos_test_data): New variable.
28043 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28044 (acos_tonearest_test_data): New variable.
28045 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28047 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28049 * benchtests/bench-skeleton.c (startup): Fix coding style.
28051 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28054 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28055 negative infinity argument.
28056 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28057 negative infinity argument.
28058 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28059 negative infinity argument.
28060 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28063 2013-05-10 Florian Weimer <fweimer@redhat.com>
28065 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28066 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28067 * iconv/iconv_prog.c (main): Likewise.
28068 * locale/programs/charmap-dir.c (charmap_readdir)
28069 (fopen_uncompressed): Likewise.
28070 * locale/programs/locfile.c (siblings_uncached)
28071 (write_locale_data): Use lstat64 instead of lstat.
28072 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28075 2013-05-10 Andreas Jaeger <aj@suse.de>
28078 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28080 Include <locale.h>.
28082 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28084 * elf/dl-close.c (_dl_close_worker): Add comments.
28086 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28089 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28091 (__ieee754_rem_pio2l): Update comments.
28094 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28096 (__ieee754_rem_pio2l): Update comments.
28098 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28099 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28101 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28104 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28105 (M_PI_34_LOG10El): Likewise.
28106 (M_PI2_LOG10El): Likewise.
28107 (M_PI4_LOG10El): Likewise.
28108 (M_PI_LOG10El): Likewise.
28110 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28114 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28116 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28117 (MINUS_ZERO_INIT): Likewise.
28118 (PLUS_INFTY_INIT): Likewise.
28119 (MINUS_INFTY_INIT): Likewise.
28120 (QNAN_VALUE_INIT): Likewise.
28121 (MAX_VALUE_INIT): Likewise.
28122 (MIN_VALUE_INIT): Likewise.
28123 (MIN_SUBNORM_VALUE_INIT): Likewise.
28124 (plus_zero): Initialize with PLUS_ZERO_INIT.
28125 (minus_zero): Initialize with MINUS_ZERO_INIT.
28126 (plus_infty): Initialize with PLUS_INFTY_INIT.
28127 (minus_infty): Initialize with MINUS_INFTY_INIT.
28128 (qnan_value): Initialize with QNAN_VALUE_INIT.
28129 (max_value): Initialize with MAX_VALUE_INIT.
28130 (min_value): Initialize with MIN_VALUE_INIT.
28131 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28133 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28134 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28135 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28136 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28138 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28139 (RUN_TEST_2_f): Likewise.
28140 (RUN_TEST_ff_f): Likewise.
28141 (RUN_TEST_fi_f): Likewise.
28142 (RUN_TEST_fl_f): Likewise.
28143 (RUN_TEST_fff_f): Likewise.
28144 (RUN_TEST_c_f): Likewise.
28145 (RUN_TEST_f_f1): Likewise.
28146 (RUN_TEST_fF_f1): Likewise.
28147 (RUN_TEST_fI_f1): Likewise.
28148 (RUN_TEST_ffI_f1): Likewise.
28149 (RUN_TEST_c_c): Likewise.
28150 (RUN_TEST_cc_c): Likewise.
28151 (RUN_TEST_f_i): Likewise.
28152 (RUN_TEST_f_i_tg): Likewise.
28153 (RUN_TEST_ff_i_tg): Likewise.
28154 (RUN_TEST_f_b): Likewise.
28155 (RUN_TEST_f_b_tg): Likewise.
28156 (RUN_TEST_f_l): Likewise.
28157 (RUN_TEST_f_L): Likewise.
28158 (RUN_TEST_sincos): Likewise.
28159 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28160 whether to show exceptions. Do not include ");\n" in return
28162 (special_functions): Output call to RUN_TEST_sincos instead of
28163 check_float calls. Update calls to new_test.
28164 (parse_args): Output call to single RUN_TEST_* macro instead of
28165 check_* calls and other assignments. Update calls to new_test.
28171 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28172 input to result for tgamma overflow.
28173 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28174 (gamma_coeff): New variable.
28175 (NCOEFF): New macro.
28176 (gamma_positive): New function.
28177 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28178 underflow here. Use gamma_positive instead of exp (lgamma) for
28180 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28181 (gamma_coeff): New variable.
28182 (NCOEFF): New macro.
28183 (gammaf_positive): New function.
28184 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28185 underflow here. Use gamma_positive instead of exp (lgamma) for
28187 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28188 (gamma_coeff): New variable.
28189 (NCOEFF): New macro.
28190 (gammal_positive): New function.
28191 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28192 underflow here. Use gamma_positive instead of exp (lgamma) for
28194 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28195 (gamma_coeff): New variable.
28196 (NCOEFF): New macro.
28197 (gammal_positive): New function.
28198 (__ieee754_gammal_r): Handle positive infinity, overflow and
28199 underflow here. Handle NaN the same as positive infinity. Remove
28200 check x < 0xffffffff for negative integers. Use gamma_positive
28201 instead of exp (lgamma) for other arguments.
28202 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28203 (gamma_coeff): New variable.
28204 (NCOEFF): New macro.
28205 (gammal_positive): New function.
28206 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28207 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28208 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28209 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28210 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28211 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28212 * sysdeps/generic/math_private.h (__gamma_productf): New
28214 (__gamma_product): Likewise.
28215 (__gamma_productl): Likewise.
28216 * math/Makefile (libm-calls): Add gamma_product.
28217 * math/libm-test.inc (tgamma_test): Add more tests.
28218 * sysdeps/i386/fpu/libm-test-ulps: Update.
28219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28221 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
28223 * benchtests/bench-skeleton.c (main): Preheat CPU.
28225 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28227 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28229 2013-05-07 Roland McGrath <roland@hack.frob.com>
28231 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28232 and _dl_skip_args_internal.
28234 2013-05-07 Carlos O'Donell <carlos@redhat.com>
28236 * manual/message.texi (Message Translation): Talk about users.
28237 Message to key mapping impacts design.
28239 2013-05-06 Roland McGrath <roland@hack.frob.com>
28241 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28243 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28245 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28246 * sysdeps/wordsize-64/glob64.c: ... here.
28248 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28249 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28252 * debug/getlogin_r_chk.c: Moved to ...
28253 * login/getlogin_r_chk.c: ... here.
28254 * debug/Makefile (routines): Move getlogin_r_chk to ...
28255 * login/Makefile (routines): ... here.
28256 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28257 * login/Versions (libc: GLIBC_2.4): ... here.
28259 * io/poll.c (__poll): Renamed from poll.
28260 Add libc_hidden_def.
28261 (poll): Define as weak alias.
28263 * debug/ptsname_r_chk.c: Moved to ...
28264 * login/ptsname_r_chk.c: ... here.
28265 * debug/Makefile (routines): Move ptsname_r_chk to ...
28266 * login/Makefile (routines): ... here.
28267 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28268 * login/Versions (libc: GLIBC_2.4): ... here.
28270 * posix/getlogin.c: Moved to ...
28271 * login/getlogin.c: ... here.
28272 * posix/getlogin_r.c: Moved to ...
28273 * login/getlogin_r.c: ... here.
28274 * posix/getlogin_r.c: Moved to ...
28275 * login/getlogin_r.c: ... here.
28276 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28277 * login/Makefile (routines): ... here.
28278 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28279 * login/Versions (libc: GLIBC_2.0): ... here.
28281 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28282 (setrlimit): Define as weak alias.
28284 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28285 Call __ names for open, ftruncate, and close.
28286 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28287 (truncate): Define as weak alias.
28289 2013-05-06 Joseph Myers <joseph@codesourcery.com>
28291 * math/gen-libm-test.pl (parse_args): Initialize x before each
28292 test of frexp, modf and remquo.
28294 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28295 test signgam value.
28297 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28301 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28303 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28305 2013-05-06 Roland McGrath <roland@hack.frob.com>
28307 * elf/dl-writev.h: New file.
28308 * elf/dl-misc.c: Include it.
28309 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28310 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28312 2013-05-04 Joseph Myers <joseph@codesourcery.com>
28314 * math/libm-test.inc (noXFails): Remove variable.
28315 (noXPasses): Likewise.
28316 (BUILD_COMPLEX_INT): Remove macro.
28317 (print_screen): Remove xfail argument.
28318 (print_screen_max_error): Likewise.
28319 (update_stats): Likewise.
28320 (print_max_error): Likewise. Update calls to other affected
28322 (print_complex_max_error): Likewise.
28323 (test_single_exception): Update calls to print_screen.
28324 (test_single_errno): Likewise.
28325 (check_float_internal): Remove xfail argument. Update calls to
28326 other affected functions.
28327 (check_float): Likewise.
28328 (check_complex): Likewise.
28329 (check_int): Likewise.
28330 (check_long): Likewise.
28331 (check_bool): Likewise.
28332 (check_longlong): Likewise.
28333 (main): Don't print noXFails and noXPasses.
28334 * math/gen-libm-test.pl (top level): Don't mention expected
28335 failure handling in comment.
28336 (new_test): Don't handle expected failures.
28337 (parse_args): Don't mention expected failure handling in comment.
28338 (generate_testfile): Don't handle expected failures.
28339 (parse_ulps): Likewise.
28340 (print_ulps_file): Likewise.
28341 (get_failure): Remove function.
28342 (output_test): Don't handle expected failures.
28343 * make/README.libm-test: Don't mention expected failure handling.
28345 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28346 (minus_zero): Likewise.
28347 (plus_infty): Likewise.
28348 (minus_infty): Likewise.
28349 (qnan_value): Likewise.
28350 (max_value): Likewise.
28351 (min_value): Likewise.
28352 (min_subnorm_value): Likewise.
28353 (initialize): Do not initialize those variables dynamically.
28355 2013-05-03 Roland McGrath <roland@hack.frob.com>
28357 * io/open.c (__open_2): Moved to ...
28358 * io/open_2.c: ... this new file.
28359 * io/open64.c (__open64_2): Moved to ...
28360 * io/open64_2.c: ... this new file.
28361 * io/openat.c (__openat_2): Moved to ...
28362 * io/openat_2.c: ... this new file.
28363 * io/openat64.c (__openat64_2): Moved to ...
28364 * io/openat64_2.c: ... this new file.
28365 * io/Makefile (routines): Add them.
28366 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28367 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28368 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28369 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28370 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28371 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28372 (__openat64): Add hidden_ver.
28373 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28374 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28376 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28377 Separately conditionalize setting of GLRO(dl_sysinfo) so
28378 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28379 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28381 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28383 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28384 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28386 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28387 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28388 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28389 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28390 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28392 2013-05-03 Joseph Myers <joseph@codesourcery.com>
28394 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28395 test signgam value.
28397 * math/libm-test.inc (hypot_test): Do not use
28398 IGNORE_ZERO_INF_SIGN.
28400 2013-05-03 Andreas Jaeger <aj@suse.de>
28402 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28404 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28405 (PF_MAX): Adjust for VSOCK change.
28407 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28411 2013-05-02 Carlos O'Donell <carlos@redhat.com>
28414 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28415 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28416 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28418 2013-05-02 David S. Miller <davem@davemloft.net>
28420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28422 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
28424 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28426 2013-05-01 Roland McGrath <roland@hack.frob.com>
28428 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28430 2013-05-01 Richard Smith <richard@metafoo.co.uk>
28433 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28434 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28435 Use __attribute__ ((__gnu_inline__)).
28436 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28437 Don't use __attribute__ ((__gnu_inline__)).
28439 2013-05-01 Joseph Myers <joseph@codesourcery.com>
28442 * math/s_catan.c (__catan): Handle small real or imaginary part of
28443 input specially to avoid spurious underflow.
28444 * math/s_catanf.c (__catanf): Likewise.
28445 * math/s_catanh.c (__catanh): Likewise.
28446 * math/s_catanhf.c (__catanhf): Likewise.
28447 * math/s_catanhl.c (__catanhl): Likewise.
28448 * math/s_catanl.c (__catanl): Likewise.
28449 * math/libm-test.inc (catan_test): Add more tests.
28450 (catanh_test): Likewise.
28451 * sysdeps/i386/fpu/libm-test-ulps: Update.
28452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28454 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28458 2013-04-30 Joseph Myers <joseph@codesourcery.com>
28461 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28462 accurately for denominator in atan2.
28463 * math/s_catanf.c (__catanf): Likewise.
28464 * math/s_catanh.c (__catanh): Likewise.
28465 * math/s_catanhf.c (__catanhf): Likewise.
28466 * math/s_catanhl.c (__catanhl): Likewise.
28467 * math/s_catanl.c (__catanl): Likewise.
28468 * math/libm-test.inc (catan_test): Add more tests.
28469 (catanh_test): Likewise.
28470 * sysdeps/i386/fpu/libm-test-ulps: Update.
28471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28473 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28475 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28477 * benchtests/Makefile (bench): Remove slow benchmarks.
28478 * benchtests/atan-inputs: Add slow benchmark inputs.
28479 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28480 (BENCH_FUNC): Accept variant offset.
28482 * benchtests/bench-skeleton.c (main): Run benchmark for each
28484 * benchtests/cos-inputs: Add slow benchmark inputs.
28485 * benchtests/exp-inputs: Likewise.
28486 * benchtests/pow-inputs: Likewise.
28487 * benchtests/sin-inputs: Likewise.
28488 * benchtests/slowatan-inputs: Remove.
28489 * benchtests/slowatan.c: Remove.
28490 * benchtests/slowcos-inputs: Remove.
28491 * benchtests/slowcos.c: Remove.
28492 * benchtests/slowexp-inputs: Remove.
28493 * benchtests/slowexp.c: Remove.
28494 * benchtests/slowpow-inputs: Remove.
28495 * benchtests/slowpow.c: Remove.
28496 * benchtests/slowsin-inputs: Remove.
28497 * benchtests/slowsin.c: Remove.
28498 * benchtests/slowtan-inputs: Remove.
28499 * benchtests/slowtan.c: Remove.
28500 * benchtests/tan-inputs: Add slow benchmark inputs.
28501 * scripts/bench.pl: Parse comments and directives.
28503 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28505 ($(objpfx)bench-%.c): Remove *-ITER.
28506 * benchtests/bench-modf.c: Remove definition of ITER.
28507 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28508 (main): Loop for DURATION seconds instead of fixed number of
28510 * scripts/bench.pl: Don't expect iterations in parameters.
28512 2013-04-29 Roland McGrath <roland@hack.frob.com>
28514 * io/fchdir.c (__fchdir): Renamed from fchdir.
28515 (fchdir): Define as weak alias.
28517 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28519 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28520 (ERRNO_EDOM): Likewise.
28521 (ERRNO_ERANGE): Likewise.
28522 (noErrnoTests): New variable.
28523 (init_max_error): Set errno to 0.
28524 (test_single_errno): New function.
28525 (test_errno): Likewise.
28526 (check_float_internal): Call test_errno. Set errno to 0.
28527 (check_complex): Refer to errno tests in comment.
28528 (check_int): Call test_errno. Set errno to 0.
28529 (check_long): Likewise.
28530 (check_bool): Likewise.
28531 (check_longlong): Likewise.
28532 (cos_test): Use ERRNO_* flags for errno tests instead of
28534 (expm1_test): Likewise.
28535 (fmod_test): Likewise.
28536 (ilogb_test): Likewise.
28537 (lgamma_test): Likewise.
28538 (pow_test): Likewise.
28539 (remainder_test): Likewise.
28540 (sin_test): Likewise.
28541 (tan_test): Likewise.
28542 (yn_test): Likewise.
28543 (initialize): Set errno to 0.
28544 (main): Print number of errno tests.
28545 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28547 2013-04-29 Andreas Jaeger <aj@suse.de>
28550 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28554 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28555 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28559 * stdlib/random.c (__initstate): Return NULL if
28563 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28564 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28567 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28571 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28573 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28574 of individual tests.
28575 (casin_test): Likewise.
28576 (casinh_test): Likewise.
28578 2013-04-27 Joseph Myers <joseph@codesourcery.com>
28581 * math/s_catan.c (__catan): Handle arguments with large real or
28582 imaginary part separately without squaring.
28583 * math/s_catanf.c (__catanf): Likewise.
28584 * math/s_catanh.c (__catanh): Likewise.
28585 * math/s_catanhf.c (__catanhf): Likewise.
28586 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28588 (__catanhl): Handle arguments with large real or imaginary part
28589 separately without squaring.
28590 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28592 (__catanl): Handle arguments with large real or imaginary part
28593 separately without squaring.
28594 * math/libm-test.inc (catan_test): Add more tests.
28595 (catanh_test): Likewise.
28596 * sysdeps/i386/fpu/libm-test-ulps: Update.
28597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28599 2013-04-27 Andreas Jaeger <aj@suse.de>
28602 * stdlib/stdlib.h: Update guards for qecvt.
28603 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28606 2013-04-27 Allan McRae <allan@archlinux.org>
28608 * sysdeps/i386/fpu/libm-test-ulps: Update.
28610 2013-04-26 Joseph Myers <joseph@codesourcery.com>
28613 * math/s_catan.c: Include <float.h>.
28614 (__catan): Ensure underflow exception occurs for underflowed
28616 * math/s_catanf.c: Include <float.h>.
28617 (__catanf): Ensure underflow exception occurs for underflowed
28619 * math/s_catanh.c: Include <float.h>.
28620 (__catanh): Ensure underflow exception occurs for underflowed
28622 * math/s_catanhf.c: Include <float.h>.
28623 (__catanhf): Ensure underflow exception occurs for underflowed
28625 * math/s_catanhl.c: Include <float.h>.
28626 (__catanhl): Ensure underflow exception occurs for underflowed
28628 * math/s_catanl.c: Include <float.h>.
28629 (__catanl): Ensure underflow exception occurs for underflowed
28631 * math/libm-test.inc (catan_test): Add more tests.
28632 (catanh_test): Likewise.
28635 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28636 underflowed result.
28637 * math/s_ccoshf.c (__ccoshf): Likewise.
28638 * math/s_ccoshl.c (__ccoshl): Likewise.
28639 * math/s_csin.c (__csin): Likewise.
28640 * math/s_csinf.c (__csinf): Likewise.
28641 * math/s_csinh.c (__csinh): Likewise.
28642 * math/s_csinhf.c (__csinhf): Likewise.
28643 * math/s_csinhl.c (__csinhl): Likewise.
28644 * math/s_csinl.c (__csinl): Likewise.
28645 * math/libm-test.inc (ccos_test): Add more tests.
28646 (ccosh_test): Likewise.
28647 (csin_test): Likewise.
28648 (csinh_test): Likewise.
28650 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28652 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28653 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28654 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28655 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28656 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28657 powerpc/power5+/fpu folders.
28658 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28661 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28665 2013-04-25 Joseph Myers <joseph@codesourcery.com>
28667 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28668 additions to variable.
28669 [$(config-machine) = x86_64] (modules-names): Likewise.
28670 ($(objpfx)tst-audit3): Remove dependency.
28671 ($(objpfx)tst-audit3.out): Likewise.
28672 ($(objpfx)tst-audit4): Likewise.
28673 ($(objpfx)tst-audit4.out): Likewise.
28674 ($(objpfx)tst-audit5): Likewise.
28675 ($(objpfx)tst-audit5.out): Likewise.
28676 ($(objpfx)tst-audit6): Likewise.
28677 ($(objpfx)tst-audit6.out): Likewise.
28678 ($(objpfx)tst-audit7): Likewise.
28679 ($(objpfx)tst-audit7.out): Likewise.
28680 (tst-audit3-ENV): Remove variable.
28681 (tst-audit4-ENV): Likewise.
28682 (tst-audit5-ENV): Likewise.
28683 (tst-audit6-ENV): Likewise.
28684 (tst-audit7-ENV): Likewise.
28685 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28686 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28687 addition to variable.
28688 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28689 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28690 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28691 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28692 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28693 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28694 tst-audit3, tst-audit4 and tst-audit5.
28695 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28696 tst-audit6 and tst-audit7.
28697 [$(subdir) = elf] (modules-names): Add audit modules for those
28699 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28700 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28701 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28702 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28703 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28704 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28705 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28706 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28707 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28708 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28709 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28710 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28711 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28712 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28713 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28714 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28716 [$(subdir) = elf && $(config-cflags-avx) = yes]
28717 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28718 [$(subdir) = elf && $(config-cflags-avx) = yes]
28719 (CFLAGS-tst-auditmod4a.c): Likewise.
28720 [$(subdir) = elf && $(config-cflags-avx) = yes]
28721 (CFLAGS-tst-auditmod4b.c): Likewise.
28722 [$(subdir) = elf && $(config-cflags-avx) = yes]
28723 (CFLAGS-tst-auditmod6b.c): Likewise.
28724 [$(subdir) = elf && $(config-cflags-avx) = yes]
28725 (CFLAGS-tst-auditmod6c.c): Likewise.
28726 [$(subdir) = elf && $(config-cflags-avx) = yes]
28727 (CFLAGS-tst-auditmod7b.c): Likewise.
28728 * elf/tst-audit3.c: Move to ...
28729 * sysdeps/x86_64/tst-audit3.c: ... here.
28730 * elf/tst-audit4.c: Move to ...
28731 * sysdeps/x86_64/tst-audit4.c: ... here.
28732 * elf/tst-audit5.c: Move to ...
28733 * sysdeps/x86_64/tst-audit5.c: ... here.
28734 * elf/tst-audit6.c: Move to ...
28735 * sysdeps/x86_64/tst-audit6.c: ... here.
28736 * elf/tst-audit7.c: Move to ...
28737 * sysdeps/x86_64/tst-audit7.c: ... here.
28738 * elf/tst-auditmod3a.c: Move to ...
28739 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28740 * elf/tst-auditmod3b.c: Move to ...
28741 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28742 * elf/tst-auditmod4a.c: Move to ...
28743 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28744 * elf/tst-auditmod4b.c: Move to ...
28745 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28746 * elf/tst-auditmod5a.c: Move to ...
28747 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28748 * elf/tst-auditmod5b.c: Move to ...
28749 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28750 * elf/tst-auditmod6a.c: Move to ...
28751 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28752 * elf/tst-auditmod6b.c: Move to ...
28753 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28754 * elf/tst-auditmod6c.c: Move to ...
28755 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28756 * elf/tst-auditmod7a.c: Move to ...
28757 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28758 * elf/tst-auditmod7b.c: Move to ...
28759 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28761 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28764 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28765 define unconditionally.
28766 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28767 define unconditionally.
28768 (INT8_C, INT16_C, etc.): Likewise.
28770 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28772 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28773 __ehdr_start with hidden visibility.
28775 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28777 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28779 * math/libm-test.inc (cos_test): Use accurate hex constants.
28780 (sincost_test): Likewise.
28782 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28784 * math/libm-test.inc (catan_test): Add more tests.
28785 (catanh_test): Likewise.
28787 * math/s_catanf.c (__catanf): Use suffixed floating-point
28789 * math/s_catanhf.c (__catanhf): Likewise.
28790 * math/s_catanhl.c (__catanhl): Likewise.
28791 * math/s_catanl.c (__catanl): Likewise.
28794 * math/s_catan.c (__catan): Calculate imaginary part of result
28795 with log1p not log unless computing log of number close to 0.
28796 * math/s_catanf.c (__catanf): Likewise.
28797 * math/s_catanl.c (__catanl): Likewise.
28798 * math/s_catanh.c (__catanh): Calculate real part of result with
28799 log1p not log unless computing log of number close to 0.
28800 * math/s_catanhf.c (__catanhf): Likewise.
28801 * math/s_catanhl.c (__catanhl): Likewise.
28802 * math/libm-test.inc (catan_test): Add more tests.
28803 (catanh_test): Likewise.
28804 * sysdeps/i386/fpu/libm-test-ulps: Update.
28805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28807 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28809 * benchtests/Makefile: Mention files in which fast and slow
28810 paths of math functions are implemented.
28812 2013-04-23 Roland McGrath <roland@hack.frob.com>
28814 * sysdeps/posix/timespec_get.c: New file.
28816 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28818 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28820 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28822 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28823 powerpc/power5/fpu folders.
28824 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28825 * benchtests/Makefile: Add modf testcase.
28826 * benchtests/bench-modf.c: New file: Benchmark test for mo
28828 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28831 * time/Makefile (tests): Add tst-strptime-whitespace.
28832 * time/strptime_l.c (get_number): Use ISSPACE.
28833 (__strptime_internal): Likewise.
28834 * time/tst-strptime-whitespace.c: New test case.
28836 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28838 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28840 (_nss_files_init): Set it here.
28842 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28844 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28845 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28848 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28850 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28852 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28854 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28857 2013-04-21 David S. Miller <davem@davemloft.net>
28859 * po/ru.po: Update Russion translation from translation project.
28861 2013-04-17 Adam Conrad <adconrad@0c3.net>
28863 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28866 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28868 * configure.in: Remove i386 configure warning. Remove i386 case.
28869 * configure: Regenerate.
28870 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28871 Add example to error message.
28872 * sysdeps/i386/configure: Regenerate.
28874 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28876 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28878 * benchtests/cos-inputs: New file.
28879 * benchtests/slowcos-inputs: New file.
28880 * benchtests/slowcos.c: New file.
28881 * benchtests/slowtan-inputs: New file.
28882 * benchtests/slowtan.c: New file.
28883 * benchtests/tan-inputs: New file.
28885 2013-04-16 Roland McGrath <roland@hack.frob.com>
28887 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28890 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28892 * benchtests/Makefile: Include cppflags-iterator.mk to add
28893 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28895 * Makefile.in (bench-clean): New target.
28896 * benchtests/Makefile (bench-clean): Likewise.
28898 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28900 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28902 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28904 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28906 2013-04-15 Andreas Schwab <schwab@suse.de>
28908 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28910 * nscd/pwdcache.c (cache_addpw): Likewise.
28911 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28914 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28916 * benchtests/Makefile (bench): Write all output to
28917 bench-out.tmp together.
28919 2013-04-15 Andreas Schwab <schwab@suse.de>
28921 * nscd/nscd.c (main): Don't fork again after closing files.
28923 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28925 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28927 * benchtests/Rules (bench-deps): Collect dependencies into a
28928 single variable. Add Makefile to dependencies.
28929 ($(objpfx)bench-%.c): Depend on bench-deps.
28931 2013-04-12 Roland McGrath <roland@hack.frob.com>
28932 Xavier Roche <roche+kml2@exalead.com>
28935 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28936 just that it's a file descriptor.
28937 * manual/llio.texi (Synchronizing AIO Operations): Update description
28938 for EBADF error from aio_fsync.
28940 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28942 * Rules (bench): Move target definition...
28943 * benchtests/Makefile: ... here.
28945 2013-04-11 Carlos O'Donell <carlos@redhat.com>
28947 * math/libm-test.inc (cos_test): Fix PI/2 test.
28948 (sincos_test): Likewise.
28949 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28950 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28952 2013-04-11 Andreas Schwab <schwab@suse.de>
28955 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28956 accept exponent character only when digits were seen.
28957 * stdio-common/Makefile (tests): Add bug26.
28958 * stdio-common/bug26.c: New file.
28961 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28964 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28966 * Makeconfig (rtld-prefix): Define built linker prefix.
28967 * Rules (run-bench): Use it.
28968 * math/Makefile (run-regen-ulps): Likewise.
28970 * Rules (bench): Remove eval.
28972 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28973 Roland McGrath <roland@hack.frob.com>
28974 Ondrej Bilka <neleai@seznam.cz>
28977 * time/getdate.c: Include ctype.h and alloca.h.
28978 (__getdate_r): Trim leading and trailing spaces of input.
28979 * time/tst-getdate.c (tests): Add tests with leading and
28982 2013-04-08 Roland McGrath <roland@hack.frob.com>
28985 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28986 when computing value.
28988 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28990 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28991 Use testrun.sh to run libm tests.
28994 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28996 2013-04-06 Marko Myllynen <myllynen@redhat.com>
28999 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29001 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29003 * Makefile.in (regen-ulps): New target.
29004 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29005 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29006 [ifneq (no,$(PERL)] (regen-ulps): New target.
29007 [ifeq (no,$(PERL)] (regen-ulps): New target.
29008 * math/libm-test.inc (ulps_file_name): Define.
29009 (output_dir): New variable.
29010 (options): Add "output-dir" option.
29011 (parse_opt): Handle 'o' case.
29012 (main): If output_dir is non-NULL use it as a prefix
29014 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29016 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29018 [BZ #10060, #10062]
29019 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29020 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29021 fail configure if __sync_val_compare_and_swap is not inlined.
29022 * sysdeps/i386/configure: Regenerate.
29023 * configure.in: Build for i686 when configured for i386.
29024 * configure: Regenerate.
29025 * README: Remove i386 reference.
29027 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29029 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29030 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29032 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29034 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29035 (lmsnanval): New variables.
29036 (F): Add conversion tests.
29037 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29038 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29040 * stdio-common/tstdiomisc.c (F): Properly collect individual
29043 [BZ #14686, #15336]
29044 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29045 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29046 Instead, use input NaN values or generate a qNaN by arithmetic
29047 operation. Also fix bugs to comply with the standard.
29048 * math/libm-test.inc (remainder_test): Add more tests.
29050 [BZ #15335, #15342]
29051 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29052 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29053 input NaN values or generate a qNaN by arithmetic operation.
29055 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29058 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29061 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29064 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29065 underflowed result.
29066 * math/s_cexpf.c (__cexpf): Likewise.
29067 * math/s_cexpl.c (__cexpl): Likewise.
29068 * math/libm-test.inc (cexp_test): Add more tests.
29070 2013-04-03 Andreas Schwab <schwab@suse.de>
29073 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29074 order arrays from heap if bigger than alloca cutoff.
29076 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29078 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29079 (SNAN_TESTS_double): Refer to GCC PR56831.
29080 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29083 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29085 * Rules (bench): Move bench.out after the run is complete.
29087 * Rules (bench): Echo currently running benchmark.
29089 * benchtests/Makefile (bench): Add atan and slowatan.
29090 * benchtests/atan-inputs: New file.
29091 * benchtests/slowatan-inputs: New file.
29092 * benchtests/slowatan.c: New file.
29094 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29099 * sysdeps/unix/sysv/linux/kernel-features.h
29100 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29101 __ASSUME_XFS_RESTRICTED_CHOWN.
29102 * sysdeps/unix/sysv/linux/pathconf.c
29103 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29104 Save and restore errno.
29106 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29109 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29110 arguments using __kernel_casinh.
29111 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29112 arguments using __kernel_casinhf.
29113 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29114 arguments using __kernel_casinhl.
29115 * math/libm-test.inc (cacosh_test): Add more tests.
29116 * sysdeps/i386/fpu/libm-test-ulps: Update.
29117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29119 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29121 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29124 * bench/Makefile (bench): Add sin and slowsin.
29125 * benchtests/sin-inputs: New file.
29126 * benchtests/slowsin-inputs: New file.
29127 * benchtests/slowsin.c: New file.
29129 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29130 (bench): Add slowexp and slowpow.
29131 (exp-ITER): Increase iterations.
29132 (pow-ITER): Likewise.
29133 * benchtests/exp-inputs: Change input.
29134 * benchtests/pow-inputs: Likewise.
29135 * benchtests/slowexp-inputs: New file.
29136 * benchtests/slowexp.c: New file.
29137 * benchtests/slowpow-inputs: New file.
29138 * benchtests/slowpow.c: New file.
29140 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29142 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29144 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29145 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29146 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29147 * benchtests/Makefile: Add rint benchtest.
29148 * benchtests/rint-inputs: Input for rint benchtest.
29150 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29152 * Versions.def (libm): Add GLIBC_2.18.
29153 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29154 hidden libm prototypes.
29155 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29156 * math/Makefile (libm-calls): Add s_issignaling.
29157 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29158 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29159 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29161 * math/math.h [__USE_GNU] (issignaling): New macro.
29162 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29163 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29165 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29168 * manual/arith.texi (issignaling): New section.
29169 * manual/libm-err-tab.pl (@all_functions): Update comment.
29170 * math/gen-libm-test.pl (parse_args): Apply special handling for
29172 * math/libm-test.inc (print_float, issignaling_test): New
29174 (check_float_internal): Add issignaling checks.
29175 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29176 default definition.
29177 * sysdeps/powerpc/math-tests.h: New file.
29178 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29180 * math/test-snan.c (TEST_FUNC): Likewise.
29182 2013-03-30 David S. Miller <davem@davemloft.net>
29184 * po/de.po: Update from translation team.
29186 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29189 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29190 imaginary part less than 1.0 and real part less than 0.5
29192 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29193 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29194 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29195 (cacos_test): Add more tests.
29196 (casin_test): Likewise.
29197 (casinh_test): Likewise.
29198 * sysdeps/i386/fpu/libm-test-ulps: Update.
29199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29201 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29203 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29204 ONE with its value.
29206 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29207 (__pow_mp): Replace ONE and MONE with their values.
29208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29209 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29210 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29211 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29212 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29213 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29215 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29217 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29218 (__pow_mp): Replace ZERO and MZERO with their values.
29219 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29220 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29221 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29223 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29224 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29227 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29229 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29231 2013-03-28 Roland McGrath <roland@hack.frob.com>
29233 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29234 Declare with __attribute__ ((weak)).
29235 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29236 Call __call_tls_dtors only if it's not NULL.
29238 2013-03-28 Roland McGrath <roland@hack.frob.com>
29240 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29241 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29242 magic __ehdr_start linker symbol if it's defined.
29243 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29244 them up here if it was already done.
29246 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29247 (_dl_aux_init): Use const in cast when setting it.
29248 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29249 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29250 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29252 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29254 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29255 * csu/libc-tls.c: Nor here.
29256 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29258 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29259 (__libc_message): Never call vsyslog.
29261 2013-03-28 Alan Modra <amodra@gmail.com>
29263 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29265 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29268 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29271 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29275 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29278 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29279 Don't add gid passed as argument.
29281 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29283 2013-03-27 Joseph Myers <joseph@codesourcery.com>
29286 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29287 imaginary part between 1.0 and 1.5 and real part less than 0.5
29289 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29290 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29291 * math/libm-test.inc (cacos_test): Add more tests.
29292 (casin_test): Likewise.
29293 (casinh_test): Likewise.
29294 * sysdeps/i386/fpu/libm-test-ulps: Update.
29295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29297 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29299 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29302 (denorm): Likewise.
29303 (__dbl_mp): Likewise.
29304 (add_magnitudes): Likewise.
29305 (sub_magnitudes): Likewise.
29313 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29315 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29316 (__dubcos): Likewise.
29317 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29318 (__ieee754_acos): Likewise.
29319 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29320 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29321 (__exp1): Likewise.
29322 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29323 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29325 (my_log2): Likewise.
29326 (checkint): Likewise.
29327 * sysdeps/ieee754/dbl-64/e_remainder.c
29328 (__ieee754_remainder): Likewise.
29329 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29330 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29331 (bsloww): Likewise.
29332 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29334 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29335 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29336 MANTISSA_STORE_T to store computations on mantissa. Use
29337 macros for rounding and division.
29338 (denorm): Likewise.
29339 (__dbl_mp): Likewise.
29340 (add_magnitudes): Likewise.
29341 (sub_magnitudes): Likewise.
29344 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29345 powers of two in terms of TWOPOW macro.
29346 (mp_no): Make type of mantissa as MANTISSA_T.
29347 [!RADIXI]: Define RADIXI.
29348 [!TWO52]: Define TWO52.
29349 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29351 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29353 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29354 llroundl symbol when building for PPC32.
29356 2013-03-24 Mark H Weaver <mhw@netris.org>
29358 * manual/arith.texi (Normalization Functions): Fix prototypes for
29359 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29361 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29365 high value to check if expl overflow.
29366 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29367 to check for underflow and overflow.
29368 * math/libm-test.inc: Add exp test.
29370 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29373 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29376 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29378 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29381 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29383 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29384 wrap blocks consisting of several statements.
29386 * sysdeps/generic/math-tests.h: New file.
29387 * sysdeps/i386/fpu/math-tests.h: Likewise.
29388 * math/test-snan.c: Include it.
29389 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29391 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29394 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29395 (__ieee754_j0l): Do not improve calculations using cos of twice
29396 input for inputs above LDBL_MAX / 2.0L.
29397 (__ieee754_y0l): Likewise.
29398 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29399 (__ieee754_j1l): Do not improve calculations using cos of twice
29400 input for inputs above LDBL_MAX / 2.0L.
29401 (__ieee754_y1l): Likewise.
29402 * math/libm-test.inc (j0_test): Add another test.
29403 (j1_test): Likewise.
29404 (y0_test): Likewise.
29405 (y1_test): Likewise.
29406 * sysdeps/i386/fpu/libm-test-ulps: Update.
29408 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29410 * Rules ($(objpfx)bench-%.c): Include code from a C source
29413 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29416 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29417 imaginary part 1.0 and real part less than 0.5 specially.
29418 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29419 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29420 * math/libm-test.inc (cacos_test): Add more tests.
29421 (casin_test): Likewise.
29422 (casinh_test): Likewise.
29423 * sysdeps/i386/fpu/libm-test-ulps: Update.
29424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29426 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29428 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29429 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29431 2013-03-20 Joseph Myers <joseph@codesourcery.com>
29433 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29434 * config.make.in (config-cflags-sse4): Remove variable.
29435 (config-cflags-avx): Likewise.
29436 (config-cflags-sse2avx): Likewise.
29437 (config-cflags-novzeroupper): Likewise.
29438 (config-asflags-i686): Likewise.
29439 (have-mfma4): Likewise.
29440 (have-as-vis3): Likewise.
29442 * configure.in (MIG): Do not AC_SUBST.
29443 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29444 (libc_cv_cc_sse4): Do not AC_SUBST.
29445 (libc_cv_cc_avx): Likewise.
29446 (libc_cv_cc_sse2avx): Likewise.
29447 (libc_cv_cc_novzeroupper): Likewise.
29448 (libc_cv_cc_fma4): Likewise.
29449 (libc_cv_as_i686): Likewise.
29450 (libc_cv_sparc_as_vis3): Likewise.
29451 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29453 (config-asflags-i686): Likewise.
29454 (config-cflags-avx): Likewise.
29455 (config-cflags-sse2avx): Likewise.
29456 (have-mfma4): Likewise.
29457 (config-cflags-novzeroupper): Likewise.
29458 * sysdeps/mach/configure.in (MIG): Likewise.
29459 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29460 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29462 (config-cflags-avx): Likewise.
29463 (config-cflags-sse2avx): Likewise.
29464 (have-mfma4): Likewise.
29465 (config-cflags-novzeroupper): Likewise.
29466 * configure: Regenerated.
29467 * sysdeps/i386/configure: Likewise.
29468 * sysdeps/mach/configure: Likewise.
29469 * sysdeps/sparc/configure: Likewise.
29470 * sysdeps/x86_64/configure: Likewise.
29472 2013-03-20 Roland McGrath <roland@hack.frob.com>
29475 * locale/programs/localedef.c (options): Put N_ translation marker
29476 on argument names, not just descriptions.
29478 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29480 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29482 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
29485 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29487 2013-03-19 Roland McGrath <roland@hack.frob.com>
29489 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29490 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29491 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29492 [!BEFORE_ABORT] (before_abort): New function.
29493 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29494 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29495 (writev_for_fatal): New function.
29496 (WRITEV_FOR_FATAL): New macro; call that.
29497 (backtrace_and_maps): New function.
29498 (BEFORE_ABORT): New macro; call that.
29499 (struct str_list): Type removed.
29500 (__libc_message, __libc_fatal): Functions removed.
29501 Include <sysdeps/posix/libc_fatal.c> instead.
29503 2013-03-19 Joseph Myers <joseph@codesourcery.com>
29505 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29507 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29510 2013-03-19 Andreas Schwab <schwab@suse.de>
29512 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29513 * sysdeps/gnu/configure: Regenerate.
29515 * configure.in: Substitute libc_cv_rtlddir.
29516 * configure: Regenerate.
29517 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29518 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29519 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29520 * elf/Makefile (install-others, CFLAGS-interp.c)
29521 (ldso_install, common-ldd-rewrite): Likewise.
29522 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29523 $(inst_slibdir)/$(rtld-installed-name).
29524 * scripts/rellns-sh: Add -p option.
29525 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29528 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29530 * manual/nptl.texi: Renamed to ...
29531 * manual/threads.texi: ... this.
29532 * manual/Makefile (chapters): Update.
29534 2013-03-18 Roland McGrath <roland@hack.frob.com>
29537 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29538 on argument names, not just descriptions.
29539 * malloc/memusagestat.c (options): Likewise.
29540 * nss/getent.c (options): Likewise.
29542 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
29545 * iconv/iconv_prog.c (options): Put N_ translation marker
29546 on argument names, not just descriptions.
29547 * iconv/iconvconfig.c (options): Likewise.
29549 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
29551 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29552 implementation which is faster on all x86_64 architectures.
29553 Tested on AMD, Intel Nehalem, SNB, IVB.
29554 * sysdeps/x86_64/strnlen.S: Likewise.
29556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29557 Remove all multiarch strlen and strnlen versions.
29558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29559 Remove strlen and strnlen related parts.
29561 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29562 Inline strlen part.
29563 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29565 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29566 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29567 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29568 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29569 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29570 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29572 2013-03-17 Carlos O'Donell <carlos@redhat.com>
29574 * manual/memory.texi (Malloc Tunable Parameters):
29575 Sort parameters alphabetically. Add comments for missing entries.
29577 2013-03-17 David S. Miller <davem@davemloft.net>
29579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29581 2013-03-16 Joseph Myers <joseph@codesourcery.com>
29584 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29585 for arguments at most half maximum finite value.
29586 * math/libm-test.inc (j0_test): Add more tests.
29587 (j1_test): Likewise.
29588 (y0_test): Likewise.
29589 (y1_test): Likewise.
29590 * sysdeps/i386/fpu/libm-test-ulps: Update.
29591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29594 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29595 1 / x and functions P and Q for arguments above 0x1p256L.
29596 (__ieee754_y0l): Likewise.
29597 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29598 (__ieee754_y1l): Likewise.
29599 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29600 (j1_test): Likewise.
29601 (y0_test): Likewise.
29602 (y1_test): Likewise.
29604 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29606 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29609 2013-03-15 Roland McGrath <roland@hack.frob.com>
29611 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29612 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29613 zero since it's initialized to EXEC_PAGESIZE.
29615 * sysdeps/unix/sysv/linux/ldsodefs.h
29616 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29617 * sysdeps/generic/ldsodefs.h: ... here.
29619 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29621 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29623 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29625 * math/test-snan.c: Renamed from
29626 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29627 * math/Makefile (tests): Add test-snan.
29628 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29631 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29632 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29634 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29635 __builtin_nan family of functions.
29636 * math/libm-test.inc (initialize): Initialize qnan_value with
29637 __builtin_nan family of functions.
29638 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29640 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29642 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29643 storage class. Initialize qNaN_var and sNaN_var with
29644 __builtin_nan and __builtin_nans families of functions,
29647 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29648 (sqrt_test): Remove duplicate test with qNaN input.
29649 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29650 (round_test, signbit_test, significand_test): Note missing +/-Inf
29651 as well as qNaN tests.
29653 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29654 qNaN_var. Fix a few strings, too.
29655 * math/libm-test.inc (nan_value): Rename to qnan_value.
29656 * math/gen-libm-test.pl (%beautify): Adjust to that.
29657 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29658 * math/test-misc.c (main): Likewise.
29659 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29660 to __qnan_bytes, and __qnan_union, respectively.
29661 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29663 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29664 and lqnanval, respectively.
29665 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29666 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29667 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29668 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29670 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29671 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29674 * math/test-misc.c (main): Fix copy'n'pastos.
29675 * misc/tst-efgcvt.c (special): Likewise.
29677 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29678 Remove declarations.
29680 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29682 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29683 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29684 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29685 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29687 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29689 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29690 macro to return vdso values correctly in IFUNC implementations.
29691 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29692 Optimization by using IFUNC.
29694 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29695 Richard Henderson <rth@redhat.com>
29696 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29698 * Makefile.in (bench): New target.
29699 * NEWS: Mention the benchmark framework.
29700 * Rules (bench): Likewise.
29701 (binaries-bench): Generate binaries for functions to
29703 * benchtests/Makefile: New makefile for benchmark tests.
29704 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29706 * benchtests/exp-inputs: New input file for EXP function.
29707 * benchtests/pow-inputs: New input file for POW function.
29708 * scripts/bench.pl: New script to generate source files for
29709 benchmark programs.
29711 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29713 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29714 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29715 computations on mantissa. Use macros for rounding and
29717 (denorm): Likewise.
29718 (__dbl_mp): Likewise.
29719 (add_magnitudes): Likewise.
29720 (sub_magnitudes): Likewise.
29723 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29724 powers of two in terms of TWOPOW macro.
29725 (mp_no): Make type of mantissa as MANTISSA_T.
29726 [!RADIXI]: Define RADIXI.
29727 [!TWO52]: Define TWO52.
29728 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29730 * manual/nptl.texi (cindex): Modify threads to pthreads.
29732 2013-03-15 Joseph Myers <joseph@codesourcery.com>
29734 * sysdeps/x86_64/preconfigure: Regenerated.
29736 2013-03-14 Joseph Myers <joseph@codesourcery.com>
29739 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29741 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29742 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29744 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29745 * math/libm-test.inc (j0_test): Do not allow one spurious
29746 underflow exception.
29747 (y1_test): Likewise.
29749 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29751 * manual/Makefile (chapters): Add nptl.
29752 * manual/debug.texi (Debugging Support): Add link to Threads
29754 * manual/nptl.texi: New file.
29756 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29758 2013-03-14 Petr Baudis <pasky@ucw.cz>
29760 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29761 for non-NULL pointer before the memory validity test. Pointed
29762 out by Holger Brunck <holger.brunck@keymile.com>.
29764 2013-03-13 Andreas Schwab <schwab@suse.de>
29766 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29769 2013-03-13 Joseph Myers <joseph@codesourcery.com>
29771 * timezone/zic.c: Update from tzcode 2013b.
29773 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29775 * manual/install.texi (Configuring and compiling):
29776 Mention i686 and i586.
29777 * INSTALL: Regenerate.
29779 2013-03-12 Roland McGrath <roland@hack.frob.com>
29781 * sysdeps/init_array/elf-init.c: New file.
29783 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29784 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29786 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29787 __gmon_start__ as global, but as static with a .preinit_array pointer.
29788 * sysdeps/init_array/gmon-start.c: New file. Use that.
29789 * sysdeps/init_array/crti.S: New file, empty except for comments.
29790 * sysdeps/init_array/crtn.S: Likewise.
29792 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29794 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29797 Remove Prefer_SSE_for_memop.
29798 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29799 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29800 HAS_PREFER_SSE_FOR_MEMOP.
29801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29804 Remove bzero, memset ifunc support.
29805 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29806 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29807 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29808 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29810 2013-03-11 Andreas Schwab <schwab@suse.de>
29813 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29816 (GLIBC_2.16): Remove pthread_atfork.
29818 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29820 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29821 (ptestcases.h): Likewise.
29823 2013-03-08 Roland McGrath <roland@hack.frob.com>
29825 * Makeconfig ($(common-objpfx)config.status): Depend on
29826 sysdeps/*/preconfigure{,.in} too.
29828 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29830 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29831 (__free_hook): Use void * instead of __malloc_ptr_t.
29832 (__malloc_hook): Likewise.
29833 (__realloc_hook): Likewise.
29834 (__memalign_hook): Likewise.
29835 (__after_morecore_hook): Likewise.
29836 * malloc/arena.c (save_malloc_hook): Likewise.
29837 (save_free_hook): Likewise.
29838 * malloc/hooks.c (malloc_hook_ini): Likewise.
29839 (realloc_hook_ini): Likewise.
29840 (memalign_hook_ini): Likewise.
29841 * malloc/malloc.c (malloc_hook_ini): Likewise.
29842 (realloc_hook_ini): Likewise.
29843 (memalign_hook_ini): Likewise.
29844 (__free_hook): Likewise.
29845 (__malloc_hook): Likewise.
29846 (__realloc_hook): Likewise.
29847 (__memalign_hook): Likewise.
29848 (__libc_malloc): Likewise.
29849 (__libc_free): Likewise.
29850 (__libc_realloc): Likewise.
29851 (__libc_memalign): Likewise.
29852 (__libc_valloc): Likewise.
29853 (__libc_pvalloc): Likewise.
29854 (__libc_calloc): Likewise.
29855 (__posix_memalign): Likewise.
29856 * malloc/morecore.c (__sbrk): Likewise.
29857 (__default_morecore): Likewise.
29859 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29861 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29862 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29863 __malloc_ptrdiff_t.
29865 * malloc/malloc.h (__malloc_size_t): Remove macro.
29866 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29868 (old_memalign_hook): Likewise.
29869 (old_realloc_hook): Likewise.
29870 (struct hdr): Likewise.
29872 (mallochook): Likewise.
29873 (memalignhook): Likewise.
29874 (reallochook): Likewise.
29875 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29876 (tr_old_realloc_hook): Likewise.
29877 (tr_old_memalign_hook): Likewise.
29878 (tr_mallochook): Likewise.
29879 (tr_reallochook): Likewise.
29880 (tr_memalignhook): Likewise.
29882 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29884 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29885 default_ldbl_pack and using as default implementation.
29886 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29888 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29889 redundant definition.
29890 (ldbl_insert_mantissa): Likewise.
29891 (ldbl_canonicalize): Likewise.
29892 (ldbl_nearbyint): Likewise.
29893 (ldbl_pack): Rename to ldbl_pack_ppc.
29894 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29895 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29896 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29898 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29901 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29902 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29903 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29905 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29906 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29907 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29909 2013-03-07 Andreas Jaeger <aj@suse.de>
29911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29914 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29916 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29917 Include mpa.h and declare __MPEXP.
29918 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29920 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29921 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29922 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29923 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29924 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29926 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29927 (__slowpow): Use long double EXPL and LOGL functions to
29929 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29930 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29931 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29932 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29933 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29934 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29937 intermediate variable to calculate exponent.
29939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29943 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29944 [!NO__SQR]: Define __sqr.
29945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29946 and NO__SQR. Remove all code except __mul and __sqr. Include
29947 sysdeps/ieee754/dbl-64/mpa.c.
29948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29951 * posix/Makefile (tests): Add tst-pathconf.
29952 * posix/tst-pathconf.c: New test case.
29953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29955 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29957 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
29959 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29961 2013-03-06 Andreas Jaeger <aj@suse.de>
29963 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29964 definition via __MAP_ANONYMOUS.
29966 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29967 it's not part of Linux headers.
29969 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29970 (MAP_HUGE_MASK): Define.
29972 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29974 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29975 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29977 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29978 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29980 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29981 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29983 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29985 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29986 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29987 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29988 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29989 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29990 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29992 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29995 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29996 Handle f2fs and efivarfs.
29998 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30001 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30002 (EFIVARFS_MAGIC): Add.
30003 (F2FS_LINK_MAX): Add.
30005 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30007 * stdio-common/vfprintf.c: Replace __builtin_expect with
30010 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30013 * sysdeps/generic/bp-sym.h: Remove file.
30014 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30015 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30016 <bp-sym.h> and <bp-asm.h>.
30017 (__longjmp): Don't use BP_SYM.
30018 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30020 (memcpy): Don't use BP_SYM.
30021 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30022 <bp-sym.h> and <bp-asm.h>.
30023 (memcpy): Don't use BP_SYM.
30024 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30026 (memcpy): Don't use BP_SYM.
30027 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30029 (memset): Don't use BP_SYM.
30030 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30031 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30032 (__bzero): Don't use BP_SYM.
30033 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30034 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30035 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30036 <bp-sym.h> and <bp-asm.h>.
30037 (memcmp): Don't use BP_SYM. Remove comment about bounded
30039 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30040 <bp-sym.h> and <bp-asm.h>.
30041 (memcpy): Don't use BP_SYM.
30042 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30043 <bp-sym.h> and <bp-asm.h>.
30044 (memset): Don't use BP_SYM.
30045 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30046 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30047 (__bzero): Don't use BP_SYM.
30048 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30049 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30050 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30051 <bp-sym.h> and <bp-asm.h>.
30052 (strncmp): Don't use BP_SYM. Remove comment about bounded
30054 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30055 <bp-sym.h> and <bp-asm.h>.
30056 (memcpy): Don't use BP_SYM.
30057 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30058 <bp-sym.h> and <bp-asm.h>.
30059 (memset): Don't use BP_SYM.
30060 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30061 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30062 (__bzero): Don't use BP_SYM.
30063 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30064 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30065 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30066 <bp-sym.h> and <bp-asm.h>.
30067 (__memchr): Don't use BP_SYM.
30068 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30069 <bp-sym.h> and <bp-asm.h>.
30070 (memcmp): Don't use BP_SYM. Remove comment about bounded
30072 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30073 <bp-sym.h> and <bp-asm.h>.
30074 (memcpy): Don't use BP_SYM.
30075 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30076 <bp-sym.h> and <bp-asm.h>.
30077 (__mempcpy): Don't use BP_SYM.
30078 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30079 <bp-sym.h> and <bp-asm.h>.
30080 (__memrchr): Don't use BP_SYM.
30081 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30082 <bp-sym.h> and <bp-asm.h>.
30083 (memset): Don't use BP_SYM.
30084 (__bzero): Likewise.
30085 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30086 <bp-sym.h> and <bp-asm.h>.
30087 (__rawmemchr): Don't use BP_SYM.
30088 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30089 <bp-sym.h> and <bp-asm.h>.
30090 (__STRCMP): Don't use BP_SYM.
30091 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30092 <bp-sym.h> and <bp-asm.h>.
30093 (strchr): Don't use BP_SYM.
30094 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30095 <bp-sym.h> and <bp-asm.h>.
30096 (__strchrnul): Don't use BP_SYM.
30097 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30098 <bp-sym.h> and <bp-asm.h>.
30099 (strlen): Don't use BP_SYM.
30100 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30101 <bp-sym.h> and <bp-asm.h>.
30102 (strncmp): Don't use BP_SYM. Remove comment about bounded
30104 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30105 <bp-sym.h> and <bp-asm.h>.
30106 (__strnlen): Don't use BP_SYM.
30107 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30108 <bp-sym.h> and <bp-asm.h>.
30109 (__GI__setjmp): Don't use BP_SYM.
30110 (_setjmp): Likewise.
30111 (__sigsetjmp): Likewise.
30112 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30113 (L(start_addresses)): Don't use BP_SYM.
30114 (_start): Likewise.
30115 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30117 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30118 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30119 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30120 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30121 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30123 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30124 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30125 about bounded pointers.
30126 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30127 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30128 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30130 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30131 about bounded pointers. Remove GKM FIXME comments.
30132 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30133 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30135 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30136 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30137 Remove GKM FIXME comments.
30138 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30139 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30140 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30142 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30143 about bounded pointers. Remove GKM FIXME comment.
30144 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30146 (strncmp): Don't use BP_SYM. Remove comment about bounded
30148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30149 <bp-sym.h> and <bp-asm.h>.
30150 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30152 <bp-sym.h> and <bp-asm.h>.
30153 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30156 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30158 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30161 2013-03-05 David S. Miller <davem@davemloft.net>
30163 * po/es.po: Update from translation team.
30165 2013-03-05 Andreas Jaeger <aj@suse.de>
30167 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30168 <bits/mman-linux.h>.
30169 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30171 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30172 <bits/mman-linux.h> to end of file.
30173 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30175 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30176 <bits/mman-linux.h> to end of file.
30177 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30179 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30180 <bits/mman-linux.h> to end of file.
30182 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30183 (MCL_CURRENT, MCL_FUTURE): Define here.
30185 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30188 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30190 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30192 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30194 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30195 fourth parameter needed for rt_sigprocmask syscall.
30196 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30197 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30198 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30199 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30200 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30201 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30203 2013-03-04 Joseph Myers <joseph@codesourcery.com>
30206 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30207 comment about bounded pointers.
30208 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30209 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30211 2013-03-04 Andreas Jaeger <aj@suse.de>
30213 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30214 common definitions.
30216 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30217 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30218 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30219 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30220 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30221 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30223 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30226 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30227 __ieee754_sqrl instead of __sqrl.
30229 2013-03-01 Joseph Myers <joseph@codesourcery.com>
30231 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30232 * sysdeps/powerpc/fpu_control.h: ... here.
30233 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30234 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30235 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30236 * sysdeps/powerpc/bits/mathinline.h: ... here.
30238 2013-03-01 Roland McGrath <roland@hack.frob.com>
30240 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30241 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30242 to just [NEED_DL_SYSINFO_DSO].
30243 * elf/dl-support.c: Likewise.
30244 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30245 * elf/rtld.c (dl_main): Likewise.
30246 * elf/setup-vdso.h (setup_vdso): Likewise.
30247 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30248 * sysdeps/unix/sysv/linux/dl-sysdep.c
30249 (_dl_discover_osversion): Likewise.
30251 2013-03-01 Carlos O'Donell <carlos@redhat.com>
30253 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30254 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30256 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30258 * NEWS: Mention libm performance improvements and non-x86 PI
30261 * csu/libc-start.c (__pthread_initialize_minimal): Change
30262 function arguments.
30263 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30265 2013-02-28 Joseph Myers <joseph@codesourcery.com>
30268 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30269 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30270 <bp-sym.h> and <bp-asm.h>.
30271 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30272 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30274 (memcpy): Don't use BP_SYM.
30275 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30277 (__mpn_add_n): Don't use BP_SYM.
30278 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30279 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30281 (__mpn_addmul_1): Don't use BP_SYM.
30282 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30283 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30285 (_setjmp): Don't use BP_SYM.
30286 (__novmx_setjmp): Likewise.
30287 (__GI__setjmp): Likewise.
30288 (__vmx_setjmp): Likewise.
30289 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30291 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30292 (__bzero): Don't use BP_SYM.
30293 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30294 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30295 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30296 <bp-sym.h> and <bp-asm.h>.
30297 (memcpy): Don't use BP_SYM.
30298 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30299 <bp-sym.h> and <bp-asm.h>.
30300 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30301 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30302 <bp-sym.h> and <bp-asm.h>.
30303 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30304 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30306 (__mpn_lshift): Don't use BP_SYM.
30307 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30308 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30310 (memset): Don't use BP_SYM.
30311 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30312 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30313 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30315 (__mpn_mul_1): Don't use BP_SYM.
30316 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30317 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30318 <bp-sym.h> and <bp-asm.h>.
30319 (memcmp): Don't use BP_SYM.
30320 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30321 <bp-sym.h> and <bp-asm.h>.
30322 (memcpy): Don't use BP_SYM.
30323 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30324 <bp-sym.h> and <bp-asm.h>.
30325 (memset): Don't use BP_SYM.
30326 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30327 <bp-sym.h> and <bp-asm.h>.
30328 (strncmp): Don't use BP_SYM.
30329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30330 <bp-sym.h> and <bp-asm.h>.
30331 (memcpy): Don't use BP_SYM.
30332 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30333 <bp-sym.h> and <bp-asm.h>.
30334 (memset): Don't use BP_SYM.
30335 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30336 <bp-sym.h> and <bp-asm.h>.
30337 (__memchr): Don't use BP_SYM.
30338 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30339 <bp-sym.h> and <bp-asm.h>.
30340 (memcmp): Don't use BP_SYM.
30341 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30342 <bp-sym.h> and <bp-asm.h>.
30343 (memcpy): Don't use BP_SYM.
30344 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30345 <bp-sym.h> and <bp-asm.h>.
30346 (__mempcpy): Don't use BP_SYM.
30347 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30348 <bp-sym.h> and <bp-asm.h>.
30349 (__memrchr): Don't use BP_SYM.
30350 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30351 <bp-sym.h> and <bp-asm.h>.
30352 (memset): Don't use BP_SYM.
30353 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30354 <bp-sym.h> and <bp-asm.h>.
30355 (__rawmemchr): Don't use BP_SYM.
30356 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30357 <bp-sym.h> and <bp-asm.h>.
30358 (__STRCMP): Don't use BP_SYM.
30359 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30360 <bp-sym.h> and <bp-asm.h>.
30361 (strchr): Don't use BP_SYM.
30362 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30363 <bp-sym.h> and <bp-asm.h>.
30364 (__strchrnul): Don't use BP_SYM.
30365 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30366 <bp-sym.h> and <bp-asm.h>.
30367 (strlen): Don't use BP_SYM.
30368 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30369 <bp-sym.h> and <bp-asm.h>.
30370 (strncmp): Don't use BP_SYM.
30371 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30372 <bp-sym.h> and <bp-asm.h>.
30373 (__strnlen): Don't use BP_SYM.
30374 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30376 (__mpn_rshift): Don't use BP_SYM.
30377 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30378 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30379 <bp-sym.h> and <bp-asm.h>.
30380 (__sigsetjmp): Don't use BP_SYM.
30381 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30382 (L(start_addresses)): Don't use BP_SYM.
30383 (_start): Likewise.
30384 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30386 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30387 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30388 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30389 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30391 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30392 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30393 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30394 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30396 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30398 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30399 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30401 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30403 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30404 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30405 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30407 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30409 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30411 (strncmp): Don't use BP_SYM,
30412 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30414 (__mpn_sub_n): Don't use BP_SYM.
30415 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30416 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30418 (__mpn_submul_1): Don't use BP_SYM.
30419 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30421 <bp-sym.h> and <bp-asm.h>.
30422 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30424 <bp-sym.h> and <bp-asm.h>.
30425 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30428 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30431 Use ZK to minimize writes to Z.
30432 (sub_magnitudes): Simplify code a bit.
30433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30434 Use ZK to minimize writes to Z.
30435 (sub_magnitudes): Simplify code a bit.
30437 2013-02-27 Roland McGrath <roland@hack.frob.com>
30439 * csu/gmon-start.c: Add special exception to license text.
30441 2013-02-27 Richard Henderson <rth@redhat.com>
30443 * scripts/config.guess: Update from config.git.
30444 * scripts/config.sub: Likewise.
30446 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30448 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30450 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30452 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30454 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30456 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30458 2013-02-26 Roland McGrath <roland@hack.frob.com>
30460 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30461 [$(build-shared = yes].
30463 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30465 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30466 (__mul): Reduce iterations for calculating mantissa.
30468 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30470 (__mpranred): Likewise.
30473 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30474 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30476 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30478 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30479 Define __attribute__.
30481 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30483 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30485 * posix/regex_internal.h (__attribute): Remove.
30486 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30487 (re_string_context_at): Likewise.
30488 (bitset_not): Use __attribute__ and mark function as possibly
30490 (bitset_merge): Likewise.
30491 (bitset_mask): Likewise.
30492 (re_string_char_size_at): Likewise.
30493 (re_string_wchar_at): Likewise.
30494 (re_string_elem_size_at): Likewise.
30496 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30498 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30502 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30506 (denorm): Likewise.
30507 (__dbl_mp): Likewise.
30508 (add_magnitudes): Likewise.
30509 (sub_magnitudes): Likewise.
30513 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30516 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30519 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30523 up changes with default code.
30524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30527 2013-02-24 Allan McRae <allan@archlinux.org>
30529 * manual/socket.texi (The Internet Namespace): Order menu items
30530 to match that in the file.
30532 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30533 node listing of the info page menu.
30535 2013-02-21 Joseph Myers <joseph@codesourcery.com>
30538 * sysdeps/i386/bp-asm.h: Remove file.
30539 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30540 (PARMS): Do not use macros from bp-asm.h.
30544 (__mpn_add_n): Do not use BP_SYM
30545 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30547 (PARMS): Do not use macros from bp-asm.h.
30550 (__mpn_addmul_1): Do not use BP_SYM
30551 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30553 (PARMS): Do not use macros from bp-asm.h.
30554 (SIGMSK): Likewise.
30555 (_setjmp): Likewise. Do not use BP_SYM.
30556 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30558 (PARMS): Do not use macros from bp-asm.h.
30559 (SIGMSK): Likewise.
30560 (setjmp): Likewise. Do not use BP_SYM.
30561 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30563 (PARMS): Do not use macros from bp-asm.h.
30564 (__frexp): Do not use BP_SYM.
30566 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30568 (PARMS): Do not use macros from bp-asm.h.
30569 (__frexpf): Do not use BP_SYM.
30570 (frexpf): Likewise.
30571 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30573 (PARMS): Do not use macros from bp-asm.h.
30574 (__frexpl): Do not use BP_SYM.
30575 (frexpl): Likewise.
30576 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30578 (PARMS): Do not use macros from bp-asm.h.
30579 (__remquo): Do not use BP_SYM.
30580 (remquo): Likewise.
30581 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30583 (PARMS): Do not use macros from bp-asm.h.
30584 (__remquof): Do not use BP_SYM.
30585 (remquof): Likewise.
30586 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30588 (PARMS): Do not use macros from bp-asm.h.
30589 (__remquol): Do not use BP_SYM.
30590 (remquol): Likewise.
30591 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30593 (PARMS): Do not use macros from bp-asm.h.
30596 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30597 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30599 (PARMS): Do not use macros from bp-asm.h.
30600 (strlen): Do not use BP_SYM.
30601 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30603 (PARMS): Do not use macros from bp-asm.h.
30607 (__mpn_add_n): Do not use BP_SYM.
30608 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30610 (PARMS): Do not use macros from bp-asm.h.
30613 (__mpn_addmul_1): Do not use BP_SYM.
30614 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30617 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30619 (PARMS): Do not use macros from bp-asm.h.
30622 (__mpn_lshift): Do not use BP_SYM.
30623 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30625 (PARMS): Do not use macros from bp-asm.h.
30629 (memcpy): Likewise. Do not use BP_SYM.
30630 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30631 libc_hidden_def and weak_alias.
30632 (mempcpy): Do not use BP_SYM in weak_alias.
30633 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30635 (PARMS): Do not use macros from bp-asm.h.
30638 [!BZERO_P] (CHR): Likewise.
30639 (memset): Likewise. Do not use BP_SYM.
30640 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30642 (PARMS): Do not use macros from bp-asm.h.
30645 (__mpn_mul_1): Do not use BP_SYM.
30646 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30648 (PARMS): Do not use macros from bp-asm.h.
30651 (__mpn_rshift): Do not use BP_SYM.
30652 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30654 (PARMS): Do not use macros from bp-asm.h.
30657 (strchr): Likewise. Do not use BP_SYM.
30658 (index): Do not use BP_SYM in weak_alias.
30659 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30661 (PARMS): Do not use macros from bp-asm.h.
30664 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30665 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30667 (PARMS): Do not use macros from bp-asm.h.
30668 (strlen): Do not use BP_SYM.
30669 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30671 (PARMS): Do not use macros from bp-asm.h.
30675 (__mpn_sub_n): Do not use BP_SYM.
30676 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30678 (PARMS): Do not use macros from bp-asm.h.
30681 (__mpn_submul_1): Do not use BP_SYM.
30682 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30684 (PARMS): Do not use macros from bp-asm.h.
30688 (__mpn_add_n): Do not use BP_SYM.
30689 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30692 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30694 (PARMS): Do not use macros from bp-asm.h.
30697 (memcmp): Do not use BP_SYM.
30698 (bcmp): Do not use BP_SYM in weak_alias.
30699 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30701 (PARMS): Do not use macros from bp-asm.h.
30705 (memcpy): Likewise. Do not use BP_SYM.
30706 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30708 (PARMS): Do not use macros from bp-asm.h.
30712 (memmove): Likewise. Do not use BP_SYM.
30713 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30715 (PARMS): Do not use macros from bp-asm.h.
30719 (__mempcpy): Likewise. Do not use BP_SYM.
30720 (mempcpy): Do not use BP_SYM in weak_alias.
30721 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30723 (PARMS): Do not use macros from bp-asm.h.
30726 [!BZERO_P] (CHR): Likewise.
30727 (memset): Likewise. Do not use BP_SYM.
30728 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30730 (PARMS): Do not use macros from bp-asm.h.
30732 (strcmp): Do not use BP_SYM.
30733 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30735 (PARMS): Do not use macros from bp-asm.h.
30738 [USE_AS_STRTOK_R] (SAVE): Likewise.
30739 (FUNCTION): Likewise. Do not use BP_SYM.
30740 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30742 (strtok_r): Likewise.
30743 (__GI___strtok_r): Likewise.
30744 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30745 (PARMS): Do not use macros from bp-asm.h.
30748 (__mpn_lshift): Do not use BP_SYM.
30749 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30750 (PARMS): Do not use macros from bp-asm.h.
30753 (__memchr): Do not use BP_SYM.
30754 (memchr): Do not use BP_SYM in weak_alias.
30755 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30756 (PARMS): Do not use macros from bp-asm.h.
30759 (memcmp): Do not use BP_SYM.
30760 (bcmp): Do not use BP_SYM in weak_alias.
30761 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30762 (PARMS): Do not use macros from bp-asm.h.
30765 (__mpn_mul_1): Do not use BP_SYM.
30766 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30768 (PARMS): Do not use macros from bp-asm.h.
30771 (__rawmemchr): Do not use BP_SYM.
30772 (rawmemchr): Do not use BP_SYM in weak_alias.
30773 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30774 (PARMS): Do not use macros from bp-asm.h.
30777 (__mpn_rshift): Do not use BP_SYM.
30778 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30779 (PARMS): Do not use macros from bp-asm.h.
30780 (SIGMSK): Likewise.
30781 (__sigsetjmp): Likewise. Do not use BP_SYM.
30782 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30783 (_start): Do not use BP_SYM.
30784 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30785 (PARMS): Do not use macros from bp-asm.h.
30788 (__stpcpy): Likewise. Do not use BP_SYM.
30789 (stpcpy): Do not use BP_SYM in weak_alias.
30790 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30792 (PARMS): Do not use macros from bp-asm.h.
30796 (__stpncpy): Likewise. Do not use BP_SYM.
30797 (stpncpy): Do not use BP_SYM in weak_alias.
30798 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30799 (PARMS): Do not use macros from bp-asm.h.
30802 (strchr): Likewise. Do not use BP_SYM.
30803 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30805 (PARMS): Do not use macros from bp-asm.h.
30808 (__strchrnul): Likewise. Do not use BP_SYM.
30809 (strchrnul): Do not use BP_SYM in weak_alias.
30810 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30812 (PARMS): Do not use macros from bp-asm.h.
30814 (strcspn): Do not use BP_SYM.
30815 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30817 (PARMS): Do not use macros from bp-asm.h.
30820 (strpbrk): Likewise. Do not use BP_SYM.
30821 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30823 (PARMS): Do not use macros from bp-asm.h.
30826 (strrchr): Likewise. Do not use BP_SYM.
30827 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30828 (PARMS): Do not use macros from bp-asm.h.
30830 (strspn): Do not use BP_SYM.
30831 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30832 (PARMS): Do not use macros from bp-asm.h.
30836 (FUNCTION): Likewise. Do not use BP_SYM.
30837 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30839 (strtok_r): Likewise.
30840 (__GI___strtok_r): Likewise.
30841 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30842 (PARMS): Do not use macros from bp-asm.h.
30846 (__mpn_sub_n): Do not use BP_SYM.
30847 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30849 (PARMS): Do not use macros from bp-asm.h.
30852 (__mpn_submul_1): Do not use BP_SYM.
30853 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30855 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30857 (PARMS): Do not use macros from bp-asm.h.
30862 (__clone): Do not use BP_SYM.
30863 (clone): Do not use BP_SYM in weak_alias.
30864 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30866 (PARMS): Do not use macros from bp-asm.h.
30868 (__mmap64): Do not use BP_SYM.
30869 (mmap64): Do not use BP_SYM in weak_alias.
30870 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30871 <bp-sym.h> and <bp-asm.h>.
30872 (PARMS): Do not use macros from bp-asm.h.
30873 (__posix_fadvise64_l64): Do not use BP_SYM.
30874 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30875 (PARMS): Do not use macros from bp-asm.h.
30877 (semtimedop): Do not use BP_SYM.
30878 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30881 2013-02-21 Allan McRae <allan@archlinux.org>
30883 * manual/message.texi (Charset conversion in gettext):
30884 Move @end statement to beginning of line.
30886 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30893 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30894 (denorm): Likewise.
30895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30898 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30900 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30901 tail-call to the resolved function if pltexit isn't needed.
30903 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30906 or Y being zero as being unlikely.
30907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30910 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30912 * manual/nss.texi (System Databases and Name Service Switch):
30913 Remove frobnicate @pxref.
30915 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30917 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30918 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30920 2013-02-20 Petr Machata <pmachata@redhat.com>
30922 * elf/elf.h (R_ARM_TARGET1): New macro.
30923 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30924 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30925 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30926 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30927 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30928 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30929 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30930 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30931 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30932 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30933 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30934 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30935 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30936 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30937 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30938 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30939 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30940 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30941 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30942 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30943 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30944 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30945 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30946 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30947 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30948 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30949 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30950 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30951 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30952 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30953 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30954 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30955 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30956 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30957 (R_ARM_THM_GOT_BREL12): Likewise.
30958 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30959 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30960 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30961 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30962 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30963 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30964 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30965 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30966 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30968 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30970 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30971 __attribute_used__ to __attribute__ ((unused)).
30973 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30975 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30978 comment formatting.
30979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30981 2013-02-19 Joseph Myers <joseph@codesourcery.com>
30984 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30986 (ENTER): Remove both macro definitions.
30988 (CHECK_BOUNDS_LOW): Likewise.
30989 (CHECK_BOUNDS_HIGH): Likewise.
30990 (CHECK_BOUNDS_BOTH): Likewise.
30991 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30992 (RETURN_BOUNDED_POINTER): Likewise.
30993 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30994 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30995 (POP_ERRNO_LOCATION_RETURN): Likewise.
30996 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30997 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30998 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31000 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31001 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31002 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31003 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31004 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31005 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31006 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31007 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31008 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31009 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31010 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31011 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31012 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31013 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31015 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31016 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31018 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31019 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31020 * sysdeps/i386/i586/memset.S (memset): Likewise.
31021 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31022 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31023 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31025 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31026 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31027 Change uses of L(2) to L(out).
31028 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31029 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31030 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31031 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31032 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31034 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31035 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31037 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31038 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31039 (RETURN): Do not use macro LEAVE.
31040 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31041 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31042 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31043 * sysdeps/i386/i686/memset.S (memset): Likewise.
31044 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31045 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31046 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31047 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31049 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31050 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31051 L(1_2) and L(1_3) into L(1).
31052 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31053 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31054 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31055 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31056 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31057 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31058 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31059 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31060 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31062 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31063 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31064 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31065 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31066 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31067 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31068 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31069 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31070 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31071 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31072 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31073 * sysdeps/i386/strspn.S (strspn): Likewise.
31074 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31076 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31077 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31078 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31079 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31080 L(1_3) into L(1_1).
31081 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31082 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31083 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31085 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31087 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31089 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31092 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31094 * math/atest-exp.c (exp_mpn): Remove ROUND.
31095 * math/atest-exp2.c (exp_mpn): Likewise.
31096 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31098 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31099 * stdlib/tst-tls-atexit-lib.c: Likewise.
31100 * stdlib/tst-tls-atexit.c: Likewise.
31102 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31104 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31105 and __attribute_alloc_size__.
31107 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31109 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31110 __attribute_alloc_size__.
31111 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31112 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31114 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31116 * include/programs/xmalloc.h: New file.
31117 * catgets/gencat.c: Include it.
31118 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31119 * elf/pldd.c: Likewise.
31120 * iconv/iconv_charmap.c: Likewise.
31121 * iconv/iconvconfig.c: Likewise.
31122 * iconv/strtab.c: Likewise.
31123 * locale/programs/locale.c: Likewise.
31124 * locale/programs/localedef.h: Likewise.
31125 * locale/programs/simple-hash.c: Likewise.
31126 * nscd/nscd.h: Likewise.
31127 * nss/makedb.c: Likewise.
31128 * sysdeps/generic/ldconfig.h: Likewise.
31130 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31132 * Versions.def: Add GLIBC_2.18.
31133 * include/link.h (struct link_map): New member l_tls_dtor_count.
31134 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31135 (__call_tls_dtors): Likewise.
31136 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31137 __cxa_thread_atexit_impl.
31138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31154 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31155 (tests): Add test case tst-tls-atexit.
31156 (modules-names): Add shared library for tst-tls-atexit.
31157 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31158 (GLIBC_PRIVATE): Add __call_tls_dtors.
31159 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31161 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31162 * stdlib/tst-tls-atexit.c: New test case.
31163 * stdlib/tst-tls-atexit-lib.c: New test case.
31165 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31167 * elf/Versions (ld): Add _dl_find_dso_for_object.
31168 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31169 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31170 (dl_open_worker): Use _dl_find_dso_for_object.
31171 * elf/dl-sym.c (do_sym): Likewise.
31172 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31174 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31176 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31177 Syntactic changes only.
31178 (_dl_runtime_profile): Do a tail-call to the resolved function.
31180 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31183 * sysdeps/x86_64/bp-asm.h: Remove file.
31184 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31185 <bp-sym.h> and <bp-asm.h>.
31186 (__clone): Do not use BP_SYM.
31187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31188 <bp-sym.h> and <bp-asm.h>.
31189 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31190 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31192 (_setjmp): Do not use BP_SYM.
31193 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31195 (setjmp): Do not use BP_SYM.
31196 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31198 (mempcpy): Do not use BP_SYM in weak_alias.
31199 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31201 (strchr): Do not use BP_SYM.
31202 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31204 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31205 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31206 (_start): Do not use BP_SYM.
31207 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31209 (strcat): Do not use BP_SYM.
31210 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31212 (STRCMP): Do not use BP_SYM.
31213 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31215 (STRCPY): Do not use BP_SYM.
31216 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31218 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31220 (FUNCTION): Do not use BP_SYM.
31221 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31223 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31225 2013-02-17 Andreas Jaeger <aj@suse.de>
31227 * time/Versions: Sort entries.
31228 * string/Versions: Likewise.
31229 * resolv/Versions: Likewise.
31230 * posix/Versions: Likewise.
31231 * iconv/Versions: Likewise.
31232 * elf/Versions: Likewise.
31233 * wcsmbs/Versions: Likewise.
31235 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31237 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31238 loop termination condition.
31240 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31241 variable to calculate EZ.
31244 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31245 the lower precision input.
31247 2013-02-15 Joseph Myers <joseph@codesourcery.com>
31250 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31251 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31252 (run-via-rtld-prefix): Do not handle %-bp tests.
31253 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31254 (all-object-suffixes): Remove .ob.
31255 (bppfx): Remove variable.
31256 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31257 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31258 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31259 [$(build-bounded) = yes] (libtype.ob): Likewise.
31260 * Makerules (elide-routines.ob): Remove variable.
31261 (do-tests-clean): Do not handle *-bp.out.
31262 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31263 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31264 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31265 (tests): Do not include $(tests-bp.out).
31266 (xtests): Do not include $(xtests-bp.out).
31267 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31268 [$(build-bounded) = yes] ($(addprefix
31269 $(objpfx),$(binaries-bounded))): Remove rule.
31270 ($(objpfx)%-bp.out): Remove rule.
31271 * config.make.in (build-bounded): Remove variable.
31272 * crypt/Makefile [$(build-bounded) = yes]
31273 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31274 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31275 append to variable.
31276 [$(build-bounded) = yes] (install-lib): Likewise.
31277 [$(build-bounded) = yes] (generated): Likewise.
31278 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31280 * intl/Makefile [$(build-bounded) = yes]
31281 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31282 * math/Makefile [$(build-bounded) = yes]
31283 ($(tests:%=$(objpfx)%-bp): Likewise.
31284 * misc/Makefile [$(build-bounded) = yes]
31285 ($(objpfx)tst-tsearch-bp): Likewise.
31286 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31287 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31289 * string/Makefile (o-objects.ob): Remove variable.
31290 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31291 (CFLAGS-.ob): Remove variable.
31292 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31293 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31294 both definitions of variable.
31295 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31296 (ASFLAGS-.ob): Remove variable.
31298 2013-02-14 Joseph Myers <joseph@codesourcery.com>
31301 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31302 Remove __BOUNDED_POINTERS__ from condition.
31303 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31304 * string/bits/string2.h [!__NO_STRING_INLINES &&
31305 !__BOUNDED_POINTERS__]: Likewise.
31306 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31308 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31309 Remove conditional code.
31310 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31311 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31312 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31316 * csu/libc-start.c: Do not include <bp-sym.h>.
31317 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31318 * elf/dl-open.c: Do not include <bp-sym.h>.
31319 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31320 * math/fegetenv.c: Do not include <bp-sym.h>.
31321 (fegetenv): Do not use BP_SYM in versioned symbols.
31322 * nptl/sysdeps/pthread/bits/libc-lockP.h
31323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31326 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31328 (__pthread_mutex_destroy): Likewise.
31329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31330 (__pthread_mutex_lock): Likewise.
31331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31332 (__pthread_mutex_trylock): Likewise.
31333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31334 (__pthread_mutex_unlock): Likewise.
31335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31336 (__pthread_mutexattr_init): Likewise.
31337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31338 (__pthread_mutexattr_destroy): Likewise.
31339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31340 (__pthread_mutexattr_settype): Likewise.
31341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31342 (__pthread_rwlock_init): Likewise.
31343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31344 (__pthread_rwlock_destroy): Likewise.
31345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31346 (__pthread_rwlock_rdlock): Likewise.
31347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31348 (__pthread_rwlock_tryrdlock): Likewise.
31349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31350 (__pthread_rwlock_wrlock): Likewise.
31351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31352 (__pthread_rwlock_trywrlock): Likewise.
31353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31354 (__pthread_rwlock_unlock): Likewise.
31355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31356 (__pthread_key_create): Likewise.
31357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31358 (__pthread_setspecific): Likewise.
31359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31360 (__pthread_getspecific): Likewise.
31361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31364 (_pthread_cleanup_push_defer): Likewise.
31365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31366 (_pthread_cleanup_pop_restore): Likewise.
31367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31368 (pthread_setcancelstate): Likewise.
31369 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31371 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31372 (memchr): Do not use BP_SYM in weak_alias.
31373 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31374 (fegetenv): Do not use BP_SYM in versioned symbols.
31375 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31376 (fesetenv): Do not use BP_SYM in versioned symbols.
31377 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31378 (feupdateenv): Do not use BP_SYM in versioned symbols.
31379 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31380 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31381 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31382 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31383 (open64): Do not use BP_SYM in weak_alias.
31384 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31385 (fegetenv): Do not use BP_SYM in versioned symbols.
31386 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31387 (fesetenv): Do not use BP_SYM in versioned symbols.
31388 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31389 (feupdateenv): Do not use BP_SYM in versioned symbols.
31390 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31391 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31392 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31393 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31394 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31395 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31396 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31398 (__libc_start_main): Do not use BP_SYM.
31400 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31403 redundant return line.
31405 (denorm): Likewise.
31406 (dbl_mp): Likewise.
31407 (sub_magnitudes): Likewise.
31413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31415 (denorm): Likewise.
31416 (dbl_mp): Likewise.
31417 (sub_magnitudes): Likewise.
31424 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31426 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31427 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31430 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31431 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31433 of __mul for squares.
31434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31438 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31441 2013-02-13 Joseph Myers <joseph@codesourcery.com>
31444 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31446 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31447 prototype or function definition. Rename ubp_* variables and
31448 parameters. Remove argv definitions conditional on
31449 [__BOUNDED_POINTERS__].
31450 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31451 * elf/dl-runtime.c (_dl_fixup): Likewise.
31452 * include/set-hooks.h (RUN_HOOK): Likewise.
31453 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31455 * string/strcpy.c (strcpy): Do not use __unbounded.
31456 * sysdeps/generic/frame.h (struct layout): Likewise.
31457 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31458 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31459 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31460 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31461 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31462 (__backtrace): Likewise.
31463 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31465 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31466 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31467 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31469 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31470 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31471 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31472 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31473 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31474 Do not use __unbounded.
31475 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31476 Rename __unboundedrlimits parameter to rlimits in prototype.
31477 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31478 Do not use __unbounded.
31479 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31480 not use __ptrvalue.
31481 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31482 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31483 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31484 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31485 __ptrvalue or __unbounded.
31486 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31487 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31489 (__new_msgctl): Do not use __ptrvalue.
31490 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31492 (__libc_msgrcv): Do not use __ptrvalue.
31493 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31494 startup_info): Do not use __unbounded.
31495 (__libc_start_main): Likewise. Rename ubp_* variables and
31496 parameters. Remove argv definitions conditional on
31497 [__BOUNDED_POINTERS__].
31498 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31500 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31502 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31504 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31506 (__new_shmctl): Do not use __ptrvalue.
31507 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31508 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31510 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31511 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31512 (__libc_sigaction): Likewise.
31513 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31514 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31516 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31518 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
31520 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31522 * string/mempcpy.c: Implement by calling memcpy.
31524 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31531 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31532 values in the mantissa.
31534 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31535 minimize writes to Z.
31536 (sub_magnitudes): Simplify code a bit.
31538 2013-02-12 Roland McGrath <roland@hack.frob.com>
31540 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31541 from the message. The linker prefixes all warnings with that already.
31543 2013-02-12 Andreas Schwab <schwab@suse.de>
31546 * posix/regexec.c (extend_buffers): Add parameter min_len.
31547 (check_matching): Pass minimum needed length.
31548 (clean_state_log_if_needed): Likewise.
31549 (get_subexp): Likewise.
31550 * posix/Makefile (tests): Add bug-regex34.
31551 (bug-regex34-ENV): Define.
31552 * posix/bug-regex34.c: New file.
31555 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31556 elements compare against the byte sequence of it, not its name.
31557 * posix/Makefile (tests): Add bug-regex35.
31558 (bug-regex35-ENV): Define.
31559 * posix/bug-regex35.c: New file.
31561 2013-02-11 Tom de Vries <tom@codesourcery.com>
31563 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31565 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31566 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31567 (CHECK_EOL): Add undef.
31569 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
31571 * bits/stdlib-bsearch.h: New file.
31572 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31573 * stdlib/stdlib.h: Likewise.
31575 2013-02-11 Roland McGrath <roland@hack.frob.com>
31577 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31578 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31580 * manual/search.texi (Array Search Function): Add missing const in
31582 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31583 declaration to use rlim_t.
31584 (Basic Scheduling Functions): Remove erroneous const from
31585 sched_getparam prototype. Remove erroneous * from
31586 sched_get_priority_max and sched_get_priority_min prototypes.
31587 (Resource Usage): Fix summary @comment on vtimes to refer to
31588 sys/vtimes.h rather than vtimes.h.
31589 Add missing *s in vtimes prototype.
31590 (Limits on Resources): Fix ulimit prototype to return long int.
31591 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31592 prototypes to use long int rather than double.
31593 (BSD Random): Fix initstate and setstate to use char *, not void *.
31594 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31595 prototype to make second argument 'struct aiocb64 *const[]'.
31596 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31597 (Status of AIO Operations): Remove erroneous const in aio_return and
31598 aio_return64 prototypes.
31599 (Synchronizing I/O): Fix sync prototype to return void.
31600 * manual/startup.texi (Suboptions): Remove an erroneous const in
31601 getsubopt prototype.
31602 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31603 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31604 use size_t rather than int.
31605 (Scanning All Users): Likewise for getpwent_r.
31606 (Setting Groups): Add missing const to setgroups prototype.
31607 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31608 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31609 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31610 'const void *' rather than 'const char *'.
31611 (Host Address Functions): Likewise for inet_ntop.
31612 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31613 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31614 ssize_t for return value.
31615 (Sending Data): Likewise for send, sendto, sendmsg.
31616 (Socket Option Functions): Add a missing const in setsockopt prototype.
31617 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31618 use wchar_t for the argument.
31619 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31620 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31622 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31623 double/float/long double for second argument.
31624 Fix return types of significand, significandf, significandl.
31625 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31626 argument in fchmod prototype.
31627 (File Owner): Use uid_t and gid_t in fchown prototype.
31628 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31629 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31630 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31631 use 'const struct dirent **' as argument types to CMP function pointer
31633 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31634 (File Times): Fix summary magic @comment for struct utimbuf and utime
31635 to refer to utime.h, not time.h.
31636 * manual/string.texi (Argz Functions): Add missing const in
31637 argz_extract and argz_next prototypes.
31638 (Finding Tokens in a String): Likewise for basename.
31639 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31640 (Copying and Concatenation): Fix typo in wmemmove prototype.
31641 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31642 (Signal Stack): Remove erroneous const in sigstack prototype.
31643 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31645 (Simple Calendar Time): Likewise for stime.
31646 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31648 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31649 say sys/sysctl.h instead.
31650 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31651 and vsyslog prototypes.
31653 2013-02-11 Tom de Vries <tom@codesourcery.com>
31655 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31658 2013-02-11 Roland McGrath <roland@hack.frob.com>
31660 * misc/sys/mman.h: Fix typo in mremap comment.
31662 2013-02-08 Roland McGrath <roland@hack.frob.com>
31664 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31665 the '\0' terminator.
31667 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31670 * debug/segfault.c: Don't include <bp-checks.h>.
31671 * sysdeps/generic/bp-checks.h: Remove file.
31672 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31673 (__GETDENTS): Don't use CHECK_N.
31674 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31675 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31676 (__getgroups): Don't use CHECK_N.
31677 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31678 (setgroups): Don't use CHECK_N.
31679 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31680 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31681 (__libc_msgrcv): Don't use CHECK_N.
31682 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31683 (__libc_msgsnd): Don't use CHECK_N.
31684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31686 (__libc_pread): Don't use CHECK_N.
31687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31688 include <bp-checks.h>.
31689 (__libc_pread64): Don't use CHECK_N.
31690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31691 include <bp-checks.h>.
31692 (__libc_pwrite): Don't use CHECK_N.
31693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31694 include <bp-checks.h>.
31695 (__libc_pwrite64): Don't use CHECK_N.
31696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31698 (__libc_pread): Don't use CHECK_N.
31699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31700 include <bp-checks.h>.
31701 (__libc_pread64): Don't use CHECK_N.
31702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31703 include <bp-checks.h>.
31704 (__libc_pwrite): Don't use CHECK_N.
31705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31706 include <bp-checks.h>.
31707 (__libc_pwrite64): Don't use CHECK_N.
31708 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31709 (do_pread): Don't use CHECK_N.
31710 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31711 (do_pread64): Don't use CHECK_N.
31712 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31713 (do_pwrite): Don't use CHECK_N.
31714 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31715 (do_pwrite64): Don't use CHECK_N.
31716 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31717 (__libc_readv): Don't use CHECK_N.
31718 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31719 (semop): Don't use CHECK_N.
31720 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31722 (semtimedop): Don't use CHECK_N.
31723 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31724 (__libc_pread): Don't use CHECK_N.
31725 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31727 (__libc_pread64): Don't use CHECK_N.
31728 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31730 (__libc_pwrite): Don't use CHECK_N.
31731 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31733 (__libc_pwrite64): Don't use CHECK_N.
31734 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31736 (__libc_msgrcv): Don't use CHECK_N.
31737 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31738 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31739 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31740 (__libc_writev): Don't use CHECK_N.
31742 2013-02-08 Roland McGrath <roland@hack.frob.com>
31744 * string/strcpy.c: Removed unused variable.
31746 * Makeconfig (+sysdep-includes): Define with := rather than =.
31747 Use an existing include/ subdir of each sysdeps dir before it.
31749 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31751 * nscd/connection.c (register_traced_file): Comment function.
31752 [HAVE_INOTIFY] (union __inev): Define.
31753 [HAVE_INOTIFY] (inotify_check_files): New function.
31754 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31755 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31757 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31759 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31761 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31762 loaded if not already and that a failure is permanent.
31764 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31767 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31768 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31770 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31773 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31774 (CHECK_1_NULL_OK): Likewise.
31775 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31776 (__fxstat): Do not use CHECK_1.
31777 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31779 (___fxstat64): Do not use CHECK_1.
31780 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31782 (__fxstatat): Do not use CHECK_1.
31783 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31785 (__fxstatat64): Do not use CHECK_1.
31786 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31788 (__fxstat): Do not use CHECK_1.
31789 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31791 (__fxstatat): Do not use CHECK_1.
31792 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31794 (__getresgid): Do not use CHECK_1.
31795 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31797 (__getresuid): Do not use CHECK_1.
31798 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31800 (__lxstat): Do not use CHECK_1.
31801 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31803 (__old_msgctl): Do not use CHECK_1.
31804 (__new_msgctl): Likewise.
31805 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31807 (__new_setrlimit): Do not use CHECK_1.
31808 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31810 (__old_shmctl): Do not use CHECK_1.
31811 (__new_shmctl): Likewise.
31812 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31814 (__xstat): Do not use CHECK_1.
31815 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31816 (__lxstat): Do not use CHECK_1.
31817 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31819 (___lxstat64): Do not use CHECK_1.
31820 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31821 (__old_msgctl): Do not use CHECK_1.
31822 (__new_msgctl): Likewise.
31823 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31825 (__gettimeofday): Do not use CHECK_1.
31826 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31827 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31828 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31830 (__gettimeofday): Do not use CHECK_1.
31831 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31832 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31833 (__new_shmctl): Do not use CHECK_1.
31834 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31836 (do_sigtimedwait): Do not use CHECK_1.
31837 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31839 (do_sigwaitinfo): Do not use CHECK_1.
31840 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31842 (msgctl): Do not use CHECK_1.
31843 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31845 (shmctl): Do not use CHECK_1.
31846 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31847 (ustat): Do not use CHECK_1.
31848 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31850 (__fxstat): Do not use CHECK_1.
31851 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31853 (__fxstatat): Do not use CHECK_1.
31854 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31856 (__lxstat): Do not use CHECK_1.
31857 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31859 (__xstat): Do not use CHECK_1.
31860 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31861 (__xstat): Do not use CHECK_1.
31862 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31863 (___xstat64): Do not use CHECK_1.
31866 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31868 (CHECK_BOUNDS_HIGH): Likewise.
31869 * string/strcpy.c: Do not include <bp-checks.h>.
31870 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31872 2013-02-07 Roland McGrath <roland@hack.frob.com>
31874 * nscd/nscd-client.h (__nscd_drop_map_ref):
31875 Add __attribute__ ((unused)).
31876 * nis/nss-nisplus.h (niserr2nss): Likewise.
31878 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31879 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31881 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31882 Remove inline keyword.
31883 * include/rounding-mode.h (round_away): Likewise.
31884 * libio/wfileops.c (adjust_wide_data): Likewise.
31885 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31886 (__m128i_strloadu_tolower): Likewise.
31887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31888 (__m128i_strloadu_tolower): Likewise.
31889 * time/mktime.c (ydhms_diff): Likewise.
31890 * locale/elem-hash.h (elem_hash): Likewise.
31891 * locale/setlocale.c (setdata): Likewise.
31892 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31893 (re_string_wchar_at): Likewise.
31894 (bitset_not, bitset_merge, bitset_mask): Likewise.
31895 [!(__GNUC__ > 3)] (inline): Remove macro.
31896 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31897 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31898 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31899 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31900 * string/memcmp.c (memcmp_bytes): Likewise.
31901 * locale/programs/locarchive.c (compute_hashval): Likewise.
31902 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31903 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31904 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31905 * nss/getent.c (print_rpc, print_protocols): Likewise.
31906 (print_passwd, print_group, print_aliases): Likewise.
31907 * nis/nss-nisplus.h (niserr2nss): Likewise.
31908 * nscd/connections.c (restart_p): Likewise.
31909 Change return type to bool.
31911 2013-02-05 Roland McGrath <roland@hack.frob.com>
31913 * Makeconfig (all-Depend-files): Add existing
31914 $(sorted-subdirs:=/Depend) files.
31915 (all-subdirs): Remove nss.
31916 * sysdeps/unix/inet/Subdirs: Add it here instead.
31917 * hesiod/Depend: New file.
31919 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31920 instead of calling alloca.
31922 * io/lseek.c (__lseek): Rename to __libc_lseek.
31923 Define __lseek as an alias.
31925 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31927 2013-02-04 Carlos O'Donell <carlos@redhat.com>
31929 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31930 else clause and remove check for non-standard endianness.
31932 2013-02-04 David S. Miller <davem@davemloft.net>
31934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31936 2013-02-04 Joseph Myers <joseph@codesourcery.com>
31939 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31940 (__ubp_memchr): Remove prototype.
31941 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31942 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31943 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31944 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31945 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31947 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31948 (__ubp_memchr): Likewise.
31949 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31950 (__ubp_memchr): Likewise.
31951 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31952 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31953 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31954 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31956 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31957 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31958 (__getcwd): Do not use CHECK_STRING.
31959 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31961 (__real_chown): Do not use CHECK_STRING.
31962 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31964 (fchownat): Do not use CHECK_STRING.
31965 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31967 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31969 (__lchown): Do not use CHECK_STRING.
31970 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31971 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31972 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31973 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31975 include <bp-checks.h>.
31976 (truncate64): Do not use CHECK_STRING.
31977 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31979 (__real_chown): Do not use CHECK_STRING.
31980 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31982 (__lchown): Do not use CHECK_STRING.
31983 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31985 (__chown): Do not use CHECK_STRING.
31986 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31988 (truncate64): Do not use CHECK_STRING.
31989 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31991 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31992 (__xmknod): Do not use CHECK_STRING.
31993 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31995 (__xmknodat): Do not use CHECK_STRING.
31996 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31997 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31999 2013-02-04 Andreas Schwab <schwab@suse.de>
32002 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32003 * include/netdb.h: Likewise for h_errno.
32004 * elf/tst-stackguard1.c: Include <tls.h>.
32006 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32008 * elf/link.h (struct link_map): Extend the l_addr comment.
32009 * include/link.h (struct link_map): Likewise.
32011 2013-02-01 Joseph Myers <joseph@codesourcery.com>
32014 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32015 (BOUNDED_1): Remove macro.
32016 * debug/backtrace.c: Don't include <bp-checks.h>.
32017 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32018 (__backtrace): Likewise.
32019 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32021 (__backtrace): Don't use BOUNDED_1.
32022 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32024 (__backtrace): Don't use BOUNDED_1.
32025 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32026 (__backtrace): Don't use BOUNDED_1.
32027 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32028 (shmat): Don't use BOUNDED_N.
32030 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32033 * sysdeps/generic/bp-start.h: Remove file.
32034 * csu/libc-start.c: Don't include <bp-start.h>.
32035 (LIBC_START_MAIN): Set up __environ directly instead of using
32036 INIT_ARGV_and_ENVIRON.
32037 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32041 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32043 (CHECK_FCNTL): Likewise.
32044 (CHECK_N_PAGES): Likewise.
32047 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32049 (CHECK_SIGSET_NULL_OK): Likewise.
32050 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32052 (sigpending): Don't use CHECK_SIGSET.
32053 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32055 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32056 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32058 (do_sigsuspend): Don't use CHECK_SIGSET.
32059 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32061 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32062 (do_sigwait): Don't use CHECK_SIGSET.
32063 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32065 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32066 include <bp-checks.h>.
32067 (sigpending): Don't use CHECK_SIGSET.
32068 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32069 include <bp-checks.h>.
32070 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32071 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32073 (sigpending): Don't use CHECK_SIGSET.
32074 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32076 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32079 * sysdeps/generic/bp-semctl.h: Remove file.
32080 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32081 <bp-checks.h> and <bp-semctl.h>.
32082 (__old_semctl): Don't use CHECK_SEMCTL.
32083 (__new_semctl): Likewise.
32084 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32086 (__old_semctl): Don't use CHECK_SEMCTL.
32087 (__new_semctl): Likewise.
32088 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32089 <bp-checks.h> and <bp-semctl.h>.
32090 (__old_semctl): Don't use CHECK_SEMCTL.
32091 (__new_semctl): Likewise.
32092 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32093 <bp-checks.h> and <bp-semctl.h>.
32094 (semctl): Don't use CHECK_SEMCTL.
32097 * Makerules (elide-bp-thunks): Remove variable.
32098 (elide-routines.oS): Don't use $(elide-bp-thunks).
32099 (elide-routines.os): Likewise.
32100 (elide-routines.o): Likewise.
32101 (elide-routines.op): Likewise.
32102 (elide-routines.og): Likewise.
32103 (objects): Don't use $(bp-thunks).
32104 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32106 (common-generated): Do not add s-proto-bp.d.
32107 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32110 Do not generate makefile rules for bounded-pointer thunks.
32111 * sysdeps/generic/bp-thunks.h: Remove file.
32112 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32113 * sysdeps/unix/s-proto-bp.S: Likewise.
32116 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32117 parts of result separately when argument is not close to line from
32118 -i to i and one part of argument is small.
32119 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32120 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32121 * math/libm-test.inc (cacos_test): Add more tests.
32122 (casin_test): Likewise.
32123 (casinh_test): Likewise.
32124 * sysdeps/i386/fpu/libm-test-ulps: Update.
32125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32127 2013-01-31 David S. Miller <davem@davemloft.net>
32129 * po/de.po: Update from translation team.
32131 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32133 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32135 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32137 * configure.in (_AC_PROG_CC_C89): New definition.
32138 * configure: Regenerate.
32140 * configure.in (AC_PROG_CPP): New definition.
32141 * configure: Regenerate.
32143 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32145 * debug/tst-backtrace.h: New file.
32146 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32147 (ret): Remove variable.
32149 (FAIL): Remove macro.
32150 (NO_INLINE): Likewise.
32151 (fn1): Use match function instead of strstr.
32152 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32153 (ret): Remove variable.
32155 (FAIL): Remove macro.
32156 (NO_INLINE): Likewise.
32157 (fn): Use match function instead of strstr.
32158 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32159 (ret): Remove variable.
32161 (FAIL): Remove macro.
32162 (NO_INLINE): Likewise.
32163 (handle_signal): Use match function instead of strstr.
32164 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32165 (ret): Remove variable.
32167 (FAIL): Remove macro.
32168 (NO_INLINE): Likewise.
32169 (handle_signal): Use match function instead of strstr.
32171 2013-01-23 Roland McGrath <roland@hack.frob.com>
32173 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32175 2013-01-23 David S. Miller <davem@davemloft.net>
32177 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32178 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32179 argument of CAS if possible.
32180 * sysdeps/sparc/sparc64/bits/atomic.h
32181 (__arch_compare_and_exchange_val_32_acq): Likewise.
32182 (__arch_compare_and_exchange_val_64_acq): Likewise.
32184 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32186 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32187 * sysdeps/posix/ulimit.c: ... this.
32188 Include <limits.h>.
32189 * sysdeps/unix/bsd/ulimit.c: Remove file.
32191 2013-01-23 Adam Conrad <adconrad@0c3.net>
32193 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32194 (LDFLAGS-tst-array5): Likewise.
32196 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32199 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32200 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32201 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32202 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32204 2013-01-21 David S. Miller <davem@davemloft.net>
32206 * sysdeps/sparc/backtrace.c: New file.
32207 * sysdeps/sparc/sparc32/backtrace.h: New file.
32208 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32209 * sysdeps/sparc/sparc64/backtrace.h: New file.
32210 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32211 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32214 2013-01-21 Andreas Schwab <schwab@suse.de>
32217 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32220 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32226 2013-01-18 Joseph Myers <joseph@codesourcery.com>
32227 Mark Mitchell <mark@codesourcery.com>
32228 Tom de Vries <tom@codesourcery.com>
32229 Paul Pluzhnikov <ppluzhnikov@google.com>
32231 * debug/tst-backtrace2.c: New file.
32232 * debug/tst-backtrace3.c: Likewise.
32233 * debug/tst-backtrace4.c: Likewise.
32234 * debug/tst-backtrace5.c: Likewise.
32235 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32236 (CFLAGS-tst-backtrace3.c): Likewise.
32237 (CFLAGS-tst-backtrace4.c): Likewise.
32238 (CFLAGS-tst-backtrace5.c): Likewise.
32239 (LDFLAGS-tst-backtrace2): Likewise.
32240 (LDFLAGS-tst-backtrace3): Likewise.
32241 (LDFLAGS-tst-backtrace4): Likewise.
32242 (LDFLAGS-tst-backtrace5): Likewise.
32243 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32244 tst-backtrace4 and tst-backtrace5.
32246 2013-01-18 Anton Blanchard <anton@samba.org>
32247 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32249 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32250 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32251 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32252 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32254 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32255 "+r" and remove output regs list as redundant. Add explicit inline
32256 asm to specify register of return val to work around compiler codegen
32257 bug. Remove (int) cast on return value. Add return type parameter to
32258 use in macro so that this macro does not truncate return value for
32260 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32261 pass to INTERNAL_VSYSCALL_NCS.
32262 (INLINE_VSYSCALL): Add 'long int' as return type to
32263 INTERNAL_VSYSCALL_NCS macro invocation.
32264 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32265 INTERNAL_VSYSCALL_NCS macro invocation.
32266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32268 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32271 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32272 Fix application of SIMD FP exception mask.
32274 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32275 mp_no from a power of two.
32276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32277 __mpexp_twomm1. Use __pow_mp.
32279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32282 2013-01-17 David S. Miller <davem@davemloft.net>
32284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32286 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32289 * include/complex.h: Condition contents on [!_COMPLEX_H].
32290 (__kernel_casinhf): New prototype.
32291 (__kernel_casinh): Likewise.
32292 (__kernel_casinhl): Likewise.
32293 * math/Makefile (libm_calls): Add k_casinh.
32294 * math/k_casinh.c: New file.
32295 * math/k_casinhf.c: Likewise.
32296 * math/k_casinhl.c: Likewise.
32297 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32298 finite nonzero arguments.
32299 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32300 finite nonzero arguments.
32301 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32302 finite nonzero arguments.
32303 * math/s_casinh.c: Do not include <float.h>.
32304 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32305 * math/s_casinhf.c: Do not include <float.h>.
32306 (__casinhf): Move code for finite nonzero arguments to
32308 * math/s_casinhl.c: Do not include <float.h>.
32309 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32311 (__casinhl): Move code for finite nonzero arguments to
32313 * math/libm-test.inc (cacos_test): Add more tests.
32314 * sysdeps/i386/fpu/libm-test-ulps: Update.
32315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32317 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32319 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32320 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32321 [!HAVE_MREMAP]: Remove [defined linux] case.
32322 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32324 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32326 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32328 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32330 * elf/elf.h (R_386_SIZE32): New relocation.
32331 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32333 (elf_machine_rela): Likewise.
32334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32335 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32337 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32339 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32340 (FP_FAST_FMA): Do not define.
32341 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32342 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32343 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32344 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32345 !_SOFT_FLOAT]: Likewise.
32346 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32347 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32349 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32350 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32351 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32352 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32353 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32354 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32357 2013-01-16 Andreas Schwab <schwab@suse.de>
32360 * include/stdlib.h (__mktemp): Add declaration.
32361 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32362 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32364 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32366 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32368 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32369 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32370 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32372 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32373 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32375 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32377 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32378 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32379 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32381 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32382 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32384 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32386 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32388 2013-01-15 David S. Miller <davem@davemloft.net>
32390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32391 trunc{,f} to libm-sysdep_routes.
32392 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32402 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32403 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32404 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32405 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32406 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32407 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32410 nearbyint{,f} to libm-sysdep_routes.
32411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32422 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32424 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32425 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32427 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32428 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32429 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32431 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32432 libc_feholdexcept and libc_fesetenv.
32434 2013-01-15 Mike Frysinger <vapier@gentoo.org>
32436 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32438 2013-01-14 David S. Miller <davem@davemloft.net>
32440 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32441 (SPARC_ASM_VIS2_IFUNC): Likewise.
32442 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32444 use of 'siam' instruction.
32445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32478 routines to libm-sysdep_routines.
32479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32482 fdim/fdimf to libm-sysdep_routines.
32483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32491 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32492 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32493 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32494 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32496 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32498 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32499 to optimize copies.
32501 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32506 local variable MPTWO.
32507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32510 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32512 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32515 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32517 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32519 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32521 * manual/pattern.texi (glob_t): Document gl_flags.
32522 (glob64_t): Likewise.
32524 2013-01-11 David S. Miller <davem@davemloft.net>
32526 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32527 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32528 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32529 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32530 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32531 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32532 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32533 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32534 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32535 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32536 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32537 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32538 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32540 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32541 sparc V9 rather than using V8 code.
32542 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32543 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32545 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32547 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32550 2013-01-11 Roland McGrath <roland@hack.frob.com>
32552 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32553 not in the main loop.
32554 * configure: Regenerated.
32556 2013-01-11 Joseph Myers <joseph@codesourcery.com>
32558 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32559 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32561 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32562 [!__GLIBC_HAVE_LONG_LONG] case.
32563 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32564 condition to just #else.
32565 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32566 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32567 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32568 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32570 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32571 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32572 #elif condition to just #else.
32573 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32574 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32575 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32576 #elif condition to just #else.
32578 2013-01-11 Steve Ellcey <sellcey@mips.com>
32580 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32581 (EF_MIPS_ARCH_64): Fix value.
32582 (EF_MIPS_ARCH_32R2): New.
32583 (EF_MIPS_ARCH_64R2): New.
32585 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32587 * Makeconfig (+link-pie-before-libc): New.
32588 (+link-pie-after-libc): Likewise.
32589 (+link-pie-tests): Likewise.
32590 (+link-pie): Rewritten.
32591 (link-before-libc): Remove $(config-LDFLAGS).
32592 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32593 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32594 (config-LDFLAGS): Renamed to ...
32595 (rtld-LDFLAGS): This.
32596 (rtld-tests-LDFLAGS): New macro.
32597 (link-libc-rpath-link): Likewise.
32598 (link-libc-tests-rpath-link): Likewise.
32599 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32600 (link-libc): Prepand $(link-libc-rpath-link).
32601 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32602 (test-program-prefix): New macro.
32603 (test-via-rtld-prefix): Likewise.
32604 (test-program-cmd): Likewise.
32605 (host-test-program-cmd): Likewise.
32606 * Makefile ($(common-objpfx)testrun.sh): Replace
32607 $(run-program-prefix) with $(test-program-prefix).
32608 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32610 ($(common-objpfx)shlib.lds): Likewise.
32611 (build-module-helper): Likewise.
32612 ($(common-objpfx)format.lds): Likewise.
32613 * Rules (binaries-pie-tests): New.
32614 (binaries-pie-notests): Likewise.
32615 (binaries-pie): Rewritten.
32616 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32617 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32618 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32619 (make-test-out): Replace $(host-built-program-cmd) with
32620 $(host-test-program-cmd).
32621 * config.make.in (build-hardcoded-path-in-tests): New variable.
32622 * configure.in (--enable-hardcoded-path-in-tests): New configure
32624 (hardcoded_path_in_tests): New AC_SUBST.
32625 * configure: Regenerated.
32626 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32627 $(built-program-cmd) with $(test-program-cmd).
32628 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32629 (test_program_cmd): This.
32630 * elf/Makefile ($(objpfx)order.out): Run test with
32631 $(test-program-prefix).
32632 ($(objpfx)order2.out): Likewise.
32633 ($(objpfx)tst-initorder.out): Likewise.
32634 ($(objpfx)tst-initorder2.out): Likewise.
32635 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32636 $(test-program-cmd).
32637 ($(objpfx)tst-array1-static.out): Likewise.
32638 ($(objpfx)tst-array2.out): Likewise.
32639 ($(objpfx)tst-array3.out): Likewise.
32640 ($(objpfx)tst-array4.out): Likewise.
32641 ($(objpfx)tst-array5.out): Likewise.
32642 ($(objpfx)tst-array5-static.out): Likewise.
32643 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32644 $(test-program-cmd).
32645 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32646 $(run-program-prefix) with $(test-program-prefix).
32647 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32648 (test_program_prefix): This.
32649 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32650 $(run-program-prefix) with $(test-program-prefix).
32651 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32652 (test_program_prefix): This.
32653 * iconvdata/tst-tables.sh: Likewise.
32654 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32655 $(run-program-prefix) with $(test-program-prefix).
32656 ($(objpfx)tst-translit.out): Likewise.
32657 ($(objpfx)tst-gettext2.out): Likewise.
32658 ($(objpfx)tst-gettext4.out): Likewise.
32659 ($(objpfx)tst-gettext6.out): Likewise.
32660 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32661 (test_program_prefix): This.
32662 * intl/tst-gettext2.sh: Likewise.
32663 * intl/tst-gettext4.sh Likewise.
32664 * intl/tst-gettext6.sh: Likewise.
32665 * intl/tst-translit.sh: Likewise.
32666 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32667 with $(test-program-cmd).
32668 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32669 $(run-program-prefix) with $(test-program-prefix).
32670 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32671 (test_program_prefix): This.
32672 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32673 $(run-program-prefix) with $(test-program-prefix).
32674 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32675 (test_program_prefix): This.
32676 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32677 * posix/Makefile ($(objpfx)globtest.out): Replace
32678 $(run-via-rtld-prefix) and $(test-wrapper) with
32679 $(test-program-prefix) and $(test-via-rtld-prefix).
32680 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32681 $(test-program-prefix).
32682 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32683 $(host-test-program-cmd).
32684 (tst-spawn-ARGS): Likewise.
32685 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32686 $(test-program-prefix).
32687 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32688 (test_via_rtld_prefix): This.
32689 (test_wrapper): Renamed to ...
32690 (test_program_prefix): This.
32691 (run_program_prefix): Replaced by test_program_prefix.
32692 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32693 (test_program_prefix): This.
32694 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32695 with $(host-test-program-cmd).
32696 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32697 $(run-program-prefix) with $(test-program-prefix).
32698 ($(objpfx)tst-printf.out): Likewise.
32699 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32700 $(test-program-cmd).
32701 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32702 (test_program_prefix): This.
32703 * stdio-common/tst-unbputc.sh: Likewise.
32704 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32705 $(run-program-prefix) with $(test-program-prefix).
32706 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32707 (test_program_prefix): This.
32708 * string/Makefile ($(objpfx)tst-svc.out): Replace
32709 $(built-program-cmd) with $(test-program-cmd).
32711 2013-01-11 Andreas Jaeger <aj@suse.de>
32714 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32715 value. Sync with Linux 3.7.
32717 2013-01-10 David S. Miller <davem@davemloft.net>
32719 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32720 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32721 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32723 2013-01-10 Roland McGrath <roland@hack.frob.com>
32725 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32727 * configure: Regenerated.
32729 2013-01-10 David S. Miller <davem@davemloft.net>
32731 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32732 sparc V9 rather than using V8 code.
32733 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32734 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32736 2013-01-10 Roland McGrath <roland@hack.frob.com>
32738 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32739 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32740 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32741 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32742 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32743 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32744 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32745 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32746 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32747 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32748 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32749 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32750 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32751 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32752 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32753 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32754 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32755 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32756 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32757 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32758 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32759 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32760 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32761 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32762 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32763 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32764 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32766 2013-01-10 David S. Miller <davem@davemloft.net>
32768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32770 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32772 * posix/Makefile (tests-static): New variable.
32773 (tests): Add $(tests-static).
32774 (tst-exec-static-ARGS): New variable.
32775 (tst-spawn-static-ARGS): Likewise.
32776 * posix/tst-exec-static.c: New file.
32777 * posix/tst-spawn-static.c: Likewise.
32778 * posix/tst-exec.c: Support run directly.
32779 * posix/tst-spawn.c: Likewise.
32781 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32783 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32785 * math/bits/mathcalls.h (llrint): Likewise.
32786 (llround): Likewise.
32787 * stdlib/stdlib.h (struct drand48_data): Likewise.
32788 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32789 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32790 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32792 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32794 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32795 (elf_greg_t): Likewise.
32796 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32797 (__jmp_buf): Likewise.
32798 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32800 (llrint): Likewise, for all definitions.
32801 (llrintl): Likewise.
32803 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32804 Remove [__GNUC__] condition.
32805 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32806 condition to just [__USE_ISOC99].
32807 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32809 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32812 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32813 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32815 (_POSIX_V6_ILP32_OFF32): Likewise.
32816 (_XBS5_ILP32_OFF32): Likewise.
32817 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32818 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32820 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32822 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32825 doubles __mpexp_twomm1. Adjust usage.
32826 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32829 2013-01-10 Andreas Schwab <schwab@suse.de>
32832 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32833 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32835 2013-01-09 David S. Miller <davem@davemloft.net>
32838 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32839 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32840 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32841 (TCP_FASTOPEN): Define.
32842 (tcp_repair_opt): New structure.
32843 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32845 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32846 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32847 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32848 (tcp_cookie_transactions): New structure.
32850 2013-01-09 Anton Blanchard <anton@samba.org>
32852 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32853 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32854 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32855 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32857 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32859 * include/features.h (__USE_ANSI): Remove.
32861 2013-01-09 Roland McGrath <roland@hack.frob.com>
32863 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32865 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32867 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32869 * sysdeps/s390/fpu/libm-test-ulps: Update.
32871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32873 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32877 (denorm): Likewise.
32878 (__mp_dbl): Likewise.
32879 (__dbl_mp): Likewise.
32880 (add_magnitudes): Likewise.
32881 (sub_magnitudes): Likewise.
32887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32891 (denorm): Likewise.
32892 (__mp_dbl): Likewise.
32893 (__dbl_mp): Likewise.
32894 (add_magnitudes): Likewise.
32895 (sub_magnitudes): Likewise.
32901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32905 (denorm): Likewise.
32906 (__mp_dbl): Likewise.
32907 (__dbl_mp): Likewise.
32908 (add_magnitudes): Likewise.
32909 (sub_magnitudes): Likewise.
32916 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32918 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32919 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32920 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32921 2 && __USE_EXTERN_INLINES]: Likewise.
32923 2013-01-08 Andreas Jaeger <aj@suse.de>
32926 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32928 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32929 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32931 2013-01-07 Anton Blanchard <anton@samba.org>
32933 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32934 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32935 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32936 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32937 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32938 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32939 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32940 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32942 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32943 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32944 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32945 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32946 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32947 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32948 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32949 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32950 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32951 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32952 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32953 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32955 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32956 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32957 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32958 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32959 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32960 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32961 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32962 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32963 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32965 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32966 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32967 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32968 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32969 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32970 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32971 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32972 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32973 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32974 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32975 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32977 2013-01-07 Joseph Myers <joseph@codesourcery.com>
32979 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32980 (__MALLOC_PMT): Likewise.
32981 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32982 [__GNUC__], only on [_LIBC].
32983 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32984 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32985 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32986 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32987 forward declaration.
32988 (realloc_hook_ini): Likewise.
32989 (memalign_hook_ini): Likewise.
32990 (__libc_memalign): Do not use __MALLOC_PMT in variable
32992 (__libc_valloc): Likewise.
32993 (__libc_pvalloc): Likewise.
32994 (__libc_calloc): Likewise.
32995 (__posix_memalign): Likewise.
32998 * math/s_casinh.c: Include <float.h>.
32999 (__casinh): Do not do computation with squaring and square root
33000 for large arguments.
33001 * math/s_casinhf.c: Include <float.h>.
33002 (__casinhf): Do not do computation with squaring and square root
33003 for large arguments.
33004 * math/s_casinhl.c: Include <float.h>.
33005 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33006 (__casinhl): Do not do computation with squaring and square root
33007 for large arguments.
33008 * math/libm-test.inc (casin_test): Add more tests.
33009 (casinh_test): Likewise.
33010 * sysdeps/i386/fpu/libm-test-ulps: Update.
33011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33013 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33015 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33016 (__x86_64_raw_data_cache_size): Likewise.
33017 (__x86_64_data_cache_size_half): Likewise.
33018 (__x86_64_raw_data_cache_size_half): Likewise.
33019 (__x86_64_shared_cache_size): Likewise.
33020 (__x86_64_raw_shared_cache_size): Likewise.
33021 (__x86_64_shared_cache_size_half): Likewise.
33022 (__x86_64_raw_shared_cache_size_half): Likewise.
33023 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33025 (__x86_data_cache_size): This.
33026 (__x86_64_raw_data_cache_size): Renamed to ...
33027 (__x86_raw_data_cache_size): This.
33028 (__x86_64_data_cache_size_half): Renamed to ...
33029 (__x86_data_cache_size_half): This.
33030 (__x86_64_raw_data_cache_size_half): Renamed to ...
33031 (__x86_raw_data_cache_size_half): This.
33032 (__x86_64_shared_cache_size): Renamed to ...
33033 (__x86_shared_cache_size): This.
33034 (__x86_64_raw_shared_cache_size): Renamed to ...
33035 (__x86_raw_shared_cache_size): This.
33036 (__x86_64_shared_cache_size_half): Renamed to ...
33037 (__x86_shared_cache_size_half): This.
33038 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33039 (__x86_raw_shared_cache_size_half): This.
33040 * sysdeps/x86_64/memcpy.S: Updated.
33041 * sysdeps/x86_64/memset.S: Likewise.
33042 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33043 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33044 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33046 2013-01-04 David S. Miller <davem@davemloft.net>
33048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33050 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33052 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33053 1 to avoid redefinition warning.
33054 (__USE_GNU): Don't define.
33055 (init_signaling_nan): Protoize.
33057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33059 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33061 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33063 (__cpymn): Likewise.
33064 (norm): Remove commented code.
33065 (denorm): Likewise.
33066 (__mp_dbl): Likewise.
33068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33069 (__cpymn): Likewise.
33070 (norm): Remove commented code.
33071 (denorm): Likewise.
33072 (__mp_dbl): Likewise.
33075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33076 mp_no value for 1.0 and 2.0.
33077 (norm): Use RADIXI instead of radixi.d.
33078 (denorm): Likewise.
33079 (__mul): Use 0.0 instead of zero.d.
33080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33081 mp_no value for 1.0 and 2.0.
33082 (norm): Use RADIXI instead of radixi.d.
33083 (denorm): Likewise.
33084 (__mul): Use 0.0 instead of zero.d.
33086 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33089 * math/s_casinh.c (__casinh): Reduce finite argument to first
33090 quadrant then set signs of results at the end.
33091 * math/s_casinhf.c (__casinhf): Likewise.
33092 * math/s_casinhl.c (__casinhl): Likewise.
33093 * math/libm-test.inc (casin_test): Add more tests.
33094 (casinh_test): Likewise.
33095 * sysdeps/i386/fpu/libm-test-ulps: Update.
33096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33098 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33100 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33102 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33104 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33106 (denorm): Likewise.
33107 (__mp_dbl): Likewise.
33110 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33111 and adjust the header comment.
33113 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33114 variable name from declaration.
33116 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33119 Initialize COMMON_CPUID_INDEX_7 element.
33120 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33121 (CPUID_RTM): Likewise.
33122 (HAS_RTM): Likewise.
33123 (COMMON_CPUID_INDEX_7): New enum.
33125 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33128 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33129 size is zero, record memory as freed.
33131 2013-01-03 Andreas Jaeger <aj@suse.de>
33133 * po/ia.po: Add new Interlingua translation.
33135 2012-01-03 Allan McRae <allan@archlinux.org>
33137 * locale/programs/localedef.c: Fix description of '--posix' flag.
33139 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33141 * NEWS: Update dates in second copyright notice.
33142 * README: Update copyright dates in example.
33143 * manual/libc.texinfo: Update copyright dates.
33144 * scripts/test-installation.pl: Update copyright date in --version
33147 * hurd/ctty-input.c: Fix copyright notice formatting.
33148 * hurd/ctty-output.c: Likewise.
33149 * hurd/dtable.c: Likewise.
33150 * hurd/hurd-raise.c: Likewise.
33151 * hurd/hurdprio.c: Likewise.
33152 * hurd/msgportdemux.c: Likewise.
33153 * misc/sys/file.h: Likewise.
33154 * misc/sys/ioctl.h: Likewise.
33155 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33156 * sysdeps/mach/hurd/chdir.c: Likewise.
33157 * sysdeps/mach/hurd/fchdir.c: Likewise.
33158 * sysdeps/mach/hurd/rename.c: Likewise.
33159 * sysdeps/mach/hurd/rmdir.c: Likewise.
33160 * sysdeps/mach/hurd/seekdir.c: Likewise.
33161 * sysdeps/mach/hurd/setsid.c: Likewise.
33162 * sysdeps/posix/wait3.c: Likewise.
33164 * All files with FSF copyright notices: Update copyright dates
33165 using scripts/update-copyrights.
33166 * intl/plural.c: Regenerated.
33167 * locale/programs/charmap-kw.h: Likewise.
33168 * locale/programs/locfile-kw.h: Likewise.
33170 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33172 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33175 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33176 calculation loop and add branch prediction.
33178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33179 check access beyond bounds of m1np.
33181 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33183 (__inv): Remove local variable MPTWO to use the global
33185 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33186 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33188 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33189 MP3HALFS static const.
33191 2013-01-01 David S. Miller <davem@davemloft.net>
33193 * po/ca.po: Update from translation team.
33195 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33197 * scripts/update-copyrights: New file.
33198 * Makeconfig: Reformat copyright notice.
33199 * ctype/ctype.h: Likewise.
33200 * debug/swprintf_chk.c: Likewise.
33201 * elf/dl-cache.c: Likewise.
33202 * elf/dl-debug.c: Likewise.
33203 * elf/dl-object.c: Likewise.
33204 * grp/initgroups.c: Likewise.
33205 * hurd/Makefile: Likewise.
33206 * hurd/hurd/signal.h: Likewise.
33207 * hurd/hurdfault.c: Likewise.
33208 * hurd/hurdioctl.c: Likewise.
33209 * hurd/hurdlookup.c: Likewise.
33210 * hurd/intr-msg.c: Likewise.
33211 * iconv/gconv_open.c: Likewise.
33212 * libio/swprintf.c: Likewise.
33213 * locale/lc-ctype.c: Likewise.
33214 * locale/nl_langinfo.c: Likewise.
33215 * mach/Machrules: Likewise.
33216 * mach/Makefile: Likewise.
33217 * malloc/obstack.h: Likewise.
33218 * manual/Makefile: Likewise.
33219 * manual/tsort.awk: Likewise.
33220 * misc/bits/stab.def: Likewise.
33221 * nis/nis_print_group_entry.c: Likewise.
33222 * nis/nis_table.c: Likewise.
33223 * nis/nss_compat/compat-pwd.c: Likewise.
33224 * nis/nss_compat/compat-spwd.c: Likewise.
33225 * po/Makefile: Likewise.
33226 * posix/fnmatch.c: Likewise.
33227 * posix/regex.h: Likewise.
33228 * resolv/Makefile: Likewise.
33229 * resolv/nss_dns/dns-network.c: Likewise.
33230 * resolv/res_hconf.c: Likewise.
33231 * scripts/gen-sorted.awk: Likewise.
33232 * soft-fp/soft-fp.h: Likewise.
33233 * stdio-common/printf.h: Likewise.
33234 * stdlib/monetary.h: Likewise.
33235 * stdlib/random.c: Likewise.
33236 * stdlib/random_r.c: Likewise.
33237 * sysdeps/generic/Makefile: Likewise.
33238 * sysdeps/gnu/Makefile: Likewise.
33239 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33240 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33241 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33243 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33245 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33246 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33247 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33249 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33250 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33251 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33252 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33253 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33254 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33255 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33256 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33257 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33259 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33260 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33261 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33262 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33263 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33264 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33265 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33266 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33267 * sysdeps/mach/hurd/errnos.awk: Likewise.
33268 * sysdeps/mach/hurd/fork.c: Likewise.
33269 * sysdeps/mach/hurd/getcwd.c: Likewise.
33270 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33271 * sysdeps/mach/hurd/mmap.c: Likewise.
33272 * sysdeps/mach/hurd/utimes.c: Likewise.
33273 * sysdeps/mach/hurd/xmknod.c: Likewise.
33274 * sysdeps/posix/profil.c: Likewise.
33275 * sysdeps/posix/readdir_r.c: Likewise.
33276 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33277 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33278 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33279 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33281 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33282 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33283 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33285 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33286 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33287 * sysdeps/pthread/lio_listio.c: Likewise.
33288 * sysdeps/sparc/dl-procinfo.h: Likewise.
33289 * sysdeps/unix/i386/sysdep.S: Likewise.
33290 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33291 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33292 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33293 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33295 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33296 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33297 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33298 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33299 * sysdeps/wordsize-32/divdi3.c: Likewise.
33300 * time/sys/time.h: Likewise.
33301 * wcsmbs/Makefile: Likewise.
33303 2013-01-01 David S. Miller <davem@davemloft.net>
33305 * po/fr.po: Update from translation team.
33307 * catgets/gencat.c: Update copyright year.
33308 * csu/version.c: Likewise.
33309 * debug/catchsegv.sh: Likewise.
33310 * debug/pcprofiledump.c: Likewise.
33311 * debug/xtrace.sh: Likewise.
33312 * elf/ldconfig.c: Likewise.
33313 * elf/ldd.bash.in: Likewise.
33314 * elf/pldd.c: Likewise.
33315 * elf/sotruss.ksh: Likewise.
33316 * elf/sprof.c: Likewise.
33317 * iconv/iconv_prog.c: Likewise.
33318 * iconv/iconvconfig.c: Likewise.
33319 * locale/programs/locale.c: Likewise.
33320 * locale/programs/localedef.c: Likewise.
33321 * login/programs/pt_chown.c: Likewise.
33322 * malloc/memusage.sh: Likewise.
33323 * malloc/memusagestat.c: Likewise.
33324 * malloc/mtrace.pl: Likewise.
33325 * nscd/nscd.c: Likewise.
33326 * nss/getent.c: Likewise.
33327 * nss/makedb.c: Likewise.
33328 * posix/getconf.c: Likewise.
33330 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33332 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33335 2012-12-30 Mike Frysinger <vapier@gentoo.org>
33337 * math/bits/mathcalls.h (modf): Use __nonnull.
33339 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33341 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33342 (split): Use macro CN instead of the bare value.
33343 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33346 instead of the bare value.
33347 (power1): Likewise.
33349 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33351 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33353 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33355 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33357 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33358 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33359 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33360 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33362 2012-12-28 Andreas Jaeger <aj@suse.de>
33364 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33365 values are from Linux 3.7.
33367 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33368 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33370 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33372 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33375 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33377 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33378 variables with preprocessor constants.
33379 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33380 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33381 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33383 2012-12-27 Bruno Haible <bruno@clisp.org>
33386 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33389 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33392 and use variable directly.
33393 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33395 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33397 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33398 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33400 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33401 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33402 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33403 include directive. Remove local variable MPONE.
33404 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33405 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33406 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33408 2012-12-25 David S. Miller <davem@davemloft.net>
33410 * version.h (RELEASE): Set to "development".
33411 (VERSION): Set to "2.17.90".
33412 * NEWS: Add 2.18 section.
33414 2012-12-21 David S. Miller <davem@davemloft.net>
33416 * po/hr.po: Update from translation team.
33418 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33420 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33422 2012-12-19 Steve Ellcey <sellcey@mips.com>
33424 * NEWS: Mention new memcpy for MIPS.
33426 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33428 * manual/contrib.texi (Contributors): Spelling correction.
33430 2012-12-15 David S. Miller <davem@davemloft.net>
33432 * po/ru.po: Update from translation team.
33434 2012-12-13 David S. Miller <davem@davemloft.net>
33436 * NEWS: Mention IFUNC testsuite enhancements.
33438 * po/pl.po: Update from translation team.
33439 * po/bg.po: Likewise.
33441 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33442 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33444 2012-12-11 David S. Miller <davem@davemloft.net>
33446 * po/sv.po: Update from translation team.
33448 * po/vi.po: Update from translation team.
33450 * po/cs.po: Update from translation team.
33452 * po/de.po: Update from translation team.
33453 * po/eo.po: Likewise.
33454 * po/nl.po: Likewise.
33456 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33459 * manual/argp.texi (Argp Helper Functions): Move node to follow
33460 Argp Parsing State.
33463 * manual/conf.texi (Limits on File System Capacity): Mention if
33464 terminating null is included in the max size.
33466 2012-12-10 Andreas Jaeger <aj@suse.de>
33468 * po/cs.po: Update from translation team.
33470 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33472 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33473 void pointer and cast to uintptr_t.
33474 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33476 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33477 * sysdeps/s390/s390-64/memset.S: Likewise.
33479 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
33482 * menual/message.texi (Message Translation): Fix typos.
33483 (Helper programs for gettext): Likewise.
33485 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33488 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33491 2012-12-07 David S. Miller <davem@davemloft.net>
33493 * po/libc.pot: Update.
33495 2012-12-07 Richard Henderson <rth@redhat.com>
33498 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33499 normal/normal case to before the switch.
33500 (_FP_DIV): Likewise.
33502 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33503 Mike Frysinger <vapier@gentoo.org>
33505 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33506 check for __NR_fadvise64_64.
33508 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33510 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33511 0, not just to plain "0" as a statement.
33512 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33515 2012-12-06 Joseph Myers <joseph@codesourcery.com>
33517 * NEWS: Use sourceware.org in Bugzilla URL.
33519 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33522 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33524 * stdio-common/tst-put-error.c (do_test): Add newline to the
33525 padded test to ensure flush.
33527 2012-12-05 Jeff Law <law@redhat.com>
33529 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33531 2012-12-05 Joseph Myers <joseph@codesourcery.com>
33533 * README: Don't refer to ports add-on as distributed separately.
33534 Mention AArch64 in list of systems supported in the ports add-on.
33536 * LICENSES: Add more non-FSF copyright and license notices.
33538 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33541 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33543 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33544 10000 as width of padded output.
33546 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33548 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33550 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33551 variable LX with __attribute__ ((unused)).
33552 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33554 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33556 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33557 with __attribute__ ((unused)).
33559 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
33561 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33563 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33565 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33566 (CFLAGS-nldbl-acos.c): New variable.
33567 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33568 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33569 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33570 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33571 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33572 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33573 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33574 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33575 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33576 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33577 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33578 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33579 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33580 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33581 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33582 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33583 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33584 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33585 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33586 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33587 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33588 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33589 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33590 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33591 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33592 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33593 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33594 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33595 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33596 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33597 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33598 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33599 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33600 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33601 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33602 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33603 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33604 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33605 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33606 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33607 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33608 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33609 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33610 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33611 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33612 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33613 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33614 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33615 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33616 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33617 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33618 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33619 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33620 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33621 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33622 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33623 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33624 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33625 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33626 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33627 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33628 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33629 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33630 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33631 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33632 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33633 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33634 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33635 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33636 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33637 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33638 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33639 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33640 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33641 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33642 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33643 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33644 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33645 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33646 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33647 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33648 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33649 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33650 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33651 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33652 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33653 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33654 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33655 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33656 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33657 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33658 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33659 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33660 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33661 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33662 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33663 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33666 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33669 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33670 whole low double instead of just low 47 bits when splitting values
33673 2012-12-03 Allan McRae <allan@archlinux.org>
33675 * manual/stdio.texi (Predefined Printf Handlers): Remove
33676 @hsep and @vsep usage.
33678 2012-12-03 Mike Frysinger <vapier@gentoo.org>
33680 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33681 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33683 2012-12-03 Jeff Law <law@redhat.com>
33685 * time/sys/time.h (settimeofday): Do not mark TV argument
33688 2012-12-01 Mike Frysinger <vapier@gentoo.org>
33690 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33691 when currently writing and seek to current position when not.
33692 * libio/Makefile (tests): Remove bug-fclose1.
33693 * libio/bug-fclose1.c: Delete.
33695 2012-12-01 Joseph Myers <joseph@codesourcery.com>
33697 * manual/arith.texi (feenableexcept): Fix typo.
33698 (fedisableexcept): Likewise.
33700 2012-11-30 Roland McGrath <roland@hack.frob.com>
33702 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33703 second, differently-typed declaration, rather than a cast.
33705 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33707 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33708 * include/rpc/svc.h: ... here.
33710 2012-11-30 Aurelien Jarno <aurel32@debian.org>
33713 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33714 depending n and resplen2 to catch cases where answer
33717 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33719 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33720 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33722 2012-11-29 Mike Frysinger <vapier@gentoo.org>
33724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33726 2012-11-29 Roland McGrath <roland@hack.frob.com>
33728 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33730 2012-11-28 Jeff Law <law@redhat.com>
33733 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33734 dataset_temporary. Track alloca usage into alloca_used.
33735 If dataset is large allocate and release it via malloc/free.
33737 2012-06-04 Florian Weimer <fweimer@redhat.com>
33740 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33742 2012-11-28 David S. Miller <davem@davemloft.net>
33744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33746 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33749 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33750 of pi/2 rounded to nearest to 64 bits.
33751 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33752 nearest to 64 bits.
33753 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33756 2012-11-28 Jeff Law <law@redhat.com>
33757 Martin Osvald <mosvald@redhat.com>
33760 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33761 * sunrpc/svc.c: Include time.h.
33762 (__svc_accept_failed): New function.
33763 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33764 any reason other than EINTR, call __svc_accept_failed.
33765 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33766 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33768 2012-11-28 Andreas Schwab <schwab@suse.de>
33770 * scripts/abilist.awk: Also handle indirect functions in .opd
33773 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33776 * sysdeps/x86/fpu/powl_helper.c: New file.
33777 * sysdeps/x86/fpu/Makefile: Likewise.
33778 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33780 (__ieee754_powl): Use __powl_helper for finite arguments except
33781 integer exponents below 8.
33782 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33784 (__ieee754_powl): Use __powl_helper for finite arguments except
33785 integer exponents below 8.
33786 * math/libm-test.inc (pow_test): Add more tests and enable some
33787 previously disabled tests.
33788 * sysdeps/i386/fpu/libm-test-ulps: Update.
33789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33791 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33792 Carlos O'Donell <carlos_odonell@mentor.com>
33794 * nss/makedb.c (is_prime): Assert that input is odd and greater
33795 than 4. Note that fact in a comment too.
33796 (next_prime): Add 4 to input.
33798 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33801 * libio/Makefile (tests): Add test case tst-fwrite-error.
33802 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33803 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33804 * libio/tst-fwrite-error.c: New test case.
33806 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33808 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33809 before casting to void *.
33810 * include/libc-internal.h (__pointer_type): New macro.
33811 (__integer_if_pointer_type_sub): Likewise.
33812 (__integer_if_pointer_type): Likewise.
33813 (cast_to_integer): Likewise.
33814 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33815 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33816 before casting to atomic64_t.
33817 (atomic_exchange_acq): Likewise.
33818 (__arch_exchange_and_add_body): Likewise.
33819 (__arch_add_body): Likewise.
33820 (atomic_add_negative): Likewise.
33821 (atomic_add_zero): Likewise.
33823 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33825 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33826 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33827 (add_fdes): Likewise.
33828 (linear_search_fdes): Likewise.
33829 (binary_search_unencoded_fdes): Likewise.
33831 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33833 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33835 2012-11-24 Adam Conrad <adconrad@0c3.net>
33837 * configure.in: Autodetect C++ header directories.
33838 * configure: Regenerated.
33840 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33842 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33844 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33848 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33850 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33851 LDBL_MANT_DIG == 106]: Disable some tests.
33852 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33854 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33858 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33859 input for small inputs. Return +/- pi/2 for large inputs.
33860 * math/libm-test.inc (atan_test): Add more tests.
33862 * sysdeps/generic/unwind-dw2-fde-glibc.c
33863 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33864 __attribute__ ((unused)).
33867 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33868 x * y if x and y are nonzero and z is zero.
33871 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33872 nonzero exponents with absolute value below 0x1p-117 to +/-
33876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33877 up arguments below 2**-450, not just those below 2**-500.
33878 * math/libm-test.inc (hypot_test): Add another test.
33881 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33882 Return a+b for ratio over 2**120, not 2**60.
33883 * math/libm-test.inc (hypot_test): Add another test.
33885 * math/libm-test.inc (clog_test): Use
33886 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33887 (clog10_test): Likewise.
33890 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33892 2012-11-22 Andreas Schwab <schwab@suse.de>
33894 * sysdeps/i386/fpu/libm-test-ulps: Update.
33896 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33898 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33899 printf output with newline.
33901 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33904 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33905 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33906 -z nodlopen, -z initfirst and -z execstack support.
33907 * configure: Regenerated.
33909 * elf/elf.h (DF_1_NODIRECT): New macro.
33910 (DF_1_IGNMULDEF): Likewise.
33911 (DF_1_NOKSYMS): Likewise.
33912 (DF_1_NOHDR): Likewise.
33913 (DF_1_EDITED): Likewise.
33914 (DF_1_NORELOC): Likewise.
33915 (DF_1_SYMINTPOSE): Likewise.
33916 (DF_1_GLOBAUDIT): Likewise.
33917 (DF_1_SINGLETON): Likewise.
33918 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33919 DT_1_SUPPORTED_MASK bits.
33920 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33922 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33924 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33926 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33928 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33931 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33932 (sendmmsg): Move declarations...
33933 * socket/sys/socket.h: ... here.
33934 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33935 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33937 * socket/recvmmsg.c: ... this new file.
33938 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33939 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33940 definition of __sendmmsg hidden.
33941 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33942 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33943 Move ENOSYS stub into and include it from...
33944 * socket/sendmmsg.c: ... this new file.
33945 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33946 (sysdep_routines): Move recvmmsg and sendmmsg...
33947 * socket/Makefile (routines): ... here.
33948 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33949 (GLIBC_PRIVATE): Add __sendmmsg.
33950 * include/sys/socket.h (__sendmmsg): Add declarations.
33951 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33954 2012-11-20 Joseph Myers <joseph@codesourcery.com>
33956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33957 variable I1 with __attribute__ ((unused)).
33958 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33960 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33962 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33963 DUMMY variables with __attribute__ ((unused)).
33965 * bits/byteswap.h: Include <bits/types.h>.
33966 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33968 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33970 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33971 string_t. Do not manually set errno.
33972 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33973 length with __strnlen. Make sure to both set errno and return it on
33976 2012-11-19 David S. Miller <davem@davemloft.net>
33978 With help from Joseph Myers.
33979 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33980 very large arguments properly.
33981 * math/libm-test.inc (atan_test): New tests.
33982 (atan2_test): New tests.
33983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33986 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33989 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33992 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33993 [POSIX] (EADDRNOTAVAIL): Likewise.
33994 [POSIX] (EAFNOSUPPORT): Likewise.
33995 [POSIX] (EALREADY): Likewise.
33996 [POSIX] (ECONNABORTED): Likewise.
33997 [POSIX] (ECONNREFUSED): Likewise.
33998 [POSIX] (ECONNRESET): Likewise.
33999 [POSIX] (EDESTADDRREQ): Likewise.
34000 [POSIX] (EDQUOT): Likewise.
34001 [POSIX] (EHOSTUNREACH): Likewise.
34002 [POSIX] (EIDRM): Likewise.
34003 [POSIX] (EISCONN): Likewise.
34004 [POSIX] (ELOOP): Likewise.
34005 [POSIX] (EMULTIHOP): Likewise.
34006 [POSIX] (ENETDOWN): Likewise.
34007 [POSIX] (ENETUNREACH): Likewise.
34008 [POSIX] (ENOBUFS): Likewise.
34009 [POSIX] (ENODATA): Likewise.
34010 [POSIX] (ENOLINK): Likewise.
34011 [POSIX] (ENOMSG): Likewise.
34012 [POSIX] (ENOPROTOOPT): Likewise.
34013 [POSIX] (ENOSR): Likewise.
34014 [POSIX] (ENOSTR): Likewise.
34015 [POSIX] (ENOTCONN): Likewise.
34016 [POSIX] (ENOTSOCK): Likewise.
34017 [POSIX] (EOPNOTSUPP): Likewise.
34018 [POSIX] (EOVERFLOW): Likewise.
34019 [POSIX] (EPROTO): Likewise.
34020 [POSIX] (EPROTONOSUPPORT): Likewise.
34021 [POSIX] (EPROTOTYPE): Likewise.
34022 [POSIX] (ESTALE): Likewise.
34023 [POSIX] (ETIME): Likewise.
34024 [POSIX] (ETXTBSY): Likewise.
34025 [POSIX] (EWOULDBLOCK): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34027 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34028 [POSIX] (SEEK_CUR): Likewise.
34029 [POSIX] (SEEK_END): Likewise.
34030 [POSIX || UNIX98] (mode_t): Do not require.
34031 [POSIX] (off_t): Likewise.
34032 [POSIX] (pid_t): Likewise.
34033 [POSIX] (sys/stat.h): Do not allow header.
34034 [POSIX] (unistd.h): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34036 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34038 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34040 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34041 sigevent): Specify elements.
34042 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34044 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34045 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34047 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34048 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34049 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34050 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34051 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34052 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34053 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34054 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34055 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34056 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34057 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34058 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34059 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34060 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34062 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34064 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34066 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34068 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34069 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34070 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34071 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34072 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34073 Specify lower bound on value.
34074 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34075 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34076 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34077 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34078 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34079 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34080 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34081 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34083 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34085 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34086 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34087 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34088 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34089 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34090 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34091 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34092 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34093 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34094 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34095 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34096 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34097 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34098 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34099 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34100 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34102 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34104 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34105 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34106 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34107 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34108 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34109 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34111 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34112 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34113 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34114 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34115 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34116 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34117 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34119 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34120 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34121 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34122 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34123 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34124 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34125 specify as optional.
34126 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34127 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34128 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34129 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34130 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34131 [XPG3] (NL_LANGMAX): Likewise.
34132 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34133 [POSIX || XPG3] (NL_NMAX): Likewise.
34134 [POSIX || XPG3] (NL_SETMAX): Likewise.
34135 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34136 [XPG3] (NZERO): Likewise.
34137 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34138 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34139 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34140 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34141 (REG_ERANGE): Expect.
34142 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34144 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34145 Use (void) in prototype.
34146 [POSIX] (*_t): Allow.
34147 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34148 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34149 (WRDE_BADVAL): Expect.
34151 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34153 [XPG3 || XPG4] (O_RSYNC): Likewise.
34154 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34156 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34157 [XPG3 || XPG4] (sigqueue): Likewise.
34158 [XPG3 || XPG4] (sigtimedwait): Likewise.
34159 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34160 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34161 [XPG3 || XPG4] (vsnprintf): Likewise.
34162 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34164 [XPG3 || XPG4] (blksize_t): Likewise.
34165 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34167 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34168 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34169 [XPG3 || XPG4] (struct itimerspec): Likewise.
34170 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34171 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34172 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34173 [XPG3 || XPG4] (clockid_t): Likewise.
34174 [XPG3 || XPG4] (timer_t): Likewise.
34175 [XPG3 || XPG4] (clock_getres): Likewise.
34176 [XPG3 || XPG4] (clock_gettime): Likewise.
34177 [XPG3 || XPG4] (clock_settime): Likewise.
34178 [XPG3 || XPG4] (nanosleep): Likewise.
34179 [XPG3 || XPG4] (timer_create): Likewise.
34180 [XPG3 || XPG4] (timer_delete): Likewise.
34181 [XPG3 || XPG4] (timer_gettime): Likewise.
34182 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34183 [XPG3 || XPG4] (timer_settime): Likewise.
34184 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34185 [XPG3 || XPG4] (getlogin_r): Likewise.
34186 [XPG3 || XPG4] (pread): Likewise.
34187 [XPG3 || XPG4] (pthread_atfork): Likewise.
34188 [XPG3 || XPG4] (pwrite): Likewise.
34191 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34194 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34196 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34197 finalizing MALLSTREAM.
34199 * sysdeps/mach/hurd/syncfs.c: New file.
34201 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34204 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34205 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34206 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34207 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34208 (_nss_dns_gethostbyname4_r): Likewise.
34209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34210 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34212 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34215 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34217 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34219 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34220 * elf/cache.c (print_entry): Print ",AArch64" for
34223 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34224 * elf/cache.c (print_entry): Print ",hard-float" for
34227 2012-11-18 David S. Miller <davem@davemloft.net>
34229 With help from Joseph Myers.
34230 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34232 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34234 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34235 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34237 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34238 * math/libm-test.inc (y0_test): New tests.
34239 (y1_test): New tests.
34240 * sysdeps/i386/fpu/libm-test-ulps: Update.
34241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34244 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34246 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34248 * configure: Regenerated.
34250 2012-11-17 David S. Miller <davem@davemloft.net>
34253 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34254 nonzero exponents with absolute value below 0x1p-128 to +/-
34257 2012-11-17 Joseph Myers <joseph@codesourcery.com>
34259 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34261 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34263 * posix/getconf-speclist.c: New file.
34264 * posix/posix-envs.def: Likewise.
34265 * posix/confstr.c (START_ENV_GROUP): New macro.
34266 (END_ENV_GROUP): Likewise.
34267 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34268 (KNOWN_PRESENT_ENV_STRING): Likewise.
34269 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34270 (UNKNOWN_ENVIRONMENT): Likewise.
34271 (confstr): Include posix-envs.def instead of handling
34272 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34273 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34274 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34275 (END_ENV_GROUP): Likewise.
34276 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34277 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34278 (UNKNOWN_ENVIRONMENT): Likewise.
34279 (__sysconf): Include posix-envs.def instead of handling associated
34280 cases directly here.
34281 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34282 preprocessing getconf-speclist.c rather than running getconf or
34283 generating empty file.
34285 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34287 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34289 2012-11-16 Andrej Lajovic <natrij@gmail.com>
34292 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34294 2012-11-16 David S. Miller <davem@davemloft.net>
34296 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34297 smaller than LDBL_EPSILON/2.0L, just return xm1.
34299 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34301 * elf/tst-array1.c (init): Set constructor priority to 1000.
34302 (fini): Set destructor priority to 1000.
34303 * elf/tst-array2dep.c: Likewise.
34305 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34308 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34309 (_IO_new_file_xsputn): Also return EOF if none of the input
34310 data was written when overflow failed.
34311 * libio/iopadn.c (_IO_padn): Likewise.
34312 * libio/iowpadn.c (_IO_wpadn): Likewise.
34313 * stdio-common/tst-put-error.c: Add copyright notice.
34314 (do_test): Add case for printing padded string.
34315 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34316 _IO_padn returned error.
34317 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34318 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34321 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34323 * libio/libioP.h: Add comment note that the references to C++
34324 bits are now obsolete.
34326 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34328 * math/libm-test.inc (check_complex): Use asprintf.
34330 2012-11-14 Joseph Myers <joseph@codesourcery.com>
34332 * debug/pcprofiledump.c (print_version): Update copyright year.
34333 * malloc/memusagestat.c (print_version): Likewise.
34335 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34338 * elf/Makefile (tests): Add tst-audit8.
34339 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34340 ($(objpfx)tst-audit8.out): New target.
34341 (tst-audit8-ENV): New variable.
34342 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34343 audit if l_reloc_result is NULL.
34344 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34345 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34346 * elf/tst-audit8.c: New file.
34348 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34350 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34351 * misc/Makefile (CFLAGS-select.c): Define.
34352 * posix/Makefile (CFLAGS-pause.c): Define.
34354 2012-11-13 David S. Miller <davem@davemloft.net>
34356 * crypt/Makefile: Move test targets after toplevel Rules
34357 inclusion. Grab any necessary sysdep routines when linking.
34358 * crypt/md5.c (md5_process_block): Remove define, we will always
34359 name it __md5_process_block.
34360 (md5_finish_ctx): Update md5_process_block call.
34361 (md5_stream): Likewise.
34362 (md5_process_bytes): Likewise.
34363 (md5_process_block): Rename to __md5_process_block and move to ...
34364 * crypt/md5-block.c: ... here.
34365 * crypt/sha256.c (sha256_process_block): Move to ...
34366 * crypt/sha256-block.c: ... here.
34367 * crypt/sha512.c (sha512_process_block): Move to ...
34368 * crypt/sha512-block.c: ... here.
34369 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34371 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34372 * sysdeps/sparc/sparc64/multiarch/Makefile
34373 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34375 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34376 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34378 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34379 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34380 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34381 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34382 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34383 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34384 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34385 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34386 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34388 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34389 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34391 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34393 2012-11-13 Joseph Myers <joseph@codesourcery.com>
34395 * timezone/tzselect.ksh: Update from tzcode git revision
34396 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34397 * timezone/zdump.c: Likewise.
34398 * timezone/zic.c: Likewise.
34399 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34400 in TZVERSION setting, not $(PKGVERSION).
34401 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34402 REPORT_BUGS_TO settings.
34405 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34408 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34410 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34411 detection to immediately after _FP_ROUND().
34412 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34415 2012-11-11 David S. Miller <davem@davemloft.net>
34417 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34419 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34420 __close rather than their public counterparts.
34422 2012-11-10 Joseph Myers <joseph@codesourcery.com>
34424 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34426 [UNIX98] (sem_timedwait): Do not expect.
34427 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34428 [XPG4 || UNIX98] (sockatmark): Do not expect.
34429 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34430 (clock_getcpuclockid): Do not expect.
34431 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34432 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34434 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34435 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34436 [UNIX98] (vwscanf): Likewise.
34437 [UNIX98] (vswscanf): Likewise.
34439 2012-11-09 Joseph Myers <joseph@codesourcery.com>
34441 * timezone/version.h: Remove file.
34442 * timezone/README: Do not refer to version.h.
34443 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34444 $(objpfx)version.h.
34445 ($(objpfx)zdump.o): Likewise.
34446 ($(objpfx)version.h): New target.
34448 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34450 * timezone/README: Don't mention modification to tzselect.ksh.
34451 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34452 work on unmodified tzselect.ksh. Substitute version numbers in
34455 * Makefile (format-me): Remove.
34456 (INSTALL): Adjust indentation. Use commands directly instead of
34457 using $(format-me).
34459 * aclocal.m4 (ACX_PKGVERSION): New macro.
34460 (ACX_BUGURL): Likewise.
34461 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34462 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34463 (REPORT_BUGS_TO): Likewise.
34464 * configure: Regenerated.
34465 * config.h.in (PKGVERSION): New macro.
34466 (REPORT_BUGS_TO): Likewise.
34467 * config.make.in (PKGVERSION): New variable.
34468 (PKGVERSION_TEXI): Likewise.
34469 (REPORT_BUGS_TO): Likewise.
34470 (REPORT_BUGS_TEXI): Likewise.
34471 * Makefile (format-me): Use -I$(common-objpfx)manual.
34472 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34473 ($(common-objpfx)manual/%): New target.
34474 (manual/%): Remove target.
34475 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34476 (print_version): Use PKGVERSION.
34477 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34478 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34479 and REPORT_BUGS_TO.
34480 ($(objpfx)xtrace): Likewise.
34481 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34482 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34483 (print_version): Use PKGVERSION.
34484 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34485 (do_version): Use PKGVERSION.
34486 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34488 (common-ldd-rewrite): Likewise.
34489 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34490 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34491 (print_version): Use PKGVERSION.
34492 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34493 * elf/pldd.c (argp_program_bug_address): Remove variable.
34494 (more_help): New function.
34495 (argp): Use more_help.
34496 (print_version): Use PKGVERSION.
34497 * elf/sln.c (main): Use PKGVERSION.
34498 (usage): Use REPORT_BUGS_TO.
34499 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34500 (top level): Use PKGVERSION.
34501 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34502 (print_version): Use PKGVERSION.
34503 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34504 (print_version): Use PKGVERSION.
34505 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34506 (print_version): Use PKGVERSION.
34507 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34508 (print_version): Use PKGVERSION.
34509 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34510 (print_version): Use PKGVERSION.
34511 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34512 (print_version): Use PKGVERSION.
34513 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34515 ($(objpfx)memusage): Likewise.
34516 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34517 (do_version): Use PKGVERSION.
34518 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34519 (print_version): Use PKGVERSION.
34520 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34521 ($PKGVERSION): New variable.
34522 ($REPORT_BUGS_TO): Likewise.
34523 (usage): Use $REPORT_BUGS_TO.
34524 (top level): Use $PKGVERSION.
34525 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34526 ($(objpfx)pkgvers.texi): New rule.
34527 ($(objpfx)stamp-pkgvers): Likewise.
34528 * manual/install.texi: Include pkgvers.texi.
34529 (--with-pkgversion): Document new configure option.
34530 (--with-bugurl): Likewise.
34531 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34532 than necessarily for this particular distribution. Use
34533 REPORT_BUGS_TO for where to report bugs.
34534 * INSTALL: Regenerated.
34535 * manual/libc.texinfo: Include pkgvers.texi.
34536 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34537 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34538 (print_version): Use PKGVERSION.
34539 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34540 (print_version): Use PKGVERSION.
34541 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34542 (print_version): Use PKGVERSION.
34543 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34544 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34546 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34547 (print_version): Use PKGVERSION.
34548 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34549 (print_version): Use PKGVERSION.
34550 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34553 * timezone/checktab.awk: Update from tzcode 2012i.
34554 * timezone/ialloc.c: Likewise.
34555 * timezone/private.h: Likewise.
34556 * timezone/scheck.c: Likewise.
34557 * timezone/tzfile.h: Likewise.
34558 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34559 (TZVERSION): Hardcode tzcode version number.
34560 * timezone/zdump.c: Update from tzcode 2012i.
34561 * timezone/zic.c: Likewise.
34562 * timezone/version.h: New file.
34563 * timezone/README: Describe version.h. Update upstream location.
34566 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34567 (mktemp): Enable declaration.
34568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34579 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34585 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34586 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34587 for copies of such integer values.
34588 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34589 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34591 2012-11-09 Andreas Jaeger <aj@suse.de>
34593 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34594 definitions and declarations that are provided by
34595 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34597 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34599 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34600 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34601 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34604 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34606 * elf/elf.h: Update comment before AArch64 relocations.
34608 2012-11-07 David S. Miller <davem@davemloft.net>
34610 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34611 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34612 (__start_context): Declare.
34613 (__makecontext_ret): Delete.
34614 (__makecontext): Hook up __start_context instead of
34616 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34617 (sysdep_routines): Add __start_context when in stdlib.
34619 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34621 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34622 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34623 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34625 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34626 (READELF): New variable. Use it instead of hardcoded "readelf".
34628 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34630 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34631 * sysdeps/x86/Makefile: Here.
34632 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34633 * sysdeps/x86/tst-xmmymm.sh: This.
34635 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34637 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34639 [UNIX98] (pthread_barrier_t): Do not expect.
34640 [UNIX98] (pthread_barrierattr_t): Likewise.
34641 [UNIX98] (pthread_spinlock_t): Likewise.
34642 [UNIX98] (pthread_barrier_destroy): Likewise.
34643 [UNIX98] (pthread_barrier_init): Likewise.
34644 [UNIX98] (pthread_barrier_wait): Likewise.
34645 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34646 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34647 [UNIX98] (pthread_barrierattr_init): Likewise.
34648 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34649 [UNIX98] (pthread_getcpuclockid): Likewise.
34650 [UNIX98] (pthread_mutex_timedlock): Likewise.
34651 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34652 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34653 [UNIX98] (pthread_sigmask): Likewise.
34654 [UNIX98] (pthread_spin_destroy): Likewise.
34655 [UNIX98] (pthread_spin_init): Likewise.
34656 [UNIX98] (pthread_spin_lock): Likewise.
34657 [UNIX98] (pthread_spin_trylock): Likewise.
34658 [UNIX98] (pthread_spin_unlock): Likewise.
34659 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34661 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34662 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34663 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34664 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34665 [XPG3 || XPG4] (pthread_key_t): Likewise.
34666 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34667 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34668 [XPG3 || XPG4] (pthread_once_t): Likewise.
34669 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34670 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34671 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34672 [XPG3 || XPG4] (pthread_t): Likewise.
34674 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34676 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34678 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34679 Change function return type to int.
34681 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34682 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34683 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34684 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34685 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34686 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34687 [!POSIX] (posix_madvise): Likewise.
34688 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34690 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34691 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34692 (mode_t): Likewise.
34693 (posix_mem_offset): Likewise.
34694 (posix_typed_mem_get_info): Likewise.
34695 (posix_typed_mem_open): Likewise.
34697 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34698 Change condition to [XOPEN2K8].
34700 * conform/conformtest.pl: Preprocess allow-header data with -x c
34701 instead of from stdin.
34702 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34703 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34704 [C99-based standards] (cerfc): Likewise.
34705 [C99-based standards] (cexp2): Likewise.
34706 [C99-based standards] (cexpm1): Likewise.
34707 [C99-based standards] (clog10): Likewise.
34708 [C99-based standards] (clog1p): Likewise.
34709 [C99-based standards] (clog2): Likewise.
34710 [C99-based standards] (clgamma): Likewise.
34711 [C99-based standards] (ctgamma): Likewise.
34712 [C99-based standards] (cerff): Likewise.
34713 [C99-based standards] (cerfcf): Likewise.
34714 [C99-based standards] (cexp2f): Likewise.
34715 [C99-based standards] (cexpm1f): Likewise.
34716 [C99-based standards] (clog10f): Likewise.
34717 [C99-based standards] (clog1pf): Likewise.
34718 [C99-based standards] (clog2f): Likewise.
34719 [C99-based standards] (clgammaf): Likewise.
34720 [C99-based standards] (ctgammaf): Likewise.
34721 [C99-based standards] (cerfl): Likewise.
34722 [C99-based standards] (cerfcl): Likewise.
34723 [C99-based standards] (cexp2l): Likewise.
34724 [C99-based standards] (cexpm1l): Likewise.
34725 [C99-based standards] (clog10l): Likewise.
34726 [C99-based standards] (clog1pl): Likewise.
34727 [C99-based standards] (clog2l): Likewise.
34728 [C99-based standards] (clgammal): Likewise.
34729 [C99-based standards] (ctgammal): Likewise.
34730 * conform/data/inttypes.h-data [C99-based standards]: Include
34731 stdint.h-data. Remove all expectations for stdint.h contents.
34732 [C99-based standards] (PRI*): Do not allow.
34733 [C99-based standards] (SCN*): Likewise.
34734 [C99-based standards] (*_t): Likewise.
34735 [C99-based-standards] (PRId8): Expect macro.
34736 [C99-based-standards] (PRIi8): Likewise.
34737 [C99-based-standards] (PRIo8): Likewise.
34738 [C99-based-standards] (PRIu8): Likewise.
34739 [C99-based-standards] (PRIx8): Likewise.
34740 [C99-based-standards] (PRIX8): Likewise.
34741 [C99-based-standards] (SCNd8): Likewise.
34742 [C99-based-standards] (SCNi8): Likewise.
34743 [C99-based-standards] (SCNo8): Likewise.
34744 [C99-based-standards] (SCNu8): Likewise.
34745 [C99-based-standards] (SCNx8): Likewise.
34746 [C99-based-standards] (PRIdLEAST8): Likewise.
34747 [C99-based-standards] (PRIiLEAST8): Likewise.
34748 [C99-based-standards] (PRIoLEAST8): Likewise.
34749 [C99-based-standards] (PRIuLEAST8): Likewise.
34750 [C99-based-standards] (PRIxLEAST8): Likewise.
34751 [C99-based-standards] (PRIXLEAST8): Likewise.
34752 [C99-based-standards] (SCNdLEAST8): Likewise.
34753 [C99-based-standards] (SCNiLEAST8): Likewise.
34754 [C99-based-standards] (SCNoLEAST8): Likewise.
34755 [C99-based-standards] (SCNuLEAST8): Likewise.
34756 [C99-based-standards] (SCNxLEAST8): Likewise.
34757 [C99-based-standards] (PRIdFAST8): Likewise.
34758 [C99-based-standards] (PRIiFAST8): Likewise.
34759 [C99-based-standards] (PRIoFAST8): Likewise.
34760 [C99-based-standards] (PRIuFAST8): Likewise.
34761 [C99-based-standards] (PRIxFAST8): Likewise.
34762 [C99-based-standards] (PRIXFAST8): Likewise.
34763 [C99-based-standards] (SCNdFAST8): Likewise.
34764 [C99-based-standards] (SCNiFAST8): Likewise.
34765 [C99-based-standards] (SCNoFAST8): Likewise.
34766 [C99-based-standards] (SCNuFAST8): Likewise.
34767 [C99-based-standards] (SCNxFAST8): Likewise.
34768 [C99-based-standards] (PRId16): Likewise.
34769 [C99-based-standards] (PRIi16): Likewise.
34770 [C99-based-standards] (PRIo16): Likewise.
34771 [C99-based-standards] (PRIu16): Likewise.
34772 [C99-based-standards] (PRIx16): Likewise.
34773 [C99-based-standards] (PRIX16): Likewise.
34774 [C99-based-standards] (SCNd16): Likewise.
34775 [C99-based-standards] (SCNi16): Likewise.
34776 [C99-based-standards] (SCNo16): Likewise.
34777 [C99-based-standards] (SCNu16): Likewise.
34778 [C99-based-standards] (SCNx16): Likewise.
34779 [C99-based-standards] (PRIdLEAST16): Likewise.
34780 [C99-based-standards] (PRIiLEAST16): Likewise.
34781 [C99-based-standards] (PRIoLEAST16): Likewise.
34782 [C99-based-standards] (PRIuLEAST16): Likewise.
34783 [C99-based-standards] (PRIxLEAST16): Likewise.
34784 [C99-based-standards] (PRIXLEAST16): Likewise.
34785 [C99-based-standards] (SCNdLEAST16): Likewise.
34786 [C99-based-standards] (SCNiLEAST16): Likewise.
34787 [C99-based-standards] (SCNoLEAST16): Likewise.
34788 [C99-based-standards] (SCNuLEAST16): Likewise.
34789 [C99-based-standards] (SCNxLEAST16): Likewise.
34790 [C99-based-standards] (PRIdFAST16): Likewise.
34791 [C99-based-standards] (PRIiFAST16): Likewise.
34792 [C99-based-standards] (PRIoFAST16): Likewise.
34793 [C99-based-standards] (PRIuFAST16): Likewise.
34794 [C99-based-standards] (PRIxFAST16): Likewise.
34795 [C99-based-standards] (PRIXFAST16): Likewise.
34796 [C99-based-standards] (SCNdFAST16): Likewise.
34797 [C99-based-standards] (SCNiFAST16): Likewise.
34798 [C99-based-standards] (SCNoFAST16): Likewise.
34799 [C99-based-standards] (SCNuFAST16): Likewise.
34800 [C99-based-standards] (SCNxFAST16): Likewise.
34801 [C99-based-standards] (PRId32): Likewise.
34802 [C99-based-standards] (PRIi32): Likewise.
34803 [C99-based-standards] (PRIo32): Likewise.
34804 [C99-based-standards] (PRIu32): Likewise.
34805 [C99-based-standards] (PRIx32): Likewise.
34806 [C99-based-standards] (PRIX32): Likewise.
34807 [C99-based-standards] (SCNd32): Likewise.
34808 [C99-based-standards] (SCNi32): Likewise.
34809 [C99-based-standards] (SCNo32): Likewise.
34810 [C99-based-standards] (SCNu32): Likewise.
34811 [C99-based-standards] (SCNx32): Likewise.
34812 [C99-based-standards] (PRIdLEAST32): Likewise.
34813 [C99-based-standards] (PRIiLEAST32): Likewise.
34814 [C99-based-standards] (PRIoLEAST32): Likewise.
34815 [C99-based-standards] (PRIuLEAST32): Likewise.
34816 [C99-based-standards] (PRIxLEAST32): Likewise.
34817 [C99-based-standards] (PRIXLEAST32): Likewise.
34818 [C99-based-standards] (SCNdLEAST32): Likewise.
34819 [C99-based-standards] (SCNiLEAST32): Likewise.
34820 [C99-based-standards] (SCNoLEAST32): Likewise.
34821 [C99-based-standards] (SCNuLEAST32): Likewise.
34822 [C99-based-standards] (SCNxLEAST32): Likewise.
34823 [C99-based-standards] (PRIdFAST32): Likewise.
34824 [C99-based-standards] (PRIiFAST32): Likewise.
34825 [C99-based-standards] (PRIoFAST32): Likewise.
34826 [C99-based-standards] (PRIuFAST32): Likewise.
34827 [C99-based-standards] (PRIxFAST32): Likewise.
34828 [C99-based-standards] (PRIXFAST32): Likewise.
34829 [C99-based-standards] (SCNdFAST32): Likewise.
34830 [C99-based-standards] (SCNiFAST32): Likewise.
34831 [C99-based-standards] (SCNoFAST32): Likewise.
34832 [C99-based-standards] (SCNuFAST32): Likewise.
34833 [C99-based-standards] (SCNxFAST32): Likewise.
34834 [C99-based-standards] (PRId64): Likewise.
34835 [C99-based-standards] (PRIi64): Likewise.
34836 [C99-based-standards] (PRIo64): Likewise.
34837 [C99-based-standards] (PRIu64): Likewise.
34838 [C99-based-standards] (PRIx64): Likewise.
34839 [C99-based-standards] (PRIX64): Likewise.
34840 [C99-based-standards] (SCNd64): Likewise.
34841 [C99-based-standards] (SCNi64): Likewise.
34842 [C99-based-standards] (SCNo64): Likewise.
34843 [C99-based-standards] (SCNu64): Likewise.
34844 [C99-based-standards] (SCNx64): Likewise.
34845 [C99-based-standards] (PRIdLEAST64): Likewise.
34846 [C99-based-standards] (PRIiLEAST64): Likewise.
34847 [C99-based-standards] (PRIoLEAST64): Likewise.
34848 [C99-based-standards] (PRIuLEAST64): Likewise.
34849 [C99-based-standards] (PRIxLEAST64): Likewise.
34850 [C99-based-standards] (PRIXLEAST64): Likewise.
34851 [C99-based-standards] (SCNdLEAST64): Likewise.
34852 [C99-based-standards] (SCNiLEAST64): Likewise.
34853 [C99-based-standards] (SCNoLEAST64): Likewise.
34854 [C99-based-standards] (SCNuLEAST64): Likewise.
34855 [C99-based-standards] (SCNxLEAST64): Likewise.
34856 [C99-based-standards] (PRIdFAST64): Likewise.
34857 [C99-based-standards] (PRIiFAST64): Likewise.
34858 [C99-based-standards] (PRIoFAST64): Likewise.
34859 [C99-based-standards] (PRIuFAST64): Likewise.
34860 [C99-based-standards] (PRIxFAST64): Likewise.
34861 [C99-based-standards] (PRIXFAST64): Likewise.
34862 [C99-based-standards] (SCNdFAST64): Likewise.
34863 [C99-based-standards] (SCNiFAST64): Likewise.
34864 [C99-based-standards] (SCNoFAST64): Likewise.
34865 [C99-based-standards] (SCNuFAST64): Likewise.
34866 [C99-based-standards] (SCNxFAST64): Likewise.
34867 [C99-based-standards] (PRIdMAX): Likewise.
34868 [C99-based-standards] (PRIiMAX): Likewise.
34869 [C99-based-standards] (PRIoMAX): Likewise.
34870 [C99-based-standards] (PRIuMAX): Likewise.
34871 [C99-based-standards] (PRIxMAX): Likewise.
34872 [C99-based-standards] (PRIXMAX): Likewise.
34873 [C99-based-standards] (SCNdMAX): Likewise.
34874 [C99-based-standards] (SCNiMAX): Likewise.
34875 [C99-based-standards] (SCNoMAX): Likewise.
34876 [C99-based-standards] (SCNuMAX): Likewise.
34877 [C99-based-standards] (SCNxMAX): Likewise.
34878 [C99-based-standards] (PRIdPTR): Likewise.
34879 [C99-based-standards] (PRIiPTR): Likewise.
34880 [C99-based-standards] (PRIoPTR): Likewise.
34881 [C99-based-standards] (PRIuPTR): Likewise.
34882 [C99-based-standards] (PRIxPTR): Likewise.
34883 [C99-based-standards] (PRIXPTR): Likewise.
34884 [C99-based-standards] (SCNdPTR): Likewise.
34885 [C99-based-standards] (SCNiPTR): Likewise.
34886 [C99-based-standards] (SCNoPTR): Likewise.
34887 [C99-based-standards] (SCNuPTR): Likewise.
34888 [C99-based-standards] (SCNxPTR): Likewise.
34889 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34891 * conform/data/stdint.h-data: Update comments to clarify
34893 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34895 [C99-based standards] (INT8_MAX): Likewise.
34896 [C99-based standards] (INT16_MIN): Likewise.
34897 [C99-based standards] (INT16_MAX): Likewise.
34898 [C99-based standards] (INT32_MIN): Likewise.
34899 [C99-based standards] (INT32_MAX): Likewise.
34900 [C99-based standards] (INT64_MIN): Likewise.
34901 [C99-based standards] (INT64_MAX): Likewise.
34902 [C99-based standards] (UINT8_MAX): Likewise.
34903 [C99-based standards] (UINT16_MAX): Likewise.
34904 [C99-based standards] (UINT32_MAX): Likewise.
34905 [C99-based standards] (UINT64_MAX): Likewise.
34906 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34907 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34908 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34909 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34910 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34911 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34912 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34913 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34914 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34915 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34916 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34917 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34918 [C99-based standards] (INT_FAST8_MIN): Likewise.
34919 [C99-based standards] (INT_FAST8_MAX): Likewise.
34920 [C99-based standards] (INT_FAST16_MIN): Likewise.
34921 [C99-based standards] (INT_FAST16_MAX): Likewise.
34922 [C99-based standards] (INT_FAST32_MIN): Likewise.
34923 [C99-based standards] (INT_FAST32_MAX): Likewise.
34924 [C99-based standards] (INT_FAST64_MIN): Likewise.
34925 [C99-based standards] (INT_FAST64_MAX): Likewise.
34926 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34927 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34928 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34929 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34930 [C99-based standards] (INTPTR_MIN): Likewise.
34931 [C99-based standards] (INTPTR_MAX): Likewise.
34932 [C99-based standards] (UINTPTR_MAX): Likewise.
34933 [C99-based standards] (INTMAX_MIN): Likewise.
34934 [C99-based standards] (INTMAX_MAX): Likewise.
34935 [C99-based standards] (UINTMAX_MAX): Likewise.
34936 [C99-based standards] (PTRDIFF_MIN): Likewise.
34937 [C99-based standards] (PTRDIFF_MAX): Likewise.
34938 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34939 [C99-based standards] (SIZE_MAX): Likewise.
34940 [C99-based standards] (WCHAR_MAX): Likewise.
34941 [C99-based standards] (WINT_MAX): Likewise.
34942 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34943 constraint on value.
34944 [C99-based standards] (WCHAR_MIN): Likewise.
34945 [C99-based standards] (WINT_MIN): Likewise.
34946 [C99-based standards] (*_t): Allow.
34947 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34948 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34949 Include math.h-data and complex.h-data. Remove all expectations
34950 of math.h and complex.h contents.
34951 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34953 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34954 (struct tm): Expect tag.
34955 [C99-based-standards] (wcstof): Expect function.
34956 [C99-based-standards] (wcstold): Likewise.
34957 [C99-based-standards] (wcstoll): Likewise.
34958 [C99-based-standards] (wcstoull): Likewise.
34959 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34960 macro-int-constant. Specify type.
34961 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34962 constraint on value.
34963 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34965 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34967 [ISO C standards]: Do not allow headers.
34968 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34969 wcs[abcdefghijklmnopqrstuvwxyz]*.
34970 [ISO C standards] (*_t): Do not allow.
34971 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34973 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34974 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34976 [ISO C standards]: Do not allow headers.
34977 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34978 is[abcdefghijklmnopqrstuvwxyz]*.
34979 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34980 to[abcdefghijklmnopqrstuvwxyz]*.
34981 [ISO C standards] (*_t): Do not allow.
34982 * conform/data/stdalign.h-data: New file.
34983 * conform/data/stdbool.h-data: Likewise.
34984 * conform/data/stdnoreturn.h-data: Likewise.
34986 2012-11-07 Roland McGrath <roland@hack.frob.com>
34989 * manual/filesys.texi (Directory Entries): Typo fix.
34990 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34992 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34994 * elf/elf.h (EM_AARCH64): New macro.
34995 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34996 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34997 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34998 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34999 (R_AARCH64_TLSDESC): Likewise.
35000 (NT_ARM_TLS): Likewise.
35001 (NT_ARM_HW_BREAK): Likewise.
35002 (NT_ARM_HW_WATCH): Likewise.
35004 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35007 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35008 (__ieee754_powl): Saturate nonzero exponents with absolute value
35009 below 0x1p-79 to +/- 0x1p-79.
35010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35011 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35012 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35013 nonzero exponents with absolute value below 0x1p-32 to +/-
35015 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35016 (__ieee754_powl): Saturate nonzero exponents with absolute value
35017 below 0x1p-79 to +/- 0x1p-79.
35018 * math/libm-test.inc (pow_test): Add more tests.
35020 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35022 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35023 _dl_s390_cap_flags with kernel. Increase string length.
35024 (_dl_s390_platforms): Add z196 and zEC12.
35026 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35028 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35029 Change XOPEN21K to XOPEN2K.
35031 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35033 * string/memmove.c: Use memcpy when possible.
35035 2012-11-06 Andreas Jaeger <aj@suse.de>
35037 * po/eo.po: Update from translation team.
35039 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35043 exponent and small x and y exponents, scale x or y up. Increase
35044 by 2 the exponent used in scaling up.
35045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35046 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35047 * math/libm-test.inc (fma_test): Add more tests.
35048 (fma_test_towardzero): Likewise.
35049 (fma_test_downward): Likewise.
35050 (fma_test_upward): Likewise.
35052 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35055 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35059 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35060 namespace for names of struct fields.
35061 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35063 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35064 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35066 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35069 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35071 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35073 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35077 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35080 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35084 definitely overflow as x * y not x * y + z.
35085 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35087 * math/libm-test.inc (fma_test): Add more tests.
35088 (fma_test_towardzero): Likewise.
35089 (fma_test_downward): Likewise.
35090 (fma_test_upward): Likewise.
35092 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35096 * include/stub-tag.h: Remove file.
35097 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35099 * manual/maint.texi (Porting): Don't reference it.
35100 * Makerules ($(objpfx)stubs): Likewise.
35101 * dirent/closedir.c: Don't include <stub-tag.h>.
35102 * dirent/dirfd.c: Likewise.
35103 * dirent/fdopendir.c: Likewise.
35104 * dirent/getdents.c: Likewise.
35105 * dirent/getdents64.c: Likewise.
35106 * dirent/opendir.c: Likewise.
35107 * dirent/readdir.c: Likewise.
35108 * dirent/readdir64.c: Likewise.
35109 * dirent/readdir64_r.c: Likewise.
35110 * dirent/readdir_r.c: Likewise.
35111 * dirent/rewinddir.c: Likewise.
35112 * dirent/seekdir.c: Likewise.
35113 * dirent/telldir.c: Likewise.
35114 * gmon/profil.c: Likewise.
35115 * grp/setgroups.c: Likewise.
35116 * inet/if_index.c: Likewise.
35117 * io/access.c: Likewise.
35118 * io/chdir.c: Likewise.
35119 * io/chmod.c: Likewise.
35120 * io/chown.c: Likewise.
35121 * io/close.c: Likewise.
35122 * io/dup.c: Likewise.
35123 * io/dup2.c: Likewise.
35124 * io/dup3.c: Likewise.
35125 * io/euidaccess.c: Likewise.
35126 * io/faccessat.c: Likewise.
35127 * io/fchdir.c: Likewise.
35128 * io/fchmod.c: Likewise.
35129 * io/fchmodat.c: Likewise.
35130 * io/fchown.c: Likewise.
35131 * io/fchownat.c: Likewise.
35132 * io/fcntl.c: Likewise.
35133 * io/flock.c: Likewise.
35134 * io/fstatfs.c: Likewise.
35135 * io/fstatfs64.c: Likewise.
35136 * io/fstatvfs.c: Likewise.
35137 * io/fstatvfs64.c: Likewise.
35138 * io/futimens.c: Likewise.
35139 * io/fxstat.c: Likewise.
35140 * io/fxstat64.c: Likewise.
35141 * io/fxstatat.c: Likewise.
35142 * io/fxstatat64.c: Likewise.
35143 * io/getcwd.c: Likewise.
35144 * io/isatty.c: Likewise.
35145 * io/lchmod.c: Likewise.
35146 * io/lchown.c: Likewise.
35147 * io/link.c: Likewise.
35148 * io/linkat.c: Likewise.
35149 * io/lseek.c: Likewise.
35150 * io/lseek64.c: Likewise.
35151 * io/lxstat64.c: Likewise.
35152 * io/mkdir.c: Likewise.
35153 * io/mkdirat.c: Likewise.
35154 * io/mkfifo.c: Likewise.
35155 * io/mkfifoat.c: Likewise.
35156 * io/open.c: Likewise.
35157 * io/open64.c: Likewise.
35158 * io/openat.c: Likewise.
35159 * io/openat64.c: Likewise.
35160 * io/pipe.c: Likewise.
35161 * io/pipe2.c: Likewise.
35162 * io/poll.c: Likewise.
35163 * io/posix_fadvise.c: Likewise.
35164 * io/posix_fadvise64.c: Likewise.
35165 * io/posix_fallocate.c: Likewise.
35166 * io/posix_fallocate64.c: Likewise.
35167 * io/read.c: Likewise.
35168 * io/readlink.c: Likewise.
35169 * io/readlinkat.c: Likewise.
35170 * io/rmdir.c: Likewise.
35171 * io/sendfile.c: Likewise.
35172 * io/sendfile64.c: Likewise.
35173 * io/statfs.c: Likewise.
35174 * io/statfs64.c: Likewise.
35175 * io/statvfs.c: Likewise.
35176 * io/statvfs64.c: Likewise.
35177 * io/symlink.c: Likewise.
35178 * io/symlinkat.c: Likewise.
35179 * io/ttyname.c: Likewise.
35180 * io/ttyname_r.c: Likewise.
35181 * io/umask.c: Likewise.
35182 * io/unlink.c: Likewise.
35183 * io/unlinkat.c: Likewise.
35184 * io/utime.c: Likewise.
35185 * io/utimensat.c: Likewise.
35186 * io/write.c: Likewise.
35187 * io/xmknod.c: Likewise.
35188 * io/xmknodat.c: Likewise.
35189 * io/xstat.c: Likewise.
35190 * io/xstat64.c: Likewise.
35191 * login/getpt.c: Likewise.
35192 * login/grantpt.c: Likewise.
35193 * login/unlockpt.c: Likewise.
35194 * math/e_acoshl.c: Likewise.
35195 * math/e_acosl.c: Likewise.
35196 * math/e_asinl.c: Likewise.
35197 * math/e_atan2l.c: Likewise.
35198 * math/e_atanhl.c: Likewise.
35199 * math/e_coshl.c: Likewise.
35200 * math/e_expl.c: Likewise.
35201 * math/e_fmodl.c: Likewise.
35202 * math/e_gammal_r.c: Likewise.
35203 * math/e_hypotl.c: Likewise.
35204 * math/e_j0l.c: Likewise.
35205 * math/e_j1l.c: Likewise.
35206 * math/e_jnl.c: Likewise.
35207 * math/e_lgammal_r.c: Likewise.
35208 * math/e_log10l.c: Likewise.
35209 * math/e_log2l.c: Likewise.
35210 * math/e_logl.c: Likewise.
35211 * math/e_powl.c: Likewise.
35212 * math/e_rem_pio2l.c: Likewise.
35213 * math/e_sinhl.c: Likewise.
35214 * math/e_sqrtl.c: Likewise.
35215 * math/fclrexcpt.c: Likewise.
35216 * math/fedisblxcpt.c: Likewise.
35217 * math/feenablxcpt.c: Likewise.
35218 * math/fegetenv.c: Likewise.
35219 * math/fegetexcept.c: Likewise.
35220 * math/fegetround.c: Likewise.
35221 * math/feholdexcpt.c: Likewise.
35222 * math/fesetenv.c: Likewise.
35223 * math/fesetround.c: Likewise.
35224 * math/feupdateenv.c: Likewise.
35225 * math/fgetexcptflg.c: Likewise.
35226 * math/fraiseexcpt.c: Likewise.
35227 * math/fsetexcptflg.c: Likewise.
35228 * math/ftestexcept.c: Likewise.
35229 * math/k_cosl.c: Likewise.
35230 * math/k_rem_pio2l.c: Likewise.
35231 * math/k_sinl.c: Likewise.
35232 * math/k_tanl.c: Likewise.
35233 * math/s_asinhl.c: Likewise.
35234 * math/s_atanl.c: Likewise.
35235 * math/s_cbrtl.c: Likewise.
35236 * math/s_erfl.c: Likewise.
35237 * math/s_expm1l.c: Likewise.
35238 * math/s_log1pl.c: Likewise.
35239 * math/s_tanhl.c: Likewise.
35240 * misc/acct.c: Likewise.
35241 * misc/brk.c: Likewise.
35242 * misc/chflags.c: Likewise.
35243 * misc/chroot.c: Likewise.
35244 * misc/fchflags.c: Likewise.
35245 * misc/fgetxattr.c: Likewise.
35246 * misc/flistxattr.c: Likewise.
35247 * misc/fremovexattr.c: Likewise.
35248 * misc/fsetxattr.c: Likewise.
35249 * misc/fsync.c: Likewise.
35250 * misc/ftruncate.c: Likewise.
35251 * misc/futimes.c: Likewise.
35252 * misc/futimesat.c: Likewise.
35253 * misc/getdomain.c: Likewise.
35254 * misc/getdtsz.c: Likewise.
35255 * misc/gethostid.c: Likewise.
35256 * misc/gethostname.c: Likewise.
35257 * misc/getloadavg.c: Likewise.
35258 * misc/getpagesize.c: Likewise.
35259 * misc/getsysstats.c: Likewise.
35260 * misc/getxattr.c: Likewise.
35261 * misc/gtty.c: Likewise.
35262 * misc/ioctl.c: Likewise.
35263 * misc/lgetxattr.c: Likewise.
35264 * misc/listxattr.c: Likewise.
35265 * misc/llistxattr.c: Likewise.
35266 * misc/lremovexattr.c: Likewise.
35267 * misc/lsetxattr.c: Likewise.
35268 * misc/lutimes.c: Likewise.
35269 * misc/madvise.c: Likewise.
35270 * misc/mincore.c: Likewise.
35271 * misc/mlock.c: Likewise.
35272 * misc/mlockall.c: Likewise.
35273 * misc/mmap.c: Likewise.
35274 * misc/mprotect.c: Likewise.
35275 * misc/msync.c: Likewise.
35276 * misc/munlock.c: Likewise.
35277 * misc/munlockall.c: Likewise.
35278 * misc/munmap.c: Likewise.
35279 * misc/preadv.c: Likewise.
35280 * misc/preadv64.c: Likewise.
35281 * misc/ptrace.c: Likewise.
35282 * misc/pwritev.c: Likewise.
35283 * misc/pwritev64.c: Likewise.
35284 * misc/readv.c: Likewise.
35285 * misc/reboot.c: Likewise.
35286 * misc/remap_file_pages.c: Likewise.
35287 * misc/removexattr.c: Likewise.
35288 * misc/revoke.c: Likewise.
35289 * misc/select.c: Likewise.
35290 * misc/setdomain.c: Likewise.
35291 * misc/setegid.c: Likewise.
35292 * misc/seteuid.c: Likewise.
35293 * misc/sethostid.c: Likewise.
35294 * misc/sethostname.c: Likewise.
35295 * misc/setregid.c: Likewise.
35296 * misc/setreuid.c: Likewise.
35297 * misc/setxattr.c: Likewise.
35298 * misc/sstk.c: Likewise.
35299 * misc/stty.c: Likewise.
35300 * misc/swapoff.c: Likewise.
35301 * misc/swapon.c: Likewise.
35302 * misc/sync.c: Likewise.
35303 * misc/syncfs.c: Likewise.
35304 * misc/syscall.c: Likewise.
35305 * misc/truncate.c: Likewise.
35306 * misc/ualarm.c: Likewise.
35307 * misc/usleep.c: Likewise.
35308 * misc/ustat.c: Likewise.
35309 * misc/utimes.c: Likewise.
35310 * misc/vhangup.c: Likewise.
35311 * misc/writev.c: Likewise.
35312 * posix/_exit.c: Likewise.
35313 * posix/alarm.c: Likewise.
35314 * posix/execve.c: Likewise.
35315 * posix/fexecve.c: Likewise.
35316 * posix/fork.c: Likewise.
35317 * posix/fpathconf.c: Likewise.
35318 * posix/getaddrinfo.c: Likewise.
35319 * posix/getegid.c: Likewise.
35320 * posix/geteuid.c: Likewise.
35321 * posix/getgid.c: Likewise.
35322 * posix/getgroups.c: Likewise.
35323 * posix/getlogin.c: Likewise.
35324 * posix/getlogin_r.c: Likewise.
35325 * posix/getpgid.c: Likewise.
35326 * posix/getpid.c: Likewise.
35327 * posix/getppid.c: Likewise.
35328 * posix/getresgid.c: Likewise.
35329 * posix/getresuid.c: Likewise.
35330 * posix/getsid.c: Likewise.
35331 * posix/getuid.c: Likewise.
35332 * posix/glob64.c: Likewise.
35333 * posix/nanosleep.c: Likewise.
35334 * posix/pathconf.c: Likewise.
35335 * posix/pause.c: Likewise.
35336 * posix/posix_madvise.c: Likewise.
35337 * posix/pread.c: Likewise.
35338 * posix/pread64.c: Likewise.
35339 * posix/pwrite.c: Likewise.
35340 * posix/pwrite64.c: Likewise.
35341 * posix/sched_getaffinity.c: Likewise.
35342 * posix/sched_getp.c: Likewise.
35343 * posix/sched_gets.c: Likewise.
35344 * posix/sched_primax.c: Likewise.
35345 * posix/sched_primin.c: Likewise.
35346 * posix/sched_rr_gi.c: Likewise.
35347 * posix/sched_setaffinity.c: Likewise.
35348 * posix/sched_setp.c: Likewise.
35349 * posix/sched_sets.c: Likewise.
35350 * posix/sched_yield.c: Likewise.
35351 * posix/setgid.c: Likewise.
35352 * posix/setlogin.c: Likewise.
35353 * posix/setpgid.c: Likewise.
35354 * posix/setresgid.c: Likewise.
35355 * posix/setresuid.c: Likewise.
35356 * posix/setsid.c: Likewise.
35357 * posix/setuid.c: Likewise.
35358 * posix/sleep.c: Likewise.
35359 * posix/spawni.c: Likewise.
35360 * posix/sysconf.c: Likewise.
35361 * posix/times.c: Likewise.
35362 * posix/wait.c: Likewise.
35363 * posix/wait3.c: Likewise.
35364 * posix/wait4.c: Likewise.
35365 * posix/waitpid.c: Likewise.
35366 * resolv/gai_sigqueue.c: Likewise.
35367 * resource/getpriority.c: Likewise.
35368 * resource/getrlimit.c: Likewise.
35369 * resource/getrusage.c: Likewise.
35370 * resource/nice.c: Likewise.
35371 * resource/setpriority.c: Likewise.
35372 * resource/setrlimit.c: Likewise.
35373 * resource/ulimit.c: Likewise.
35374 * rt/aio_cancel.c: Likewise.
35375 * rt/aio_fsync.c: Likewise.
35376 * rt/aio_read.c: Likewise.
35377 * rt/aio_sigqueue.c: Likewise.
35378 * rt/aio_suspend.c: Likewise.
35379 * rt/aio_write.c: Likewise.
35380 * rt/clock_getres.c: Likewise.
35381 * rt/clock_gettime.c: Likewise.
35382 * rt/clock_nanosleep.c: Likewise.
35383 * rt/clock_settime.c: Likewise.
35384 * rt/lio_listio.c: Likewise.
35385 * rt/mq_close.c: Likewise.
35386 * rt/mq_getattr.c: Likewise.
35387 * rt/mq_notify.c: Likewise.
35388 * rt/mq_open.c: Likewise.
35389 * rt/mq_receive.c: Likewise.
35390 * rt/mq_send.c: Likewise.
35391 * rt/mq_setattr.c: Likewise.
35392 * rt/mq_timedreceive.c: Likewise.
35393 * rt/mq_timedsend.c: Likewise.
35394 * rt/mq_unlink.c: Likewise.
35395 * rt/shm_open.c: Likewise.
35396 * rt/shm_unlink.c: Likewise.
35397 * rt/timer_create.c: Likewise.
35398 * rt/timer_delete.c: Likewise.
35399 * rt/timer_getoverr.c: Likewise.
35400 * rt/timer_gettime.c: Likewise.
35401 * rt/timer_settime.c: Likewise.
35402 * setjmp/__longjmp.c: Likewise.
35403 * setjmp/setjmp.c: Likewise.
35404 * signal/kill.c: Likewise.
35405 * signal/killpg.c: Likewise.
35406 * signal/raise.c: Likewise.
35407 * signal/sigaction.c: Likewise.
35408 * signal/sigaltstack.c: Likewise.
35409 * signal/sigblock.c: Likewise.
35410 * signal/sigignore.c: Likewise.
35411 * signal/sigintr.c: Likewise.
35412 * signal/signal.c: Likewise.
35413 * signal/sigpause.c: Likewise.
35414 * signal/sigpending.c: Likewise.
35415 * signal/sigqueue.c: Likewise.
35416 * signal/sigreturn.c: Likewise.
35417 * signal/sigset.c: Likewise.
35418 * signal/sigsetmask.c: Likewise.
35419 * signal/sigstack.c: Likewise.
35420 * signal/sigsuspend.c: Likewise.
35421 * signal/sigtimedwait.c: Likewise.
35422 * signal/sigvec.c: Likewise.
35423 * signal/sigwait.c: Likewise.
35424 * signal/sigwaitinfo.c: Likewise.
35425 * signal/sysv_signal.c: Likewise.
35426 * socket/accept.c: Likewise.
35427 * socket/accept4.c: Likewise.
35428 * socket/bind.c: Likewise.
35429 * socket/connect.c: Likewise.
35430 * socket/getpeername.c: Likewise.
35431 * socket/getsockname.c: Likewise.
35432 * socket/getsockopt.c: Likewise.
35433 * socket/isfdtype.c: Likewise.
35434 * socket/listen.c: Likewise.
35435 * socket/recv.c: Likewise.
35436 * socket/recvfrom.c: Likewise.
35437 * socket/recvmsg.c: Likewise.
35438 * socket/send.c: Likewise.
35439 * socket/sendmsg.c: Likewise.
35440 * socket/sendto.c: Likewise.
35441 * socket/setsockopt.c: Likewise.
35442 * socket/shutdown.c: Likewise.
35443 * socket/sockatmark.c: Likewise.
35444 * socket/socket.c: Likewise.
35445 * socket/socketpair.c: Likewise.
35446 * stdio-common/ctermid.c: Likewise.
35447 * stdio-common/cuserid.c: Likewise.
35448 * stdio-common/remove.c: Likewise.
35449 * stdio-common/rename.c: Likewise.
35450 * stdio-common/renameat.c: Likewise.
35451 * stdio-common/tempname.c: Likewise.
35452 * stdlib/getcontext.c: Likewise.
35453 * stdlib/makecontext.c: Likewise.
35454 * stdlib/setcontext.c: Likewise.
35455 * stdlib/swapcontext.c: Likewise.
35456 * stdlib/system.c: Likewise.
35457 * streams/fattach.c: Likewise.
35458 * streams/fdetach.c: Likewise.
35459 * streams/getmsg.c: Likewise.
35460 * streams/getpmsg.c: Likewise.
35461 * streams/putmsg.c: Likewise.
35462 * streams/putpmsg.c: Likewise.
35463 * sysdeps/unix/bsd/getpt.c: Likewise.
35464 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35465 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35466 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35469 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35470 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35471 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35472 * sysvipc/msgctl.c: Likewise.
35473 * sysvipc/msgget.c: Likewise.
35474 * sysvipc/msgrcv.c: Likewise.
35475 * sysvipc/msgsnd.c: Likewise.
35476 * sysvipc/semctl.c: Likewise.
35477 * sysvipc/semget.c: Likewise.
35478 * sysvipc/semop.c: Likewise.
35479 * sysvipc/semtimedop.c: Likewise.
35480 * sysvipc/shmat.c: Likewise.
35481 * sysvipc/shmctl.c: Likewise.
35482 * sysvipc/shmdt.c: Likewise.
35483 * sysvipc/shmget.c: Likewise.
35484 * termios/tcdrain.c: Likewise.
35485 * termios/tcflow.c: Likewise.
35486 * termios/tcflush.c: Likewise.
35487 * termios/tcgetattr.c: Likewise.
35488 * termios/tcgetpgrp.c: Likewise.
35489 * termios/tcsendbrk.c: Likewise.
35490 * termios/tcsetattr.c: Likewise.
35491 * termios/tcsetpgrp.c: Likewise.
35492 * time/adjtime.c: Likewise.
35493 * time/clock.c: Likewise.
35494 * time/getitimer.c: Likewise.
35495 * time/gettimeofday.c: Likewise.
35496 * time/setitimer.c: Likewise.
35497 * time/settimeofday.c: Likewise.
35498 * time/stime.c: Likewise.
35499 * time/time.c: Likewise.
35501 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35503 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35506 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35508 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35510 2012-11-03 Joseph Myers <joseph@codesourcery.com>
35513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35514 FE_TONEAREST before applying Dekker multiplication and Knuth
35515 addition. Clear inexact exceptions and check for exact zero
35516 results afterwards.
35517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35518 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35520 * math/libm-test.inc (fma_test): Add more tests.
35521 (fma_test_towardzero): Likewise.
35522 (fma_test_downward): Likewise.
35523 (fma_test_upward): Likewise.
35524 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35526 (libc_fesetround): New macro.
35527 (libc_fesetroundf): Likewise.
35528 (libc_fesetroundl): Likewise.
35529 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35531 (libc_fesetround_387): Likewise.
35532 (libc_fesetroundf): New macro.
35533 (libc_fesetround): Likewise.
35534 (libc_fesetroundl): Likewise.
35535 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35537 (libc_fesetroundf): New macro.
35538 (libc_fesetround): Likewise.
35539 (libc_fesetroundl): Likewise.
35540 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35541 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35542 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35544 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35545 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35547 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35548 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35550 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35554 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35555 integer constant usable in #if and use that to give value to enum
35557 (FE_DIVBYZERO): Likewise.
35558 (FE_UNDERFLOW): Likewise.
35559 (FE_OVERFLOW): Likewise.
35560 (FE_INVALID): Likewise.
35561 (FE_INVALID_SNAN): Likewise.
35562 (FE_INVALID_ISI): Likewise.
35563 (FE_INVALID_IDI): Likewise.
35564 (FE_INVALID_ZDZ): Likewise.
35565 (FE_INVALID_IMZ): Likewise.
35566 (FE_INVALID_COMPARE): Likewise.
35567 (FE_INVALID_SOFTWARE): Likewise.
35568 (FE_INVALID_SQRT): Likewise.
35569 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35570 (FE_TONEAREST): Likewise.
35571 (FE_TOWARDZERO): Likewise.
35572 (FE_UPWARD): Likewise.
35573 (FE_DOWNWARD): Likewise.
35574 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35575 (FE_DIVBYZERO): Likewise.
35576 (FE_OVERFLOW): Likewise.
35577 (FE_UNDERFLOW): Likewise.
35578 (FE_INEXACT): Likewise.
35579 (FE_TONEAREST): Likewise.
35580 (FE_DOWNWARD): Likewise.
35581 (FE_UPWARD): Likewise.
35582 (FE_TOWARDZERO): Likewise.
35583 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35584 (FE_UNDERFLOW): Likewise.
35585 (FE_OVERFLOW): Likewise.
35586 (FE_DIVBYZERO): Likewise.
35587 (FE_INVALID): Likewise.
35588 (FE_TONEAREST): Likewise.
35589 (FE_TOWARDZERO): Likewise.
35590 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35591 (FE_OVERFLOW): Likewise.
35592 (FE_UNDERFLOW): Likewise.
35593 (FE_DIVBYZERO): Likewise.
35594 (FE_INEXACT): Likewise.
35595 (FE_TONEAREST): Likewise.
35596 (FE_TOWARDZERO): Likewise.
35597 (FE_UPWARD): Likewise.
35598 (FE_DOWNWARD): Likewise.
35599 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35600 (FE_DIVBYZERO): Likewise.
35601 (FE_OVERFLOW): Likewise.
35602 (FE_UNDERFLOW): Likewise.
35603 (FE_INEXACT): Likewise.
35604 (FE_TONEAREST): Likewise.
35605 (FE_DOWNWARD): Likewise.
35606 (FE_UPWARD): Likewise.
35607 (FE_TOWARDZERO): Likewise.
35609 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35611 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35613 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35615 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35616 commands. Quote $PWD.
35617 (blacklist_exports): Don't use remove_newlines. Replace "declare
35619 (remove_newlines): Remove.
35621 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35623 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35624 * stdlib/stdlib.h (atof): Moved to ...
35625 * include/bits/stdlib-float.h: Here. New file.
35626 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35627 * stdlib/bits/stdlib-float.h: New file.
35628 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35630 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35633 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35635 * conform/conformtest.pl (@headers): Add fenv.h.
35636 * conform/data/fenv.h-data: New file.
35637 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35638 include of <math/fenv.h>.
35640 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35641 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35642 && !UNIX98]. Enables tests for XOPEN2K8.
35643 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35644 POSIX2008]: Likewise.
35646 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35647 (struct rusage): Do not expect type or its members.
35650 * math/math.h (FP_NAN): Define macro to integer constant usable in
35651 #if and use that to give value to enum constant.
35652 (FP_INFINITE): Likewise.
35653 (FP_ZERO): Likewise.
35654 (FP_SUBNORMAL): Likewise.
35655 (FP_NORMAL): Likewise.
35657 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35659 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35660 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35663 2012-11-02 Roland McGrath <roland@hack.frob.com>
35665 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35666 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35667 autoconf-time if not.
35668 * configure.in: Remove AC_PREREQ.
35670 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35672 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35673 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35674 of the internal implementation.
35676 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35678 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35679 except include of <misc/sys/syslog.h>.
35681 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35684 function returns with a NULL context exit with zero.
35686 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35688 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35690 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35692 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35693 (run_program_cmd): This.
35694 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35695 (tst_langinfo): New variable. Use it.
35697 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35699 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35700 floating point opcodes.
35702 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35704 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35707 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35709 * sysdeps/mach/hurd/powerpc: Remove directory.
35710 * sysdeps/mach/powerpc: Likewise.
35712 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35714 * scripts/check-local-headers.sh: Ignore c++ headers.
35716 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35718 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35719 __libc_cleanup_region_start argument.
35721 2012-11-01 Joseph Myers <joseph@codesourcery.com>
35725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35726 x * y using scaling, not as x * y + z.
35727 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35728 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35729 * math/libm-test.inc (fma_test): Add more tests.
35730 (fma_test_towardzero): Likewise.
35731 (fma_test_downward): Likewise.
35732 (fma_test_upward): Likewise.
35734 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35736 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35738 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35740 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35743 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35745 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35747 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35754 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35757 Fix the order of the list for glibc 2.17.
35758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35761 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35765 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35768 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35769 for low part of x being zero before using __atanl (y).
35770 * math/libm-test.inc (atan2_test): Add another test.
35772 * manual/install.texi (Configuring and compiling): Document
35773 general use of test-wrapper and test-wrapper-env.
35774 * INSTALL: Regenerated.
35776 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35777 (__fma): Do not extract and scale down low bits on after-rounding
35778 systems when result rounded to normal precision would have normal
35780 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35781 (__fmal): Do not extract and scale down low bits on after-rounding
35782 systems when result rounded to normal precision would have normal
35784 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35785 (__fmal): Do not extract and scale down low bits on after-rounding
35786 systems when result rounded to normal precision would have normal
35788 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35790 (fma_test): Add more tests.
35791 (fma_test_towardzero): Likewise.
35792 (fma_test_downward): Likewise.
35793 (fma_test_upward): Likewise.
35795 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35797 * sysdeps/i386/tininess.h: Renamed to ...
35798 * sysdeps/x86/tininess.h: This.
35799 * sysdeps/x86_64/tininess.h: Removed.
35801 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35803 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35804 input. Use $(build-program-cmd).
35805 ($(objpfx)tst-array1-static.out): Likewise.
35806 ($(objpfx)tst-array2.out): Likewise.
35807 ($(objpfx)tst-array3.out): Likewise.
35808 ($(objpfx)tst-array4.out): Likewise.
35809 ($(objpfx)tst-array5.out): Likewise.
35810 ($(objpfx)tst-array5-static.out): Likewise.
35812 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35814 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35817 * nss/nsswitch.h (nss_interface_function): Provide new
35818 macro for use with NSS functions.
35819 * grp/initgroups.c: Use new macro.
35820 * nss/getXXbyYY.c: Likewise.
35821 * nss/getXXbyYY_r.c: Likewise.
35822 * nss/getXXent.c: Likewise.
35823 * nss/getXXent_r.c: Likewise.
35824 * sysdeps/posix/getaddrinfo.c: Likewise.
35826 2012-10-30 Andreas Jaeger <aj@suse.de>
35828 * po/ru.po: Update Russion translation from translation project.
35830 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35835 result and shift together with sticky bit instead of replicating
35836 round-to-nearest rounding.
35837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35838 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35839 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35840 missing underflow exceptions.
35841 (fma_test_towardzero): Add more tests.
35842 (fma_test_downward): Likewise.
35843 (fma_test_upward): Likewise.
35846 * sysdeps/generic/tininess.h: New file.
35847 * sysdeps/i386/tininess.h: Likewise.
35848 * sysdeps/sh/tininess.h: Likewise.
35849 * sysdeps/x86_64/tininess.h: Likewise.
35850 * stdlib/tst-strtod-underflow.c: Likewise.
35851 * stdlib/tst-tininess.c: Likewise.
35852 * stdlib/strtod_l.c: Include <tininess.h>.
35853 (round_and_return): Do not set errno for exact underflow cases.
35854 Force an underflow exception when setting errno for underflow.
35855 Determine underflow based on rounding to normal precision if
35856 TININESS_AFTER_ROUNDING.
35857 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35858 ERANGE for exact underflow cases.
35859 * stdlib/Makefile (tests): Add tst-tininess and
35860 tst-strtod-underflow.
35861 ($(objpfx)tst-tininess): Use $(link-libm).
35862 ($(objpfx)tst-strtod-underflow): Likewise.
35864 2012-10-30 Andreas Jaeger <aj@suse.de>
35867 * elf/Makefile (tests): Remove conditional for have-initfini-array
35868 since this is now always required and the variable does not exist
35870 (tests-static): Likewise.
35871 (modules-names): Likewise.
35873 * po/eo.po: Add Esperanto translation from translation project.
35875 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35876 merged with constructor/destructor.
35877 (init_array): Likewise.
35878 * elf/tst-array2dep.c (fini_array): Likewise.
35879 (init_array): Likewise.
35881 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35883 * manual/message.texi: Delete @cartouche tags.
35885 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35887 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35889 * sysdeps/mach/hurd/fsync.c: Likewise.
35891 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35892 [_POSIX_REALTIME_SIGNALS]: Change condition to
35893 [_POSIX_REALTIME_SIGNALS > 0].
35895 2012-10-27 Andreas Jaeger <aj@suse.de>
35897 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35898 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35900 [__WORDSIZE != 64]: Likewise.
35902 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35904 * iconvdata/tst-table.sh: Remove ${SHELL}.
35905 * iconvdata/tst-tables.sh: Likewise.
35907 2012-10-25 David S. Miller <davem@davemloft.net>
35909 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35910 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35915 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35916 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35917 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35920 2012-10-25 Roland McGrath <roland@hack.frob.com>
35922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35923 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35926 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35927 Jim Blandy <jimb@codesourcery.com>
35929 * scripts/cross-test-ssh.sh: New file.
35930 * manual/install.texi (Configuring and compiling): Document use of
35932 * INSTALL: Regenerated.
35934 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35936 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35939 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35941 * Makeconfig (run-program-prefix): Fix comment.
35943 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35944 Jim Blandy <jimb@codesourcery.com>
35946 * Makeconfig (test-wrapper): New variable,
35947 (test-wrapper-env): Likewise.
35948 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35949 (run-built-tests): Define to yes.
35950 (run-program-prefix): Use $(test-wrapper).
35951 (built-program-cmd): Likewise.
35952 * Rules (make-test-out): Use $(test-wrapper-env) and
35953 $(host-built-program-cmd).
35954 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35955 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35957 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35958 $(test-wrapper-env) to tst-rtld-load-self.sh.
35959 ($(objpfx)order2.out): Use $(test-wrapper).
35960 ($(objpfx)tst-initorder.out): Likewise.
35961 ($(objpfx)tst-initorder2.out): Likewise.
35962 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35963 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35964 (test_wrapper_env): New variable. Use it to run ld.so.
35965 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35966 Use it to run ld.so.
35967 (test_wrapper_env): Likewise.
35968 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35969 $(test-wrapper) to run-iconv-test.sh.
35970 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35971 (ICONV): Use $test_wrapper.
35972 * posix/Makefile ($(objpfx)globtest.out): Pass
35973 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35974 globtest.sh, not $(run-program-prefix).
35975 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35976 (test_wrapper): Likewise.
35977 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35978 set together with run_via_rtld_prefix.
35979 (run_program_prefix): Define in terms of test_wrapper and
35980 run_via_rtld_prefix.
35982 2012-10-24 Roland McGrath <roland@hack.frob.com>
35984 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35985 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35989 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35990 Declare __clock_getres, __clock_gettime, __clock_settime,
35991 __clock_nanosleep, and __clock_getcpuclockid.
35992 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35993 Remove librt_hidden_def (clock_gettime).
35994 * sysdeps/unix/clock_gettime.c: Likewise.
35995 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35996 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35997 * rt/clock_getres.c: Define __clock_getres as an alias.
35998 * sysdeps/posix/clock_getres.c: Likewise.
35999 * rt/clock_settime.c: Define __clock_settime as an alias.
36000 * sysdeps/unix/clock_settime.c: Likewise.
36001 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36002 * sysdeps/unix/clock_nanosleep.c: Likewise.
36003 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36004 * rt/clock-compat.c: New file.
36005 * rt/Makefile (librt-routines): Add clock-compat and move
36006 $(clock-routines) to ...
36007 (routines): ... here, new variable.
36008 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36009 Don't add get_clockfreq here.
36010 * rt/Versions (libc: GLIBC_2.17): New version set.
36011 Add clock_* symbols here.
36012 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36014 (GLIBC_2.17): Add clock_* symbols.
36015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36017 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36026 * NEWS: Mention the move.
36028 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36029 Use __open, __read, __close rather than their public counterparts.
36030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36031 (__get_clockfreq_via_cpuinfo): Likewise.
36032 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36033 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36035 * config.h.in (HAVE_IFUNC): New #undef.
36036 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36038 * configure: Regenerated.
36040 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36042 * configure.in: Move READELF check to start of file.
36043 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36044 libc_cv_asm_gnu_indirect_function in the process.
36045 * configure: Regenerated.
36047 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36049 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36050 send the output to /dev/null.
36051 (libc_cv_cc_with_libunwind): Likewise.
36052 (libc_cv_as_noexecstack): Likewise.
36053 * configure: Regenerate.
36055 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36057 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36059 * posix/globtest.sh (TMPDIR): Do not set.
36060 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36061 (testout): Likewise.
36063 2012-10-24 Andreas Jaeger <aj@suse.de>
36065 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36066 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36067 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36068 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36069 posix_fadvise64, posix_fallocate64.
36071 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36072 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36073 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36075 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36077 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36080 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36081 <bits/fcntl-linux.h>.
36082 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36085 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36086 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36087 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36088 [__WORDSIZE != 64]: Likewise.
36090 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36092 * Makeconfig (run-built-tests): New variable.
36093 * Rules [$(cross-compiling) = yes]: Change condition to
36094 [$(run-built-tests) = no].
36095 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36096 to [$(run-built-tests) = yes].
36097 * elf/Makefile [$(cross-compiling) = no]: Likewise
36098 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36099 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36100 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36101 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36102 * io/Makefile [$(cross-compiling) = no]: Likewise.
36103 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36104 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36105 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36106 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36107 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36108 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36109 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36110 * string/Makefile [$(cross-compiling) = no]: Likewise.
36112 * posix/Makefile ($(objpfx)globtest.out): Pass
36113 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36114 $(rtld-installed-name).
36115 * posix/globtest.sh (elf_objpfx): Remove variable.
36116 (rtld_installed_name): Likewise.
36117 (library_path): Likewise.
36118 (run_program_prefix): New variable. Use for running globtest
36121 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36122 Joseph Myers <joseph@codesourcery.com>
36124 * Makeconfig (host-built-program-cmd): New variable.
36125 * elf/Makefile (tst-stackguard1-ARGS): Use
36126 $(host-built-program-cmd).
36127 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36128 (tst-spawn-ARGS): Likewise.
36129 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36131 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36132 Jim Blandy <jimb@codesourcery.com>
36134 * Makeconfig (run-via-rtld-prefix): New variable.
36135 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36136 (built-program-cmd): Likewise.
36138 2012-10-22 Andreas Jaeger <aj@suse.de>
36140 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36141 __O_RSYNC if it exists, otherwise to O_SYNC.
36143 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36144 Joseph Myers <joseph@codesourcery.com>
36146 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36148 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36150 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36153 2012-10-22 Andreas Jaeger <aj@suse.de>
36155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36160 bits/fcntl-linux.h.
36162 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36163 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36170 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36171 Joseph Myers <joseph@codesourcery.com>
36173 * config.make.in (NM): New variable.
36175 2012-10-21 Andreas Jaeger <aj@suse.de>
36177 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36178 definitions and declarations that are provided by
36179 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36181 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36184 * elf/Makefile (tests-static): Add tst-leaks1-static.
36185 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36186 ($(objpfx)tst-leaks1-static): New rule.
36187 ($(objpfx)tst-leaks1-static-mem): Likewise.
36188 (tst-leaks1-static-ENV): New macro.
36189 * elf/dl-open.c (dl_open_worker): Check the main application
36190 only if SHARED is defined.
36191 * elf/tst-leaks1-static.c: New file.
36193 2012-10-20 Andreas Jaeger <aj@suse.de>
36195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36196 generic values for Linux.
36197 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36198 and declarations that are provided by <bits/fcntl-linux.h> and
36199 include <bits/fcntl-linux.h>.
36200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36203 2012-10-20 Roland McGrath <roland@hack.frob.com>
36205 * io/fcntl.h: Move include of <bits/types.h> to the top and
36206 include it unconditionally.
36208 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36210 * wcsmbs/Makefile (tests-ifunc): New variable.
36211 (tests): Add $(tests-ifunc).
36212 * wcsmbs/test-wcschr-ifunc.c: New file.
36213 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36214 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36215 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36216 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36217 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36219 * string/Makefile (tests-ifunc): New variable.
36220 (tests): Add $(tests-ifunc).
36221 * string/test-memccpy.c (TEST_NAME): New macro.
36222 * string/test-memchr.c (TEST_NAME): Likewise.
36223 * string/test-memcmp.c (TEST_NAME): Likewise.
36224 * string/test-memcpy.c (TEST_NAME): Likewise.
36225 * string/test-memmem.c (TEST_NAME): Likewise.
36226 * string/test-memmove.c (TEST_NAME): Likewise.
36227 * string/test-memset.c (TEST_NAME): Likewise.
36228 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36229 * string/test-stpcpy.c (TEST_NAME): Likewise.
36230 * string/test-stpncpy.c (TEST_NAME): Likewise.
36231 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36232 * string/test-strcasestr.c (TEST_NAME): Likewise.
36233 * string/test-strcat.c (TEST_NAME): Likewise.
36234 * string/test-strchr.c (TEST_NAME): Likewise.
36235 * string/test-strcmp.c(TEST_NAME): Likewise.
36236 * string/test-strcpy.c (TEST_NAME): Likewise.
36237 * string/test-strcspn.c (TEST_NAME): Likewise.
36238 * string/test-strlen.c (TEST_NAME): Likewise.
36239 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36240 * string/test-strncmp.c (TEST_NAME): Likewise.
36241 * string/test-strncpy.c (TEST_NAME): Likewise.
36242 * string/test-strnlen.c (TEST_NAME): Likewise.
36243 * string/test-strpbrk.c (TEST_NAME): Likewise.
36244 * string/test-strrchr.c (TEST_NAME): Likewise.
36245 * string/test-strspn.c (TEST_NAME): Likewise.
36246 * string/test-strstr.c (TEST_NAME): Likewise.
36247 * string/test-bcopy-ifunc.c: New file.
36248 * string/test-bzero-ifunc.c: Likewise.
36249 * string/test-memccpy-ifunc.c: Likewise.
36250 * string/test-memchr-ifunc.c: Likewise.
36251 * string/test-memcmp-ifunc.c: Likewise.
36252 * string/test-memcpy-ifunc.c: Likewise.
36253 * string/test-memmem-ifunc.c: Likewise.
36254 * string/test-memmove-ifunc.c: Likewise.
36255 * string/test-mempcpy-ifunc.c: Likewise.
36256 * string/test-memset-ifunc.c: Likewise.
36257 * string/test-rawmemchr-ifunc.c: Likewise.
36258 * string/test-stpcpy-ifunc.c: Likewise.
36259 * string/test-stpncpy-ifunc.c: Likewise.
36260 * string/test-strcasecmp-ifunc.c: Likewise.
36261 * string/test-strcasestr-ifunc.c: Likewise.
36262 * string/test-strcat-ifunc.c: Likewise.
36263 * string/test-strchr-ifunc.c: Likewise.
36264 * string/test-strchrnul-ifunc.c: Likewise.
36265 * string/test-strcmp-ifunc.c: Likewise.
36266 * string/test-strcpy-ifunc.c: Likewise.
36267 * string/test-strcspn-ifunc.c: Likewise.
36268 * string/test-strlen-ifunc.c: Likewise.
36269 * string/test-strncasecmp-ifunc.c: Likewise.
36270 * string/test-strncat-ifunc.c: Likewise.
36271 * string/test-strncmp-ifunc.c: Likewise.
36272 * string/test-strncpy-ifunc.c: Likewise.
36273 * string/test-strnlen-ifunc.c: Likewise.
36274 * string/test-strpbrk-ifunc.c: Likewise.
36275 * string/test-strrchr-ifunc.c: Likewise.
36276 * string/test-strspn-ifunc.c: Likewise.
36277 * string/test-strstr-ifunc.c: Likewise.
36279 * debug/Makefile (tests-ifunc): New variable.
36280 (tests): Add $(tests-ifunc).
36281 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36282 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36283 * debug/test-stpcpy_chk-ifunc.c: New file.
36284 * debug/test-strcpy_chk-ifunc.c: Likewise.
36286 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36289 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36290 header is not read in.
36292 2012-10-19 Joseph Myers <joseph@codesourcery.com>
36294 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36295 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36296 directly. Pass built executable to script as
36297 $(built-program-cmd).
36298 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36299 $testprogram without using LD_LIBRARY_PATH and $ldso.
36301 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36302 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36303 $(rtld-installed-name).
36304 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36305 (rtld_installed_name): Likewise.
36306 (library_path): Likewise.
36307 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36308 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36309 $(run-program-prefix) to tst-tables.sh.
36310 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36311 it to run tst-table-from and tst-table-to.
36312 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36313 Pass it to tst-table.sh.
36314 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36315 $(run-program-prefix) to tst-gettext.sh.
36316 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36318 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36320 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36321 to run tst-gettext.
36322 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36323 to run tst-gettext2.
36324 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36325 to run tst-translit.
36326 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36327 $(run-program-prefix) to tst-mtrace.sh.
36328 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36330 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36331 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36332 $(rtld-installed-name).
36333 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36334 (rtld_installed_name): Likewise.
36335 (run_program_prefix): New variable. Use it to run wordexp-test.
36337 * Makeconfig (ARCH): Remove all definitions.
36338 (machine): Likewise.
36339 [ARCH]: Remove conditional code.
36340 [!objdir]: Give error.
36341 [!objdir] (objpfx): Remove.
36342 [!objdir] (common-objpfx): Likewise.
36343 [!objdir] (common-objdir): Likewise.
36344 * configure.in (config_makefile): Remove. Hardcode Makefile in
36345 AC_CONFIG_FILES call.
36346 * configure: Regenerated.
36349 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36351 (testout): Likewise.
36353 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36354 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36355 $(rtld-installed-name).
36356 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36357 (rtld_installed_name): Likwise.
36358 (runit): Remove function.
36359 (run_getconf): New variable, Use it for running getconf binary.
36361 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36364 * string/test-memmem.c (check_result): New function.
36365 (do_one_test): Use it.
36366 (check1): New function.
36367 (test_main): Use it.
36369 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36371 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36373 2012-10-18 Joseph Myers <joseph@codesourcery.com>
36375 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36376 (_G_LSEEK64): Likewise.
36377 (_G_MMAP64): Likewise.
36378 (_G_FSTAT64): Likewise.
36379 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36380 (_G_LSEEK64): Likewise.
36381 (_G_MMAP64): Likewise.
36382 (_G_FSTAT64): Likewise.
36383 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36384 unconditional. Call __mmap64 directly.
36385 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36386 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36387 __lseek64 directly.
36388 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36389 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36391 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36392 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36393 __lseek64 directly.
36394 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36395 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36396 __lseek64 directly.
36397 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36398 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36399 __lseek64 directly.
36400 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36401 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36402 __fxstat64 directly.
36403 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36404 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36406 (freopen64) [!_G_OPEN64]: Remove conditional code.
36407 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36409 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36410 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36412 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36413 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36415 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36416 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36418 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36419 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36421 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36422 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36424 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36425 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36427 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36429 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36432 * manual/memory.texi (Malloc Tunable Parameters): Add note
36433 about free list pointers overwriting some perturb bytes.
36434 Wording suggested by Roland McGrath.
36436 2012-10-17 Joseph Myers <joseph@codesourcery.com>
36438 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36439 (lgamma_test): Likewise.
36440 (tgamma_test): Likewise.
36442 2012-10-16 Florian Weimer <fweimer@redhat.com>
36445 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36446 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36448 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36450 * NEWS: Mention BZ #14716.
36451 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36452 when removing AVAILABLE1_USES_J macro.
36454 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36456 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36457 (__bswap_64): __uint64_t for unsigned 64-bit int.
36459 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36461 * include/string.h (memmem): Declare libc hidden alias.
36462 * string/memmem.c (memmem): Define libc hidden alias.
36463 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36464 __read, __close instead of open, read, close.
36466 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36469 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36471 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36472 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36473 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36475 (__rawmemchr_sse2): Likewise.
36476 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36477 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36478 (__strchr_sse2): Likewise.
36479 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36480 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36481 (__strcasecmp_sse2): Likewise.
36482 (__strncasecmp_sse2): Likewise.
36483 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36484 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36485 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36486 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36487 (__strrchr_sse2): Likewise.
36488 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36490 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36491 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36492 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36493 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36494 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36495 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36496 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36497 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36498 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36499 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36500 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36501 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36502 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36503 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36504 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36505 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36506 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36507 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36508 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36509 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36510 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36511 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36512 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36513 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36514 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36515 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36516 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36517 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36518 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36519 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36521 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36523 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36524 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36525 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36526 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36528 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36530 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36531 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36532 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36533 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36535 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36536 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36537 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36538 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36539 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36540 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36541 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36542 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36543 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36544 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36545 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36546 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36547 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36548 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36549 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36550 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36551 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36552 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36553 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36554 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36555 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36556 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36557 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36558 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36559 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36560 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36561 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36562 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36563 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36564 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36565 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36566 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36567 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36568 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36569 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36570 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36571 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36572 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36573 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36574 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36575 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36577 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36578 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36579 * include/ifunc-impl-list.h: New file.
36580 * misc/ifunc-impl-list.c: Likewise.
36581 * misc/Makefile (routines): Add ifunc-impl-list.
36582 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36583 * string/test-string.h: Include <ifunc-impl-list.h>.
36584 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36585 TEST_NAME]: New variables.
36586 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36588 (test_init): Call __libc_ifunc_impl_list to initialize
36589 func_list if TEST_IFUNC and TEST_NAME are defined.
36591 * string/Makefile (strop-tests): Add bcopy and bzero.
36592 * string/test-bcopy.c: New file.
36593 * string/test-bzero.c: Likewise.
36594 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36596 * string/test-memset.c: Support bzero test if TEST_BZERO is
36598 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36600 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36602 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36605 2012-10-10 Joseph Myers <joseph@codesourcery.com>
36607 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36608 * configure: Regenerated.
36610 * Makeconfig (+link-static-before-libc): Don't include
36611 $(link-static-libc).
36613 * libio/libio.h (_IO_pos_t): Remove.
36615 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36617 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36620 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36622 * crypt/crypt-entry.c: Include fips-private.h.
36623 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36624 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36625 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36626 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36628 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36630 * crypt/crypt-private.h: Include stdbool.h.
36631 (_ufc_setup_salt_r): Return bool.
36632 * crypt/crypt-entry.c: Include errno.h.
36633 (__crypt_r): Return NULL with EINVAL for bad salt.
36634 * crypt/crypt_util.c (bad_for_salt): New.
36635 (_ufc_setup_salt_r): Check that salt is long enough and within
36636 the specified alphabet.
36637 * crypt/badsalttest.c: New file.
36638 * crypt/Makefile (tests): Add it.
36639 ($(objpfx)badsalttest): New.
36641 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36643 * NEWS: Add entry for BZ #14602.
36645 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36647 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36649 * math/libm-test.inc: Update comment listing what functions and
36651 (isgreater_test): New function.
36652 (isgreaterequal_test): Likewise.
36653 (isless_test): Likewise.
36654 (islessequal_test): Likewise.
36655 (islessgreater_test): Likewise.
36656 (isunordered_test): Likewise.
36657 (main): Call the new functions.
36659 2012-10-09 Roland McGrath <roland@hack.frob.com>
36661 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36662 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36663 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36664 * sysdeps/i386/configure: Regenerated.
36665 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36666 * sysdeps/mach/configure: Regenerated.
36667 * sysdeps/mach/hurd/configure: Regenerated.
36668 * sysdeps/powerpc/configure: Regenerated.
36669 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36670 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36671 * sysdeps/s390/s390-32/configure: Regenerated.
36672 * sysdeps/s390/s390-64/configure: Regenerated.
36673 * sysdeps/sh/configure: Regenerated.
36674 * sysdeps/sparc/configure: Regenerated.
36675 * sysdeps/unix/sysv/linux/configure: Regenerated.
36676 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36677 * sysdeps/x86_64/configure: Regenerated.
36679 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36680 defined. Don't check if MAP is NULL.
36682 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36684 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36685 (_G_stat64): Likewise.
36686 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36687 (_G_stat64): Likewise.
36688 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36689 instead of struct _G_stat64.
36690 * libio/fileops.c (mmap_remap_check): Likewise.
36691 (decide_maybe_mmap): Likewise.
36692 (_IO_new_file_seekoff): Likewise.
36693 (_IO_file_stat): Likewise.
36694 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36696 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36697 instead of struct _G_stat64.
36698 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36700 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36703 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36705 (CHECK_EOL): New macro.
36706 (two_way_short_needle): Check beginning of haystack for EOL. Use
36708 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36709 Replace with CHECK_EOL.
36710 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36711 Replace with CHECK_EOL.
36713 2012-10-08 Joseph Myers <joseph@codesourcery.com>
36715 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36717 * math/libm-test.inc: Update comment listing what functions and
36719 (finite_test): New function.
36720 (isinf_test): Likewise.
36721 (isnan_test): Likewise.
36722 (fpclassify_test): Test subnormal input.
36723 (isfinite_test): Likewise.
36724 (isnormal_test): Likewise.
36725 (main): Call the new functions.
36727 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36730 * Makerules (%.dynsym): Force C locale when running
36731 $(OBJDUMP) --dynamic-syms.
36733 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36735 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36738 2012-10-06 David S. Miller <davem@davemloft.net>
36740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36741 upper 32-bits of the length value in %o2 since we use branch-on-register
36742 tests which consider the entire 64-bit register.
36744 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36746 * string/test-strstr.c (check2): Add a test for page boundary.
36748 2012-10-05 David S. Miller <davem@davemloft.net>
36750 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36751 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36753 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36755 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36756 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36757 and bzero when HWCAP_SPARC_CRYPTO is present.
36759 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36762 * string/test-strstr.c (check2): New function.
36763 (test_main): Call check2.
36765 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36767 * string/bug-strcasestr1.c (do_test): Moved to ...
36768 * string/test-strcasestr.c (check1): Here. New function.
36769 (do_one_test): Break out result checking code into ...
36770 (check_result): This. New function.
36771 (do_one_test): Call check_result.
36772 (test_main): Call check1.
36773 * string/bug-strchr1.c (do_test): Moved to ...
36774 * string/test-strchr.c (check1): Here. New function.
36775 (do_one_test): Break out result checking code into ...
36776 (check_result): This. New function.
36777 (do_one_test): Call check_result.
36778 (test_main): Call check1.
36779 * string/bug-strstr1.c (main): Moved to ...
36780 * string/test-strstr.c (check1): Here. New function.
36781 (do_one_test): Break out result checking code into ...
36782 (check_result): This. New function.
36783 (do_one_test): Call check_result.
36784 (test_main): Call check1.
36785 * string/bug-strcasestr1.c: Removed.
36786 * string/bug-strchr1.c: Likewise.
36787 * string/bug-strstr1.c: Likewise.
36789 * elf/Makefile (dl-routines): Add hwcaps.
36790 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36791 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36792 (_dl_important_hwcaps): Moved to ...
36793 * elf/dl-hwcaps.c: Here. New file.
36794 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36797 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36798 if IS_IN_rtld isn't defined.
36800 * elf/dl-support.c (_dl_sysinfo_map): New.
36801 Include "get-dynamic-info.h" and "setup-vdso.h".
36802 (_dl_non_dynamic_init): Call setup_vdso.
36803 * elf/dynamic-link.h: Don't include <assert.h>.
36804 (elf_get_dynamic_info): Moved to ...
36805 * elf/get-dynamic-info.h: Here. New file.
36806 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36807 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36808 * elf/setup-vdso.h: Here. New file.
36809 * elf/rtld.c: Include "setup-vdso.h".
36810 (dl_main): Call setup_vdso.
36812 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36814 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36815 creal in comment listing functions tested. List finite, isinf,
36816 isnan, isless, islessequal, isgreater, isgreaterequal,
36817 islessgreater, isunordered, lgamma_r and pow10 as functions and
36818 macros not tested. Mention which functions not tested are aliases
36819 for other functions. Fix typo. Note that signs of NaNs are not
36822 * scripts/config.guess: Update from config.git.
36823 * scripts/config.sub: Likewise.
36825 2012-10-04 Roland McGrath <roland@hack.frob.com>
36827 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36828 * misc/madvise.c (madvise): Renamed to __madvise.
36829 Make madvise a weak alias.
36830 * include/sys/mman.h: Declare __madvise.
36831 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36832 * sysdeps/unix/syscalls.list
36833 (madvise): Make __madvise the strong name, and madvise a weak alias.
36834 * sysdeps/unix/sysv/linux/syscalls.list
36835 (madvise, mmap): Remove redundant entries.
36836 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36837 * malloc/malloc.c (mtrim): Likewise.
36838 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36840 2012-10-03 Roland McGrath <roland@hack.frob.com>
36842 * sysdeps/mach/hurd/dl-cache.c: File removed.
36843 * config.h.in (USE_LDCONFIG): New #undef.
36844 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36845 * configure: Regenerated.
36846 * elf/Makefile (dl-routines): Add dl-cache only under
36847 [$(use-ldconfig) = yes].
36848 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36849 cache on [USE_LDCONFIG].
36850 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36852 * elf/rtld.c (dl_main): Likewise.
36854 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36856 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36857 _SC_LEVEL4_CACHE_LINESIZE.
36859 2012-10-03 Roland McGrath <roland@hack.frob.com>
36861 * sysdeps/unix/bsd/confstr.h: File removed.
36863 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36865 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36868 2012-10-02 Roland McGrath <roland@hack.frob.com>
36870 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36871 Make 'mapoff' field ElfW(Off) rather than off_t.
36873 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36875 * nscd/Makefile: Remove nscd-cflags and all its users.
36876 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36877 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36880 * malloc.c (malloc_printerr): Clarify error message.
36882 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36886 Set bit_FMA_Usable if FMA is supported.
36887 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36889 (bit_FMA4_Usable): Updated.
36890 (index_FMA_Usable): New macro.
36891 (CPUID_FMA): Likewise
36892 (HAS_FMA): Defined with bit_FMA_Usable.
36894 2012-10-01 Roland McGrath <roland@hack.frob.com>
36896 * bits/types.h (__swblk_t): Type removed.
36897 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36898 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36900 (__SWBLK_T_TYPE): Likewise.
36901 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36902 (__SWBLK_T_TYPE): Likewise.
36903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36904 (__SWBLK_T_TYPE): Likewise.
36905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36906 (__SWBLK_T_TYPE): Likewise.
36908 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36909 Honza Horak <hhorak@redhat.com>
36911 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36912 (xdr_mapname): Use YPMAXMAP as maxsize.
36913 (xdr_peername): Use YPMAXPEER as maxsize.
36914 (xdr_keydat): Use YPAXRECORD as maxsize.
36915 (xdr_valdat): Use YPMAXRECORD as maxsize.
36917 2012-10-01 Roland McGrath <roland@hack.frob.com>
36919 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36921 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36922 * csu/init-first.c: ... here.
36923 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36924 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36925 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36926 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36927 * sysdeps/i386/init-first.c: File removed.
36928 * sysdeps/sh/init-first.c: File removed.
36930 2012-10-01 Joseph Myers <joseph@codesourcery.com>
36933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36934 if x * y might underflow to zero and z is zero.
36935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36937 * math/libm-test.inc (min_subnorm_value): New variable.
36938 (fma_test): Add more tests.
36939 (fma_test_towardzero): Likewise.
36940 (fma_test_downward): Likewise
36941 (fma_test_upward): Likewise.
36942 (initialize): Set min_subnorm_value.
36944 2012-09-29 Joseph Myers <joseph@codesourcery.com>
36947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36949 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36950 mode for addition resulting in exact zero.
36951 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36954 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36956 * math/libm-test.inc (fma_test): Add more tests.
36957 (fma_test_towardzero): New function.
36958 (fma_test_downward): Likewise.
36959 (fma_test_upward): Likewise.
36960 (main): Call the new functions.
36962 2012-09-28 David S. Miller <davem@davemloft.net>
36964 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36966 2012-09-28 Roland McGrath <roland@hack.frob.com>
36968 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36969 instead of SIGALRM.
36971 * sysdeps/gnu/_G_config.h: Moved to ...
36972 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36973 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36974 * sysdeps/generic/_G_config.h: ... here.
36976 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36978 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36980 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36981 Conditionalize target on [libnss_test1.so-version].
36983 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36985 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36986 (elfobjdir): Move out of conditionals.
36988 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36989 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36990 (__nss_lookup_function): Conditionalize label remove_from_tree on
36991 [!DO_STATIC_NSS || SHARED], matching its only use.
36993 2012-09-28 David S. Miller <davem@davemloft.net>
36995 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36996 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36998 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37000 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37002 when HWCAP_SPARC_CRYPTO is present.
37004 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37006 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37008 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37011 * stdio-common/vfprintf.c (process_string_arg): Revert
37014 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37016 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37018 * stdio-common/tst-sprintf.c: Include <locale.h>
37019 (main): Test sprintf's handling of incomplete multibyte
37022 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37024 * elf/dl-runtime.c (VERSYMIDX): Removed.
37025 * elf/dl-version.c (VERSYMIDX): Likewise.
37026 * elf/do-rel.h (VERSYMIDX): Likewise.
37027 (VALIDX): Likewise.
37028 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37029 * elf/rtld.c (VALIDX): Likewise.
37030 (ADDRIDX): Likewise.
37031 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37032 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37033 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37034 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37035 (VALIDX): Likewise.
37036 (ADDRIDX): Likewise.
37038 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37040 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37042 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37045 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37047 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37048 addresses are in the same scope as 192.0.2/24.
37049 * posix/gai.conf: Document new scope table defaults.
37051 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37054 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37055 for ftell. Compute offsets from write pointers instead.
37056 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37058 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37061 * libio/Makefile (tests): New test case tst-fseek.
37062 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37063 combination works in wide mode.
37064 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37065 state when the external buffer state changes.
37067 2012-09-27 David S. Miller <davem@davemloft.net>
37070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37071 pass reloc->r_addend in as the 'high' argument to
37072 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37076 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37078 * rt/tst-aio2.c: Include <pthread.h>.
37079 * rt/tst-aio3.c: Likewise.
37081 2012-09-27 Steve Ellcey <sellcey@mips.com>
37083 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37085 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37087 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37088 contents on [SHARED].
37090 2012-09-26 Marek Polacek <polacek@redhat.com>
37094 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37095 for C++ and GCC <4.3 as well as for non GCC compilers.
37097 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37101 2012-09-25 Roland McGrath <roland@hack.frob.com>
37103 * Makefile.in (all, install): Declare with .PHONY.
37104 Reported by Michael Hope <michael.hope@linaro.org>.
37106 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37108 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37109 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37111 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37113 (sydep_routines): Add the new and the internal functions.
37114 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37115 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37117 (GLIBC_2.17): Add the new function.
37118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37119 (GLIBC_2.17): Likewise.
37120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37121 (GLIBC_2.17): Likewise.
37122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37123 (GLIBC_2.17): Likewise.
37124 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37126 2012-09-25 Alan Modra <amodra@gmail.com>
37128 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37129 Add release barrier before setting once_control to say
37130 initialisation is done. Add hints on lwarx. Use macro in
37132 (clear_once_control): Add release barrier.
37134 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37137 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37139 * math/s_clog10.c (__clog10): Likewise.
37140 * math/s_clog10f.c (__clog10f): Likewise.
37141 * math/s_clog10l.c (__clog10l): Likewise.
37142 * math/s_clogf.c (__clogf): Likewise.
37143 * math/s_clogl.c (__clogl): Likewise.
37144 * math/Makefile (libm-calls): Add x2y2m1.
37145 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37146 (__x2y2m1): Likewise.
37147 (__x2y2m1l): Likewise.
37148 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37149 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37150 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37151 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37152 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37153 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37154 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37155 * sysdeps/i386/fpu/libm-test-ulps: Update.
37156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37159 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37160 int as type of variable DEPTH.
37161 (glob): Use size_t instead of int as type of variables NEWCOUNT
37164 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37166 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37167 Add s_sincosf-sse2.
37168 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37169 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37170 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37171 macros for using routine as __sincosf_ia32.
37172 Use macro for function declaration and weak_alias.
37173 * sysdeps/i386/fpu/libm-test-ulps: Update.
37175 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37178 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37179 subnormal argument.
37180 * math/s_cexpf.c (__cexpf): Likewise.
37181 * math/s_csinf.c (__csinf): Likewise.
37182 * math/s_csinhf.c (__csinhf): Likewise.
37183 * math/s_ctanf.c (__ctanf): Likewise.
37184 * math/s_ctanhf.c (__ctanhf): Likewise.
37185 * math/s_ccosh.c (__ccoshf): Likewise.
37186 * math/s_cexp.c (__cexpl): Likewise.
37187 * math/s_csin.c (__csin): Likewise.
37188 * math/s_csinh.c (__csinh): Likewise.
37189 * math/s_ctan.c (__ctan): Likewise.
37190 * math/s_ctanh.c (ctanh): Likewise.
37191 * math/s_ccoshl.c (__ccoshl): Likewise.
37192 * math/s_cexpl.c (__cexpl): Likewise.
37193 * math/s_csinl.c (__csinl): Likewise.
37194 * math/s_csinhl.c (__csinhl): Likewise.
37195 * math/s_ctanl.c (__ctanl): Likewise.
37196 * math/s_ctanhl.c (__ctanhl): Likewise.
37198 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37200 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37201 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37202 (_IO_off_t): Define to __off_t, not _G_off_t.
37203 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37204 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37205 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37206 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37207 type of __dummy and __dummy2 fields.
37208 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37209 (_G_ssize_t): Likewise.
37210 (_G_off_t): Likewise.
37211 (_G_pid_t): Likewise.
37212 (_G_uid_t): Likewise.
37213 (_G_wchar_t): Likewise.
37214 (_G_wint_t): Likewise.
37215 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37216 (_G_ssize_t): Likewise.
37217 (_G_off_t): Likewise.
37218 (_G_pid_t): Likewise.
37219 (_G_uid_t): Likewise.
37220 (_G_wchar_t): Likewise.
37221 (_G_wint_t): Likewise.
37222 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37223 (_G_ssize_t): Likewise.
37224 (_G_off_t): Likewise.
37225 (_G_pid_t): Likewise.
37226 (_G_uid_t): Likewise.
37227 (_G_wchar_t): Likewise.
37228 (_G_wint_t): Likewise.
37230 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37232 * malloc/arena.c: Include malloc-sysdep.h.
37233 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37234 is sufficient to shrink the heap or an unmap is needed.
37235 * sysdeps/generic/malloc-sysdep.h: New file. Define
37236 new function check_may_shrink_heap.
37237 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37238 new function check_may_shrink_heap.
37240 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37242 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37245 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37247 * catgets/test-gencat.sh: Add "set -e".
37248 * elf/tst-pathopt.sh: Likewise.
37249 * grp/tst_fgetgrent.sh: Likewise.
37250 * iconvdata/run-iconv-test.sh: Likewise.
37251 * intl/tst-gettext.sh: Likewise.
37252 * intl/tst-gettext2.sh: Likewise.
37253 * intl/tst-gettext4.sh: Likewise.
37254 * intl/tst-gettext6.sh: Likewise.
37255 * intl/tst-translit.sh: Likewise.
37256 * io/ftwtest-sh: Likewise.
37257 * libio/test-freopen.sh: Likewise.
37258 * malloc/tst-mtrace.sh: Likewise.
37259 * posix/globtest.sh: Likewise.
37260 * posix/tst-getconf.sh: Likewise.
37261 * posix/wordexp-tst.sh: Likewise.
37262 * stdio-common/tst-printf.sh: Likewise.
37263 * stdio-common/tst-unbputc.sh: Likewise.
37264 * stdlib/tst-fmtmsg.sh: Likewise.
37265 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37266 * catgets/Makefile: Do not specify -e option when running
37267 testsuite shell scripts.
37268 * elf/Makefile: Likewise.
37269 * grp/Makefile: Likewise.
37270 * iconvdata/Makefile: Likewise.
37271 * intl/Makefile: Likewise.
37272 * io/Makefile: Likewise.
37273 * libio/Makefile: Likewise.
37274 * malloc/Makefile: Likewise.
37275 * posix/Makefile: Likewise.
37276 * stdio-common/Makefile: Likewise.
37277 * stdlib/Makefile: Likewise.
37278 * sysdeps/x86_64/Makefile: Likewise.
37280 * io/ftwtest-sh: Add copyright header.
37281 * posix/globtest.sh: Likewise.
37282 * posix/tst-getconf.sh: Likewise.
37283 * posix/wordexp-tst.sh: Likewise.
37284 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37286 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37289 * Makeconfig (+link): Defined as $(+link-static) if
37290 $(build-shared) isn't yes.
37291 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37293 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37295 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37298 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37299 new chunk size with MALLOC_ALIGN_MASK.
37301 2012-09-24 Joseph Myers <joseph@codesourcery.com>
37304 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37306 (__printf_fphex): Determine rounding using get_rounding_mode and
37308 * stdio-common/tst-printf-round.c (struct hex_test): New
37310 (hex_tests): New variable.
37311 (test_hex_in_one_mode): New function.
37312 (do_test): Also run tests for hex float output.
37314 2012-09-21 Joseph Myers <joseph@codesourcery.com>
37316 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37317 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37318 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37319 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37320 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37321 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37322 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37323 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37325 2012-09-20 Joseph Myers <joseph@codesourcery.com>
37327 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37328 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37329 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37330 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37332 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37335 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37337 * elf/tst-rtld-load-self.sh: New test.
37338 * elf/Makefile: Run it.
37340 2012-09-18 Joseph Myers <joseph@codesourcery.com>
37342 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37343 (tst-writev-ENV): Remove.
37344 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37346 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37348 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37350 2012-09-17 Joseph Myers <joseph@codesourcery.com>
37352 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37354 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37356 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37357 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37358 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37361 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37364 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37365 * config.make.in (have-cpp-asm-debuginfo): Removed.
37366 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37367 * configure: Regenerated.
37369 2012-09-14 Joseph Myers <joseph@codesourcery.com>
37372 * stdio-common/printf_fp.c: Include <stdbool.h> and
37374 (___printf_fp): Determine rounding using get_rounding_mode and
37376 * stdio-common/tst-printf-round.c: New file.
37377 * stdio-common/Makefile (tests): Add tst-printf-round.
37378 (link-libm): New variable.
37379 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37381 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37384 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37385 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37387 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37390 2012-09-13 Joseph Myers <joseph@codesourcery.com>
37392 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37393 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37394 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37395 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37397 2012-09-12 Joseph Myers <joseph@codesourcery.com>
37400 * include/rounding-mode.h: New file.
37401 * sysdeps/generic/get-rounding-mode.h: Likewise.
37402 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37403 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37404 (MAX_VALUE): New macro.
37405 (MIN_VALUE): Likewise.
37406 (overflow_value): New function.
37407 (underflow_value): Likewise.
37408 (round_and_return): Use overflow_value and underflow_value to
37409 determine return values in overflow and underflow cases. Use
37410 round_away to determine rounding depending on rounding mode.
37411 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37412 determine return values in overflow and underflow cases.
37413 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37414 (struct test_results): New structure.
37415 (struct test): Use struct test_results to store expected results
37416 for all rounding modes.
37417 (TEST): Include expected results for all rounding modes.
37418 (test_in_one_mode): New function.
37419 (do_test): Use test_in_one_mode to compute and check results.
37420 Check results for all rounding modes.
37421 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37424 2012-12-09 Allan McRae <allan@archlinux.org>
37426 * sysdeps/i386/fpu/libm-test-ulps: Update
37428 2012-09-11 Joseph Myers <joseph@codesourcery.com>
37430 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37431 (_G_int32_t): Likewise.
37432 (_G_uint16_t): Likewise.
37433 (_G_uint32_t): Likewise.
37434 (_G_HAVE_BOOL): Likewise.
37435 (_G_HAVE_ATEXIT): Likewise.
37436 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37437 (_G_HAVE_IO_FILE_OPEN): Likewise.
37438 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37439 (_G_int32_t): Likewise.
37440 (_G_uint16_t): Likewise.
37441 (_G_uint32_t): Likewise.
37442 (_G_HAVE_BOOL): Likewise.
37443 (_G_HAVE_ATEXIT): Likewise.
37444 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37445 (_G_HAVE_IO_FILE_OPEN): Likewise.
37446 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37447 (_G_int32_t): Likewise.
37448 (_G_uint16_t): Likewise.
37449 (_G_uint32_t): Likewise.
37450 (_G_HAVE_BOOL): Likewise.
37451 (_G_HAVE_ATEXIT): Likewise.
37452 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37453 (_G_HAVE_IO_FILE_OPEN): Likewise.
37455 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37457 * csu/libc-tls.c: Update copyright years.
37459 2012-09-10 Joseph Myers <joseph@codesourcery.com>
37461 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37462 [!_G_USING_THUNKS]: Remove conditional code.
37463 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37464 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37466 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37467 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37468 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37469 (_G_VTABLE_LABEL_PREFIX): Likewise.
37470 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37471 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37472 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37473 (_G_VTABLE_LABEL_PREFIX): Likewise.
37474 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37475 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37476 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37477 (_G_VTABLE_LABEL_PREFIX): Likewise.
37478 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37480 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37482 * libio/Makefile: Include ../Makeconfig before tests.
37483 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37484 only if $(build-shared) is yes.
37486 * iconv/gconv_db.c: Update copyright years.
37488 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37490 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37491 unwind info if defined PIC. Fix special cases description.
37492 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37494 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37496 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37498 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37500 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37502 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37505 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37506 (LDLIBS-tst-chk4): This.
37507 (LDFLAGS-tst-chk5): Renamed to ...
37508 (LDLIBS-tst-chk5): This.
37509 (LDFLAGS-tst-chk6): Renamed to ...
37510 (LDLIBS-tst-chk6): This.
37511 (LDFLAGS-tst-lfschk4): Renamed to ...
37512 (LDLIBS-tst-lfschk4): This.
37513 (LDFLAGS-tst-lfschk5): Renamed to ...
37514 (LDLIBS-tst-lfschk5): This.
37515 (LDFLAGS-tst-lfschk6): Renamed to ...
37516 (LDLIBS-tst-lfschk6): This.
37518 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37519 on $(common-objpfx)soversions.mk.
37521 2012-09-07 Joseph Myers <joseph@codesourcery.com>
37524 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37527 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37529 * malloc/arena.c (arena_get_retry): New function that gets
37530 another arena for the caller to try its request on.
37531 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37532 current arena cannot fulfill the request.
37533 (__libc_memalign): Likewise.
37534 (__libc_memalign): Likewise.
37535 (__libc_pvalloc): Likewise.
37536 (__libc_calloc): Likewise.
37538 2012-09-05 John Tobey <john.tobey@gmail.com>
37541 * manual/arith.texi (Operations on Complex): Fix description
37542 of carg branch cut.
37544 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37547 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37551 * manual/memory.texi (Memory): Make order of menu items match
37554 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37556 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37557 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37558 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37560 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37562 * csu/libc-tls.c (static_dtv): Renamed to ...
37563 (_dl_static_dtv): This. Make it global.
37564 (_dl_initial_dtv): Removed.
37565 (__libc_setup_tls): Updated.
37566 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37567 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37570 2012-09-06 Petr Machata <pmachata@redhat.com>
37572 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37573 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37574 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37575 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37577 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37580 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37581 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37584 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37587 * Makeconfig (link-static-before-libc): Replace $(+prector)
37589 (link-static-after-libc): Replace $(+postctor) with
37591 (link-bounded): Replace $(+prector)/$(+postctor) with
37592 $(+prectorT)/$(+postctorT).
37593 (+prectorT): New macro.
37594 (+postctorT): Likewise.
37596 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37598 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37599 (round_str): Handle values above the maximum for IBM long double
37601 * stdlib/tst-strtod-round.c (tests): Regenerated.
37603 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37605 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37607 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37608 zarch_nohighgprs around the zarch optimized routines.
37609 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37610 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37614 2012-09-05 David S. Miller <davem@davemloft.net>
37616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37618 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37619 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37620 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37621 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37624 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37626 * malloc/arena.c: Fold copyright years.
37627 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37629 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37631 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37633 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37635 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37637 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37639 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37640 change internal state upon failure.
37642 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37644 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37645 * malloc/memusage.c (mmap): Likewise.
37646 (mmap64, mremap): Likewise. Adjust name in comment.
37648 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37650 * libio/fileops.c: Fix typos in comments.
37651 * libio/oldfileops.c: Likewise.
37652 * libio/wfileops.c: Likewise.
37654 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37657 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37658 (tst-malloc-usable-ENV): Set environment for test case.
37659 * malloc/hooks.c (malloc_check_get_size): New function to get
37661 * malloc/malloc.c (musable): Use malloc_check_get_size.
37662 * malloc/tst-malloc-usable.c: New test case.
37664 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37666 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37668 2012-09-05 Allan McRae <allan@archlinux.org>
37671 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37672 determine header location.
37673 * configure: Regenerated.
37675 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37677 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37679 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37680 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37682 (test): Regenerate.
37684 2012-09-04 David S. Miller <davem@davemloft.net>
37686 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37687 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37688 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37690 2012-09-04 Florian Weimer <fweimer@redhat.com>
37692 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37695 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37697 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37700 * libio/iogetdelim.c: Include <limits.h>.
37701 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37702 + len + 1 would overflow.
37704 2012-09-03 Andreas Jaeger <aj@suse.de>
37706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37707 * sysdeps/i386/fpu/libm-test-ulps: Update.
37709 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37711 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37712 Add s_sinf-sse2, s_conf-sse2.
37714 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37715 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37716 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37717 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37719 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37720 for using routine as __sinf_ia32.
37721 Use macro for function declaration and weak_alias.
37722 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37723 for using routine as __cosf_ia32.
37724 Use macro for function declaration and weak_alias.
37726 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37727 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37729 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37730 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37733 * math/libm-test.inc (cos_test): Add more test cases.
37734 (sin_test): Likewise.
37735 (sincos_test): Likewise.
37737 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37739 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37740 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37742 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37744 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37747 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37748 first element of the GOT.
37749 (elf_machine_load_address): Return the difference between
37750 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37752 2012-09-01 Allan McRae <allan@archlinux.org>
37755 * configure.in (AWK): Require gawk version 3.0 or later.
37756 * configure: Regenerated.
37758 2012-09-01 Joseph Myers <joseph@codesourcery.com>
37760 * sysdeps/unix/sysv/linux/kernel-features.h
37761 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37762 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37763 [__NR_clock_getres]: Make code unconditional.
37764 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37765 (clock_getcpuclockid): Remove code left unreachable by removal of
37767 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37768 code unconditional.
37769 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37770 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37771 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37772 Make code unconditional.
37773 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37774 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37775 * sysdeps/unix/sysv/linux/clock_settime.c
37776 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37778 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37779 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37781 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37784 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37785 scripts/test-installation.pl.
37787 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37788 and $ld_so_version if it is set.
37790 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37793 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37794 failure if reading from procfs failed.
37795 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37797 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37799 * sysdeps/unix/sysv/linux/kernel-features.h
37800 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37801 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37802 Remove conditional code.
37803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37804 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37805 Remove conditional code.
37806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37807 * sysdeps/unix/sysv/linux/i386/fxstat.c
37808 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37810 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37811 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37813 * sysdeps/unix/sysv/linux/i386/lxstat.c
37814 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37815 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37816 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37817 Remove conditional code.
37818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37819 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37820 Remove conditional code.
37821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37822 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37823 <kernel-features.h>.
37824 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37826 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37827 Remove conditional code.
37828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37829 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37830 Remove conditional.
37832 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37835 * NEWS: Add fixed bug number.
37837 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37840 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37841 underflowing exponent in case of negative sign.
37842 * stdlib/tst-strtod-round-data: Add more tests.
37843 * stdlib/tst-strtod-round.c (tests): Regenerated.
37846 * stdlib/strtod_l.c (NDIG): Remove.
37847 (HEXNDIG): Likewise.
37848 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37849 smallest representable value.
37850 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37851 lie within an exact representation of 1/2 ulp of the result.
37852 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37854 (TENS_P9_IDX): Define unconditionally.
37855 (TENS_P9_SIZE): Likewise.
37856 (TENS_P10_IDX): Likewise.
37857 (TENS_P10_SIZE): Likewise.
37858 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37859 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37860 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37861 entries for 10^2^13 and 10^2^14.
37862 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37863 (TENS_P13_IDX): Define.
37864 (TENS_P13_SIZE): Likewise.
37865 (TENS_P14_IDX): Likewise.
37866 (TENS_P14_SIZE): Likewise.
37867 (_fpioconst_pow10): Change array size to
37868 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37870 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37871 1024]: Add entries for 10^2^13 and 10^2^14.
37872 [LAST_POW10 > _LAST_POW10]: Remove #error.
37873 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37874 (_fpioconst_pow10): Change array size to
37875 FPIOCONST_POW10_ARRAY_SIZE.
37876 * stdlib/gen-fpioconst.c: New file.
37877 * stdlib/gen-tst-strtod-round.c: Likewise.
37878 * stdlib/tst-strtod-round-data: Likewise.
37879 * stdlib/tst-strtod-round.c: Likewise.
37880 * stdlib/Makefile (tests): Add tst-strtod-round.
37883 * stdlib/strtod_l.c: Include <stdint.h>.
37884 (NDEBUG): Do not define.
37885 (round_and_return): Change EXPONENT parameter to type intmax_t.
37886 Rearrange calculations to avoid internal overflow possibilities.
37887 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37888 Rearrange calculations to avoid internal overflow possibilities.
37889 Assert that number fits inside MPNSIZE limbs.
37890 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37891 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37892 calculations and add assertions to avoid internal overflow
37893 possibilities. Add casts to avoid signed/unsigned operations.
37894 * stdlib/tst-strtod-overflow.c: New file.
37895 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37897 2012-08-25 Marek Polacek <polacek@redhat.com>
37899 * time/time.h: Fix some typos in comments.
37901 2012-08-23 Roland McGrath <roland@hack.frob.com>
37903 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37904 * posix/tst-rfc3484-2.c: Likewise.
37905 * posix/tst-rfc3484-3.c: Likewise.
37907 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37909 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37910 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37912 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37914 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37915 #include of fxstatat64.c.
37917 2012-08-22 Roland McGrath <roland@hack.frob.com>
37919 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37920 * shadow/getspent_r.c: Likewise.
37921 * shadow/getspnam.c: Likewise.
37922 * shadow/getspnam_r.c: Likewise.
37923 * gshadow/getsgent.c: Likewise.
37924 * gshadow/getsgent_r.c: Likewise.
37925 * gshadow/getsgnam.c: Likewise.
37926 * gshadow/getsgnam_r.c: Likewise.
37927 * inet/getnetbyad.c: Likewise.
37928 * inet/getnetbyad_r.c: Likewise.
37929 * inet/getnetbynm.c: Likewise.
37930 * inet/getnetbynm_r.c: Likewise.
37931 * inet/getnetent.c: Likewise.
37932 * inet/getnetent_r.c: Likewise.
37933 * inet/getproto.c: Likewise.
37934 * inet/getproto_r.c: Likewise.
37935 * inet/getprtent.c: Likewise.
37936 * inet/getprtent_r.c: Likewise.
37937 * inet/getprtname.c: Likewise.
37938 * inet/getprtname_r.c: Likewise.
37939 * inet/getrpcbyname.c: Likewise.
37940 * inet/getrpcbyname_r.c: Likewise.
37941 * inet/getrpcbynumber.c: Likewise.
37942 * inet/getrpcbynumber_r.c: Likewise.
37943 * inet/getrpcent.c: Likewise.
37944 * inet/getrpcent_r.c: Likewise.
37945 * inet/getaliasent.c: Likewise.
37946 * inet/getaliasent_r.c: Likewise.
37947 * inet/getaliasname.c: Likewise.
37948 * inet/getaliasname_r.c: Likewise.
37949 * nscd/getgrgid_r.c: Likewise.
37950 * nscd/getgrnam_r.c: Likewise.
37951 * nscd/gethstbyad_r.c: Likewise.
37952 * nscd/gethstbynm3_r.c: Likewise.
37953 * nscd/getpwnam_r.c: Likewise.
37954 * nscd/getpwuid_r.c: Likewise.
37955 * nscd/getsrvbynm_r.c: Likewise.
37956 * nscd/getsrvbypt_r.c: Likewise.
37957 * nscd/gai.c: Likewise.
37959 * configure.in (build_nscd): New substituted variable, set
37960 by --disable-build-nscd and defaults to $use_nscd.
37961 * configure: Regenerated.
37962 * config.make.in (build-nscd): New substituted variable.
37963 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37964 Change conditional to require [$(build-nscd) = yes] as well.
37965 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37968 * configure.in (use_nscd): New substituted variable, set by
37969 --disable-nscd. If enabled, define USE_NSCD.
37970 * configure: Regenerated.
37971 * config.h.in: Add USE_NSCD.
37972 * config.make.in (use-nscd): New substituted variable.
37973 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37974 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37975 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37976 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37977 (CFLAGS-getgrnam_r.c): Likewise.
37978 (CFLAGS-initgroups.c): Likewise.
37979 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37980 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37982 * inet/getnetgrent_r.c
37983 (nscd_setnetgrent): New function, broken out of ...
37984 (setnetgrent): ... here. Call it.
37985 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37986 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37987 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37988 * nscd/Makefile (routines, aux): Move definitions after include of
37989 Makeconfig. Conditionalize on [$(use-nscd) != no].
37990 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37991 Conditionalize on [USE_NSCD].
37992 (is_nscd, nscd_init_cb): Likewise.
37993 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37994 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37995 * nss/nss_db/db-init.c: Likewise.
37996 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37998 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37999 (make_request): Use it.
38000 (cache_valid_p): New function.
38001 (__check_pf): Use it.
38002 * NEWS: Add item for --disable-nscd.
38004 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38006 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38007 to support sed >= 4.2.1-20-ga9bf076.
38008 * configure: Regenerated.
38010 2012-08-22 Roland McGrath <roland@hack.frob.com>
38012 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38013 Conditionalize whole body on [IREL].
38015 2012-08-22 Jeff Law <law@redhat.com>
38018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38019 if the family is PF_UNSPEC.
38021 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38023 * Makerules (lib-version): Rename from V.
38024 (install-lib-nosubdir): Change V to lib-version.
38026 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38029 * powerpc32/power6/wcschr.c: New file.
38030 * powerpc32/power6/wcscpy.c: New file.
38031 * powerpc32/power6/wcsrchr.c: New file.
38032 * powerpc64/power6/wcschr.c: New file.
38033 * powerpc64/power6/wcscpy.c: New file.
38034 * powerpc64/power6/wcsrchr.c: New file.
38036 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38038 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38039 (two_way_short_needle): Use it.
38040 * string/strstr.c (AVAILABLE1_USES_J): Define.
38041 * string/strcasestr.c: Likewise.
38043 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38045 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38048 * NEWS: Add an entry.
38049 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38050 define their defaults.
38051 (two_way_short_needle): Detect end-of-string on-the-fly.
38052 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38053 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38054 * string/bug-strcasestr1.c: New test.
38055 * string/Makefile: Run it.
38057 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38060 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38061 the first character.
38063 2012-08-21 Roland McGrath <roland@hack.frob.com>
38065 * csu/elf-init.c (__libc_csu_irel): Function removed.
38066 * csu/libc-start.c (apply_irel): New function.
38067 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38069 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38071 * sysdeps/unix/sysv/linux/kernel-features.h
38072 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38073 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38074 <kernel-features.h>.
38075 [__NR_fadvise64_64]: Make code unconditional.
38076 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38077 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38078 !__NR_fadvise64_64)]: Likewise.
38079 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38080 !__NR_fadvise64_64))]: Likewise.
38081 [__NR_fadvise64]: Make code unconditional.
38082 [!__NR_fadvise64]: Remove conditional code.
38083 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38084 <kernel-features.h>.
38085 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38087 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38090 not include <kernel-features.h>.
38091 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38093 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38095 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38096 include <kernel-features.h>.
38097 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38099 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38102 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38104 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38105 slight instruction rearrangements per scrollpipe analysis.
38106 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38108 2012-08-20 Roland McGrath <roland@hack.frob.com>
38110 * manual/syslog.texi (syslog; vsyslog, closelog):
38111 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38112 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38114 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38115 DSOCAPS to match condition on defining it.
38117 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38119 * sysdeps/unix/sysv/linux/kernel-features.h
38120 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38122 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38123 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38125 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38126 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38128 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38129 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38131 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38132 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38134 * sysdeps/unix/sysv/linux/kernel-features.h
38135 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38136 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38138 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38139 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38140 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38141 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38142 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38143 Make code unconditional.
38144 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38145 (__mmap64) [!__NR_mmap2]: Likewise.
38146 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38147 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38148 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38149 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38150 [__NR_mmap2]: Make code unconditional.
38151 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38152 (__mmap64) [!__NR_mmap2]: Likewise.
38154 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38156 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38158 2012-08-18 Andreas Jaeger <aj@suse.de>
38160 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38162 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38164 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38165 * include/unistd.h (__have_sock_cloexec): Likewise.
38166 (__have_pipe2): Likewise.
38167 (__have_dup3): Likewise.
38169 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38172 * include/unistd.h (__have_pipe2): Change define into an extern int.
38173 (__have_dup3): Likewise.
38174 * socket/have_sock_cloexec.c: Include fcntl.h.
38175 (__have_pipe2): New variable.
38176 (__have_dup3): Likewise.
38178 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38180 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38182 2012-08-17 Marek Polacek <polacek@redhat.com>
38184 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38185 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38187 2012-08-17 Roland McGrath <roland@hack.frob.com>
38189 * configure.in: Add AC_SUBST for sysheaders.
38190 * configure: Regenerated.
38191 * config.make.in (sysheaders): New substituted variable.
38193 * sysdeps/unix/mkfifo.c: Moved ...
38194 * sysdeps/posix/mkfifo.c: ... here.
38195 * sysdeps/unix/mkfifoat.c: Moved ...
38196 * sysdeps/posix/mkfifoat.c: ... here.
38198 * sysdeps/unix/utime.c: Moved ...
38199 * sysdeps/posix/utime.c: ... here.
38201 * sysdeps/unix/time.c: Moved ...
38202 * sysdeps/posix/time.c: ... here.
38203 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38204 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38206 * sysdeps/unix/nice.c: Moved ...
38207 * sysdeps/posix/nice.c: ... here.
38209 * sysdeps/unix/alarm.c: Moved ...
38210 * sysdeps/posix/alarm.c: ... here.
38212 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38214 2012-08-17 Jeff Law <law@redhat.com>
38216 * intl/Makefile (codeset_mo): New variable.
38217 ($(codeset_mo)): New target.
38218 (tst-codeset.out): Depend on that. Remove explicit rule.
38219 (tst-gettext3.out, tst-gettext5.out): Likewise.
38220 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38221 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38222 * intl/tst-codeset.sh: Remove.
38223 * intl/tst-gettext3.sh: Likewise.
38224 * intl/tst-gettext5.sh: Likewise.
38226 2012-08-17 Roland McGrath <roland@hack.frob.com>
38228 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38229 * sysdeps/unix/syscalls.list: ... here.
38231 * sysdeps/posix/getaddrinfo.c
38232 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38233 (gaiconf_init, gaiconf_reload): Use them.
38234 [!_STATBUF_ST_NSEC]
38235 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38236 Define using time_t rather than struct timespec.
38238 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38239 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38241 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38243 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38244 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38247 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38248 __libc_cleanup_push argument.
38250 * bits/param.h: New file.
38251 * misc/sys/param.h: New file.
38252 * include/sys/param.h: New file.
38253 * misc/Makefile (headers): Add bits/param.h.
38254 * sysdeps/generic/sys/param.h: File removed.
38255 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38256 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38257 * sysdeps/mach/hurd/bits/param.h: New file.
38258 * sysdeps/mach/hurd/sys/param.h: File removed.
38260 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38263 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38265 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38266 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38269 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38270 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38271 rather than -D_IO_MTSAFE_IO conditionally.
38272 * stdio-common/Makefile (CPPFLAGS): Likewise.
38273 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38274 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38275 Use $(libio-mtsafe).
38276 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38277 of -D_IO_MTSAFE_IO.
38278 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38279 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38280 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38281 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38282 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38283 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38284 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38285 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38286 (CFLAGS-fread_u_chk.c): Likewise.
38287 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38288 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38289 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38290 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38291 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38292 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38293 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38294 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38295 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38297 * libio/Makefile: Test [$(libc-reentrant) = yes]
38298 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38301 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38302 * sysdeps/pthread/configure: File removed.
38303 * sysdeps/pthread/Makeconfig: New file.
38304 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38305 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38307 2012-08-16 Gary Benson <gbenson@redhat.com>
38309 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38310 unmapping the first object in a namespace.
38312 2012-08-16 Roland McGrath <roland@hack.frob.com>
38314 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38315 (__internal_setnetgrent): ... this. Add internal_function to
38316 definition. Add libc_hidden_def.
38317 (setnetgrent): Update caller.
38318 (internal_endnetgrent): Renamed to ...
38319 (__internal_endnetgrent): ... this. Add internal_function to
38320 definition. Add libc_hidden_def.
38321 (endnetgrent): Update caller.
38322 (internal_getnetgrent_r): Renamed to ...
38323 (__internal_getnetgrent_r): ... this. Add internal_function to
38324 definition. Add libc_hidden_def.
38325 (__getnetgrent_r): Update caller.
38326 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38328 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38330 * stdlib/longlong.h: Update from GCC.
38332 2012-08-16 Roland McGrath <roland@hack.frob.com>
38334 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38335 on _QL, which is set by umul_ppmm but never used.
38336 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38337 variables, which are set by GMP macros but never used.
38338 * stdio-common/_itowa.c (_itowa): Likewise.
38339 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38340 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38342 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38344 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38345 struct La_sh_regs is not constant.
38346 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38347 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38348 and struct La_sparc64_regs are not constant.
38350 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38352 * sysdeps/unix/sysv/linux/kernel-features.h
38353 (__ASSUME_POSIX_TIMERS): Remove.
38354 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38356 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38357 Make code unconditional.
38358 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38359 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38360 Make code unconditional.
38361 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38362 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38363 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38364 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38365 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38366 Make code unconditional.
38367 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38368 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38369 (__libc_missing_posix_timers): Remove.
38371 2012-08-15 Roland McGrath <roland@hack.frob.com>
38373 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38374 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38376 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38378 * elf/dl-sym.c: Include <stdlib.h>.
38380 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38381 constants, which avoids warnings in 32-bit builds.
38383 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38384 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38386 * misc/lseek.c: File moved to ...
38387 * io/lseek.c: ... here.
38389 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38391 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38392 shifting LEN more than 31 bits at once.
38394 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38397 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38398 segmentation fault for a case of two empty input strings.
38399 * string/test-strncasecmp.c (check1): Renamed to...
38400 (bz12205): ...this.
38401 (bz14195): Add new testcase for two empty input strings and N > 0.
38402 (test_main): Call new testcase, adapt for renamed function.
38404 2012-08-15 Andreas Jaeger <aj@suse.de>
38407 * crypt/md5test2.c: New test, based on test supplied by Serge
38408 Belyshev <belyshev@depni.sinp.msu.ru>.
38409 * crypt/Makefile (xtests): Add md5test-giant..
38410 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38412 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38415 * crypt/md5.c (md5_process_block): Don't assume the buffer
38416 length is less than 2**32.
38417 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38418 length is less than 2**64.
38420 2012-08-15 Roland McGrath <roland@hack.frob.com>
38422 * string/str-two-way.h: Include <sys/param.h>.
38423 (MAX): Macro removed.
38425 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38426 Move #define and #undef of memmove to just before and after
38427 including <string.h>.
38429 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38430 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38431 and after including <string.h>. Move declarations of
38432 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38433 to before #include "string/memmove.c".
38435 * include/dirent.h: Declare __getdirentries.
38437 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38438 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38440 2012-08-14 Mike Frysinger <vapier@gentoo.org>
38442 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38443 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38444 * sysdeps/i386/configure: Regenerated.
38445 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38446 STABS_CURRENT_FILE, and STABS_FUN.
38447 (END): Remove call to STABS_FUN_END.
38448 (STABS_CURRENT_FILE1): Delete.
38449 (STABS_CURRENT_FILE): Likewise.
38450 (STABS_FUN): Likewise.
38451 (STABS_FUN_END): Likewise.
38452 (STABS_FUN2): Likewise.
38453 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38454 * sysdeps/x86_64/configure: Regenerated.
38456 2012-08-14 Roland McGrath <roland@hack.frob.com>
38458 * elf/dl-open.c: Include <atomic.h>.
38459 * elf/dl-lookup.c: Likewise.
38461 2012-08-14 Joseph Myers <joseph@codesourcery.com>
38463 * sysdeps/unix/sysv/linux/kernel-features.h
38464 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38465 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38467 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38469 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38470 condition on __ASSUME_CLONE_THREAD_FLAGS.
38472 2012-08-14 Andreas Jaeger <aj@suse.de>
38474 * sysdeps/i386/fpu/libm-test-ulps: Update.
38476 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38478 * include/atomic.h (atomic_exchange_and_add): Split into ...
38479 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38482 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38486 2012-08-13 Jeff Law <law@redhat.com>
38488 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38489 null byte in the output string.
38491 2012-08-10 Joseph Myers <joseph@codesourcery.com>
38493 * sysdeps/unix/sysv/linux/kernel-features.h
38494 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38495 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38496 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38497 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38498 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38499 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38500 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38502 2012-08-09 Jeff Law <law@redhat.com>
38505 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38506 When avoid_arena is set, don't retry in the that arena. Pick the
38507 next one, whatever it might be.
38508 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38509 (arena_lock): Pass in new parameter to arena_get2.
38510 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38512 (__libc_malloc): Unify retrying after main arena failure with
38513 __libc_memalign version.
38514 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38516 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38519 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38520 to __redirect_strstr.
38521 (__strstr_sse42): Use typeof __redirect_strstr.
38522 (__strstr_ia32): Likewise.
38523 (__libc_strstr): New prototype.
38524 (strstr): Renamed to ...
38525 (__libc_strstr): This.
38526 (strstr): New strong alias of __libc_strstr.
38527 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38528 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38531 (__libc_time): New prototype.
38532 (time_ifunc): Replace time with __libc_time.
38533 (time): New strong alias and hidden definition of __libc_time.
38534 (__GI_time): Remove strong alias.
38535 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38536 Include <stddef.h>.
38537 (memmove): Redefined to __redirect_memmove.
38538 (__memmove_sse2): Use typeof __redirect_memmove.
38539 (__memmove_ssse3): Likewise.
38540 (__memmove_ssse3_back): Likewise.
38541 (__libc_memmove): New prototype.
38542 (memmove): Renamed to ...
38543 (__libc_memmove): This.
38544 (memmove): New strong alias of __libc_memmove.
38546 2012-08-08 Mark Salter <msalter@redhat.com>
38549 (R_MN10300_TLS_GD): Define.
38550 (R_MN10300_TLS_LD): Likewise.
38551 (R_MN10300_TLS_LDO): Likewise.
38552 (R_MN10300_TLS_GOTIE): Likewise.
38553 (R_MN10300_TLS_IE): Likewise.
38554 (R_MN10300_TLS_LE): Likewise.
38555 (R_MN10300_TLS_DTPMOD): Likewise.
38556 (R_MN10300_TLS_DTPOFF): Likewise.
38557 (R_MN10300_TLS_TPOFF): Likewise.
38558 (R_MN10300_SYM_DIFF): Likewise.
38559 (R_MN10300_ALIGN): Likewise.
38560 (R_MN10300_NUM): Update.
38562 2012-08-08 Joseph Myers <joseph@codesourcery.com>
38564 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38567 2012-08-08 Roland McGrath <roland@hack.frob.com>
38569 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38571 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38572 sysdeps/unix -> sysdeps/posix move.
38573 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38575 2012-08-07 Allan McRae <allan@archlinux.org>
38578 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38579 (SUNOS_CPP): Likewise.
38580 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38582 (open_input): Call CPP using execvp.
38584 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38586 * sysdeps/unix/sysv/linux/kernel-features.h
38587 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38588 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38589 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38590 (__ASSUME_WAITID_SYSCALL): Likewise.
38591 * sysdeps/unix/sysv/linux/dl-execstack.c
38592 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38593 code unconditional.
38594 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38596 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38597 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38598 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38600 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38602 [__ASSUME_WAITID_SYSCALL]: Likewise.
38603 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38605 2012-08-07 Roland McGrath <roland@hack.frob.com>
38607 * sysdeps/unix/closedir.c: Renamed to ...
38608 * sysdeps/posix/closedir.c: ... here.
38609 * sysdeps/unix/dirfd.c: Renamed to ...
38610 * sysdeps/posix/dirfd.c: ... here.
38611 * sysdeps/unix/dirstream.h: Renamed to ...
38612 * sysdeps/posix/dirstream.h: ... here.
38613 * sysdeps/unix/fdopendir.c: Renamed to ...
38614 * sysdeps/posix/fdopendir.c: ... here.
38615 * sysdeps/unix/opendir.c: Renamed to ...
38616 * sysdeps/posix/opendir.c: ... here.
38617 * sysdeps/unix/readdir.c: Renamed to ...
38618 * sysdeps/posix/readdir.c: ... here.
38619 * sysdeps/unix/readdir_r.c: Renamed to ...
38620 * sysdeps/posix/readdir_r.c: ... here.
38621 * sysdeps/unix/rewinddir.c: Renamed to ...
38622 * sysdeps/posix/rewinddir.c: ... here.
38623 * sysdeps/unix/seekdir.c: Renamed to ...
38624 * sysdeps/posix/seekdir.c: ... here.
38625 * sysdeps/unix/telldir.c: Renamed to ...
38626 * sysdeps/posix/telldir.c: ... here.
38627 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38628 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38629 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38630 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38632 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38633 * bits/fcntl.h: ... here.
38635 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38637 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38638 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38639 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38640 (struct flock): Move l_start, l_len to the beginning.
38641 Use __pid_t for l_pid.
38642 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38643 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38644 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38645 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38646 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38647 [__USE_LARGEFILE64] (struct flock64): New type.
38648 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38650 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38651 * bits/dirent.h: ... here.
38653 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38654 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38656 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38658 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38659 Change from 2.6.0 to 2.6.16.
38660 * sysdeps/unix/sysv/linux/configure: Regenerated.
38661 * sysdeps/unix/sysv/linux/kernel-features.h
38662 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38663 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38665 (__ASSUME_UTIMES): Likewise.
38666 (__ASSUME_CLONE_STOPPED): Remove.
38667 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38668 architectures, not kernel version.
38669 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38670 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38671 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38672 (__ASSUME_WAITID_SYSCALL): Likewise.
38673 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38674 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38675 * README: State 2.6.16 as minimum Linux kernel version. Do not
38676 refer to older versions.
38678 2012-08-06 Roland McGrath <roland@hack.frob.com>
38680 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38681 Define alphasort64 as an alias.
38682 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38683 Define versionsort64 as an alias.
38684 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38685 Define scandir64 as an alias.
38686 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38687 Define scandirat64 as an alias.
38688 * dirent/alphasort64.c (alphasort64):
38689 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38690 * dirent/versionsort64.c: Likewise.
38691 * dirent/scandir64.c: Likewise.
38692 * dirent/scandirat64.c: Likewise.
38693 * sysdeps/wordsize-64/alphasort.c: File removed.
38694 * sysdeps/wordsize-64/alphasort64.c: File removed.
38695 * sysdeps/wordsize-64/scandir.c: File removed.
38696 * sysdeps/wordsize-64/scandir64.c: File removed.
38697 * sysdeps/wordsize-64/scandirat.c: File removed.
38698 * sysdeps/wordsize-64/scandirat64.c: File removed.
38699 * sysdeps/wordsize-64/versionsort.c: File removed.
38700 * sysdeps/wordsize-64/versionsort64.c: File removed.
38701 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38702 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38703 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38704 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38705 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38706 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38707 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38708 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38710 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38712 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38714 [defined __arch64__ || defined __sparcv9]
38715 (__INO_T_MATCHES_INO64_T): New macro.
38716 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38717 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38718 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38719 * sysdeps/unix/sysv/linux/bits/dirent.h
38720 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38721 (_DIRENT_MATCHES_DIRENT64): New macro.
38723 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38724 Define lockf64 as an alias.
38725 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38726 Define fseeko64 as an alias.
38727 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38728 Define ftello64 as an alias.
38729 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38730 Define _IO_fgetpos64 and fgetpos64 as aliases.
38731 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38732 Define _IO_fsetpos64 and fsetpos64 as aliases.
38733 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38734 Conditionalize body on this.
38735 * libio/fseeko64.c: Likewise.
38736 * libio/ftello64.c: Likewise.
38737 * libio/iofgetpos64.c: Likewise.
38738 * libio/iofsetpos64.c: Likewise.
38739 * sysdeps/wordsize-64/lockf.c: File removed.
38740 * sysdeps/wordsize-64/lockf64.c: File removed.
38741 * sysdeps/wordsize-64/fseeko.c: File removed.
38742 * sysdeps/wordsize-64/fseeko64.c: File removed.
38743 * sysdeps/wordsize-64/ftello.c: File removed.
38744 * sysdeps/wordsize-64/ftello64.c: File removed.
38745 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38746 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38747 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38748 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38749 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38750 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38751 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38753 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38755 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38756 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38757 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38758 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38760 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38762 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38764 [defined __arch64__ || defined __sparcv9]
38765 (__OFF_T_MATCHES_OFF64_T): New macro.
38766 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38767 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38768 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38769 (__OFF_T_MATCHES_OFF64_T): New macro.
38771 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38773 * stdlib/secure-getenv.c (__secure_getenv): Replace
38774 GLIBC_2_16 with GLIBC_2_17.
38776 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38778 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38781 2012-08-03 David S. Miller <davem@davemloft.net>
38783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38785 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38787 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38789 (__ASSUME_CORRECT_SI_PID): Likewise.
38790 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38791 (__ASSUME_TMPFS_NAME): Likewise.
38792 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38793 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38794 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38795 (HAVE_AUX_SECURE): Make definition unconditional.
38796 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38797 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38799 2012-08-03 Roland McGrath <roland@hack.frob.com>
38801 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38802 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38803 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38804 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38805 __eloop_threshold instead of SYMLOOP_MAX.
38807 * sysdeps/generic/eloop-threshold.h: New file.
38808 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38810 * elf/chroot_canon.c (chroot_canon): Likewise.
38812 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38815 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38816 Change to 2.6.0 everywhere.
38817 * sysdeps/unix/sysv/linux/configure: Regenerated.
38818 * sysdeps/unix/sysv/linux/kernel-features.h
38819 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38820 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38822 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38823 (__ASSUME_FUTEX_REQUEUE): Remove.
38824 (__ASSUME_STATFS64): Define unconditionally.
38825 (__ASSUME_AT_SECURE): Likewise.
38826 (__ASSUME_CORRECT_SI_PID): Likewise.
38827 (__ASSUME_TGKILL): Define without depending on kernel version for
38829 (__ASSUME_UTIMES): Likewise.
38830 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38832 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38833 (__ASSUME_TMPFS_NAME): Likewise.
38834 * README: Update reference to Linux kernel versions.
38836 2012-08-02 Marek Polacek <polacek@redhat.com>
38839 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38840 libc_cv_asm_type_prefix with %.
38841 * configure: Regenerated.
38842 * include/libc-symbols.h: Remove comment about
38843 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38844 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38845 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38846 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38847 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38848 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38849 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38850 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38851 * elf/tst-unique2mod1.c: Likewise.
38852 * elf/tst-unique1mod2.c: Likewise.
38853 * elf/tst-unique1mod1.c: Likewise.
38854 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38855 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38856 Replace ASM_TYPE_DIRECTIVE with .type.
38857 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38858 * sysdeps/i386/sysdep.h: Likewise.
38859 * sysdeps/x86_64/sysdep.h: Likewise.
38860 * sysdeps/sh/sysdep.h: Likewise.
38861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38862 Do not define ASM_TYPE_DIRECTIVE.
38863 * sysdeps/powerpc/sysdep.h: Likewise.
38864 * sysdeps/powerpc/powerpc32/sysdep.h:
38865 Replace ASM_TYPE_DIRECTIVE with .type.
38866 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38867 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38868 * sysdeps/i386/fpu/e_powf.S: Likewise.
38869 * sysdeps/i386/fpu/e_expl.S: Likewise.
38870 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38871 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38872 * sysdeps/i386/fpu/e_pow.S: Likewise.
38873 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38874 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38875 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38876 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38877 * sysdeps/i386/fpu/e_log2.S: Likewise.
38878 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38879 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38880 * sysdeps/i386/fpu/e_powl.S: Likewise.
38881 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38882 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38883 * sysdeps/i386/fpu/e_logl.S: Likewise.
38884 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38885 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38886 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38887 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38888 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38889 * sysdeps/i386/fpu/e_log.S: Likewise.
38890 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38891 * sysdeps/i386/fpu/e_logf.S: Likewise.
38892 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38893 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38894 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38895 * sysdeps/i386/fpu/e_log10.S: Likewise.
38896 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38897 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38898 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38899 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38900 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38901 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38902 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38903 * sysdeps/i386/i686/strtok.S: Likewise.
38904 * sysdeps/i386/i386-mcount.S: Likewise.
38905 * sysdeps/i386/strtok.S: Likewise.
38906 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38907 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38908 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38909 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38910 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38911 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38912 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38913 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38914 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38915 * sysdeps/x86_64/_mcount.S: Likewise.
38916 * sysdeps/x86_64/strtok.S: Likewise.
38917 * sysdeps/sh/_mcount.S: Likewise.
38919 2012-08-01 Roland McGrath <roland@hack.frob.com>
38921 * libio/iofopen.c: Include <fcntl.h>.
38922 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38923 (_IO_fopen64, fopen64): Define as aliases.
38924 * libio/iofopen64.c: Include <fcntl.h>.
38925 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38926 Conditionalize body on this.
38927 * sysdeps/wordsize-64/iofopen.c: File removed.
38928 * sysdeps/wordsize-64/iofopen64.c: File removed.
38930 2012-08-01 Marek Polacek <polacek@redhat.com>
38932 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38933 Use dlfcn directly instead of a variable.
38934 (binfmt-subdir): Do not define.
38937 2012-08-01 Joseph Myers <joseph@codesourcery.com>
38939 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38940 Remove all definitions.
38941 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38942 <kernel-features.h>.
38943 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38944 (miss_F_GETOWN_EX): Remove all definitions.
38945 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38947 [!__ASSUME_FCNTL64]: Remove conditional code.
38948 [__ASSUME_FCNTL64]: Make code unconditional.
38949 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38950 <kernel-features.h>.
38951 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38952 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38953 (lockf64) [__NR_fcntl64]: Make code unconditional.
38954 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38956 * sysdeps/unix/sysv/linux/kernel-features.h
38957 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38958 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38959 Make code unconditional.
38960 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38961 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38963 [__NR_vfork]: Make code unconditional.
38964 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38965 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38967 [__NR_vfork]: Make code unconditional.
38968 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38969 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38971 2012-08-01 Roland McGrath <roland@hack.frob.com>
38973 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38974 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38976 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38977 Define mkstemp64 as an alias.
38978 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38979 Define mkstemps64 as an alias.
38980 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38981 Define mkostemp64 as an alias.
38982 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38983 Define mkostemps64 as an alias.
38984 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38985 Conditionalize body on this.
38986 * misc/mkostemp64.c: Likewise.
38987 * misc/mkostemps64.c: Likewise.
38988 * misc/mkstemps64.c: Likewise.
38989 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38990 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38991 * sysdeps/wordsize-64/mkostemp.c: File removed.
38992 * sysdeps/wordsize-64/mkstemp.c: File removed.
38993 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38994 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38995 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38996 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38999 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39000 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39001 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39002 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39004 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39005 compat_symbol macros from <shlib-compat.h> rather than the underlying
39006 default_symbol_version and symbol_version macros, so that DEFAULT
39007 lines in shlib-versions are respected.
39008 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39010 2012-08-01 Florian Weimer <fweimer@redhat.com>
39012 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39013 Declare with warn_unused_result.
39014 (setgid, setregid, setegid, setresgid): Likewise.
39015 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39017 * WUR-REPORT: Remove set*id functions.
39019 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39021 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39023 2012-07-31 Roland McGrath <roland@hack.frob.com>
39026 * include/sys/socket.h (__libc_accept, __libc_accept4):
39027 Add attribute_hidden.
39028 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39030 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39032 * inet/getnetgrent_r.c (setup): Likewise.
39034 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39036 2012-07-31 David S. Miller <davem@davemloft.net>
39038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39040 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39043 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39044 value between 1.0 and 2.0 and smaller part has absolute value less
39046 * math/s_clog10.c (__clog10): Likewise.
39047 * math/s_clog10f.c (__clog10f): Likewise.
39048 * math/s_clog10l.c (__clog10l): Likewise.
39049 * math/s_clogf.c (__clogf): Likewise.
39050 * math/s_clogl.c (__clogl): Likewise.
39051 * math/libm-test.inc (clog_test): Add more tests.
39052 (clog10_test): Likewise.
39053 * sysdeps/i386/fpu/libm-test-ulps: Update.
39054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39056 2012-07-31 Florian Weimer <fweimer@redhat.com>
39058 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39059 Exit with zero in case no suitable GID is found, and write a
39060 message to standard error.
39062 2012-07-30 Roland McGrath <roland@hack.frob.com>
39064 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39066 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39067 (MAXPATHLEN): Removed.
39068 (NOGROUP, NODEV): New macros.
39069 (setbit, clrbit, isset, isclr): New macros.
39070 (howmany, roundup, powerof2): New macros.
39071 (DEV_BSIZE): New macro.
39073 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39074 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39076 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39077 definition on [!__NO_LONG_DOUBLE_MATH].
39079 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39080 PTR_MANGLE and PTR_DEMANGLE.
39082 * socket/accept4.c (accept4): Rename to __libc_accept4.
39083 Define accept4 as a weak alias.
39085 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39086 on [_DIRENT_HAVE_D_TYPE].
39087 * io/ftw.c (ftw_dir): Likewise.
39089 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39091 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39093 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39094 Use the BSD numbers rather than the arbitrary ones we had.
39095 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39096 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39097 (SIGXCPU, SIGXFSZ): New macros.
39100 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39101 initializer on [_LIBC_REENTRANT].
39103 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39104 definitions inside [_POSIX_MAPPED_FILES].
39106 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39108 * dirent/opendir.c: Include <fcntl.h>.
39110 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39111 (__libc_getspecific): Likewise.
39112 (__libc_key_create): Likewise.
39114 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39115 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39116 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39117 (tmpfile64): Define as alias.
39118 * sysdeps/wordsize-64/tmpfile.c: File removed.
39119 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39120 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39121 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39123 * stdio-common/vfscanf.c: Include <stdbool.h>.
39124 * nss/makedb.c: Likewise.
39125 * stdio-common/_i18n_number.h: Likewise.
39126 * argp/argp-help.c: Likewise.
39127 * posix/wordexp.c: Likewise.
39128 * sysdeps/posix/spawni.c: Likewise.
39129 * nss/nss_files/files-initgroups.c: Likewise.
39130 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39131 * nss/nss_files/files-initgroups.c: Likewise.
39132 * nss/nss_db/db-netgrp.c: Likewise.
39133 * nss/nss_db/db-initgroups.c: Likewise.
39134 * io/fchmodat.c: Include <sys/stat.h>.
39136 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39137 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39139 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39142 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39143 Add multiple inclusion protection.
39145 2012-07-27 David S. Miller <davem@davemloft.net>
39147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39149 2012-07-27 Gary Benson <gbenson@redhat.com>
39152 * elf/rtld.c: Include <stap-probe.h>.
39153 (dl_main): Added static probes "init_start" and "init_complete".
39154 * elf/dl-load.c: Include <stap-probe.h>.
39155 (lose): Take new parameter "nsid".
39156 Added static probe "map_failed".
39157 (_dl_map_object_from_fd): Pass namespace id to lose.
39158 Added static probe "map_start".
39159 (open_verify): Pass namespace id to lose.
39160 * elf/dl-open.c: Include <stap-probe.h>.
39161 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39162 and "reloc_complete".
39163 * elf/dl-close.c: Include <stap-probe.h>.
39164 (_dl_close_worker): Added static probes "unmap_start" and
39166 * elf/rtld-debugger-interface.txt: New file documenting the above.
39168 2012-07-26 Roland McGrath <roland@hack.frob.com>
39170 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39171 rather than a string variable.
39172 * sunrpc/rpc_main.c (h_output): Likewise.
39173 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39175 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39177 * inet/check_native.c: New file.
39179 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39182 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39183 if larger part has absolute value 1.0.
39184 * math/s_clog10.c (__clog10): Likewise.
39185 * math/s_clog10f.c (__clog10f): Likewise.
39186 * math/s_clog10l.c (__clog10l): Likewise.
39187 * math/s_clogf.c (__clogf): Likewise.
39188 * math/s_clogl.c (__clogl): Likewise.
39189 * math/libm-test.inc (clog_test): Add more tests.
39190 (clog10_test): Likewise.
39191 * sysdeps/i386/fpu/libm-test-ulps: Update.
39192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39194 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39195 (pltexit): Likewise.
39196 (La_regs): Likewise.
39197 (La_retval): Likewise.
39198 (int_retval): Likewise.
39199 Update #error for removed macros to refer only to definitions in
39201 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39203 (pltexit): Likewise.
39204 (La_regs): Likewise.
39205 (La_retval): Likewise.
39206 (int_retval): Likewise.
39207 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39209 (pltexit): Likewise.
39210 (La_regs): Likewise.
39211 (La_retval): Likewise.
39212 (int_retval): Likewise.
39213 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39215 (pltexit): Likewise.
39216 (La_regs): Likewise.
39217 (La_retval): Likewise.
39218 (int_retval): Likewise.
39219 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39221 (pltexit): Likewise.
39222 (La_regs): Likewise.
39223 (La_retval): Likewise.
39224 (int_retval): Likewise.
39225 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39227 (pltexit): Likewise.
39228 (La_regs): Likewise.
39229 (La_retval): Likewise.
39230 (int_retval): Likewise.
39231 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39233 (pltexit): Likewise.
39234 (La_regs): Likewise.
39235 (La_retval): Likewise.
39236 (int_retval): Likewise.
39237 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39238 macro definitions in tst-audit.h.
39239 * sysdeps/i386/tst-audit.h: New file.
39240 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39241 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39242 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39243 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39244 * sysdeps/sh/tst-audit.h: Likewise.
39245 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39246 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39247 * sysdeps/x86_64/tst-audit.h: Likewise.
39249 2012-07-26 Andreas Jaeger <aj@suse.de>
39251 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39254 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39255 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39256 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39258 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39259 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39260 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39262 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39265 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39267 (si_call_addr, si_syscall, si_arch): Define new macro.
39268 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39270 (si_call_addr, si_syscall, si_arch): Define new marcro.
39271 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39273 (si_call_addr, si_syscall, si_arch): Define new macro.
39274 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39276 (si_call_addr, si_syscall, si_arch): Define new macro.
39278 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39281 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39282 Change to 2.4.21 where previously 2.4.1.
39283 * sysdeps/unix/sysv/linux/configure: Regenerated.
39284 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39285 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39286 Linux kernel version.
39287 (__ASSUME_STD_AUXV): Remove.
39288 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39290 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39291 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39292 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39293 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39294 (__ASSUME_NETLINK_SUPPORT): Likewise.
39295 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39296 (__no_netlink_support): Remove conditional definition.
39297 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39299 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39300 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39301 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39302 (if_nameindex_ioctl): Remove.
39303 (if_nameindex_netlink): Do not handle __no_netlink_support.
39304 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39306 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39307 Remove conditional code.
39308 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39310 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39312 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39313 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39314 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39316 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39317 [!__ASSUME_STD_AUXV]: Remove conditional code.
39318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39319 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39320 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39322 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39323 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39325 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39327 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39328 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39330 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39332 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39335 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39338 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39339 code unconditional.
39340 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39342 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39344 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39347 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39349 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39352 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39353 code unconditional.
39354 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39356 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39358 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39361 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39362 code unconditional.
39363 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39365 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39367 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39370 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39372 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39373 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39374 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39375 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39376 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39377 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39378 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39379 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39380 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39381 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39382 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39383 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39384 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39385 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39386 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39387 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39388 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39389 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39390 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39391 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39392 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39393 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39394 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39396 2012-07-25 Florian Weimer <fweimer@redhat.com>
39398 * Versions.def: Add GLIBC_2.17.
39399 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39400 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39401 Introduce __libc_secure_getenv.
39402 * stdlib/Versions (2.17): Add secure_getenv
39403 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39404 * stdlib/secure-getenv.c: Rename __secure_getenv to
39405 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39406 symbol __secure_getenv for GLIBC_2.0.
39407 * stdlib/tst-secure-getenv.c: New.
39408 * stdlib/Makefile (tests): Add testcase.
39409 * manual/startup.texi (Environment Access): Document
39411 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39412 __libc_secure_getenv.
39413 * inet/ruserpass.c (ruserpass): Likewise.
39414 * malloc/mtrace.c (mtrace): Likewise.
39415 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39416 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39417 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39418 * sysdeps/posix/tempname.c: Likewise. Evaluate
39419 HAVE_SECURE_GETENV.
39420 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39421 __secure_getenv to __libc_secure_getenv.
39422 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39435 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39437 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39438 (struct La_i86_retval): Likewise.
39439 (struct La_x86_64_regs): Likewise.
39440 (struct La_x86_64_retval): Likewise.
39441 (struct La_x32_regs): Likewise.
39442 (struct La_x32_retval): Likewise.
39443 (struct La_ppc32_regs): Likewise.
39444 (struct La_ppc32_retval): Likewise.
39445 (struct La_ppc64_regs): Likewise.
39446 (struct La_ppc64_retval): Likewise.
39447 (struct La_sh_regs): Likewise.
39448 (struct La_sh_retval): Likewise.
39449 (struct La_s390_32_regs): Likewise.
39450 (struct La_s390_32_retval): Likewise.
39451 (struct La_s390_64_regs): Likewise.
39452 (struct La_s390_64_retval): Likewise.
39453 (struct La_sparc32_regs): Likewise.
39454 (struct La_sparc32_retval): Likewise.
39455 (struct La_sparc64_regs): Likewise.
39456 (struct La_sparc64_retval): Likewise.
39457 (struct audit_ifaces): Remove architecture-specific pltenter and
39459 * sysdeps/i386/ldsodefs.h: New file.
39460 * sysdeps/powerpc/ldsodefs.h: Likewise.
39461 * sysdeps/s390/ldsodefs.h: Likewise.
39462 * sysdeps/sh/ldsodefs.h: Likewise.
39463 * sysdeps/sparc/ldsodefs.h: Likewise.
39464 * sysdeps/x86_64/ldsodefs.h: Likewise.
39466 2012-07-25 Marek Polacek <polacek@redhat.com>
39469 * math/libm-test.inc (yn_test): Add another test.
39470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39471 to ERANGE when the result is +-Inf.
39472 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39473 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39474 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39475 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39477 2012-07-24 Joseph Myers <joseph@codesourcery.com>
39479 * conform/data/time.h-data (NULL): Use macro-constant. Require
39481 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39483 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39485 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39487 * configure.in <sysdeps resolving>: Correct printing
39489 * configure: Regenerate.
39491 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39493 * math/w_ilogb.c: Include <limits.h>.
39494 * math/w_ilogbl.c: Likewise.
39496 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39498 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39499 va_copy. Document allowing for unavailable va_copy only as
39500 pre-C99 compatibility.
39501 * manual/string.texi (Copying and Concatenation): Use va_copy
39502 instead of __va_copy in concat example.
39504 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39506 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39507 (__sendto): Use create_address_port. Initialize APORT and deallocate
39510 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39511 with O_NOLINK passed to __file_name_lookup.
39513 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39514 with O_NOLINK passed to __file_name_lookup.
39516 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39517 negative N or less than NGIDS.
39519 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39520 type to string_t. Set ERANGE as errno and return it if NAME is not big
39521 enough. Use memcpy instead of strncpy.
39523 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39525 * elf/Makefile (check-data): Remove.
39526 (localplt.data): New vpath directive.
39527 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39528 instead of $(check-data).
39529 * scripts/data/localplt-generic.data: Move to ...
39530 * sysdeps/generic/localplt.data: ... here.
39531 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39532 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39533 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39536 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39539 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39542 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39545 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39548 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39552 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39554 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39555 PPC32 and PPC64 files.
39556 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39557 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39559 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39561 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39562 __makecontext_ret to ...
39563 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39564 ... here and call exit if uc_link is NULL. New file.
39565 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39566 __makecontext_ret.S.
39567 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39568 __makecontext_ret to ...
39569 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39570 ... here and call exit if uc_link is NULL. New file.
39571 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39572 __makecontext_ret.S.
39574 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39576 * elf/elf.h (R_390_IRELATIVE): New definition.
39577 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39578 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39579 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39580 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39581 (elf_machine_lazy_rel): Likewise.
39582 * sysdeps/s390/dl-irel.h: New file.
39583 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39584 * sysdeps/s390/s390-64/memset.S: New asm code.
39585 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39586 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39587 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39588 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39589 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39590 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39591 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39592 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39593 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39594 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39595 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39596 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39597 * sysdeps/s390/s390-32/memset.S: New asm code.
39598 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39600 2012-07-17 Marek Polacek <polacek@redhat.com>
39603 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39604 * sysdeps/s390/s390-64/configure.in: Likewise.
39605 * sysdeps/sparc/configure.in: Likewise.
39606 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39607 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39608 * sysdeps/i386/configure.in: Likewise.
39609 * sysdeps/x86_64/configure.in: Likewise.
39610 * sysdeps/sh/configure.in: Likewise.
39611 * sysdeps/s390/s390-32/configure: Regenerated.
39612 * sysdeps/s390/s390-64/configure: Likewise.
39613 * sysdeps/x86_64/configure: Likewise.
39614 * sysdeps/sh/configure: Likewise.
39615 * sysdeps/powerpc/powerpc64/configure: Likewise.
39616 * sysdeps/powerpc/powerpc32/configure: Likewise.
39617 * sysdeps/sparc/configure: Likwise.
39618 * sysdeps/i386/configure: Likewise.
39620 * elf/dl-open.c: Comment fixes.
39622 2012-07-17 Joseph Myers <joseph@codesourcery.com>
39624 * Makefile [CXX] (check-data): Remove.
39625 [CXX] (c++-types.data): New vpath directive.
39626 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39627 vpath. Do not allow for C++ type data being missing.
39628 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39629 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39630 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39631 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39632 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39633 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39634 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39637 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39640 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39643 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39646 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39649 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39652 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39655 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39658 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39659 definitions to architecture-specific files.
39660 (TLS_IE): Likewise.
39661 (TLS_LD): Likewise.
39662 (TLS_GD): Likewise.
39663 * sysdeps/i386/tls-macros.h: New file.
39664 * sysdeps/powerpc/tls-macros.h: Likewise.
39665 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39666 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39667 * sysdeps/sh/tls-macros.h: Likewise.
39668 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39669 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39670 * sysdeps/x86_64/tls-macros.h: Likewise.
39672 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39674 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39675 zero value for regular exit case.
39677 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39678 (__start_context): Preserve zero value for regular exit case.
39680 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39681 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39683 * manual/setjmp.texi (setcontext): Clarify normal process
39684 termination when uc_link is the null pointer.
39685 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39688 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39690 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39691 preprocessor. Test for each exception mask separately.
39693 2012-07-16 Andreas Jaeger <aj@suse.de>
39695 * po/ru.po: Update from translation team.
39697 2012-07-15 Joseph Myers <joseph@codesourcery.com>
39699 * conform/data/string.h-data (NULL): Use macro-constant. Require
39701 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39702 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39703 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39704 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39705 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39707 2012-07-13 Andreas Jaeger <aj@suse.de>
39709 * po/fr.po: Update from translation team.
39711 2012-07-12 Marek Polacek <polacek@redhat.com>
39714 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39715 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39718 2012-07-12 Joseph Myers <joseph@codesourcery.com>
39721 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39722 Change to 2.4.1 where previously 2.4.0.
39723 * sysdeps/unix/sysv/linux/configure: Regenerated.
39724 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39725 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39727 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39728 (__ASSUME_AT_CLKTCK): Remove.
39729 (__ASSUME_AT_PAGESIZE): Likewise.
39730 (__ASSUME_AT_XID): Likewise.
39731 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39732 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39733 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39735 (HAVE_AUX_PAGESIZE): Likewise.
39736 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39737 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39738 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39740 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39744 the temporary buffer used to invoke __gethostbyname2_r,
39745 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39746 host_data / struct gaih_addrtuple.
39747 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39748 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39749 header file nss/nsswitch.h.
39750 * nss/nsswitch.h (global scope): Add definition of implementation
39751 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39752 resolv/nss_dns/dns-host.c).
39754 2012-07-11 Andreas Jaeger <aj@suse.de>
39756 * po/fr.po: Update from translation team.
39758 * po/sv.po: Update from translation team
39759 * po/fr.po: Another update from translation team.
39761 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39763 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39764 for subnormals or multiply small sinh result by itself.
39765 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39768 2012-07-11 David S. Miller <davem@davemloft.net>
39770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39772 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39775 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39776 (INTERNAL_MARK): Shift it here.
39778 2012-07-10 Marek Polacek <polacek@redhat.com>
39781 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39782 libc_cv_asm_global_directive with .globl.
39783 * configure: Regenerated.
39784 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39786 * sysdeps/i386/configure: Regenerated.
39787 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39789 * sysdeps/x86_64/configure: Regenerated.
39790 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39791 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39792 * elf/tst-unique2mod2.c: Likewise.
39793 * elf/tst-unique2mod1.c: Likewise.
39794 * elf/tst-unique1mod2.c: Likewise.
39795 * elf/tst-unique1mod1.c: Likewise.
39796 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39797 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39799 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39800 * sysdeps/mach/sysdep.h: Likewise.
39801 * sysdeps/i386/sysdep.h: Likewise.
39802 * sysdeps/i386/i386-mcount.S: Likewise.
39803 * sysdeps/x86_64/_mcount.S: Likewise.
39804 * sysdeps/x86_64/sysdep.h: Likewise.
39805 * sysdeps/sh/_mcount.S: Likewise.
39806 * sysdeps/sh/sysdep.h: Likewise.
39807 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39808 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39809 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39810 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39811 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39812 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39813 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39814 * locale/localeinfo.h: Likewise.
39815 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39816 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39818 2012-07-09 Roland McGrath <roland@hack.frob.com>
39821 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39823 * manual/message.texi (The Uniforum approach): Likewise.
39824 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39825 (glibc iconv Implementation): Likewise.
39827 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39830 * math/s_clog.c (__clog): Avoid scaling a value down where that
39831 could result in underflow.
39832 * math/s_clog10.c (__clog10): Likewise.
39833 * math/s_clog10f.c (__clog10f): Likewise.
39834 * math/s_clog10l.c (__clog10l): Likewise.
39835 * math/s_clogf.c (__clogf): Likewise.
39836 * math/s_clogl.c (__clogl): Likewise.
39837 * math/libm-test.inc (clog_test): Add more tests.
39838 (clog10_test): Likewise.
39839 * sysdeps/i386/fpu/libm-test-ulps: Update.
39840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39842 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39845 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39846 by 7 not 8 to examine high bit of fractional part.
39849 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39850 for call to __mcount_internal.
39851 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39852 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39853 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39855 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39858 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39859 approximation for values within 0x1p-13f of an odd multiple of
39861 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39862 exception. Add more tests.
39863 * sysdeps/i386/fpu/libm-test-ulps: Update.
39866 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39867 inputs and return -1 for them. Do not check for +Inf in case not
39868 reachable for +Inf.
39869 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39870 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39871 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39872 and return -1 for them. Do not check for +Inf in case not
39873 reachable for +Inf.
39874 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39876 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39877 and return -1 for them. Do not check for +Inf in case not
39878 reachable for +Inf.
39879 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39880 spurious underflow.
39881 * sysdeps/i386/fpu/libm-test-ulps: Update.
39882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39884 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39886 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39888 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39892 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39893 could result in spurious underflow. Scale down values above
39894 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39895 * math/s_csqrtf.c (__csqrtf): Likewise.
39896 * math/s_csqrtl.c (__csqrtl): Likewise.
39897 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39898 spurious underflow.
39899 * sysdeps/i386/fpu/libm-test-ulps: Update.
39900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39902 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39904 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39906 * catgets/xopen-msg.awk: New file.
39907 * catgets/xopen-msg.sed: Removed.
39909 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39911 * intl/po2test.awk: New file.
39912 * intl/po2test.sed: Removed.
39914 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39917 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39918 or multiply small sinh result by itself.
39919 * math/s_ctanf.c (__ctanf): Likewise.
39920 * math/s_ctanh.c (__ctanh): Likewise.
39921 * math/s_ctanhf.c (__ctanhf): Likewise.
39922 * math/s_ctanhl.c (__ctanhl): Likewise.
39923 * math/s_ctanl.c (__ctanl): Likewise.
39924 * math/libm-test.inc (ctan_test_tonearest): New function.
39925 (ctan_test_towardzero): Likewise.
39926 (ctan_test_downward): Likewise.
39927 (ctan_test_upward): Likewise.
39928 (ctanh_test_tonearest): Likewise.
39929 (ctanh_test_towardzero): Likewise.
39930 (ctanh_test_downward): Likewise.
39931 (ctanh_test_upward): Likewise.
39932 (main): Call these new functions.
39933 * sysdeps/i386/fpu/libm-test-ulps: Update.
39934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39936 2012-07-03 Mike Frysinger <vapier@gentoo.org>
39938 * .gitignore: Delete /ports entry.
39940 2012-07-03 Andreas Jaeger <aj@suse.de>
39942 * po/bg.po: Update from translation team.
39943 * po/cs.po: Likewise.
39944 * po/de.po: Likewise.
39945 * po/hr.po: Likewise.
39946 * po/nl.pl: Likewise.
39947 * po/pl.po: Likewise.
39948 * po/vi.po: Likewise.
39950 2012-07-03 Joseph Myers <joseph@codesourcery.com>
39952 * Makeconfig [!+link] (+link-before-libc): New variable.
39953 [!+link] (+link-after-libc): Likewise.
39954 [!+link] (+link-tests): Likewise.
39955 [!+link] (+link): Define in terms of $(+link-before-libc) and
39956 $(+link-after-libc).
39957 [!+link-static] (+link-static-before-libc): New variable.
39958 [!+link-static] (+link-static-after-libc): Likewise.
39959 [!+link-static] (+link-static-tests): Likewise.
39960 [!+link-static] (+link-static): Define in terms of
39961 $(+link-static-before-libc) and $(+link-static-after-libc).
39962 [build-shared] (link-libc-before-gnulib): New variable.
39963 [build-shared] (link-libc-tests): Likewise.
39964 [build-shared] (link-libc): Define in terms of
39965 $(link-libc-before-gnulib).
39966 [!build-shared] (link-libc-tests): New variable.
39967 (link-libc-static-tests): New variable.
39968 [!gnulib] (gnulib-arch): New variable.
39969 [!gnulib] (gnulib-tests): Likewise.
39970 [!gnulib] (static-gnulib-arch): Likewise.
39971 [!gnulib] (static-gnulib-tests): Likewise.
39972 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39973 Define with "=" instead of ":=".
39974 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39975 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39976 * Rules (binaries-all-notests): New variable.
39977 (binaries-all-tests): Likewise.
39978 (binaries-static-notests): Likewise.
39979 (binaries-static-tests): Likewise.
39980 (binaries-all): Define using $(binaries-all-notests) and
39981 $(binaries-all-tests).
39982 (binaries-static): Define using $(binaries-static-notests) and
39983 $(binaries-static-tests).
39984 (binaries-shared-tests): New variable.
39985 (binaries-shared-notests): Likewise.
39986 (binaries-shared): Remove variable.
39987 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39988 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39989 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39990 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39991 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39992 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39993 * elf/Makefile (sln-modules): New variable.
39994 (extra-objs): Add $(sln-modules:=.o).
39995 (ldconfig-modules): Add static-stubs.
39996 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39997 * elf/static-stubs.c: New file.
40000 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40001 by 7 not 8 to examine high bit of fractional part. Use volatile
40002 variables when splitting into final array of floats if
40003 __FLT_EVAL_METHOD__ != 0.
40004 * math/libm-test.inc (cos_test): Add another test.
40005 (sin_test): Likewise.
40006 * sysdeps/i386/fpu/libm-test-ulps: Update.
40009 * math/libm-test.inc (cosh_test): Add more tests.
40011 * version.h (RELEASE): Set to "development".
40012 (VERSION): Set to "2.16.90".
40014 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40016 * NEWS: Update copyright. Remove last-updated date.
40017 Mention math library bug fixes and timezone data changes.
40018 * README: Mention GNU/Hurd, x32, and HPPA support status.
40020 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40022 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40024 2012-06-27 Andreas Jaeger <aj@suse.de>
40026 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40028 2012-06-25 Andreas Jaeger <aj@suse.de>
40030 * sysdeps/s390/fpu/libm-test-ulps: Update.
40032 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40033 Thomas Schwinge <thomas@codesourcery.com>
40035 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40036 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40037 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40040 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40042 * sysdeps/mach/start.c: Remove file.
40043 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40044 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40045 * sysdeps/sh/init-first.c: Likewise.
40047 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40048 registers for frame unwinding purposes, add CFI directives.
40049 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40051 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40054 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40055 __fortify_fail returning.
40056 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40058 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40059 sysdeps/sh/____longjmp_chk.S.
40060 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40061 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40062 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40063 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40065 * sysdeps/sh/abort-instr.h: New file.
40066 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40067 process in case exit returns.
40069 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40070 initialize the GOT register before use.
40072 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40073 calculation of ARGC > 4.
40075 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40076 meaningful names to some local labels.
40078 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40079 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40081 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40082 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40083 (__arch_compare_and_exchange_val_16_acq): Likewise.
40084 (__arch_compare_and_exchange_val_32_acq): Likewise.
40085 (atomic_exchange_and_add): Fix gUSA sequence.
40086 (atomic_add): Likewise.
40087 (atomic_add_negative): Likewise.
40088 (atomic_add_zero): Likewise.
40089 (atomic_bit_test_set): Likewise.
40091 2012-06-22 Andreas Schwab <schwab@redhat.com>
40094 * include/link.h (struct link_map): Add l_free_initfini.
40095 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40097 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40098 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40099 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40102 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40104 * configure.in: Use AC_LANG_SOURCE.
40105 * configure: Regenerate.
40107 2012-06-22 Roland McGrath <roland@hack.frob.com>
40109 * configure.in (libc_cv_localstatedir): New substituted variable.
40110 * configure: Regenerated.
40111 * config.make.in (localstatedir): New variable, substituted from
40112 libc_cv_localstatedir.
40113 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40114 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40115 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40116 * sysdeps/gnu/configure: Regenerated.
40118 2012-06-21 Jeff Law <law@redhat.com>
40121 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40122 free. Simplify list management for _LIBC case.
40124 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40127 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40128 Clear sign bit of 64-bit integer value before comparing against
40131 * sysdeps/mach/configure: Regenerated.
40133 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40136 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40138 2012-06-21 Jeff Law <law@redhat.com>
40141 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40142 uint16_t for elements in the "seen" array to avoid char overflows.
40143 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40144 * elf/dl-open.c (dl_open_worker): Likewise.
40146 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40148 * scripts/list-sources.sh: Scan PORTS for translations.
40149 * po/libc.pot: Regenerated.
40151 2012-06-21 Andreas Jaeger <aj@suse.de>
40154 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40156 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40157 * bits/byteswap-16.h (__bswap_16): Likewise.
40158 * bits/byteswap.h (__bswap_constant_16): Likewise.
40160 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40163 * sysdeps/i386/fpu_control.h: Removed.
40164 * sysdeps/x86_64/fpu_control.h: Moved to ...
40165 * sysdeps/x86/fpu_control.h: Here.
40167 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40168 (_FPU_SETCW): Likewise.
40170 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40173 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40174 * sysdeps/x86/fpu/bits/mathinline.h: This.
40175 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40179 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40180 functions if __x86_64__ is defined.
40182 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40184 * string/endian.h: Add !__ASSEMBLER__ condition for including
40185 conversion interfaces.
40187 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40191 of ABS(x) in calculating zero to negative powers other than odd
40193 * math/libm-test.inc (pow_test): Add more tests.
40195 2012-06-15 Andreas Jaeger <aj@suse.de>
40197 * manual/contrib.texi (Contributors): Update entry of Liubov
40198 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40201 2012-06-15 Cyril Hrubis <metan@ucw.cz>
40203 * string/string.h: Add __wur to GNU version of strerror_r.
40205 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40208 * string/Makefile (tests): Add tst-strtok_r.
40209 * string/tst-strtok_r.c: New file.
40210 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40211 RAX_LP/RDX_LP on SAVE_PTR.
40213 2012-06-14 Roland McGrath <roland@hack.frob.com>
40215 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40217 2012-06-14 Joseph Myers <joseph@codesourcery.com>
40219 * libm_test.inc (csqrt_test): Allow more spurious underflow
40221 (j0_test): Likewise.
40222 (j1_test): Likewise.
40223 (y0_test): Likewise.
40224 (y1_test): Likewise.
40226 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40228 * po/Makefile (libc.pot): Use UTF-8 charset.
40230 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40233 Suppress sign-conversion warning from FD_SET.
40234 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40235 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40236 not unsigned long int.
40237 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40239 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40243 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40244 __extern_always_inline instead of __extern_inline.
40245 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40246 (__signbit): Likewise.
40247 (__signbitl): Support C++ namespace.
40248 (lrintf): New inline function.
40250 (llrintf): Likewise.
40251 (llrint): Likewise.
40261 (floorf): Likewise.
40262 (nearbyint): Likewise.
40263 (nearbyintf): Likewise.
40265 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40267 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40268 non-default versions.
40270 2012-06-11 Roland McGrath <roland@hack.frob.com>
40273 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40275 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40277 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40278 (FE_UPWARD, FE_DOWNWARD): Don't define.
40279 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40280 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40282 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40284 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40285 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40287 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40289 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40290 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40291 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40292 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40294 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40297 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40298 * sysdeps/i386/fpu/Implies: New file.
40299 * sysdeps/x86_64/fpu/Implies: Likewise.
40300 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40301 * sysdeps/x86/fpu/bits/fenv.h: This.
40303 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40306 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40309 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40310 character 0xffff that matches the last element of the
40313 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40318 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40320 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40321 values higher than 25.6283.
40323 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40325 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40326 subnormal exponent extraction and add some __builtin_expect.
40327 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40328 Fix for subnormal mantissa calculation.
40330 2012-06-04 Mike Frysinger <vapier@gentoo.org>
40332 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40333 cpu2 is -1 and errno is not ENOSYS.
40335 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40338 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40339 * sysdeps/x86/bits/string.h: This.
40340 * sysdeps/x86_64/bits/string.h: Removed.
40342 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40343 if not compiling for x86-64, but compiling for >= i486.
40345 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40346 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40348 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40349 New macro from Linux kernel 3.4.0.
40350 (FP_XSTATE_MAGIC2): Likewise.
40351 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40352 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40353 (struct _fpx_sw_bytes): New struct.
40354 (struct _xsave_hdr): Likewise.
40355 (struct _ymmh_state): Likewise.
40356 (struct _xstate): Likewise.
40358 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40359 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40360 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40361 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40362 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40363 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40365 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40366 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40367 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40368 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40369 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40370 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40372 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40375 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40376 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40377 (sysdep_headers): Include sys/platform/ppc.h.
40378 * sysdeps/powerpc/test-gettimebase.c: Test for
40379 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40380 * manual/Makefile (appendices): Include platform.texi.
40381 * manual/contrib.texi (Contributors): Update @node pointers.
40382 * manual/maint.texi (Maintenance): Likewise.
40383 (Platform): New node.
40384 * manual/platform.texi: New file. Document the new features.
40386 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40387 Jakub Jelinek <jakub@redhat.com>
40390 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40391 where __builtin_expect is unavailable.
40393 2012-06-03 David S. Miller <davem@davemloft.net>
40395 * stdlib/longlong.h: Updated from GCC.
40397 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40400 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40401 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40404 (GLIBC_2.16): Likewise.
40406 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40408 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40410 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40413 (default-abi): New variable.
40414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40415 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40417 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40419 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40421 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40424 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40425 definition. Document in comment.
40427 2012-06-01 David S. Miller <davem@davemloft.net>
40429 * stdlib/longlong.h: Updated from GCC.
40431 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40434 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40435 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40436 sys/debugreg.h sys/io.h here.
40437 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40438 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40440 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40441 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40442 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40443 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40444 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40445 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40447 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40448 Define only if __x86_64__ is defined.
40450 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40453 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40454 Use int64_t for variable i.
40455 * math/libm-test.inc (fmod_test): Add more tests.
40457 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40458 z computation is not scheduled after fetestexcept.
40459 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40460 Use math_force_eval instead of asm to ensure calculation scheduled
40461 before exception test.
40462 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40463 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40465 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40468 computation is not scheduled after fetestexcept.
40470 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40473 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40474 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40476 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40478 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40479 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40481 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40484 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40486 (__WCHAR_MIN): Support __WORDSIZE == 64.
40487 (__WCHAR_MAX): Likewise.
40489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40490 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40493 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40494 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40497 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40498 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40500 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40501 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40503 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40504 Defined to 1 if __x86_64__ isn't defined.
40505 (_STAT_VER_LINUX_OLD): New.
40506 (st_atime): Remove duplicate.
40507 (st_mtime): Likewise.
40508 (st_ctime): Likewise.
40510 2012-05-31 David S. Miller <davem@davemloft.net>
40512 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40515 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40517 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40521 * elf/dl-reloc.c: Include <_itoa.h>.
40522 (_dl_reloc_bad_type): Remove use of INTUSE.
40523 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40524 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40525 * stdio-common/psiginfo.c (psiginfo): Likewise.
40526 * stdio-common/psignal.c (psignal): Likewise.
40527 * string/strsignal.c (strsignal): Likewise.
40528 * include/signal.h (_sys_siglist): Declare hidden proto.
40529 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40530 INTVARDEF with libc_hidden_data_def.
40531 * stdio-common/itoa-udigits.c: Likewise.
40532 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40533 (_itoa_lower_digits_internal): Remove declaration.
40534 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40535 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40536 (_sys_sigabbrev_internal): Remove aliases.
40537 (_sys_siglist): Define hidden alias.
40539 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40544 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40547 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40548 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40550 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40551 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40552 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40553 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40554 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40555 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40557 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40558 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40559 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40561 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40569 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40570 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40571 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40573 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40574 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40575 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40576 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40577 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40578 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40580 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40581 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40583 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40584 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40587 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40588 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40590 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40591 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40593 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40595 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40596 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40597 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40599 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40601 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40603 2012-05-31 Joseph Myers <joseph@codesourcery.com>
40605 * math/math.h (M_El): Use two more decimal places.
40606 (M_LOG2El): Likewise.
40607 (M_LOG10El): Likewise.
40608 (M_LN2l): Likewise.
40609 (M_LN10l): Likewise.
40611 (M_PI_2l): Likewise.
40612 (M_PI_4l): Likewise.
40613 (M_1_PIl): Likewise.
40614 (M_2_PIl): Likewise.
40615 (M_2_SQRTPIl): Likewise.
40616 (M_SQRT2l): Likewise.
40617 (M_SQRT1_2l): Likewise.
40619 2012-05-31 David S. Miller <davem@davemloft.net>
40621 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40622 values between float registers.
40623 * sysdeps/sparc/sparc64/memset.S: Likewise.
40624 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40626 2012-05-31 Mike Frysinger <vapier@gentoo.org>
40628 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40629 -D_FORTIFY_SOURCE=1.
40630 (CPPFLAGS-tst-longjmp_chk.c): Define.
40631 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40632 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40633 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40634 CFLAGS-tst-wchar-h.c.
40636 2012-05-31 Marek Polacek <polacek@redhat.com>
40639 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40640 __endmntent_internal): Remove declaration.
40641 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40642 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40643 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40645 2012-05-30 David S. Miller <davem@davemloft.net>
40647 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40648 (___Q_simulate_exceptions): Use real FP ops rather than writing
40650 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40653 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40656 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40657 * sysdeps/x86/bits/xtitypes.h: This.
40659 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40660 * sysdeps/x86/bits/wordsize.h: This.
40662 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40663 * sysdeps/x86/bits/huge_vall.h: This.
40665 * sysdeps/i386/bits/select.h: Removed.
40666 * sysdeps/x86_64/bits/select.h: Renamed to ...
40667 * sysdeps/x86/bits/select.h: This.
40669 * sysdeps/i386/bits/setjmp.h: Removed.
40670 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40671 * sysdeps/x86/bits/setjmp.h: This.
40673 * sysdeps/i386/bits/mathdef.h: Removed.
40674 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40675 * sysdeps/x86/bits/mathdef.h: This.
40677 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40680 * include/sys/socket.h (__connect_internal)
40681 (__libc_sa_len_internal): Remove declaration.
40682 (__connect, __libc_sa_len): Declare hidden_proto.
40683 (SA_LEN): Remove use of INTUSE.
40684 * socket/connect.c: Add libc_hidden_def.
40685 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40686 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40687 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40689 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40690 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40691 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40692 of adding _internal alias.
40694 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40697 * sysdeps/i386/bits/link.h: Removed.
40698 * sysdeps/i386/bits/linkmap.h: Likewise.
40699 * sysdeps/x86_64/bits/link.h: Renamed to ...
40700 * sysdeps/x86/bits/link.h: This.
40701 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40702 * sysdeps/x86/bits/linkmap.h: This.
40704 * sysdeps/i386/bits/endian.h: Removed.
40705 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40706 * sysdeps/x86/bits/endian.h: This.
40708 * sysdeps/i386/bits/byteswap.h: Removed.
40709 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40710 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40711 * sysdeps/x86/bits/byteswap.h: This.
40712 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40713 * sysdeps/x86/bits/byteswap-16.h: This.
40714 * sysdeps/i386/Implies: Add x86.
40715 * sysdeps/x86_64/Implies: Likewise.
40717 2012-05-30 David S. Miller <davem@davemloft.net>
40719 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40720 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40721 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40722 (FP_TRAPPING_EXCEPTIONS): Define.
40723 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40724 (FP_TRAPPING_EXCEPTIONS): Define.
40725 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40726 subnormals only when inexact has been signalled or underflow
40727 exceptions are enabled.
40728 (_FP_PACK_CANONICAL): Likewise.
40730 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40733 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40734 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40736 2012-05-30 Richard Henderson <rth@twiddle.net>
40738 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40739 with #ifndef NOT_IN_libc.
40741 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40742 marked to avoid plt entry.
40744 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40747 * Makeconfig (default-abi): New macro.
40748 (abi-includes): Likewise.
40749 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40750 $(abi-$(default-abi)-lib-soname) for soname if defined.
40751 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40753 * Makefile (installed-stubs): Likewise.
40754 * include/stubs-biarch.h: Removed.
40755 * scripts/lib-names.awk: Only handle one library at a time.
40756 * scripts/soversions.awk: Remove WORDSIZE support.
40757 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40759 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40761 (syscall-list-default-condition): Likewise.
40762 (syscall-list-default-condition): Likewise.
40763 (syscall-list-includes): Likewise.
40764 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40765 syscall-list-* with abi-*. Handle undefined abi-variants.
40766 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40767 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40768 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40769 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40770 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40771 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40773 (syscall-list-32-options): Likewise.
40774 (syscall-list-32-condition): Likewise.
40775 (syscall-list-64-options): Likewise.
40776 (syscall-list-64-condition): Likewise.
40777 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40779 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40782 (abi-64-ld-soname): New macro.
40783 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40784 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40787 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40788 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40790 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40792 * sysdeps/unix/sysv/linux/kernel-features.h
40793 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40794 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40795 include <kernel-features.h>.
40796 [!__NR_ftruncate64]: Remove conditional code.
40797 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40798 [__NR_ftruncate64]: Make code unconditional.
40799 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40800 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40801 include <kernel-features.h>.
40802 [!__NR_ftruncate64]: Remove conditional code.
40803 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40804 [__NR_ftruncate64]: Make code unconditional.
40805 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40807 include <kernel-features.h>.
40808 [!__NR_ftruncate64]: Remove conditional code.
40809 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40810 [__NR_ftruncate64]: Make code unconditional.
40811 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40813 include <kernel-features.h>.
40814 [!__NR_ftruncate64]: Remove conditional code.
40815 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40816 [__NR_ftruncate64]: Make code unconditional.
40817 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40819 * configure.in (libc_cv_fpie): Weaken to a compile test using
40820 LIBC_TRY_CC_OPTION.
40821 * configure: Regenerated.
40823 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40838 2012-05-27 David S. Miller <davem@davemloft.net>
40840 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40842 (__Q_simulate_exceptions): Return void. Change to simulate
40843 exceptions by writing into the %fsr.
40844 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40845 (__Qp_handle_exceptions): Likewise.
40847 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40848 __Qp_handle_exceptions.
40849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40850 __Qp_handle_exceptions.
40851 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40852 as unused and give dummy FP_RND_NEAREST initializer.
40853 (FP_INHIBIT_RESULTS): Define.
40854 (___Q_simulate_exceptions): Update declaration.
40855 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40857 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40858 as unused and give dummy FP_RND_NEAREST initializer.
40859 (__Qp_handle_exceptions): Update declaration.
40860 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40863 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40865 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40866 the temporary FPU control word.
40867 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40868 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40869 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40870 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40871 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40872 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40873 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40874 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40875 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40876 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40877 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40879 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40881 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40884 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40886 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40887 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40888 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40889 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40891 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40892 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40895 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40897 * po/h.po: Update from translation team.
40899 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40901 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40903 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40904 handling of denormals.
40905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40906 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40907 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40908 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40909 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40910 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40914 2012-05-26 Marek Polacek <polacek@redhat.com>
40917 * math/libm-test.inc (fma_test): Don't always expect underflow
40920 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40923 * elf/tst-execstack.c: Include stackinfo.h.
40924 (do_test): Adjust test case to ensure that pthread_getattr_np
40925 behaviour remains the same after marking stack executable.
40927 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40929 * sysdeps/unix/sysv/linux/kernel-features.h
40930 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40931 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40933 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40934 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40935 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40937 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40938 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40940 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40942 * configure.in: Define the default includes to being none.
40943 * configure: Regenerated.
40945 2012-05-25 Roland McGrath <roland@hack.frob.com>
40947 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40948 * sysdeps/x86_64/setjmp.S: Likewise.
40949 * sysdeps/i386/bsd-setjmp.S: Likewise.
40950 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40951 * sysdeps/i386/setjmp.S: Likewise.
40952 * sysdeps/i386/__longjmp.S: Likewise.
40953 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40954 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40956 * include/stap-probe.h: New file.
40957 * configure.in: Handle --enable-systemtap.
40958 * configure: Regenerated.
40959 * config.h.in (USE_STAP_PROBE): New #undef.
40960 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40961 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40962 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40964 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40967 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40968 to 2.4.0 where earlier.
40969 * sysdeps/unix/sysv/linux/configure: Regenerated.
40970 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40971 <kernel-features.h>.
40972 [__ASSUME_32BITUIDS]: Make code unconditional.
40973 [!__ASSUME_32BITUIDS]: Remove conditional code.
40974 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40975 <kernel-features.h>.
40976 [__ASSUME_32BITUIDS]: Make code unconditional.
40977 [!__ASSUME_32BITUIDS]: Remove conditional code.
40978 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40979 [__ASSUME_32BITUIDS]: Make code unconditional.
40980 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40981 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40982 <kernel-features.h>.
40983 [__ASSUME_32BITUIDS]: Make code unconditional.
40984 [!__ASSUME_32BITUIDS]: Remove conditional code.
40985 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40986 <kernel-features.h>.
40987 [__ASSUME_32BITUIDS]: Make code unconditional.
40988 [!__ASSUME_32BITUIDS]: Remove conditional code.
40989 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40990 <kernel-features.h>.
40991 [__ASSUME_32BITUIDS]: Make code unconditional.
40992 [!__ASSUME_32BITUIDS]: Remove conditional code.
40993 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40994 <kernel-features.h>.
40995 [__ASSUME_32BITUIDS]: Make code unconditional.
40996 [!__ASSUME_32BITUIDS]: Remove conditional code.
40997 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40998 <kernel-features.h>.
40999 [__ASSUME_32BITUIDS]: Make code unconditional.
41000 [!__ASSUME_32BITUIDS]: Remove conditional code.
41001 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41002 <kernel-features.h>.
41003 [__ASSUME_32BITUIDS]: Make code unconditional.
41004 [!__ASSUME_32BITUIDS]: Remove conditional code.
41005 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41006 <kernel-features.h>.
41007 [__ASSUME_32BITUIDS]: Make code unconditional.
41008 [!__ASSUME_32BITUIDS]: Remove conditional code.
41009 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41010 <kernel-features.h>.
41011 [__ASSUME_32BITUIDS]: Make code unconditional.
41012 [!__ASSUME_32BITUIDS]: Remove conditional code.
41013 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41014 <kernel-features.h>.
41015 [__ASSUME_32BITUIDS]: Make code unconditional.
41016 [!__ASSUME_32BITUIDS]: Remove conditional code.
41017 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41018 <kernel-features.h>.
41019 [__ASSUME_32BITUIDS]: Make code unconditional.
41020 [!__ASSUME_32BITUIDS]: Remove conditional code.
41021 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41022 <kernel-features.h>.
41023 [__NR_setresgid] (__setresgid): Do not declare.
41024 [__ASSUME_32BITUIDS]: Make code unconditional.
41025 [!__ASSUME_32BITUIDS]: Remove conditional code.
41026 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41027 <kernel-features.h>.
41028 [__NR_setresuid] (__setresuid): Do not declare.
41029 [__ASSUME_32BITUIDS]: Make code unconditional.
41030 [!__ASSUME_32BITUIDS]: Remove conditional code.
41031 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41032 <kernel-features.h>.
41033 [__ASSUME_32BITUIDS]: Make code unconditional.
41034 [!__ASSUME_32BITUIDS]: Remove conditional code.
41035 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41036 <kernel-features.h>.
41037 [__ASSUME_32BITUIDS]: Make code unconditional.
41038 [!__ASSUME_32BITUIDS]: Remove conditional code.
41039 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41040 <kernel-features.h>.
41041 [__ASSUME_32BITUIDS]: Make code unconditional.
41042 [!__ASSUME_32BITUIDS]: Remove conditional code.
41043 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41044 <kernel-features.h>.
41045 [__ASSUME_32BITUIDS]: Make code unconditional.
41046 [!__ASSUME_32BITUIDS]: Remove conditional code.
41047 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41048 <kernel-features.h>.
41049 [__ASSUME_32BITUIDS]: Make code unconditional.
41050 [!__ASSUME_32BITUIDS]: Remove conditional code.
41051 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41052 <kernel-features.h>.
41053 [__ASSUME_32BITUIDS]: Make code unconditional.
41054 [!__ASSUME_32BITUIDS]: Remove conditional code.
41055 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41056 <kernel-features.h>.
41057 [__ASSUME_32BITUIDS]: Make code unconditional.
41058 [!__ASSUME_32BITUIDS]: Remove conditional code.
41059 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41060 <kernel-features.h>.
41061 [__ASSUME_32BITUIDS]: Make code unconditional.
41062 [!__ASSUME_32BITUIDS]: Remove conditional code.
41063 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41064 <kernel-features.h>.
41065 [__ASSUME_32BITUIDS]: Make code unconditional.
41066 [!__ASSUME_32BITUIDS]: Remove conditional code.
41067 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41068 <kernel-features.h>.
41069 [__ASSUME_32BITUIDS]: Make code unconditional.
41070 [!__ASSUME_32BITUIDS]: Remove conditional code.
41071 * sysdeps/unix/sysv/linux/kernel-features.h
41072 (__ASSUME_SETRESUID_SYSCALL): Remove.
41073 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41074 (__ASSUME_32BITUIDS): Likewise.
41075 (__ASSUME_LDT_WORKS): Likewise.
41076 (__ASSUME_O_DIRECTORY): Likewise.
41077 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41078 architecture but not kernel version.
41079 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41080 (__ASSUME_MMAP2_SYSCALL): Likewise.
41081 (__ASSUME_STAT64_SYSCALL): Likewise.
41082 (__ASSUME_IPC64): Likewise.
41083 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41084 <kernel-features.h>.
41085 [__ASSUME_32BITUIDS]: Make code unconditional.
41086 [!__ASSUME_32BITUIDS]: Remove conditional code.
41087 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41088 <kernel-features.h>.
41089 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41090 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41091 132096]: Remove conditional code.
41092 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41093 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41094 <kernel-features.h>.
41095 [__ASSUME_32BITUIDS]: Make code unconditional.
41096 [!__ASSUME_32BITUIDS]: Remove conditional code.
41097 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41098 <kernel-features.h>.
41099 [__ASSUME_32BITUIDS]: Make code unconditional.
41100 [!__ASSUME_32BITUIDS]: Remove conditional code.
41101 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41102 <kernel-features.h>.
41103 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41105 (__setresgid): Do not declare.
41106 [__ASSUME_32BITUIDS]: Make code unconditional.
41107 [!__ASSUME_32BITUIDS]: Remove conditional code.
41108 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41109 <kernel-features.h>.
41110 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41112 (__setresuid): Do not declare.
41113 [__ASSUME_32BITUIDS]: Make code unconditional.
41114 [!__ASSUME_32BITUIDS]: Remove conditional code.
41115 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41116 <kernel-features.h>.
41117 [__ASSUME_32BITUIDS]: Make code unconditional.
41118 [!__ASSUME_32BITUIDS]: Remove conditional code.
41119 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41120 <kernel-features.h>.
41121 [__ASSUME_32BITUIDS]: Make code unconditional.
41122 [!__ASSUME_32BITUIDS]: Remove conditional code.
41124 2012-05-25 Richard Henderson <rth@twiddle.net>
41126 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41127 dl_hwcap to ifunc resolver.
41128 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41130 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41131 dl_hwcap to ifunc resolver.
41132 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41134 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41137 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41138 for |x| <= 2**-26, not 2**-57.
41139 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41142 2012-05-24 Jeff Law <law@redhat.com>
41144 * stdio-common/Makefile (tests): Add bug25.
41145 * stdio-common/bug25.c: New test.
41147 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41150 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41151 multiple of MALLOC_ALIGNMENT in size.
41152 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41154 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41156 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41158 (FILENAME_MAX): Use macro-int-constant.
41159 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41160 (_IOFBF): Use macro-int-constant.
41161 (_IOLBF): Likewise.
41162 (_IONBF): Likewise.
41163 (SEEK_CUR): Likewise.
41164 (SEEK_END): Likewise.
41165 (SEEK_SET): Likewise.
41166 (TMP_MAX): Likewise.
41167 (EOF): Use macro-int-constant. Require < 0.
41168 (NULL): Use macro-constant. Require == 0.
41169 (stdin): Require type to be FILE *.
41170 (stdout): Likewise.
41171 (stderr): Likewise.
41172 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41173 macro-int-constant.
41174 (EXIT_SUCCESS): Likewise.
41175 (NULL): Use macro-constant. Require == 0.
41176 (RAND_MAX): Use macro-int-constant.
41177 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41178 [C99-based standards] (strtof): Require function.
41179 [C99-based standards] (strtold): Likewise.
41180 [C99-based standards] (strtoll): Likewise.
41181 [C99-based standards] (strtoull): Likewise.
41182 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41183 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41184 [ISO || ISO99 || ISO11] (math.h): Likewise.
41185 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41186 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41187 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41189 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41192 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41193 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41194 * intl/dgettext.c (DCGETTEXT): Likewise.
41195 * intl/gettext.c (DCGETTEXT): Likewise.
41196 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41197 * posix/regex_internal.h (gettext): Likewise.
41198 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41199 Remove declaration.
41200 * include/argz.h (__argz_count_internal)
41201 (__argz_stringify_internal): Remove declaration.
41202 (__argz_count, __argz_stringify): Declare hidden proto.
41203 * intl/dcgettext.c: Remove use of INTDEF.
41204 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41205 * string/argz-stringify.c: Likewise.
41206 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41207 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41208 Declare hidden proto.
41209 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41210 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41211 Declare hidden proto.
41212 * include/stdio.h (__asprintf_internal): Don't declare.
41213 (__asprintf): Don't define as macro. Declare hidden proto.
41214 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41215 (__fsetlocking): Declare hidden proto.
41216 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41217 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41219 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41220 (_IO_setlinebuf): Remove use of INTUSE.
41221 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41222 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41223 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41224 Remove declaration.
41225 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41226 (_IO_do_flush): Remove use of INTUSE.
41227 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41228 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41229 (_IO_adjust_column, _IO_least_wmarker)
41230 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41231 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41232 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41233 (_IO_default_doallocate, _IO_wdefault_doallocate)
41234 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41235 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41236 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41237 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41238 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41239 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41240 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41241 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41242 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41243 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41244 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41245 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41246 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41248 (_IO_flush_all_internal, _IO_adjust_column_internal)
41249 (_IO_default_uflow_internal, _IO_default_finish_internal)
41250 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41251 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41252 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41253 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41254 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41255 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41256 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41257 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41258 (_IO_file_close_internal, _IO_file_close_it_internal)
41259 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41260 (_IO_file_init_internal, _IO_file_attach_internal)
41261 (_IO_file_fopen_internal, _IO_file_read_internal)
41262 (_IO_file_sync_internal, _IO_file_seek_internal)
41263 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41264 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41265 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41266 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41267 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41268 (_IO_list_all_internal, _IO_link_in_internal)
41269 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41270 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41271 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41272 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41273 (_IO_do_write_internal, _IO_padn_internal)
41274 (_IO_getline_info_internal, _IO_getline_internal)
41275 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41276 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41277 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41278 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41279 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41280 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41281 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41282 with libc_hidden_ver, remove use of INTUSE.
41283 * libio/genops.c: Likewise.
41284 * libio/freopen.c: Likewise.
41285 * libio/freopen64.c: Likewise.
41286 * libio/iofclose.c: Likewise.
41287 * libio/iofdopen.c: Likewise.
41288 * libio/iofflush.c: Likewise.
41289 * libio/iofflush_u.c: Likewise.
41290 * libio/iofgets.c: Likewise.
41291 * libio/iofgets_u.c: Likewise.
41292 * libio/iofopen.c: Likewise.
41293 * libio/iofopncook.c: Likewise.
41294 * libio/iofread.c: Likewise.
41295 * libio/iofread_u.c: Likewise.
41296 * libio/ioftell.c: Likewise.
41297 * libio/iofwrite.c: Likewise.
41298 * libio/iogetline.c: Likewise.
41299 * libio/iogets.c: Likewise.
41300 * libio/iogetwline.c: Likewise.
41301 * libio/iopadn.c: Likewise.
41302 * libio/iopopen.c: Likewise.
41303 * libio/ioseekoff.c: Likewise.
41304 * libio/ioseekpos.c: Likewise.
41305 * libio/iosetbuffer.c: Likewise.
41306 * libio/iosetvbuf.c: Likewise.
41307 * libio/ioungetc.c: Likewise.
41308 * libio/ioungetwc.c: Likewise.
41309 * libio/iovdprintf.c: Likewise.
41310 * libio/iovsprintf.c: Likewise.
41311 * libio/iovsscanf.c: Likewise.
41312 * libio/memstream.c: Likewise.
41313 * libio/obprintf.c: Likewise.
41314 * libio/oldfileops.c: Likewise.
41315 * libio/oldiofclose.c: Likewise.
41316 * libio/oldiofdopen.c: Likewise.
41317 * libio/oldiofopen.c: Likewise.
41318 * libio/oldiopopen.c: Likewise.
41319 * libio/oldstdfiles.c: Likewise.
41320 * libio/putc.c: Likewise.
41321 * libio/setbuf.c: Likewise.
41322 * libio/setlinebuf.c: Likewise.
41323 * libio/stdfiles.c: Likewise.
41324 * libio/strops.c: Likewise.
41325 * libio/vasprintf.c: Likewise.
41326 * libio/vscanf.c: Likewise.
41327 * libio/vsnprintf.c: Likewise.
41328 * libio/vswprintf.c: Likewise.
41329 * libio/wfiledoalloc.c: Likewise.
41330 * libio/wfileops.c: Likewise.
41331 * libio/wgenops.c: Likewise.
41332 * libio/wmemstream.c: Likewise.
41333 * libio/wstrops.c: Likewise.
41334 * libio/__fpurge.c: Likewise.
41335 * libio/__fsetlocking.c: Likewise.
41336 * assert/assert.c: Likewise.
41337 * debug/fgets_chk.c: Likewise.
41338 * debug/fgets_u_chk.c: Likewise.
41339 * debug/fread_chk.c: Likewise.
41340 * debug/fread_u_chk.c: Likewise.
41341 * debug/gets_chk.c: Likewise.
41342 * debug/obprintf_chk.c: Likewise.
41343 * debug/vasprintf_chk.c: Likewise.
41344 * debug/vdprintf_chk.c: Likewise.
41345 * debug/vsnprintf_chk.c: Likewise.
41346 * debug/vsprintf_chk.c: Likewise.
41347 * malloc/mtrace.c: Likewise.
41348 * misc/error.c: Likewise.
41349 * misc/syslog.c: Likewise.
41350 * stdio-common/asprintf.c: Likewise.
41351 * stdio-common/fxprintf.c: Likewise.
41352 * stdio-common/getw.c: Likewise.
41353 * stdio-common/isoc99_fscanf.c: Likewise.
41354 * stdio-common/isoc99_scanf.c: Likewise.
41355 * stdio-common/isoc99_vfscanf.c: Likewise.
41356 * stdio-common/isoc99_vscanf.c: Likewise.
41357 * stdio-common/isoc99_vsscanf.c: Likewise.
41358 * stdio-common/printf-prs.c: Likewise.
41359 * stdio-common/printf_fp.c: Likewise.
41360 * stdio-common/printf_fphex.c: Likewise.
41361 * stdio-common/printf_size.c: Likewise.
41362 * stdio-common/putw.c: Likewise.
41363 * stdio-common/scanf.c: Likewise.
41364 * stdio-common/sprintf.c: Likewise.
41365 * stdio-common/tmpfile.c: Likewise.
41366 * stdio-common/vfprintf.c: Likewise.
41367 * stdio-common/vfscanf.c: Likewise.
41368 * stdlib/strfmon_l.c: Likewise.
41369 * sunrpc/openchild.c: Likewise.
41370 * sunrpc/xdr_stdio.c: Likewise.
41371 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41372 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41374 2012-05-24 Roland McGrath <roland@hack.frob.com>
41376 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41378 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41379 in the third column, to generate for the shared library an IFUNC
41380 that uses _dl_vdso_vsym.
41381 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41382 * Makeconfig (object-suffixes-noshared): New variable.
41384 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41385 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41386 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41387 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41390 * include/sys/time.h (__gettimeofday): Remove macro.
41391 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41392 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41394 (__gettimeofday): Add libc_hidden_def.
41395 (gettimeofday): Add libc_hidden_weak.
41396 * sysdeps/mach/gettimeofday.c: Likewise.
41397 * sysdeps/posix/gettimeofday.c: Likewise.
41398 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41399 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41401 (__gettimeofday_internal): Remove strong_alias.
41402 (__gettimeofday): Add libc_hidden_def.
41403 (gettimeofday): Add libc_hidden_weak.
41404 * sysdeps/unix/syscalls.list (gettimeofday):
41405 Remove __gettimeofday_internal alias.
41407 2012-05-24 Daniel Jacobowitz <drow@false.org>
41408 H.J. Lu <hongjiu.lu@intel.com>
41411 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41412 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41413 (largebin_index_32_big): New.
41414 (largebin_index): Use it for 16-byte alignment.
41415 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41416 correction with front_misalign.
41418 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41446 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41447 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41449 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41453 * math/libm-test.inc (exp_test): Add test from bug 14036.
41454 (pow_test): Add test from bug 10846.
41456 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41458 (special_function): Do not include flags in test name.
41459 (parse_args): Likewise.
41460 * sysdeps/i386/fpu/libm-test-ulps: Update.
41461 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41462 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41463 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41466 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41468 * math/libm-test.inc ("Philosophy"): Update comment about
41470 (UNDERFLOW_EXCEPTION): New macro.
41471 (UNDERFLOW_EXCEPTION_OK): Likewise.
41472 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41473 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41474 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41475 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41476 (INVALID_EXCEPTION_OK): Update value.
41477 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41478 (OVERFLOW_EXCEPTION_OK): Likewise.
41479 (IGNORE_ZERO_INF_SIGN): Likewise.
41480 (test_exceptions): Handle underflow exceptions.
41481 (acos_test): Update for underflow exception expectations.
41482 (cexp_test): Likewise.
41483 (clog_test): Likewise.
41484 (clog10_test): Likewise.
41485 (csqrt_test): Likewise.
41486 (ctan_test): Likewise.
41487 (ctanh_test): Likewise.
41488 (exp_test): Likewise.
41489 (exp10_test): Likewise.
41490 (exp2_test): Likewise.
41491 (expm1_test): Likewise.
41492 (fma_test): Likewise.
41493 (j0_test): Likewise.
41494 (jn_test): Likewise.
41495 (nexttoward_test): Likewise.
41496 (pow_test): Likewise.
41497 (scalbn_test): Likewise.
41498 (scalbln_test): Likewise.
41499 (tan_test): Likewise.
41500 (y1_test): Likewise.
41501 * sysdeps/i386/fpu/libm-test-ulps: Update.
41502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41504 2012-05-23 David S. Miller <davem@davemloft.net>
41506 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41507 (__libc_sigaction): Remove unused local variables.
41509 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41511 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41513 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41515 mktime: avoid signed integer overflow
41516 * time/mktime.c (__mktime_internal): Do not mishandle the case
41517 where diff == INT_MIN.
41519 mktime: simplify computation of average
41520 * time/mktime.c (ranged_convert): Use new time_t_avg function
41521 instead of rolling our own (probably-slower) code.
41523 mktime: do not assume signed right shift propagates sign bit
41524 * time/mktime.c (isdst_differ): New static function.
41525 (__mktime_internal): No need to normalize tm_isdst now.
41526 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41529 mktime: merge another wrapv change from gnulib
41530 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41531 from some compilers.
41533 mktime: remove incorrect attempt at unusual arithmetics
41534 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41535 The code didn't really work on such machines anyway.
41536 (TYPE_MINIMUM): Assume two's complement.
41537 (twos_complement_arithmetic): Verify that long_int and time_t
41538 are two's complement (or unsigned, in the latter case).
41540 mktime: check signed shifts on long_int and time_t, too
41541 * time/mktime.c (SHR): Check that shifts work as desired
41542 on the types long_int and time_t too, as SHR is used on
41545 mktime: do not assume 'long' is wide enough
41546 * time/mktime.c (verify): Move decl up.
41547 (long_int): New type.
41548 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41549 to remove assumption in the code that 'long' is wide enough to
41550 store year values. This assumption is not true on x32 and on
41551 some non-glibc platforms.
41553 mktime: merge wrapv change from gnulib
41554 * time/mktime.c (WRAPV): New macro.
41555 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41556 (guess_time_tm, __mktime_internal): Do not assume that signed
41557 integer overflow wraps around; modern compilers generate code
41558 where this assumption is no longer valid.
41560 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41562 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41563 Replace "jmp L(pseudo_end)" with "ret".
41564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41567 2012-05-23 Andreas Jaeger <aj@suse.de>
41569 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41570 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41572 2012-05-23 Andreas Jaeger <aj@suse.de>
41573 Maximilian Attems <max@stro.at>
41575 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41578 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41580 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41581 code so that pseudo_end is just ret and the stack pointer is
41582 correct also for static library in error case.
41584 2012-05-23 Joseph Myers <joseph@codesourcery.com>
41586 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41587 move to syscalls.list.
41588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41593 * manual/install.texi (Running make install): Do not mention Linux
41594 kernel version for which pt_chown is not needed.
41595 (Linux): Do not mention problems with nscd with 2.0 kernels.
41596 * INSTALL: Regenerated.
41598 2012-05-23 Andreas Jaeger <aj@suse.de>
41600 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41601 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41603 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41605 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41606 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41607 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41609 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41610 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41611 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41612 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41613 * sysdeps/unix/sysv/linux/bits/in.h
41614 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41616 2012-05-22 Roland McGrath <roland@hack.frob.com>
41618 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41619 (PREPARE_VERSION): Just use assert instead, it will be elided
41620 under [NDEBUG] anyway.
41622 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41624 * sysdeps/unix/sysv/linux/Makefile: Include
41625 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41626 (sysdep_routines): Remove sysctl.
41627 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41628 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41629 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41630 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41631 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41633 2012-05-22 Andreas Jaeger <aj@suse.de>
41635 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41636 that pseudo_end is just ret and the stack pointer is correct also
41637 for static library in error case.
41639 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41642 * nss/nsswitch.c (defconfig_entries): New variable.
41643 (__nss_database_lookup): Don't leak defconfig entries.
41644 (nss_parse_service_list): Don't leak on error paths.
41645 (free_database_entries): New function.
41646 (free_defconfig): New function.
41647 (free_mem): Move common code to free_database_entries.
41649 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41651 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41653 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41655 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41656 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41659 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41660 (INTERNAL_SYSCALL_TYPES): Likewise.
41661 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41662 (LOAD_REGS_TYPES_[1-6]): Likewise.
41663 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41664 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41666 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41668 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41669 copysignl for GLIBC_2_0.
41670 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41671 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41673 logbl for GLIBC_2_0.
41674 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41675 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41677 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41679 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41680 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41682 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41685 * time/mktime.c: Update copyright years.
41687 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41689 mktime: merge comment-quoting-style change from gnulib
41690 * time/mktime.c: Quote 'like this' in comments.
41691 The GNU coding standards suggest that we no longer quote `like this',
41692 as "`" and "'" are typically rendered asymmetrically nowadays.
41693 The typical gnulib style is to quote 'like this' when quoting
41694 code, and "like this" when quoting English.
41696 * time/mktime.c (compile-command): Add "-I.".
41698 mktime: merge mktime-internal.h change from gnulib
41699 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41701 mktime: merge time_r change from gnulib
41702 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41704 mktime: merge DEBUG change from gnulib
41705 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41706 case system <time.h> has a #define.
41708 mktime: merge <sys/types.h> change from gnulib
41709 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41710 since <time.t> is now guaranteed to define time_t.
41712 mktime: merge HAVE_CONFIG_H change from gnulib
41713 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41715 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41720 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41722 (struct rusage): Use anonymous union to pad each field to
41725 2012-05-21 David S. Miller <davem@davemloft.net>
41727 * Makefules (o-iterator): Remove .s cases.
41728 (compile-command.s): Delete.
41729 (COMPILE.s): Delete.
41730 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41732 2012-05-21 Joseph Myers <joseph@codesourcery.com>
41734 * configure.in (libc_cv_predef_stack_protector): Only consider
41735 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41736 * configure: Regenerated.
41738 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41741 New macro. Use R*LP on int and pointer.
41742 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41743 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41744 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41745 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41747 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41748 [__WORDSIZE_TIME64_COMPAT32] instead of
41749 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41750 (struct utmp): Likewise.
41751 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41752 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41754 (__WORDSIZE_TIME64_COMPAT32): This.
41755 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41756 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41757 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41758 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41759 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41760 (__WORDSIZE_TIME64_COMPAT32): New macro.
41762 2012-05-21 Andreas Jaeger <aj@suse.de>
41764 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41765 only if [SHARED]. Add prototype for __wcschr_ia32.
41767 2012-05-21 Roland McGrath <roland@hack.frob.com>
41769 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41770 of %rbp unmolested in the jmp_buf while mangling the low bits.
41771 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41772 unmolested high bits of %rbp while demangling the low bits.
41773 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41775 2012-05-21 Andreas Jaeger <aj@suse.de>
41777 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41778 * sunrpc/svc_simple.c: Use it for registerrpc.
41779 * sunrpc/xcrypt.c: Use it for passwd2des.
41781 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41783 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41785 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41786 Don't define if [__SYSCALL_WORDSIZE != 32].
41787 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41790 2012-05-21 Bruno Haible <bruno@clisp.org>
41791 Andreas Jaeger <aj@suse.de>
41793 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41794 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41795 inptr and inend for must_buffer_ch.
41796 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41797 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41798 * stdio-common/Makefile (tests): Remove bug15.
41799 (bug15-ENV): Remove macro.
41800 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41803 2012-05-19 Andreas Jaeger <aj@suse.de>
41804 Roland McGrath <roland@hack.frob.com>
41806 * manual/contrib.texi: Completely rewritten. It contains now an
41807 alphabetical list of contributors and their contributions.
41809 2012-05-21 Richard Henderson <rth@twiddle.net>
41811 * misc/getauxval.c (__getauxval): Use unsigned long int.
41812 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41813 (getauxval): Use unsigned long int.
41815 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41817 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41819 2012-05-21 Roland McGrath <roland@hack.frob.com>
41821 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41822 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41823 __alignof__ (long double).
41825 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41829 2012-05-20 Richard Henderson <rth@twiddle.net>
41831 * misc/getauxval.c: New file.
41832 * misc/sys/auxv.h: New file.
41833 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41834 (routines): Add getauxval.
41835 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41836 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41837 * elf/dl-sysdep.c (_dl_auxv): Remove.
41838 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41839 * elf/dl-support.c (_dl_auxv): New variable.
41840 (_dl_aux_init): Initialize it.
41841 * manual/startup.texi (Auxiliary Vector): New node.
41842 * sysdeps/generic/bits/hwcap.h: New file.
41843 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41844 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41845 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41846 * sysdeps/sparc/sysdep.h: ... here. Include it.
41847 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41848 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41854 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41860 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41864 2012-05-19 David S. Miller <davem@davemloft.net>
41866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41868 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41871 * math/s_ccosh.c: Include <float.h>
41872 (__ccosh): Avoid internal overflow calculating sinh and cosh
41873 values before multiplying by sin and cos values.
41874 * math/s_ccoshf.c: Likewise.
41875 * math/s_ccoshl.c: Likewise.
41876 * math/s_csin.c: Likewise.
41877 * math/s_csinf.c: Likewise.
41878 * math/s_csinl.c: Likewise.
41879 * math/s_csinh.c: Likewise.
41880 * math/s_csinhf.c: Likewise.
41881 * math/s_csinhl.c: Likewise.
41882 * math/libm-test.inc (ccos_test): Add more tests.
41883 (ccosh_test): Likewise.
41884 (csin_test): Likewise.
41885 (csinh_test): Likewise.
41886 * sysdeps/i386/fpu/libm-test-ulps: Update.
41887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41889 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41891 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41892 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41894 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41896 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41898 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41899 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41900 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41901 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41902 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41903 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41904 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41905 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41906 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41907 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41908 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41909 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41910 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41911 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41912 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41913 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41914 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41915 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41916 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41917 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41918 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41919 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41920 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41921 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41922 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41923 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41924 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41925 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41926 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41927 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41928 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41930 2012-05-18 Andreas Jaeger <aj@suse.de>
41932 * csu/.gitignore: Delete.
41934 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41936 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41937 (timex): Use __syscall_slong_t.
41939 2012-05-18 Andreas Jaeger <aj@suse.de>
41940 Carlos O'Donell <carlos_odonell@mentor.com>
41942 * manual/install.texi (Configuring and compiling): Update
41943 description about files modified in the source directory.
41944 * INSTALL: Regenerated.
41946 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41948 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41949 value. Use "or" to set return value to -1.
41950 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41951 negate return value.
41953 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41955 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41956 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41957 failure if the compiler has Graphite support disabled.
41958 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41960 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41961 (CFLAGS-memmove.c): Likewise.
41962 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41965 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41967 * sysdeps/x86_64/x32/_itoa.h: New file.
41969 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41970 getdents system call only if kernel and user dirents have the
41971 same d_ino and d_off.
41973 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41974 LLONG_MAX != LONG_MAX.
41975 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41976 (_fitoa_word): Likewise.
41978 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41980 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41981 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41982 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41984 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41985 include <bits/wordsize.h>. Check __x86_64__ instead of
41987 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41988 if __x86_64__ is defined. Use anonymous union on fpstate.
41990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41993 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41995 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41996 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41997 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41998 Refer to _rtld_local_ro instead of _rtld_global_ro.
41999 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42001 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42003 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42005 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42006 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42007 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42009 * sysdeps/powerpc/powerpc32/dl-machine.c
42010 (__elf_machine_runtime_setup) [PROF]: Don't reference
42013 2012-05-18 Andreas Jaeger <aj@suse.de>
42015 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42016 function only available for GCCs before 3.4 since GCC 3.4
42017 introduced a builtin.
42019 (llrintf): Likewise.
42020 (llrint): Likewise.
42027 (nearbyint): Likewise.
42028 (nearbyintf): Likewise.
42032 (floorf): Likewise.
42034 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42036 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42037 on both fields and cast pointer to __syscall_ulong_t.
42039 * bits/types.h (__fsword_t): New type.
42040 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42041 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42043 (__FSWORD_T_TYPE): Likewise.
42044 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42045 (__FSWORD_T_TYPE): Likewise.
42046 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42047 (__FSWORD_T_TYPE): Likewise.
42048 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42049 (__FSWORD_T_TYPE): Likewise.
42050 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42051 __SWORD_TYPE with __fsword_t.
42052 (statfs64): Likewise.
42054 2012-05-17 David S. Miller <davem@davemloft.net>
42056 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42058 2012-05-17 Andreas Jaeger <aj@suse.de>
42060 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42063 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42065 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42067 2012-05-17 Andreas Jaeger <aj@suse.de>
42069 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42072 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42074 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42076 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42078 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42079 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42081 2012-05-17 Andreas Jaeger <aj@suse.de>
42082 Carlos O'Donell <carlos_odonell@mentor.com>
42085 * sysdeps/x86_64/multiarch/init-arch.h
42086 (bit_YMM_Usable): Rename to...
42087 (bit_AVX_Usable): ... this.
42088 (bit_FMA4_Usable): New macro.
42089 (bit_XMM_state): New macro.
42090 (bit_YMM_state): New macro.
42091 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42092 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42093 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42094 (CPUID_OSXSAVE): New macro.
42095 (CPUID_AVX): New macro.
42096 (CPUID_FMA4): New macro.
42097 (index_YMM_Usable): Rename to...
42098 (index_AVX_Usable): ... this.
42099 (HAS_AVX): Use HAS_ARCH_FEATURE.
42100 (HAS_FMA4): Likewise.
42101 (HAS_YMM_USABLE): Remove.
42102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42103 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42105 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42106 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42107 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42108 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42109 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42111 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42113 * math/libm-test.c: Support platforms without multiple rounding modes.
42114 * math/bug-nextafter.c: Support platforms without FP exceptions.
42115 * math/bug-nexttoward.c: Likewise.
42116 * math/test-fenv.c: Likewise.
42117 * math/test-misc.c: Likewise.
42118 * stdlib/bug-getcontext.c: Likewise.
42120 2012-05-17 Andreas Jaeger <aj@suse.de>
42122 * manual/examples/search.c (critter_cmp): Change signature to
42124 * manual/string.texi (Collation Functions): Likewise.
42126 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42128 * bits/types.h: Fold copyright years.
42129 * bits/typesizes.h: Likewise.
42130 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42134 * time/time.h: Likewise.
42136 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42139 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42140 in instead of returning them. Return void.
42141 (__libc_mallinfo): Accumulate over all arenas.
42142 (__malloc_stats): Adjust for change in int_mallinfo interface.
42144 2012-05-16 Roland McGrath <roland@hack.frob.com>
42147 * configure.in (NM): Add AC_CHECK_TOOL for it.
42148 (libc_extra_cflags): New substituted variable.
42149 Check for -fstack-protector being used implicitly.
42150 * configure: Regenerated.
42151 * config.make.in (config-extra-cflags): New variable,
42152 gets @libc_extra_cflags@.
42153 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42156 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42157 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42158 * configure: Regenerated.
42159 * config.make.in (CPPUNDEFS): New substituted variable.
42160 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42161 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42162 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42164 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42166 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42167 (mq_attr): Use __syscall_slong_t.
42169 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42171 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42172 Check __x86_64__ instead of __WORDSIZE.
42173 (_STAT_VER_LINUX): Likewise.
42174 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42175 __syscall_ulong_t and __syscall_slong_t.
42176 (stat64): Likewise.
42178 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42180 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42182 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42184 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42186 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42188 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42191 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42192 include <bits/wordsize.h>. Check __x86_64__ instead of
42194 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42196 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42198 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42199 include <bits/wordsize.h>. Check __x86_64__ instead of
42201 (user_regs_struct): Use "__extension__ unsigned long long"
42202 instead of "unsigned long" if __x86_64__ is defined.
42203 (user): Likewise. Pad after pointer field if __ILP32__ is
42206 2012-05-16 Joseph Myers <joseph@codesourcery.com>
42208 * configure.in (makeinfo): Require version 4.5 or later. Allow
42210 * configure: Regenerated.
42211 * manual/install.texi (texinfo): Increase version requirement to
42213 * INSTALL: Regenerated.
42215 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42217 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42219 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42221 * sysdeps/x86_64/x32/ffs.c: New file.
42223 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42225 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42226 defined. Use __syscall_ulong_t.
42227 (shminfo): Use __syscall_ulong_t.
42228 (shm_info): Likewise.
42230 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42233 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42235 (msgqnum_t): Use __syscall_ulong_t.
42236 (msglen_t): Likewise.
42237 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42240 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42241 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42243 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42245 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42246 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42248 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42251 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42252 include <bits/wordsize.h>. Check __x86_64__ instead of
42255 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42256 "unsigned long long int" if __x86_64__ is defined.
42257 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42259 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42260 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42261 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42263 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42265 (GET_PC): Cast to uintptr_t first.
42266 (GET_FRAME): Likewise.
42267 (GET_STACK): Likewise.
42269 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42270 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42271 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42272 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42273 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42274 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42275 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42276 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42277 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42278 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42279 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42280 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42281 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42282 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42283 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42284 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42285 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42286 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42287 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42288 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42289 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42290 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42291 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42292 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42293 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42294 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42295 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42296 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42297 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42299 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42301 * Makerules (+depfiles): Also collect depfiles from .oS in
42303 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42304 .oS, $(libnldbl-routines)).
42306 * Makerules (native-compile-mkdep-flags): Define.
42307 * sunrpc/Makefile (extra-objs): Add $(addprefix
42308 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42309 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42310 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42311 calling $(make-target-directory).
42313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42315 * bits/types.h (__snseconds_t): Removed.
42316 * time/time.h (struct timespec): Replace __snseconds_t with
42318 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42319 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42321 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42322 (__SNSECONDS_T_TYPE): Likewise.
42323 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42324 (__SNSECONDS_T_TYPE): Likewise.
42325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42326 (__SNSECONDS_T_TYPE): Likewise.
42328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42330 * sysdeps/mach/hurd/bits/typesizes.h
42331 (__SYSCALL_SLONG_TYPE): New macro.
42332 (__SYSCALL_ULONG_TYPE): Likewise.
42334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42336 * bits/types.h (__syscall_slong_t): New type.
42337 (__syscall_ulong_t): Likewise.
42339 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42340 (__SYSCALL_ULONG_TYPE): Likewise.
42341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42342 (__SYSCALL_SLONG_TYPE): Likewise.
42343 (__SYSCALL_ULONG_TYPE): Likewise.
42344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42345 (__SYSCALL_SLONG_TYPE): Likewise.
42346 (__SYSCALL_ULONG_TYPE): Likewise.
42347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42348 (__SYSCALL_SLONG_TYPE): Likewise.
42349 (__SYSCALL_ULONG_TYPE): Likewise.
42351 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42353 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42354 Add sigaltstack-offsets.sym.
42355 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42356 <sigaltstack-offsets.h>.
42357 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42358 longjmp_msg pointer.
42359 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42360 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42362 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42364 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42366 * elf/stackguard-macros.h: Remove file.
42367 * sysdeps/generic/stackguard-macros.h: New file.
42368 * sysdeps/i386/stackguard-macros.h: Likewise.
42369 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42370 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42371 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42372 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42373 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42374 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42375 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42376 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42377 <elf/stackguard-macros.h>.
42380 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42381 __aligned__ in attribute.
42382 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42383 (gregset_t): Likewise.
42385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42387 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42388 * sysdeps/x86_64/64/Implies-after: Here. New file.
42389 * sysdeps/x86_64/x32/Implies-after: New file.
42391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42393 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42394 and access return value for _dl_profile_fixup. Use R10_LP to
42397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42399 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42403 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42404 * sysdeps/x86_64/x32/sysdep.h: New file.
42406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42408 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42409 * sysdeps/x86_64/setjmp.S: Likewise.
42411 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42413 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42415 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42416 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42417 remove unused global constant.
42419 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42421 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42422 include of <not-cancel.h>.
42424 2012-05-15 Roland McGrath <roland@hack.frob.com>
42426 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42428 2012-05-15 Jeff Law <law@redhat.com>
42429 Andreas Jaeger <aj@suse.de>
42432 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42434 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42435 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42436 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42437 code changing __hst_map_handle.map.
42439 2012-05-15 Roland McGrath <roland@hack.frob.com>
42441 * configure.in (sysnames): Look for Implies-before and Implies-after
42443 * configure: Regenerated.
42445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42447 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42448 8-byte data alignment with LP_SIZE alignment.
42450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42452 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42457 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42461 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42462 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42463 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42465 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42469 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42470 (stackinfo_sub_sp): Likewise.
42472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42474 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42479 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42484 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42489 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42493 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42494 into R11_LP and load __x86_64_shared_cache_size_half into
42497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42499 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42502 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42506 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42511 powerpc32/power7/fpu/s_logb.c via #include.
42512 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42513 powerpc32/power7/fpu/s_logbf.c via #include.
42514 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42515 powerpc32/power7/fpu/s_logbl.c via #include.
42517 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42519 * README.libm: Remove file.
42521 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42523 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42524 count for x32. Use R*_LP and omit operand-size suffix.
42526 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42528 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42529 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42530 * sysdeps/x86_64/x32/shlib-versions: New file.
42532 2012-05-14 Roland McGrath <roland@hack.frob.com>
42534 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42535 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42536 Use _dl_fatal_printf instead.
42538 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42540 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42541 set if not set by the user. Do not allow for being unset.
42542 * sysdeps/unix/sysv/linux/configure: Regenerated.
42544 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42546 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42547 the `q' suffix from lea and replace .quad with ASM_ADDR.
42549 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42552 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42554 (PTR_DEMANGLE): Likewise.
42556 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42558 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42560 (ASM_ADDR): Likewise.
42561 (RAX_LP): Likewise.
42562 (RBP_LP): Likewise.
42563 (RBX_LP): Likewise.
42564 (RCX_LP): Likewise.
42565 (RDI_LP): Likewise.
42566 (RSI_LP): Likewise.
42567 (RSP_LP): Likewise.
42570 (R10_LP): Likewise.
42571 (R10_LP): Likewise.
42572 (R11_LP): Likewise.
42573 (R12_LP): Likewise.
42574 (R13_LP): Likewise.
42575 (R14_LP): Likewise.
42576 (R15_LP): Likewise.
42578 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42580 * sysdeps/x86_64/x32/dl-machine.h: New file.
42582 2012-05-14 Andreas Jaeger <aj@suse.de>
42584 * manual/Makefile (subdir): Remove export of subdir.
42585 (all): Remove target.
42586 (.PHONY): Remove all from list.
42587 (mkinstalldirs): Remove.
42588 (.PHONY): Remove installdirs from list.
42589 ($(inst_infodir)/libc.info): Use make-target-directory.
42590 (installdirs): Remove.
42591 (subdir_%): Remove.
42592 (glibc-targets): Remove.
42595 ($(objpfx)stubs ../po/manual.pot): Remove.
42596 ($(objpfx)stamp%): Remove.
42597 (make-target-directory): Remove.
42598 (subdir_install): Remove.
42599 (routines): Remove.
42606 * manual/.gitignore: Remove, it's not needed anymore.
42607 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42609 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42611 (texis): Renamed to $(objpfx)texis.
42612 (texis-path): New, contains path to generated files.
42613 (chapters.%): Use texis-path for complete path, add extra argument
42615 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42616 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42617 (summary,texi, stamp-summary): Use complete path of
42618 files. Generate files in build dir.
42619 (dir-add.texi): Build in build dir.
42620 (libm-err.texi,stamp-libm-err): Likewise.
42621 (version.texi, stamp-version): Likewise.
42622 (.%c.texi): Likewise.
42623 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42624 (mostlyclean): Remove target.
42625 (realclean): Remove target.
42626 (generated): Add new variable with contents from mostlyclean and
42627 realclean, remove entries duplicated in common-mostlyclean, add
42628 stamp-libm-err and stamp-version.
42629 (generated-dirs): Add libc directory.
42630 ($(inst_infodir)/libc.info): Install files from build dir.
42632 * manual/install.texi (Configuring and compiling): Adjust since
42633 the info files are not part of the tar ball anymore.
42635 2012-05-14 Andreas Jaeger <aj@suse.de>
42637 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42640 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42643 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42644 to 2.2.0 where earlier.
42645 * sysdeps/unix/sysv/linux/configure: Regenerated.
42646 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42647 Remove conditional code.
42648 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42649 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42650 Remove conditional code.
42651 [!__NR_lchown]: Likewise.
42652 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42653 [__NR_lchown]: Likewise.
42654 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42655 comment referencing __ASSUME_LCHOWN_SYSCALL.
42656 * sysdeps/unix/sysv/linux/i386/sigaction.c
42657 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42658 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42659 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42660 Remove conditional code.
42661 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42662 (__protocol_available): Remove #if 0 code.
42663 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42665 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42666 * sysdeps/unix/sysv/linux/kernel-features.h
42667 (__ASSUME_GETCWD_SYSCALL): Don't define.
42668 (__ASSUME_REALTIME_SIGNALS): Likewise.
42669 (__ASSUME_PREAD_SYSCALL): Likewise.
42670 (__ASSUME_PWRITE_SYSCALL): Likewise.
42671 (__ASSUME_POLL_SYSCALL): Likewise.
42672 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42673 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42675 (__ASSUME_SIOCGIFNAME): Don't define.
42676 (__ASSUME_MSG_NOSIGNAL): Likewise.
42677 (__ASSUME_SENDFILE): Define unconditionally.
42678 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42679 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42681 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42682 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42683 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42684 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42685 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42686 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42687 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42689 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42692 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42695 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42698 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42701 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42704 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42707 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42708 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42710 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42712 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42713 Remove conditional code.
42714 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42715 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42716 Remove conditional code.
42717 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42718 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42719 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42720 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42721 Remove conditional code.
42722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42723 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42724 Remove conditional code.
42725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42726 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42727 Remove conditional code.
42728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42729 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42730 Remove conditional code.
42731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42732 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42733 Remove conditional code.
42734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42735 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42736 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42737 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42738 * sysdeps/unix/sysv/linux/sigaction.c
42739 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42740 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42741 * sysdeps/unix/sysv/linux/sigpending.c
42742 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42743 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42744 * sysdeps/unix/sysv/linux/sigprocmask.c
42745 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42746 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42747 * sysdeps/unix/sysv/linux/sigsuspend.c
42748 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42749 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42750 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42751 (__libc_missing_rt_sigs): Remove.
42752 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42753 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42754 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42755 Remove conditional code.
42756 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42757 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42759 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42760 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42761 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42762 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42764 2012-05-14 Andreas Jaeger <aj@suse.de>
42766 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42767 it's not used in glibc.
42768 (__coshm1): Likewise.
42769 (__acosh1p): Likewise.
42772 * manual/string.texi (Copying and Concatenation): Add missing
42773 variable in concat example.
42774 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42776 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42780 __builtin_clzl with __builtin_clzll.
42782 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42785 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42788 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42790 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42791 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42792 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42793 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42795 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42797 * NEWS: Update ia64 info.
42799 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42801 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42804 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42806 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42807 * sysdeps/unix/syscalls.list (dup3): Likewise.
42808 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42809 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42811 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42813 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42814 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42816 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42818 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42820 (TLS_IE): Use mov/add instead of movq/addq to load thread
42822 (TLS_GD_PREFIX): New.
42825 2012-05-11 David S. Miller <davem@davemloft.net>
42827 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42828 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42829 (_FPU_SETCW): Likewise.
42831 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42833 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42834 is 32-byte aligned.
42836 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42839 * iconvdata/gb18030.c: Update tables.
42840 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42841 characters specially.
42842 (BODY for TO_LOOP): Add encoding of missing ranges.
42844 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42847 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42848 * sysdeps/mach/hurd/dup3.c: Likewise.
42849 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42850 * sysdeps/powerpc/memmove.c:: Likewise.
42852 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42854 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42855 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42857 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42859 * elf/elf.h (R_X86_64_RELATIVE64): New.
42860 (R_X86_64_NUM): Updated.
42861 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42862 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42863 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42864 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42865 tst-quad1pie tst-quad2pie
42866 (modules-names): Add tst-quadmod1 tst-quadmod2.
42867 ($(objpfx)tst-quad1): New dependency.
42868 ($(objpfx)tst-quad2): Likewise.
42869 ($(objpfx)tst-quad1pie): Likewise.
42870 ($(objpfx)tst-quad2pie): Likewise.
42871 * sysdeps/x86_64/tst-quad1.c: New file.
42872 * sysdeps/x86_64/tst-quad1pie.c: New file.
42873 * sysdeps/x86_64/tst-quad2.c: Likewise.
42874 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42875 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42876 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42877 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42878 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42880 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42882 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42883 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42884 * streams/stropts.h (t_scalar_t): Define type.
42886 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42887 (_PATH_PRESERVE): Set to "/var/lib".
42888 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42890 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42893 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42894 if __dir_mkfile succeeded.
42896 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42897 checking for _hurd_dtablesize. Unlock it right after having
42898 finished _hurd_dtable allocation.
42900 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42902 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42903 * sysdeps/mach/hurd/configure: Regenerated.
42904 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42905 special-casing to...
42906 * sysdeps/gnu/configure.in: ... this new file.
42907 * sysdeps/unix/sysv/linux/configure: Regenerated.
42908 * sysdeps/gnu/configure: New generated file.
42910 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42911 for Linux: use nsec instead of usec, as well as:
42912 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42913 members of type struct timespec.
42914 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42916 (struct stat64): Likewise.
42917 (_STATBUF_ST_NSEC): New macro.
42918 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42920 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42921 __strtoul_internal rather than strtoul.
42923 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42925 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42928 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42930 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42931 which preserves existing values.
42932 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42934 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42936 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42937 TIMEOUT values. Return EINVAL for NFDS values either negative or
42938 greater than FD_SETSIZE.
42940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42942 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42943 allocated, call __vm_protect to finish enabling the existing space, and
42944 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42945 allocate the remainder.
42947 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42949 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42950 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42952 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42954 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42955 sysdeps/mach/hurd/readlink.c.
42957 * posix/tst-sysconf.c (posix_options): Only use
42958 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42959 _POSIX_SYNCHRONIZED_IO when they are defined
42960 * sysdeps/mach/hurd/bits/posix_opt.h:
42961 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42962 (_XOPEN_REALTIME): Undefine macro.
42963 (_XOPEN_REALTIME_THREADS): Undefine macro.
42964 (_XOPEN_SHM): Undefine macro.
42965 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42967 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42969 (_POSIX_ASYNC_IO): Undefine macro.
42970 (_POSIX_PRIORITIZED_IO): Undefine macro.
42971 (_POSIX_SPIN_LOCKS): Define macro to -1.
42973 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42974 SA_NODEFER, SA_RESETHAND.
42975 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42976 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42979 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42981 * elf/Makefile (pldd-modules): Define unconditionally.
42983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42985 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42987 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42989 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42990 Return ENOENT when name is empty.
42991 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42993 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42995 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42997 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42999 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43001 Fix mlock in all cases except non-readable pages.
43002 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43003 instead of VM_PROT_ALL as parameter to __vm_wire function.
43005 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43006 (__mkdir): When path is `/', just fail with EEXIST.
43007 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43009 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43011 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43012 <sys/uio.h> (for writev).
43013 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43014 and <sys/param.h> (for MIN).
43016 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43018 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43019 REQUESTED_TIME. Properly set the remaining time and return EINTR
43022 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43024 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43025 Depend on against $(link-rpcuserlibs).
43027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43029 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43030 (__libc_stack_end): Do not use attribute_relro.
43031 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43032 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43033 to libthread-provided value.
43034 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43037 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43040 * bits/libc-lock.h (__libc_once_get): New macro.
43041 * sysdeps/mach/bits/libc-lock.h: Likewise.
43042 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43043 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43044 instead of using implementation details.
43046 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43047 * libio/freopen.c: Likewise.
43048 * libio/freopen64.c: Likewise.
43049 * misc/syslog.c: Likewise.
43050 * nscd/connections.c: Likewise.
43051 * nscd/netgroupcache.c: Likewise.
43052 * sysdeps/posix/getcwd.c: Likewise.
43054 2012-05-10 Roland McGrath <roland@hack.frob.com>
43056 * math/w_ilogbf.c: Add #include <limits.h>.
43058 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43060 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43061 path instead of returning without unlocking.
43063 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43064 immediate-write ioctls.
43065 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43069 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43070 __builtin_frame_address instead of making assumptions about the
43071 location of the return address relative to DATA. Force early load of
43072 the return address.
43073 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43074 __builtin_frame_address.
43077 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43078 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43079 implement dup3 and do some further code clean-ups.
43080 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43081 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43085 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43087 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43088 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43089 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43090 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43091 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43094 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43095 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43096 when handler == SIG_ERR, not when handler != SIG_ERR.
43098 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43100 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43101 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43104 accept4 for GNU Hurd.
43105 * include/sys/socket.h (__libc_accept4): New prototype.
43106 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43107 to implement __libc_accept4.
43108 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43110 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43112 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43113 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43114 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43115 signal-defines.sym.
43117 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43119 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43121 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43123 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43124 assertion on O_CLOEXEC flag.
43125 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43126 * hurd/intern-fd.c: Likewise.
43127 * hurd/port2fd.c: Likewise.
43129 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43132 * bits/in.h (IPV6_PKTINFO): Define new macro.
43133 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43135 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43140 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43141 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43142 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43143 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43144 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43145 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43146 * math/libm-test.inc (logb_test) : Additional logb tests.
43148 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43149 Andreas Jaeger <aj@suse.de>
43151 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43152 * configure: Regenerated.
43153 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43154 * config.make.in (link-obsolete-rpc): New substituted variable.
43155 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43156 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43157 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43158 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43159 so that libc.a contains the symbols.
43160 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43161 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43162 * sunrpc/auth_none.c: Likewise.
43163 * sunrpc/auth_unix.c: Likewise.
43164 * sunrpc/authdes_prot.c: Likewise.
43165 * sunrpc/authuxprot.c: Likewise.
43166 * sunrpc/clnt_gen.c: Likewise.
43167 * sunrpc/clnt_perr.c: Likewise.
43168 * sunrpc/clnt_raw.c: Likewise.
43169 * sunrpc/clnt_simp.c: Likewise.
43170 * sunrpc/clnt_tcp.c: Likewise.
43171 * sunrpc/clnt_udp.c: Likewise.
43172 * sunrpc/clnt_unix.c: Likewise.
43173 * sunrpc/des_crypt.c: Likewise.
43174 * sunrpc/des_soft.c: Likewise.
43175 * sunrpc/get_myaddr.c: Likewise.
43176 * sunrpc/key_call.c: Likewise.
43177 * sunrpc/key_prot.c: Likewise.
43178 * sunrpc/netname.c: Likewise.
43179 * sunrpc/pm_getmaps.c: Likewise.
43180 * sunrpc/pm_getport.c: Likewise.
43181 * sunrpc/pmap_clnt.c: Likewise.
43182 * sunrpc/pmap_prot.c: Likewise.
43183 * sunrpc/pmap_prot2.c: Likewise.
43184 * sunrpc/pmap_rmt.c: Likewise.
43185 * sunrpc/publickey.c: Likewise.
43186 * sunrpc/rpc_cmsg.c: Likewise.
43187 * sunrpc/rpc_common.c: Likewise.
43188 * sunrpc/rpc_dtable.c: Likewise.
43189 * sunrpc/rpc_prot.c: Likewise.
43190 * sunrpc/rpc_thread.c: Likewise.
43191 * sunrpc/rtime.c: Likewise.
43192 * sunrpc/svc.c: Likewise.
43193 * sunrpc/svc_auth.c: Likewise.
43194 * sunrpc/svc_raw.c: Likewise.
43195 * sunrpc/svc_run.c: Likewise.
43196 * sunrpc/svc_tcp.c: Likewise.
43197 * sunrpc/svc_udp.c: Likewise.
43198 * sunrpc/svc_unix.c: Likewise.
43199 * sunrpc/svcauth_des.c: Likewise.
43200 * sunrpc/xcrypt.c: Likewise.
43201 * sunrpc/xdr.c: Likewise.
43202 * sunrpc/xdr_array.c: Likewise.
43203 * sunrpc/xdr_float.c: Likewise.
43204 * sunrpc/xdr_intXX_t.c: Likewise.
43205 * sunrpc/xdr_mem.c: Likewise.
43206 * sunrpc/xdr_rec.c: Likewise.
43207 * sunrpc/xdr_ref.c: Likewise.
43208 * sunrpc/xdr_sizeof.c: Likewise.
43209 * sunrpc/xdr_stdio.c: Likewise.
43211 2012-05-10 Roland McGrath <roland@hack.frob.com>
43213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43214 change. Update copyright years.
43216 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43218 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43220 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43221 Joseph Myers <joseph@codesourcery.com>
43222 Paul Pluzhnikov <ppluzhnikov@google.com>
43225 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43227 [cross-compiling] (extra-libs): Likewise.
43228 [cross-compiling] (extra-libs-others): Likewise.
43229 [cross-compiling] (librpcsvc-routines): Likewise.
43230 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43231 [cross-compiling] (omit-deps): Likewise.
43232 (sunrpc-CPPFLAGS): New variable.
43233 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43234 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43235 (cross-rpcgen-objs): New variable.
43236 (extra-objs): Append $(cross-rpcgen-objs).
43237 ($(cross-rpcgen-objs)): New rule.
43238 ($(objpfx)cross-rpcgen): Likewise.
43239 (rpcgen-cmd): Define to use $(built-program-file). Expand
43241 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43242 ($(objpfx)x%.stmp): Likewise.
43243 * sunrpc/proto.h [IS_IN_build] (_): Define.
43244 [IS_IN_build] (_libc_intl_domainname): Likewise.
43246 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43248 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43249 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43250 and R_X86_64_TPOFF64.
43252 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43254 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43255 sysdeps/unix/sysv/syscalls.list.
43258 * sysdeps/unix/sysv/syscalls.list: Remove file.
43260 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43263 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43264 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43265 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43266 (__LC_IDENTIFICATION): Make these macros useful in #if
43267 expressions, as required by C99.
43269 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43271 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43272 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43275 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43277 * stdlib/longlong.h: Updated from GCC.
43279 2012-05-09 Andreas Jaeger <aj@suse.de>
43281 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43282 default is first entry.
43283 (run_mode): Set type.
43284 (main): Remove informal message about syslog.
43285 (options): Fix typo.
43288 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43291 (llrintf): Likewise.
43292 (llrint): Likewise.
43295 (nearbyint): Likewise.
43296 (nearbyintf): Likewise.
43298 2012-05-09 Andreas Jaeger <aj@suse.de>
43299 Pedro Alves <palves@redhat.com>
43301 * nscd/nscd.c (run_mode): Use enum.
43302 (main): Cleanup coding style issue.
43304 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
43305 Andreas Jaeger <aj@suse.de>
43307 * nscd/nscd.c (go_background): Replaced with...
43308 (run_mode): ... this.
43309 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43310 (options): Add -F --foreground.
43311 (main): Implement it.
43312 (parse_opt): Parse it.
43314 2012-05-09 Andreas Jaeger <aj@suse.de>
43317 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43318 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43319 -Wconversion warning.
43320 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43323 2012-05-09 Joseph Myers <joseph@codesourcery.com>
43325 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43327 (LC_ALL): Use macro-int-constant.
43328 (LC_COLLATE): Likewise.
43329 (LC_CTYPE): Likewise.
43330 (LC_MESSAGES): Likewise.
43331 (LC_MONETARY): Likewise.
43332 (LC_NUMERIC): Likewise.
43333 (LC_TIME): Likewise.
43334 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43335 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43337 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43339 [C99-based standards] (float_t): Expect type.
43340 [C99-based standards] (double_t): Expect type.
43341 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43343 [C99-based standards] (HUGE_VALL): Likewise.
43344 [C99-based standards] (INFINITY): Likewise.
43345 [C99-based standards] (NAN): Likewise.
43346 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43347 [C99-based standards] (FP_NAN): Likewise.
43348 [C99-based standards] (FP_NORMAL): Likewise.
43349 [C99-based standards] (FP_SUBNORMAL): Likewise.
43350 [C99-based standards] (FP_ZERO): Likewise.
43351 [C99-based standards] (FP_FAST_FMA): Use
43352 optional-macro-int-constant. Specify type. Require == 1.
43353 [C99-based standards] (FP_FAST_FMAF): Likewise.
43354 [C99-based standards] (FP_FAST_FMAL): Likewise.
43355 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43356 [C99-based standards] (FP_ILOGBNAN): Likewise.
43357 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43359 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43360 [C99-based standards] (math_errhandling): Specify type.
43361 [ISO99 || ISO11] (signgam): Do not allow.
43362 [non-C99-based standards] (copysignf): Do not allow.
43363 [non-C99-based standards] (exp2f): Likewise.
43364 [non-C99-based standards] (log2f): Likewise.
43365 [non-C99-based standards] (modff): Allow.
43366 [non-C99-based standards] (erff): Do not allow.
43367 [non-C99-based standards] (erfcf): Likewise.
43368 [non-C99-based standards] (gammaf): Likewise.
43369 [non-C99-based standards] (hypotf): Likewise.
43370 [non-C99-based standards] (j0f): Likewise.
43371 [non-C99-based standards] (j1f): Likewise.
43372 [non-C99-based standards] (jnf): Likewise.
43373 [non-C99-based standards] (lgammaf): Likewise.
43374 [non-C99-based standards] (tgammaf): Likewise.
43375 [non-C99-based standards] (y0f): Likewise.
43376 [non-C99-based standards] (y1f): Likewise.
43377 [non-C99-based standards] (ynf): Likewise.
43378 [non-C99-based standards] (isnanf): Likewise.
43379 [non-C99-based standards] (acoshf): Likewise.
43380 [non-C99-based standards] (asinhf): Likewise.
43381 [non-C99-based standards] (atanhf): Likewise.
43382 [non-C99-based standards] (cbrtf): Likewise.
43383 [non-C99-based standards] (expm1f): Likewise.
43384 [non-C99-based standards] (ilogbf): Likewise.
43385 [non-C99-based standards] (log1pf): Likewise.
43386 [non-C99-based standards] (logbf): Likewise.
43387 [non-C99-based standards] (nextafterf): Likewise.
43388 [non-C99-based standards] (remainderf): Likewise.
43389 [non-C99-based standards] (rintf): Likewise.
43390 [non-C99-based standards] (scalbf): Likewise.
43391 [non-C99-based standards] (copysignl): Likewise.
43392 [non-C99-based standards] (exp2l): Likewise.
43393 [non-C99-based standards] (log2l): Likewise.
43394 [non-C99-based standards] (modfl): Allow.
43395 [non-C99-based standards] (erfl): Do not allow.
43396 [non-C99-based standards] (erfcl): Likewise.
43397 [non-C99-based standards] (gammal): Likewise.
43398 [non-C99-based standards] (hypotl): Likewise.
43399 [non-C99-based standards] (j0l): Likewise.
43400 [non-C99-based standards] (j1l): Likewise.
43401 [non-C99-based standards] (jnl): Likewise.
43402 [non-C99-based standards] (lgammal): Likewise.
43403 [non-C99-based standards] (tgammal): Likewise.
43404 [non-C99-based standards] (y0l): Likewise.
43405 [non-C99-based standards] (y1l): Likewise.
43406 [non-C99-based standards] (ynl): Likewise.
43407 [non-C99-based standards] (isnanl): Likewise.
43408 [non-C99-based standards] (acoshl): Likewise.
43409 [non-C99-based standards] (asinhl): Likewise.
43410 [non-C99-based standards] (atanhl): Likewise.
43411 [non-C99-based standards] (cbrtl): Likewise.
43412 [non-C99-based standards] (expm1l): Likewise.
43413 [non-C99-based standards] (ilogbl): Likewise.
43414 [non-C99-based standards] (log1pl): Likewise.
43415 [non-C99-based standards] (logbl): Likewise.
43416 [non-C99-based standards] (nextafterl): Likewise.
43417 [non-C99-based standards] (remainderl): Likewise.
43418 [non-C99-based standards] (rintl): Likewise.
43419 [non-C99-based standards] (scalbl): Likewise.
43420 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43421 [non-C99-based standards] (FP_*): Do not allow.
43422 [C99-based standards] (FP_*): Change to
43423 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43424 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43426 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43427 (SIG_ERR): Likewise.
43428 [X/Open-based standards] (SIG_HOLD): Likewise.
43429 (SIG_IGN): Likewise.
43430 (SIGABRT): Use macro-int-constant. Specify type. Require
43432 (SIGFPE): Likewise.
43433 (SIGILL): Likewise.
43434 (SIGINT): Likewise.
43435 (SIGSEGV): Likewise.
43436 (SIGTER): Likewise.
43437 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43438 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43439 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43440 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43441 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43442 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43443 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43444 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43445 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43446 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43447 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43448 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43449 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43450 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43451 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43452 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43453 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43454 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43455 [X/Open-based standards] (SIGTRAP): Likewise.
43456 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43457 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43458 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43459 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43460 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43463 2012-05-08 Ian Wienand <ianw@vmware.com>
43466 * time/tzset.c (__tzset_parse_tz): Update default rules for
43467 daylight time changes in the Energy Policy Act of 2005.
43469 2012-05-09 Andreas Jaeger <aj@suse.de>
43472 * elf/ldconfig.c (parse_conf): Change string to make clear that
43473 ldconfig only issued a warning if ld.so.conf does not exist.
43475 2012-05-08 David S. Miller <davem@davemloft.net>
43477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43478 movxtod instead of popping the value on the stack.
43480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43482 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43484 * config.h.in: Add HAVE_ARM_PCS_VFP.
43486 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
43489 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43490 checking but the checks are disabled for any reason.
43492 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43494 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43495 and ELF64_R_TYPE with ELFW(R_TYPE).
43497 2012-05-08 Joseph Myers <joseph@codesourcery.com>
43499 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43500 (ulimit): Likewise.
43502 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43503 (settimeofday): Likewise.
43505 2012-05-08 Mike Frysinger <vapier@gentoo.org>
43507 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43508 a struct th_u2 inside the union, and move tu_block/tu_code into
43509 a new th_u3 union of tu_block/tu_code inside of that. Move
43510 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43511 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43512 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43513 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43514 (th_stuff): Change to th_u1.tu_stuff.
43516 (th_msg): Change to th_u1.th_u2.tu_data.
43518 2012-05-07 David S. Miller <davem@davemloft.net>
43520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43523 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43524 (SETUP_PIC_REG): Use it.
43525 (SETUP_PIC_REG_LEAF): Use it.
43527 2012-05-07 Joseph Myers <joseph@codesourcery.com>
43531 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43533 (EXPL_FINITE): Likewise.
43534 (FLDLOG): Likewise.
43535 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43536 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43538 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43540 (EXPL_FINITE): Likewise.
43541 (FLDLOG): Likewise.
43542 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43543 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43545 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43546 test of -max_value argument for long double.
43547 * sysdeps/i386/fpu/libm-test-ulps: Update.
43548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43550 2012-05-06 David S. Miller <davem@davemloft.net>
43552 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43553 quad soft-float symbols whose references which are compiler
43555 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43557 2012-05-06 Joseph Myers <joseph@codesourcery.com>
43561 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43563 (EXPL_FINITE): Likewise.
43564 (FLDLOG): Likewise.
43567 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43568 Adjust comments for base varying.
43569 (__expl_finite): Change alias to EXPL_FINITE.
43570 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43572 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43573 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43574 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43575 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43576 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43578 (EXPL_FINITE): Likewise.
43579 (FLDLOG): Likewise.
43582 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43583 Adjust comments for base varying.
43584 (__expl_finite): Change alias to EXPL_FINITE.
43585 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43590 * math/libm-test.inc (check_float_internal): Correct ulp
43591 calculation for subnormal expected results.
43593 2012-05-06 Andreas Jaeger <aj@suse.de>
43595 * Makeconfig (+math-flags): New, set to -frounding-math.
43596 (+cflags): Add +math-flags so that all of glibc gets compiled with
43599 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43601 2012-05-05 Joseph Myers <joseph@codesourcery.com>
43603 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43609 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43610 (__ieee754_expl): Allow for and saturate large arguments.
43611 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43612 (u_threshold): Likewise.
43613 (__exp): Call __ieee754_exp before checking for overflow and
43615 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43616 (u_threshold): Likewise.
43617 (__expf): Call __ieee754_expf before checking for overflow and
43619 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43620 (u_threshold): Likewise.
43621 (__expl): Call __ieee754_expl before checking for overflow and
43623 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43624 (__ieee754_expl): Allow for and saturate large arguments.
43625 * math/libm-test.inc (exp_test): Add another test. Do not allow
43626 missing overflow exception on overflow.
43627 (expm1_test): Do not allow missing overflow exception on overflow.
43629 * sysdeps/i386/fpu/e_expl.c: Move to ...
43630 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43631 rather than using inline asm.
43632 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43633 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43634 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43636 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43639 (signal): Likewise.
43643 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43645 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43646 sysdeps/unix/common/syscalls.list.
43647 (fchmod): Likewise.
43648 (fchown): Likewise.
43649 (ftruncate): Likewise.
43650 (getrusage): Likewise.
43651 (gettimeofday): Likewise.
43652 (setpgid): Likewise.
43653 (setregid): Likewise.
43654 (setreuid): Likewise.
43655 (sigaction): Likewise.
43656 (truncate): Likewise.
43657 (vhangup): Likewise.
43658 * sysdeps/unix/common/syscalls.list: Remove file.
43659 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43660 * sysdeps/unix/sysv/linux/Implies: Likewise.
43662 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43664 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43666 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43670 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43673 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43676 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43679 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43682 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43685 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43688 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43692 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43696 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43699 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43703 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43707 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43709 * sysdeps/unix/common/bits/dirent.h: Remove file.
43710 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43712 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43713 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43714 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43715 * sysdeps/unix/bsd/isatty.c: Likewise.
43716 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43717 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43718 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43720 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43723 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43724 long double comparison inaccuracies.
43725 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43728 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43730 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43731 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43733 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43736 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43737 nonzero digits before rounding a hex value.
43738 * stdlib/tst-strtod.c (tests): Add another test.
43740 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43742 * sysdeps/s390/fpu/libm-test-ulps: Update.
43744 2012-05-03 Andreas Jaeger <aj@suse.de>
43746 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43747 does not get optimized out.
43748 (malloc_opt_barrier): New.
43750 2012-05-03 Andreas Jaeger <aj@suse.de>
43751 Roland McGrath <roland@hack.frob.com>
43753 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43754 intermediate file deletion.
43755 (generated): Add .symlist files.
43757 2012-05-03 Joseph Myers <joseph@codesourcery.com>
43760 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43761 Redirect under this condition.
43762 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43763 [__USE_GNU] (__dprintf_chk): Not under this condition.
43764 [__USE_GNU] (__vdprintf_chk): Likewise.
43765 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43766 under this condition.
43767 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43768 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43769 [__USE_XOPEN2K8] (vdprintf): Likewise.
43770 [__USE_GNU] (__dprintf_chk): Not under this condition.
43771 [__USE_GNU] (__vdprintf_chk): Likewise.
43772 [__USE_GNU] (dprintf): Likewise.
43773 [__USE_GNU] (vdprintf): Likewise.
43775 2012-05-03 Roland McGrath <roland@hack.frob.com>
43777 * elf/Makefile (common-generated): Set this instead of generated for
43778 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43779 $(all-built-dso)-derived lists.
43781 2012-05-03 Andreas Jaeger <aj@suse.de>
43783 * sysdeps/i386/fpu/libm-test-ulps: Update.
43786 * FAQ.in: Likewise.
43787 * scripts/gen-FAQ.pl: Likewise.
43788 * manual/install.texi (Installation): Point to online location of
43790 * Makefile (files-for-dist): Remove FAQ.
43793 2012-05-02 Allan McRae <allan@archlinux.org>
43795 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43796 (LDFLAGS-reldepmod5.so): Likewise.
43797 (LDFLAGS-reldep6mod1.so): Likewise.
43798 (LDFLAGS-reldep6mod4.so): Likewise.
43799 (LDFLAGS-reldep8mod3.so): Likewise.
43800 (LDFLAGS-unload4mod1.so): Likewise.
43801 (LDFLAGS-unload4mod2.so): Likewise.
43802 (LDFLAGS-tst-initorder): Likewise.
43803 (LDFLAGS-tst-initordera2.so): Likewise.
43804 (LDFLAGS-tst-initordera3.so): Likewise.
43805 (LDFLAGS-tst-initordera4.so): Likewise.
43806 (LDFLAGS-tst-initorderb2.so): Likewise.
43807 (LDFLAGS-noload): Likewise.
43808 (LDFLAGS-next): Likewise.
43809 (LDFLAGS-order2mod1.so): Likewise.
43810 (LDFLAGS-order2mod2.so): Likewise.
43811 (LDFLAGS-tst-initorder2): Likewise.
43812 (LDFLAGS-tst-initorder2a.so): Likewise.
43813 (LDFLAGS-tst-initorder2b.so): Likewise.
43814 (LDFLAGS-tst-initorder2c.so): Likewise.
43815 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43817 2012-05-02 David S. Miller <davem@davemloft.net>
43819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43821 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43824 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43826 2012-05-02 Andreas Jaeger <aj@suse.de>
43828 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43829 since we manipulate rounding mode.
43830 (CPPFLAGS-test-idouble.c): Likewise.
43831 (CPPFLAGS-test-ifloat.c): Likewise.
43832 (CFLAGS-test-ldouble.c): Likewise.
43833 (CFLAGS-test-double.c): Likewise.
43834 (CFLAGS-test-float.c): Likewise.
43835 (CFLAGS-test-misc.c): Likewise.
43836 (CFLAGS-test-test-fenv.c): Likewise.
43838 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43842 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43843 comparisons to determine direction to adjust input.
43845 2012-05-01 Roland McGrath <roland@hack.frob.com>
43847 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43848 output to the target.
43850 * scripts/localplt.awk: New file.
43851 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43852 (check-localplt-CFLAGS): Variable removed.
43853 ($(all-built-dso:=.jmprel)): New static pattern rule.
43854 (generated): Add those targets.
43855 (localplt-built-dso): New variable.
43856 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43858 * elf/check-localplt.c: File removed.
43860 * scripts/check-execstack.awk: New file.
43861 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43862 (check-execstack-CFLAGS): Variable removed.
43863 ($(objpfx)check-execstack.h): Target removed.
43864 ($(objpfx)execstack-default): New target.
43865 (generated): Add that instead of check-execstack.h.
43866 ($(all-built-dso:=.phdr)): New static pattern rule.
43867 (generated): Add those targets.
43868 * elf/check-execstack.c: File removed.
43870 * scripts/check-textrel.awk: New file.
43871 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43872 (check-textrel-CFLAGS): Variable removed.
43873 (all-built-dso): Use := to define.o
43874 ($(all-built-dso:=.dyn)): New static pattern rule.
43875 (generated): Add those targets.
43876 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43877 * config.make.in (READELF): New substituted variable.
43878 * elf/check-textrel.c: File removed.
43880 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43882 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43884 * conform/data/ctype.h-data [C99-based standards] (isblank):
43886 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43887 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43888 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43889 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43890 Specify type. Require positive value.
43891 (EILSEQ): Likewise.
43892 (ERANGE): Likewise.
43893 [ISO || POSIX] (EILSEQ): Do not expect.
43894 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43895 Specify type. Require positive value.
43896 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43897 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43898 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43899 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43900 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43901 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43902 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43903 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43904 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43905 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43906 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43907 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43908 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43909 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43910 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43911 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43912 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43913 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43914 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43915 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43916 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43917 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43918 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43919 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43920 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43921 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43922 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43923 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43924 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43925 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43926 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43927 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43928 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43929 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43930 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43931 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43932 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43933 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43934 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43935 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43936 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43937 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43938 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43939 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43940 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43941 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43942 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43943 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43944 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43945 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43946 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43947 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43948 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43949 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43950 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43951 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43952 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43953 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43954 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43955 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43956 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43957 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43958 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43959 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43960 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43961 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43962 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43963 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43964 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43965 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43966 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43967 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43968 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43969 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43970 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43971 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43972 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43974 (FLT_ROUNDS): Expect as macro, not constant.
43975 (FLT_MANT_DIG): Use macro-int-constant.
43976 (DBL_MANT_DIG): Likewise.
43977 (LDBL_MANT_DIG): Likewise.
43978 (FLT_DIG): Likewise.
43979 (DBL_DIG): Likewise.
43980 (LDBL_DIG): Likewise.
43981 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43982 (DBL_MIN_EXP): Likewise.
43983 (LDBL_MIN_EXP): Likewise.
43984 (FLT_MAX_EXP): Use macro-int-constant.
43985 (DBL_MAX_EXP): Likewise.
43986 (LDBL_MAX_EXP): Likewise.
43987 (FLT_MAX_10_EXP): Likewise.
43988 (DBL_MAX_10_EXP): Likewise.
43989 (LDBL_MAX_10_EXP): Likewise.
43990 (FLT_MAX): Use macro-constant.
43991 (DBL_MAX): Likewise.
43992 (LDBL_MAX): Likewise.
43993 (FLT_EPSILON): Use macro-constant. Give upper bound.
43994 (DBL_EPSILON): Likewise.
43995 (LDBL_EPSILON): Likewise.
43996 (FLT_MIN): Likewise.
43997 (DBL_MIN): Likewise.
43998 (LDBL_MIN): Likewise.
43999 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44000 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44001 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44002 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44003 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44004 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44005 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44006 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44007 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44008 [ISO11] (FLT_TRUE_MIN): Likewise.
44009 [ISO11] (LDBL_TRUE_MIN): Likewise.
44010 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44011 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44012 (SCHAR_MIN): Use macro-int-constant. Specify type.
44013 (SCHAR_MAX): Likewise.
44014 (UCHAR_MAX): Likewise.
44015 (CHAR_MIN): Likewise.
44016 (CHAR_MAX): Likewise.
44017 (MB_LEN_MAX): Use macro-int-constant.
44018 (SHRT_MIN): Use macro-int-constant. Specify type.
44019 (SHRT_MAX): Likewise.
44020 (USHRT_MAX): Likewise.
44021 (INT_MAX): Likewise.
44022 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44024 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44026 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44028 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44029 bound negative. Suffix upper bound with "L".
44030 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44032 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44034 [C99-based standards] (LLONG_MAX): Likewise.
44035 [C99-based standards] (ULLONG_MAX): Likewise.
44036 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44038 [ISO11] (max_align_t): Require type.
44039 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44041 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44042 from $CFLAGS, without defining away __attribute__ calls.
44043 (checknamespace): Use $CFLAGS_namespace.
44045 * conform/conformtest.pl (@keywords): Only include C99 keywords
44046 for standards based on C99 or C11.
44048 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44050 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44053 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44054 usability of symbols in #if.
44056 * conform/conformtest.pl: If macro or constant types start
44057 "promoted:", expect the symbol to be of the following type
44058 promoted by the integer promotions.
44060 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44061 in one place. Also handle "macro-constant".
44063 * conform/conformtest.pl: Only accept expected macro values with
44064 "==". Parse all "macro" lines in one place.
44065 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44067 * conform/conformtest.pl: Handle braced types on "constant" lines
44068 instead of handling "typed-constant".
44069 * conform/data/signal.h-data: Use "constant" instead of
44072 * conform/conformtest.pl: Handle "optional-" at start of lines in
44073 one place rather than duplicating several cases. Handle each
44074 format of "macro" line with initial "optional-".
44076 * conform/conformtest.pl: Only accept expected constant or
44077 optional-constant values with "==". Parse all "constant" lines in
44078 one place. Parse all "optional-constant" lines in one place.
44079 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44080 * conform/data/fmtmsg.h-data: Likewise.
44081 * conform/data/netinet/in.h-data: Likewise.
44082 * conform/data/tar.h-data: Likewise.
44083 * conform/data/limits.h-data: Use "==" form on "constant" and
44084 "optional-constant" lines.
44086 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44087 Use -std=c99 for XOPEN2K.
44088 (@knownproblems): Remove.
44089 (newtoken): Don't check %isknown.
44091 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44092 Do not expect macro.
44093 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44094 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44095 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44096 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44097 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44098 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44099 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44100 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44101 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44102 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44103 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44104 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44105 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44106 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44107 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44108 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44109 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44110 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44111 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44112 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44113 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44114 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44115 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44116 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44117 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44118 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44119 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44120 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44121 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44122 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44123 [XPG3] (acosh): Likewise.
44124 [XPG3] (asinh): Likewise.
44125 [XPG3] (atanh): Likewise.
44126 [XPG3] (cbrt): Likewise.
44127 [XPG3] (expm1): Likewise.
44128 [XPG3] (ilogb): Likewise.
44129 [XPG3] (log1p): Likewise.
44130 [XPG3] (logb): Likewise.
44131 [XPG3] (nextafter): Likewise.
44132 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44133 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44134 [XPG3] (remainder): Likewise.
44135 [XPG3] (rint): Likewise.
44136 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44137 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44138 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44143 [UNIX98 || XOPEN2K] (scalb): Expect.
44144 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44145 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44149 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44150 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44155 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44156 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44157 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44158 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44159 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44160 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44161 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44162 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44163 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44164 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44165 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44166 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44167 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44168 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44169 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44170 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44171 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44172 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44173 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44174 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44175 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44176 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44177 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44178 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44179 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44180 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44181 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44182 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44183 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44184 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44185 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44186 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44187 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44188 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44189 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44190 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44191 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44192 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44193 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44194 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44195 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44196 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44197 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44198 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44199 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44200 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44201 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44202 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44203 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44204 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44205 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44208 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44209 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44214 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44215 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44217 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44218 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44219 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44222 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44223 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44224 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44225 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44226 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44227 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44228 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44229 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44230 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44231 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44232 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44233 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44234 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44235 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44236 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44237 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44238 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44239 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44240 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44241 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44242 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44243 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44244 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44245 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44246 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44247 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44248 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44249 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44250 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44251 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44252 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44253 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44254 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44255 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44256 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44257 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44258 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44259 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44260 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44261 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44262 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44263 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44264 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44265 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44266 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44267 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44268 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44269 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44270 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44271 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44272 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44273 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44274 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44275 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44276 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44277 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44278 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44279 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44280 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44282 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44283 _XOPEN_SOURCE_EXTENDED for XPG4.
44285 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44287 * Makeconfig (localtime): Remove variable.
44288 (inst_localtime-file): Likewise.
44290 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44311 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44315 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44316 comparisons to determine direction to adjust input.
44317 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44318 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44319 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44323 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44325 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44326 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44328 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44330 * math/libm-test.inc (nexttoward_test): Add more tests.
44332 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44335 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44336 in version GLIBC_2.1, not GLIBC_2.0.
44337 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44340 2012-04-30 Joseph Myers <joseph@codesourcery.com>
44343 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44345 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44346 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44347 * math/libm-test.inc (acos_test): Add more tests.
44348 (asin_test): Likewise.
44349 * sysdeps/i386/fpu/libm-test-ulps: Update.
44350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44353 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44355 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44356 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44357 * math/libm-test.inc (acos_test_tonearest): New function.
44358 (acos_test_towardzero): Likewise.
44359 (acos_test_downward): Likewise.
44360 (acos_test_upward): Likewise.
44361 (asin_test_tonearest): Likewise.
44362 (asin_test_towardzero): Likewise.
44363 (asin_test_downward): Likewise.
44364 (asin_test_upward): Likewise.
44365 (main): Call the new functions.
44366 * sysdeps/i386/fpu/libm-test-ulps: Update.
44367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44371 * math/e_exp10.c: Include <float.h>.
44372 (__ieee754_exp10): Handle underflow here rather than multiplying
44373 large negative argument by M_LN10.
44374 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44376 * math/e_exp10l.c: Include <float.h>.
44377 (__ieee754_exp10l): Handle underflow here rather than multiplying
44378 large negative argument by M_LN10l.
44379 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44380 spurious overflow exception on underflow.
44382 2012-04-29 Marek Polacek <polacek@redhat.com>
44384 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44385 (__fortify_function): New macro.
44386 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44387 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44388 __extern_always_inline.
44389 * libio/bits/stdio2.h: Likewise.
44390 * libio/bits/stdio.h: Likewise.
44391 * string/string.h: Likewise.
44392 * string/bits/string3.h: Likewise.
44393 * include/stdio.h: Likewise.
44394 * stdlib/bits/stdlib.h: Likewise.
44395 * stdlib/stdlib.h: Likewise.
44396 * rt/bits/mqueue2.h: Likewise.
44397 * rt/mqueue.h: Likewise.
44398 * posix/bits/unistd.h: Likewise.
44399 * posix/unistd.h: Likewise.
44400 * io/bits/poll2.h: Likewise.
44401 * io/bits/fcntl2.h: Likewise.
44402 * io/fcntl.h: Likewise.
44403 * io/sys/poll.h: Likewise.
44404 * misc/bits/syslog.h: Likewise.
44405 * misc/bits/syslog-ldbl.h: Likewise.
44406 * misc/sys/syslog.h: Likewise.
44407 * socket/bits/socket2.h: Likewise.
44408 * socket/sys/socket.h: Likewise.
44409 * debug/tst-chk1.c: Likewise.
44410 * wcsmbs/bits/wchar2.h: Likewise.
44411 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44412 * wcsmbs/wchar.h: Likewise.
44414 2012-04-29 Andreas Jaeger <aj@suse.de>
44416 * Makerules (tests): Remove enable-check-abi protection.
44417 (check-abi-warn): Remove.
44418 (check-abi-%): Remove check-abi-warn usage.
44420 * configure.in: Remove check-abi configure option.
44421 * configure: Regenerated.
44422 * config.make.in (enable-check-abi): Remove.
44424 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44427 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44428 double functions to double *_finite functions.
44431 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44432 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44434 * stdio-common/Makefile (tests): Add tst-sprintf3.
44435 * stdio-common/tst-sprintf3.c: New file.
44437 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44438 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44440 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44442 * conform/conformtest.pl: Remove duplicate typed-constant
44445 2012-04-28 David S. Miller <davem@davemloft.net>
44447 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44448 (check-abi-%): Remove AWK script prerequisite and explicit
44450 (check-abi): Rewrite to just diff the symlist with the abilist.
44451 (config-tls, config-abi-config): Delete, no longer used.
44452 (update-abi-%): Remove AWK script and explicit abilist directory.
44453 (update-abi): Rewrite to simply compare and conditionally copy the
44454 symlist and the sysdep abilist file. Remove update-abi-config
44456 * abilist/ld.abilist: Remove.
44457 * abilist/libBrokenLocale.abilist: Remove.
44458 * abilist/libanl.abilist: Remove.
44459 * abilist/libcrypt.abilist: Remove.
44460 * abilist/libdl.abilist: Remove.
44461 * abilist/librt.abilist: Remove.
44462 * abilist/libthread_db.abilist: Remove.
44463 * abilist/libutil.abilist: Remove.
44464 * scripts/extract-abilist.awk: Remove.
44465 * scripts/merge-abilist.awk: Remove.
44466 * sysdeps/generic/libcidn.abilist: New file.
44467 * sysdeps/generic/libnss_compat.abilist: New file.
44468 * sysdeps/generic/libnss_db.abilist: New file.
44469 * sysdeps/generic/libnss_dns.abilist: New file.
44470 * sysdeps/generic/libnss_files.abilist: New file.
44471 * sysdeps/generic/libnss_hesiod.abilist: New file.
44472 * sysdeps/generic/libnss_nis.abilist: New file.
44473 * sysdeps/generic/libnss_nisplus.abilist: New file.
44474 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44475 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44476 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44478 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44479 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44480 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44481 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44482 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44483 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44484 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44485 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44486 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44488 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44489 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44490 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44491 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44493 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44494 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44495 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44496 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44497 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44498 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44500 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44501 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44502 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44504 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44607 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44608 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44609 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44612 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44613 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44614 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44615 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44616 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44617 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44618 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44619 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44620 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44672 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44674 * conform/conformtest.pl: Fix typo in handling typed-constant from
44677 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44679 * README: Cut down references to pre-2.6 Linux kernels and
44680 Linuxthreads. Update lists of configurations in libc and ports
44681 and sort alphabetically. Say "or newer" with Linux kernel version
44684 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44686 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44689 * math/libm-test.inc (logb_test_downward): New test to expose
44690 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44693 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44696 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44698 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44699 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44701 2012-04-26 Joseph Myers <joseph@codesourcery.com>
44703 * sysdeps/unix/i386/brk.S: Remove file.
44704 * sysdeps/unix/i386/dl-brk.S: Likewise.
44705 * sysdeps/unix/i386/pipe.S: Likewise.
44706 * sysdeps/unix/i386/sigreturn.S: Likewise.
44707 * sysdeps/unix/i386/syscall.S: Likewise.
44708 * sysdeps/unix/i386/vfork.S: Likewise.
44709 * sysdeps/unix/i386/wait.S: Likewise.
44711 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44712 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44714 * configure.in (arm*-none*): Do not allow without
44715 --enable-hacker-mode.
44716 (netbsd*): Remove case setting base_os.
44717 (386bsd*): Likewise.
44718 (freebsd*): Likewise.
44721 (sunos*): Likewise.
44722 (ultrix*): Likewise.
44723 (newsos*): Likewise.
44724 (dynix*): Likewise.
44730 (minix*): Likewise.
44731 (irix4*): Likewise.
44732 (irix6*): Likewise.
44733 (solaris[2-9]*): Likewise.
44735 * configure: Regenerated.
44737 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44740 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44741 overflow or cancellation in calculating denominator.
44742 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44743 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44744 down expression to avoid unexpected rounding in newer GCCs.
44745 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44747 2012-04-26 David S. Miller <davem@davemloft.net>
44749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44750 long-double compat symbols.
44751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44765 2012-04-25 David S. Miller <davem@davemloft.net>
44767 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44768 HWCAP_* values only after the memory barriers have been defined.
44769 (atomic_full_barrier): Define.
44770 (atomic_read_barrier): Define.
44771 (atomic_write_barrier): Define.
44773 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44775 * shlib-versions: Add libgcc_s version information.
44776 * sysdeps/generic/libgcc_s.h: Remove.
44777 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44779 * sysdeps/gnu/unwind-resume.c: Likewise.
44780 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44782 2012-04-25 David S. Miller <davem@davemloft.net>
44784 * sysdeps/unix/sparc/brk.S: Delete.
44785 * sysdeps/unix/sparc/dl-brk.S: Delete.
44786 * sysdeps/unix/sparc/pipe.S: Delete.
44787 * sysdeps/unix/sparc/sysdep.S: Delete.
44788 * sysdeps/unix/sparc/sysdep.h: Delete.
44789 * sysdeps/unix/sparc/vfork.S: Delete.
44790 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44791 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44792 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44793 (ret_ERRVAL, r0, r1, MOVE): Define.
44794 (JUMPTARGET): Remove.
44795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44796 sysdeps/unix/sparc/sysdep.h
44797 (ENTRY, END): Remove.
44798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44800 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44802 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44803 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44806 * timezone/README: Update upstream location and email address for
44808 * timezone/zdump.c: Update from tzcode 2012b.
44809 * timezone/zic.c: Likewise.
44811 * configure.in (libc_cv_as_needed): Remove test.
44812 * configure: Regenerated.
44813 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44814 conditional definition.
44815 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44816 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44817 * config.make.in (have-as-needed): Remove variable.
44819 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44820 Paul Pluzhnikov <ppluzhnikov@google.com>
44822 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44825 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44827 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44828 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44829 * sysdeps/sh/strlen.S: Likewise.
44831 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44833 * sysdeps/unix/fork.S: Remove file.
44834 * sysdeps/unix/i386/fork.S: Likewise.
44835 * sysdeps/unix/sparc/fork.S: Likewise.
44837 * sysdeps/unix/system.c: Remove file.
44838 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44840 * sysdeps/unix/getegid.S: Remove file.
44841 * sysdeps/unix/geteuid.S: Likewise.
44843 2012-04-24 Roland McGrath <roland@hack.frob.com>
44845 * scripts/check-localplt.awk: New file.
44846 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44848 * scripts/data/localplt-generic.data: Add a comment.
44850 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44851 NODE when __dir_mkfile failed.
44852 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44853 Reported by Ludovic Courtès <ludo@gnu.org>.
44855 2012-04-24 Andreas Jaeger <aj@suse.de>
44857 * Makerules (common-clean): Also remove gen-as-const-headers
44860 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44862 * Makerules (native-compile): Do not change working directory for
44863 build. Use $(OUTPUT_OPTION) in command.
44864 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44866 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44869 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44870 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44871 * math/libm-test.inc (floor_test): Add more tests.
44872 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44874 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44876 * sysdeps/unix/getdents.c: Remove file.
44877 * sysdeps/unix/sysv/getdents.c: Likewise.
44878 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44880 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44881 sysdeps/unix/mman/syscalls.list.
44883 (mprotect): Likewise.
44885 (munmap): Likewise.
44886 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44887 * sysdeps/unix/mman/syscalls.list: Remove.
44888 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44890 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44891 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44892 * configure: Regenerated.
44893 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44894 $(libgcc_s_suffix).
44895 * config.make.in (libgcc_s_suffix): Remove variable.
44897 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44899 * sysdeps/unix/sysv/gethostname.c: Move to ...
44900 * sysdeps/posix/gethostname.c: ... here.
44902 * sysdeps/unix/execve.S: Remove file.
44904 * sysdeps/unix/_exit.S: Remove file.
44906 2012-04-23 Andreas Jaeger <aj@suse.de>
44909 * manual/Makefile: Remove make dist support, there's no
44910 need for a stand-alone documentation tar ball.
44911 (TEXI2DVI): Define always, it's not in Makeconfig.
44914 (edition): Removed.
44915 (glibc-doc-$(edition).tar): Removed
44919 (ETAGS): Remove, it's in Makeconfig.
44920 (move-if-change): Remove, it's in Makeconfig.
44922 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44925 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44926 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44927 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44928 (strtod_l, strtof_l, strtold_l): Remove __wur.
44929 It is not necessarily an error to ignore strtol's return value.
44930 One can reliably look at the stored endptr to decide whether
44931 the number had valid syntax.
44933 2012-04-21 Andreas Jaeger <aj@suse.de>
44936 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44938 2012-04-21 Joseph Myers <joseph@codesourcery.com>
44940 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44941 * sysdeps/unix/sysv/Versions: Remove file.
44943 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44948 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
44951 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44952 version from __vm86.
44954 2012-04-20 Joseph Myers <joseph@codesourcery.com>
44956 * sysdeps/unix/common/lxstat.c: Remove file.
44957 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44959 * sysdeps/unix/sysv/Makefile: Remove file.
44961 * sysdeps/unix/sysv/direct.h: Remove file.
44963 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44964 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44965 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44966 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44967 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44968 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44969 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44971 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44973 * sysdeps/unix/xmknod.c: Remove file.
44974 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44976 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44978 * sysdeps/unix/sysv/i386/time.S: Remove file.
44980 * sysdeps/unix/fxstat.c: Remove file.
44981 * sysdeps/unix/xstat.c: Likewise.
44982 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44984 * sysdeps/unix/sysv/sigaction.c: Remove file.
44986 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44987 (sysdep_headers): Remove variable.
44988 [termio.h not in sysdep_headers] (generated): Likewise.
44989 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44990 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44991 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44992 * sysdeps/unix/sysv/tcflow.c: Likewise.
44993 * sysdeps/unix/sysv/tcflush.c: Likewise.
44994 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44995 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44996 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44997 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44998 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45000 * sysdeps/unix/siglist.c: Remove file.
45002 * sysdeps/unix/getppid.S: Remove file.
45004 * sysdeps/unix/mkdir.c: Remove file.
45005 * sysdeps/unix/rmdir.c: Likewise.
45007 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45009 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45011 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45012 errlist-compat value.
45014 2012-04-18 David S. Miller <davem@davemloft.net>
45016 * sysdeps/generic/memcopy.h (reg_char): Delete.
45017 * debug/strcat_chk.c: Use char, not reg_char.
45018 * debug/strcpy_chk.c: Likewise.
45019 * debug/strncat_chk.c: Likewise.
45020 * debug/strncpy_chk.c: Likewise.
45021 * string/memchr.c: Likewise.
45022 * string/memrchr.c: Likewise.
45023 * string/rawmemchr.c: Likewise.
45024 * string/strcat.c: Likewise.
45025 * string/strchr.c: Likewise.
45026 * string/strchrnul.c: Likewise.
45027 * string/strcmp.c: Likewise.
45028 * string/strcpy.c: Likewise.
45029 * string/strncat.c: Likewise.
45030 * string/strncmp.c: Likewise.
45031 * string/strncpy.c: Likewise.
45033 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45035 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45036 __builtin_memcopy is called when src and dest ranges are known to not
45039 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45041 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45042 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45043 fwd_align_merge macro call.
45044 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45045 bwd_align_merge macro call.
45046 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45048 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45050 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45051 bwd_align_merge macros.
45052 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45053 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45054 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45056 2012-04-18 David S. Miller <davem@davemloft.net>
45058 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45060 2012-04-18 Andreas Jaeger <aj@suse.de>
45063 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45064 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45065 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45067 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45068 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45069 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45071 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45072 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45073 Adjust for changed ldbl-128 files.
45075 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45076 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45077 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45079 2012-04-17 David S. Miller <davem@davemloft.net>
45081 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45083 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45085 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45086 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45087 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45088 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45089 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45090 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45092 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45095 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45096 * math/libm-test.inc: Add ilogb errno and exception tests.
45097 * math/w_ilogb.c: New file: ilogb wrapper.
45098 * math/w_ilogbf.c: New file: ilogbf wrapper.
45099 * math/w_ilogbl.c: New file: ilogbl wrapper.
45100 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45101 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45102 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45103 exception being thrown with 0.0 as argument.
45104 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45105 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45106 exception being thrown with 0.0 as argument.
45107 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45108 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45109 exception being thrown with 0.0 as argument.
45110 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45111 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45112 exception being thrown with 0.0 as argument.
45113 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45114 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45115 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45116 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45117 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45118 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45119 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45120 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45121 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45123 2012-04-17 Petr Baudis <pasky@ucw.cz>
45125 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45128 2012-04-16 Marek Polacek <polacek@redhat.com>
45130 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45132 2012-04-16 Marek Polacek <polacek@redhat.com>
45134 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45135 operands of fdivp instruction.
45137 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45139 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45140 * elf/tst-auditmod3b.c: Likewise.
45141 * elf/tst-auditmod4b.c: Likewise.
45142 * elf/tst-auditmod5b.c: Likewise.
45143 * elf/tst-auditmod6b.c: Likewise.
45144 * elf/tst-auditmod6c.c: Likewise.
45145 * elf/tst-auditmod7b.c: Likewise.
45146 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45147 * sysdeps/x86_64/preconfigure.in: Likewise.
45148 * sysdeps/x86_64/preconfigure: Regenerated.
45150 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45152 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45155 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45157 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45158 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45160 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45163 * locale/iso-639.def: Fix gl language name. Spotted by
45166 2012-04-12 Roland McGrath <roland@hack.frob.com>
45169 * libio/libio.h (__io_write_fn): Update comment.
45171 2012-04-12 Petr Baudis <pasky@ucw.cz>
45174 * stdio.texi (Hook Functions): The user provided writer function
45175 is not allowed to return -1.
45177 2012-04-11 David S. Miller <davem@davemloft.net>
45179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45181 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45183 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45184 Add a leading slash to rtkaio.
45186 2012-04-11 Jim Meyering <meyering@redhat.com>
45189 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45190 It is not necessarily an error to ignore fwrite's return
45191 value. One can reliably use ferror to test for errors after
45194 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45196 * bits/types.h (__snseconds_t): New type.
45197 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45199 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45201 (__SNSECONDS_T_TYPE): Likewise.
45202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45203 (__SNSECONDS_T_TYPE): Likewise.
45204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45205 (__SNSECONDS_T_TYPE): Likewise.
45207 2012-04-10 Andreas Jaeger <aj@suse.de>
45210 * manual/time.texi (Processor Time): Return type of times is
45211 elapsed real time since an arbitrary point in the past.
45212 (CPU Time): Move CLK_TCK from here...
45213 (Processor Time): ...to here. Correct description.
45214 * manual/conf.texi (Constants for Sysconf): Correct description of
45217 2012-04-10 David S. Miller <davem@davemloft.net>
45220 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45221 where the is a gap between DT_REL(A) and DT_JMPREL.
45223 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45225 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45226 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45227 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45229 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45231 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45232 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45233 (dl_main): Handle --inhibit-cache.
45234 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45236 * elf/dl-load.c (_dl_map_object): Use it.
45237 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45239 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45242 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45243 (__ieee754_powl): Saturate large exponents rather than testing for
45244 overflow of y*log2(x).
45245 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45246 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45250 * math/s_ctan.c: Include <float.h>.
45251 (__ctan): Avoid internal overflow or cancellation in calculating
45253 * math/s_ctanf.c: Likewise.
45254 * math/s_ctanl.c: Likewise.
45255 * math/s_ctanh.c: Likewise.
45256 * math/s_ctanhf.c: Likewise.
45257 * math/s_ctanhl.c: Likewise.
45258 * math/libm-test.inc (ctan_test): Add more tests.
45259 (ctanh_test): Likewise.
45260 * sysdeps/i386/fpu/libm-test-ulps: Update.
45261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45263 2012-04-09 Andreas Jaeger <aj@suse.de>
45266 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45267 is an optional BSD extension.
45270 * manual/stdio.texi (Opening Streams): Document additional fopen
45273 2012-04-09 Roland McGrath <roland@hack.frob.com>
45275 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45276 %eax without telling the compiler.
45278 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45281 * manual/install.texi: Use sourceware.org.
45283 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45286 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45287 (__ieee754_pow): Generate overflow and underflow using huge*huge
45288 and tiny*tiny rather than just returning constant infinity or zero
45289 for large exponents.
45290 * math/libm-test.inc (pow_test): Require overflow exceptions for
45291 applicable cases of large exponents.
45294 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45295 (__ieee754_pow): Use iterative multiplication algorithm only for
45296 integer exponents with absolute value below 1024. Check for odd
45297 integer exponents when using algorithm for real exponents.
45298 * math/libm-test.inc (pow_test): Add more tests.
45299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45301 2012-04-08 Joseph Myers <joseph@codesourcery.com>
45304 * math/libm-test.inc (exp_test): Do not allow overflow exception
45307 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45310 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45311 instead of __kernel_standard_f.
45313 2012-04-08 Mike Frysinger <vapier@gentoo.org>
45315 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45316 * sysdeps/x86_64/memset_chk.S: Likewise.
45318 2012-04-08 Andreas Jaeger <aj@suse.de>
45321 * manual/startup.texi (Environment Access): Describe return value
45322 for putenv and setenv.
45325 * manual/filesys.texi (Directory Entries): Add description for
45329 * manual/filesys.texi (Directory Entries): Clarify that it's file
45330 system not operating system in the description of DT_UNKNOWN.
45333 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45335 2012-04-08 Stephen Compall <s11@member.fsf.org>
45338 * manual/llio.texi (Opening and Closing Files): Add cross
45339 reference to explain mode argument.
45341 2012-04-07 Mike Frysinger <vapier@gentoo.org>
45343 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45344 * sysdeps/x86_64/memset_chk.S: Likewise.
45346 2012-04-07 David S. Miller <davem@davemloft.net>
45348 * elf/elf.h (R_SPARC_WDISP10): Define.
45349 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45351 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45352 R_SPARC_SIZE64 and R_SPARC_H34.
45354 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45356 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45357 conditions and remove no longer applicable assertion.
45359 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45361 * bits/byteswap.h: Include <features.h>.
45362 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45363 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45365 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45367 * bits/byteswap.h (__bswap_16): Removed.
45368 Include <bits/byteswap-16.h> to get __bswap_16.
45369 * sysdeps/i386/bits/byteswap.h: Likewise.
45370 * sysdeps/s390/bits/byteswap.h: Likewise.
45371 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45372 * bits/byteswap-16.h: New file.
45373 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45374 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45375 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45376 * string/Makefile (headers): Add bits/byteswap-16.h.
45378 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45381 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45383 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45384 * nss/tst-nss-static.c: New.
45386 2012-04-06 Robert Millan <rmh@gnu.org>
45389 * manual/llio.texi (File Position Primitive): lseek
45390 refers to WHENCE when it really means OFFSET.
45392 2012-04-06 Andreas Jaeger <aj@suse.de>
45394 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45395 strncmp declarations.
45397 * abilist/libc.abilist: Add __poll and __ppoll.
45399 2012-04-05 David S. Miller <davem@davemloft.net>
45401 * scripts/check-local-headers.sh: Accept a host triplet in the
45402 path matched by the exclude regexp.
45404 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45406 * sysdeps/powerpc/powerpc32/dl-machine.h
45407 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45408 * sysdeps/s390/s390-32/dl-machine.h
45409 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45410 * sysdeps/sparc/sparc32/dl-machine.h
45411 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45412 * sysdeps/sparc/sparc64/dl-machine.h
45413 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45415 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45417 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45418 undefined symbol errors.
45420 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45423 2012-04-05 Michael Matz <matz@suse.de>
45426 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45428 2012-04-05 Andreas Jaeger <aj@suse.de>
45431 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45434 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45436 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45437 which ROUND is no valid rounding mode.
45439 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45441 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45443 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45445 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45447 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45448 an exception using FPU order intentionally.
45450 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45452 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45453 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45454 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45455 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45457 2012-04-05 Simon Josefsson <simon@josefsson.org>
45460 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45461 EINVAL when BUFLEN is too smal.
45463 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45466 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45467 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45469 2012-04-03 Andreas Jaeger <aj@suse.de>
45472 * manual/setjmp.texi (System V contexts): Fix sentence.
45475 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45476 New macro for this case.
45477 [!__GNUC__] (__bswap_64): New inline function for this case.
45478 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45479 * bits/byteswap.h: Likewise.
45480 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45481 ull, guard with __GLIBC_HAVE_LONG_LONG.
45483 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45484 __GLIBC_HAVE_LONG_LONG.
45486 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45487 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45489 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45492 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45493 inptr and inend, rather than using last_ch.
45495 2012-04-02 David S. Miller <davem@davemloft.net>
45497 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45498 * stdio-common/printf-parse.h (read_int): Change return type to
45499 'int', return -1 on INT_MAX overflow.
45500 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45501 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45502 overflows INT_MAX. Check for overflow of in-format-string precision
45503 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45504 SIZE_MAX not INT_MAX for integer overflow test.
45505 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45506 skip the construct in the format string but do not record anything.
45507 * stdio-common/bug22.c: Adjust to test both width/prevision
45508 INT_MAX overflow as well as total length INT_MAX overflow. Check
45509 explicitly for proper errno values.
45511 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45513 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45515 * string/test-strcmp.c [! WIDE]: Likewise.
45516 * time/tst-mktime2.c: Likewise for INT_MAX.
45517 * string/test-string.h: #include <sys/param.h> for MIN.
45519 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45520 * sysdeps/i386/init-first.c (init): Likewise.
45521 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45522 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45523 * sysdeps/sh/init-first.c (init): Likewise.
45525 2012-04-01 Ulrich Drepper <drepper@gmail.com>
45527 * po/ru.po: Update from translation team.
45528 * po/vi.po: Likewise.
45530 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45532 * resolv/nss_dns/dns-host.c: Merge copyright years.
45534 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45537 Optimize memcpy with prefetch if
45538 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45539 src, dst pointers have unequal 16 byte alignments.
45541 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45544 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45545 from a CNAME entry and return the minimum ttl for the query.
45546 (gaih_getanswer_slice): Likewise.
45548 2012-03-30 Jeff Law <law@redhat.com>
45550 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45552 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45553 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45555 * resolv/nss_dns/dns-host.c: Update copyright year.
45557 2012-03-30 Ulrich Drepper <drepper@gmail.com>
45559 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45560 requests to save a system call. Fix check that all bytes are sent.
45562 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45563 comments for sendmmsg.
45565 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45568 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45569 with only 1 character between 0x0041 and 0x01b0.
45570 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45571 * wcsmbs/tst-mbsnrtowcs.c: New file.
45573 2012-03-29 David S. Miller <davem@davemloft.net>
45575 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45576 small copies by hand.
45578 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45581 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45582 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45585 2012-03-28 David S. Miller <davem@davemloft.net>
45587 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45588 that branches into memcpy.
45589 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45590 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45591 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45592 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45593 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45595 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45596 implementation too.
45597 * sysdeps/sparc/mempcpy.S: New file.
45599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45600 the IFUNC routine in the libc case.
45601 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45603 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45604 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45605 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45606 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45607 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45608 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45609 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45610 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45612 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45613 loop to 256 bytes instead of 64 bytes and fix test signedness.
45615 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45616 * sysdeps/sparc/sparc32/Makefile: rather than here...
45617 * sysdeps/sparc/sparc64/Makefile: and here.
45619 2012-03-28 Ulrich Drepper <drepper@gmail.com>
45621 * malloc/mallocbug.c: Avoid warnings about unused variables.
45623 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45626 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45627 in the right place. Discard and retry query if response is
45628 larger than input buffer size.
45630 2012-03-28 Joseph Myers <joseph@codesourcery.com>
45635 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45636 x for large integer exponent.
45637 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45638 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45639 sign of result as needed afterwards.
45640 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45641 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45642 result for underflowing pow the same as for overflow.
45643 (__kernel_standard_l): Handle powl overflow and underflow here
45644 rather than calling __kernel_standard.
45645 * math/libm-test.inc (pow_test): Add more tests.
45660 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45661 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45662 (__kernel_standard_l): New function.
45663 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45665 * math/w_acosl.c (__acosl): Likewise.
45666 * math/w_asinl.c (__asinl): Likewise.
45667 * math/w_atan2l.c (__atan2l): Likewise.
45668 * math/w_atanhl.c (__atanhl): Likewise.
45669 * math/w_coshl.c (__coshl): Likewise.
45670 * math/w_exp10l.c (__exp10l): Likewise.
45671 * math/w_exp2l.c (__exp2l): Likewise.
45672 * math/w_fmodl.c (__fmodl): Likewise.
45673 * math/w_hypotl.c (__hypotl): Likewise.
45674 * math/w_j0l.c (__j0l, __y0l): Likewise.
45675 * math/w_j1l.c (__j1l, __y1l): Likewise.
45676 * math/w_jnl.c (__jnl, __ynl): Likewise.
45677 * math/w_lgammal.c (__lgammal): Likewise.
45678 * math/w_log10l.c (__log10l): Likewise.
45679 * math/w_log2l.c (__log2l): Likewise.
45680 * math/w_logl.c (__logl): Likewise.
45681 * math/w_powl.c (__powl): Likewise.
45682 * math/w_remainderl.c (__remainderl): Likewise.
45683 * math/w_scalbl.c (sysv_scalbl): Likewise.
45684 * math/w_sinhl.c (__sinhl): Likewise.
45685 * math/w_sqrtl.c (__sqrtl): Likewise.
45686 * math/w_tgammal.c (__tgammal): Likewise.
45687 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45688 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45689 * math/libm-test.inc (acos_test): Add more tests.
45690 (acosh_test): Likewise.
45691 (asin_test): Likewise.
45692 (atanh_test): Likewise.
45693 (exp_test): Likewise.
45694 (exp10_test): Likewise.
45695 (exp2_test): Likewise.
45696 (expm1_test): Likewise.
45697 (lgamma_test): Likewise.
45698 (log_test): Likewise.
45699 (log10_test): Likewise.
45700 (log1p_test): Likewise.
45701 (log2_test): Likewise.
45702 (pow_test): Do not allow some spurious overflow exceptions.
45703 (sqrt_test): Add more tests.
45704 (tgamma_test): Likewise.
45705 (y0_test): Likewise.
45706 (y1_test): Likewise.
45707 (yn_test): Likewise.
45709 2012-03-27 Anton Blanchard <anton@samba.org>
45711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45713 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45714 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45715 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45717 2012-03-27 David S. Miller <davem@davemloft.net>
45719 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45721 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45722 have-as-vis3 check.
45724 2012-03-27 Andreas Jaeger <aj@suse.de>
45726 * sysdeps/x86_64/elf/configure.in: Moved to ...
45727 * sysdeps/x86_64/configure.in: ... here.
45728 * sysdeps/x86_64/elf/start.S: Moved to ...
45729 * sysdeps/x86_64/start.S: ... here.
45730 * sysdeps/x86_64/elf/configure: Delete.
45732 * sysdeps/x86_64/configure.in: Merge contents from
45733 sysdeps/i386/configure.in (without i686 check).
45735 * sysdeps/i386/elf/Versions: Merge into ...
45736 * sysdeps/i386/Versions: ... this.
45737 * sysdeps/i386/elf/Versions: Delete file.
45738 * sysdeps/i386/elf/start.S: Moved to ...
45739 * sysdeps/i386/start.S: ...here.
45740 * sysdeps/i386/elf/configure.in: Merge into...
45741 * sysdeps/i386/configure.in: ...here.
45742 * sysdeps/i386/elf/configure.in: Delete file.
45743 * sysdeps/i386/elf/configure: Delete file.
45745 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45746 * debug/backtracesyms.c: ... here.
45747 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45748 * debug/backtracesymsfd.c: ... here.
45749 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45750 * sysdeps/generic/ifunc-sel.h: ... here.
45752 * sysdeps/unix/i386/start.c: Delete file.
45753 * sysdeps/unix/sparc/start.c: Delete file.
45754 * sysdeps/unix/start.c: Delete file.
45756 * sysdeps/sh/elf/configure.in: Moved to ...
45757 * sysdeps/sh/configure.in: ... here.
45758 * sysdeps/sh/elf/start.S: Moved to ...
45759 * sysdeps/sh/start.S: ... here.
45760 * sysdeps/sh/elf/configure: Delete file.
45762 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45763 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45764 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45765 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45766 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45767 * sysdeps/powerpc/powerpc64/start.S: here.
45768 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45769 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45770 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45771 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45772 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45774 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45775 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45776 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45777 * sysdeps/powerpc/powerpc32/start.S: ... here.
45778 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45779 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45780 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45782 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45783 * sysdeps/powerpc/ifunc-sel.h: ... here.
45784 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45785 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45787 * sysdeps/sparc/elf/configure.in: Moved to ...
45788 * sysdeps/sparc/configure.in: ... here.
45789 * sysdeps/sparc/elf/configure: Delete file.
45790 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45791 * sysdeps/sparc/sparc32/start.S: ... here.
45792 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45793 * sysdeps/sparc/sparc64/start.S: ... here.
45794 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45795 * sysdeps/sparc/sparc32/Makefile: ... this.
45796 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45797 * sysdeps/sparc/sparc64/Makefile: ... this.
45799 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45800 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45801 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45802 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45803 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45804 * sysdeps/s390/s390-32/setjmp.S: ... here.
45805 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45806 * sysdeps/s390/s390-32/configure.in: ... here.
45807 * sysdeps/s390/s390-32/elf/configure: Delete file.
45808 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45809 * sysdeps/s390/s390-32/start.S: ... here.
45811 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45812 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45813 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45814 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45815 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45816 * sysdeps/s390/s390-64/setjmp.S: ... here.
45817 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45818 * sysdeps/s390/s390-64/configure.in: ... here
45819 * sysdeps/s390/s390-64/elf/configure: Delete file.
45820 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45821 * sysdeps/s390/s390-64/start.S: ... here.
45822 * sysdeps/s390/s390-64/elf/configure: Delete.
45824 * configure.in: Remove support for elf directories in sysdeps.
45826 * configure: Regenerated.
45827 * sysdeps/i386/configure: Regenerated.
45828 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45829 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45830 * sysdeps/s390/s390-32/configure: Regenerated.
45831 * sysdeps/s390/s390-64/configure: Regenerated.
45832 * sysdeps/sh/configure: Regenerated.
45833 * sysdeps/sparc/configure: Regenerated.
45834 * sysdeps/x86_64/configure: Regenerated.
45836 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45841 denormal result into account.
45843 2012-03-25 Roland McGrath <roland@hack.frob.com>
45845 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45846 Reported by Allan McRae <allan@archlinux.org>.
45848 2012-03-23 Jeff Law <law@redhat.com>
45850 * nss/getnssent.c (__nss_getent): Fix typo.
45852 2012-03-23 David S. Miller <davem@davemloft.net>
45854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45856 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45858 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45859 to pad to uint64_t for each field.
45860 (dl_tls_index): Replace unsigned long with uint64_t.
45862 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45863 Paul Pluzhnikov <ppluzhnikov@google.com>
45866 * grp/Makefile (otherlibs): Don't set it.
45867 * inet/Makefile (otherlibs): Likewise.
45868 * login/Makefile (otherlibs): Likewise.
45869 * nscd/Makefile (otherlibs): Likewise.
45870 * posix/Makefile (otherlibs): Likewise.
45871 * pwd/Makefile (otherlibs): Likewise.
45872 * rt/Makefile (otherlibs): Likewise.
45873 * sunrpc/Makefile (otherlibs): Likewise.
45874 * nss/Makefile (otherlibs): Likewise.
45875 Add libnss_files to routines and static-only-routines.
45876 ($(objpfx)getent): Remove rule.
45877 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45878 static-only-routines.
45880 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45883 * math/s_cexp.c: Include <float.h>.
45884 (__cexp): Handle exp result overflowing not necessarily
45885 overflowing both real and imaginary parts of result.
45886 * math/s_cexpf.c: Likewise.
45887 * math/s_cexpl.c: Likewise.
45888 * math/libm-test.inc (cexp_test): Add more tests.
45889 * sysdeps/i386/fpu/libm-test-ulps: Update.
45890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45892 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45894 * include/link.h (ELFW): New macro.
45895 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45896 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45898 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45900 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45903 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45905 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45907 (struct La_x32_retval): Likewise.
45909 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45911 * sysdeps/x86_64/preconfigure.in: New file.
45912 * sysdeps/x86_64/preconfigure: New generated file.
45914 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45917 * math/e_exp2l.c: Include <float.h>.
45918 (__ieee754_exp2l): Handle overflow and underflow cases
45919 separately. Only pass fractional part of argument to
45921 * math/libm-test.inc (exp2_test): Add more tests.
45923 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45924 negating x to take absolute value.
45925 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45927 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45928 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45930 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45931 computing low part if x was negated.
45932 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45934 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45936 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45937 la_x32_gnu_pltexit.
45938 (pltexit): Cast int_retval to ptrdiff_t.
45939 * elf/tst-auditmod3b.c: Likewise.
45940 * elf/tst-auditmod4b.c: Likewise.
45941 * elf/tst-auditmod5b.c: Likewise.
45942 * elf/tst-auditmod6b.c: Likewise.
45943 * elf/tst-auditmod6c.c: Likewise.
45944 * elf/tst-auditmod7b.c: Likewise.
45946 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45947 and x32_gnu_pltexit.
45949 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45950 __ELF_NATIVE_CLASS.
45951 (La_x32_regs): New macro.
45952 (La_x32_retval): Likewise.
45953 (la_x32_gnu_pltenter): New function prototype.
45954 (la_x32_gnu_pltexit): Likewise.
45956 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45958 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45963 * configure.in (libc_cv_cc_nofma): Check for option to disable
45964 generation of FMA instructions.
45965 * configure: Regenerate.
45966 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45967 * sysdeps/ieee754/dbl-64/Makefile: New file.
45968 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45969 Remove brandred-fma4.
45970 (CFLAGS-brandred-fma4.c): Remove.
45971 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45972 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45974 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45977 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45979 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45980 LLONG_MAX != LONG_MAX.
45981 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45982 (_fitoa_word): Likewise.
45983 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45984 LLONG_MAX != LONG_MAX.
45985 * stdio-common/_itowa.h: Include <_itoa.h>.
45986 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45987 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45988 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45989 only if not defined.
45990 (_ITOA_WORD_TYPE): Likewise.
45991 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45992 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45994 2012-03-21 David S. Miller <davem@davemloft.net>
45996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45998 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46000 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46001 of x86_64 when setting libc_cv_slibdir, libdir and
46003 * sysdeps/unix/sysv/linux/configure: Regenerated.
46005 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46007 * manual/lang.texi (Old Varargs): Remove section.
46008 (How Variadic): Update menu.
46009 (va_start): Do not mention varargs.h.
46011 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46012 Joseph Myers <joseph@codesourcery.com>
46014 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46016 * configure: Regenerated.
46018 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46020 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46021 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46024 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46027 * Makefile (files-for-dist): Remove NOTES.
46028 (NOTES): Remove rule.
46029 * README: Don't refer to NOTES.
46030 * manual/creature.texi: Don't include macros.texi.
46031 * manual/intro.texi (creature.texi): Remove comment referring to
46034 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46035 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46036 * configure: Regenerated.
46037 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46038 LIBC_TRY_CC_OPTION.
46039 (libc_cv_as_i686): Likewise.
46040 (libc_cv_cc_avx): Likewise.
46041 (libc_cv_cc_sse2avx): Likewise.
46042 (libc_cv_cc_fma4): Likewise.
46043 (libc_cv_cc_novzeroupper): Likewise.
46044 * sysdeps/i386/configure: Regenerated.
46047 * sysdeps/i386/fpu/s_cexp.S: Remove.
46048 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46049 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46050 * math/libm-test.inc (cexp_test): Add more tests.
46051 * sysdeps/i386/fpu/libm-test-ulps: Update.
46052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46054 2012-03-21 Allan McRae <allan@archlinux.org>
46056 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46058 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46061 * math/w_exp2.c: Do not include <float.h>.
46062 (o_threshold, u_threshold): Remove.
46063 (__exp2): Calculate result before checking finiteness and calling
46065 * math/w_exp2f.c: Likewise.
46066 * math/w_exp2l.c: Likewise.
46067 * math/libm-test.inc (exp2_test): Require overflow exception for
46071 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46072 range of signed 64-bit integers before using fistpll. Remove
46073 checks for whether integers fit in mantissa bits.
46074 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46075 the range of signed 32-bit integers before using fistpl. Remove
46076 checks for whether integers fit in mantissa bits.
46077 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46078 (__ieee754_powl): Test for y outside the range of signed 64-bit
46079 integers before using fistpll. Reduce 64-bit values to 63-bit
46081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46082 divide-by-zero is raised for zero to large negative powers.
46083 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46084 (__ieee754_powl): Test for y outside the range of signed 64-bit
46085 integers before using fistpll. Reduce 64-bit values to 63-bit
46087 * math/libm-test.inc (pow_test): Add more tests.
46089 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46091 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46092 <stdio-common/_itoa.h>.
46093 * debug/segfault.c: Likewise.
46094 * elf/dl-cache.c: Likewise.
46095 * elf/dl-minimal.c: Likewise.
46096 * elf/dl-misc.c: Likewise.
46097 * elf/dl-sysdep.c: Likewise.
46098 * elf/dl-version.c: Likewise.
46099 * elf/rtld.c: Likewise.
46100 * hurd/hurdsock.c: Likewise.
46101 * hurd/lookup-retry.c: Likewise.
46102 * malloc/malloc.c: Likewise.
46103 * malloc/mtrace.c: Likewise.
46104 * nscd/nscd_getgr_r.c: Likewise.
46105 * nscd/nscd_getpw_r.c: Likewise.
46106 * nscd/nscd_getserv_r.c: Likewise.
46107 * posix/getopt_init.c: Likewise.
46108 * posix/wordexp.c: Likewise.
46109 * stdio-common/_itoa.c: Likewise.
46110 * stdio-common/printf_fphex.c: Likewise.
46111 * stdio-common/vfprintf.c: Likewise.
46112 * string/_strerror.c: Likewise.
46113 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46114 * sysdeps/i386/i686/hp-timing.h: Likewise.
46115 * sysdeps/mach/_strerror.c: Likewise.
46116 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46117 * sysdeps/mach/hurd/sethostid.c: Likewise.
46118 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46119 * sysdeps/mach/xpg-strerror.c: Likewise.
46120 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46121 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46122 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46123 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46124 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46125 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46126 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46127 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46128 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46129 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46130 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46131 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46132 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46133 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46134 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46135 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46136 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46137 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46138 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46139 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46140 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46142 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46144 * stdio-common/_itoa.h: Moved to ...
46145 * sysdeps/generic/_itoa.h: Here.
46147 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46149 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46150 instead of "_itoa.h" and "_itowa.h".
46151 * stdio-common/vfprintf.: Likewise.
46153 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46155 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46157 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46158 (__signbit): Likwise.
46159 (llrintf): Likwise.
46162 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46164 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46167 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46169 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46170 OVERFLOW_EXCEPTION_OK.
46171 * math/libm-test.inc ("Philosophy"): Update comment about
46173 (OVERFLOW_EXCEPTION): Define.
46174 (OVERFLOW_EXCEPTION_OK): Likewise.
46175 (INVALID_EXCEPTION_OK): Renumber.
46176 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46177 (IGNORE_ZERO_INF_SIGN): Likewise.
46178 (test_exceptions): Handle FE_OVERFLOW.
46179 (exp10_test): Expect overflow exceptions.
46180 (exp2_test): Likewise.
46181 (expm1_test): Likewise.
46182 (nextafter_test): Likewise.
46183 (pow_test): Likewise.
46184 (scalbn_test): Likewise.
46185 (scalbln_test): Likewise.
46187 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46189 * sysdeps/x86_64/bits/atomic.h
46190 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46192 (atomic_exchange_acq): Likewise.
46193 (__arch_exchange_and_add_body): Likewise.
46194 (__arch_add_body): Likewise.
46195 (atomic_add_negative): Likewise.
46196 (atomic_add_zero): Likewise.
46198 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46200 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46201 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46203 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46205 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46206 Check __x86_64__ instead of __WORDSIZE.
46208 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46210 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46212 2012-03-19 David S. Miller <davem@davemloft.net>
46214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46216 * sysdeps/sparc/fpu/fenv_private.h: New file.
46217 * sysdeps/sparc/fpu/math_private.h: Use it.
46218 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46220 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46221 (libc_feholdexcept_setroundl): Remove.
46222 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46224 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46225 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46227 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46229 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46230 int64_t instead of long int.
46231 (INSERT_WORDS64): Likwise.
46233 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46235 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46236 _Unwind_GetCFA return to _Unwind_Ptr first.
46238 2012-03-19 Joseph Myers <joseph@codesourcery.com>
46241 * math/s_clog.c: Include <float.h>.
46242 (__clog): Scale large or subnormal inputs.
46243 * math/s_clogf.c: Likewise.
46244 * math/s_clogl.c: Likewise.
46245 * math/s_clog10.c: Include <float.h>.
46246 (M_LOG10_2): Define.
46247 (__clog10): Scale large or subnormal inputs.
46248 * math/s_clog10f.c: Likewise.
46249 * math/s_clog10l.c: Likewise.
46250 * math/libm-test.inc (clog_test): Add more tests.
46251 (clog10_test): Likewise.
46252 * sysdeps/i386/fpu/libm-test-ulps: Update.
46253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46256 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46258 * math/libm-test.inc (atan2_test): Add another test.
46260 * Makerules (common-objdir-compile): Remove.
46261 * sysdeps/unix/Makefile (config-generated): Do not add
46262 $(unix-generated) to variable.
46263 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46264 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46266 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46268 [generic bits/local_lim.h] (before-compile): Do not append to
46270 [generic bits/local_lim.h] (common-generated): Likewise.
46271 [generic sys/param.h] (before-compile): Do not append to variable.
46272 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46273 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46274 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46275 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46277 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46278 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46279 [generic sys/param.h] ($(addprefix
46280 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46281 [generic sys/param.h] (common-generated): Do not append to
46283 [generic sys/param.h] (sysdep_headers): Likewise.
46284 [generic bits/errno.h] (before-compile): Do not append to
46286 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46288 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46289 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46290 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46291 [generic bits/errno.h] (common-generated): Do not append to
46293 [generic bits/ioctls.h] (before-compile): Do not append to
46295 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46297 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46298 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46299 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46301 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46302 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46303 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46304 [generic bits/ioctls.h] (common-generated): Do not append to
46306 [generic sys/syscall.h] (syscall.h): Remove variable.
46307 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46309 [generic sys/syscall.h] (before-compile): Do not append to
46311 [generic sys/syscall.h] (common-generated): Likewise.
46312 * sysdeps/unix/errnos-tmpl.c: Remove file.
46313 * sysdeps/unix/errnos.awk: Likewise.
46314 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46315 * sysdeps/unix/ioctls.awk: Likewise.
46316 * sysdeps/unix/mk-local_lim.c: Likewise.
46317 * sysdeps/unix/snarf-ioctls: Likewise.
46319 2012-03-19 Richard Henderson <rth@twiddle.net>
46321 * sysdeps/i386/fpu/fenv_private.h: New file.
46322 * sysdeps/i386/fpu/math_private.h: Use it.
46323 (math_opt_barrier, math_force_eval): Remove.
46324 (libc_feholdexcept_setround_53bit): Remove.
46325 (libc_feupdateenv_53bit): Remove.
46326 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46327 (math_opt_barrier, math_force_eval): Remove.
46328 (libc_feholdexcept): Remove.
46329 (libc_feholdexcept_setround): Remove.
46330 (libc_fetestexcept, libc_fesetenv): Remove.
46331 (libc_feupdateenv_test): Remove.
46332 (libc_feupdateenv, libc_feholdsetround): Remove.
46333 (libc_feresetround): Remove.
46335 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46336 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46338 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46339 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46340 (libc_feupdateenv_testl): New.
46341 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46342 (libc_feupdateenv_testf): New.
46343 (libc_feupdateenv): Use libc_feupdateenv_test.
46344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46345 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46347 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46348 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46349 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46350 (libc_feresetround_noex): New.
46351 (libc_feresetround_noexf): New.
46352 (libc_feresetround_noexl): New.
46353 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46354 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46355 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46356 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46359 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46361 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46362 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46363 SET_RESTORE_ROUND_NOEX.
46364 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46365 SET_RESTORE_ROUND_NOEXF.
46366 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46367 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46368 (libc_feholdsetroundf): New.
46369 (libc_feresetround, libc_feresetroundf): New.
46371 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46372 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46373 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46375 * sysdeps/generic/math_private.h: Include <fenv.h>.
46376 (default_libc_feholdexcept): New.
46377 (default_libc_feholdexcept_setround): New.
46378 (default_libc_fesetenv, default_libc_feupdateenv): New.
46379 (libc_feholdexcept): Only define if undefined.
46380 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46381 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46382 (libc_feholdexcept_setroundl): Likewise.
46383 (libc_feholdexcept_setround_53bit): Likewise.
46384 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46385 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46386 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46387 (libc_feupdateenv_53bit): Likewise.
46388 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46389 (libc_feholdexcept): Convert from macro to inline function.
46390 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46391 (libc_fesetenv, libc_feupdateenv): Likewise.
46393 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46394 not previously defined.
46395 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46396 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46397 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46398 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46399 * sysdeps/ieee754/flt-32/math_private.h: New file.
46400 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46401 math_private.h below SET_FLOAT_WORD.
46402 (__isnan, __isinf_ns, __finite): Remove.
46403 (__isnanf, __isinf_nsf, __finitef): Remove.
46405 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46409 2012-03-17 David S. Miller <davem@davemloft.net>
46412 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46415 2012-03-16 David S. Miller <davem@davemloft.net>
46417 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46421 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46423 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46424 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46425 sysdep_routines when subdir is sysvipc.
46426 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46427 __getshmlba helper.
46429 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46431 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46433 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46436 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46438 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46439 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46440 (__lround): Renamed to ...
46441 (__llround): This. Replace long int with long long int.
46442 Define lround functions as aliases of llround functions.
46443 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46445 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46447 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46448 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46449 adresses to uintptr_t. Replace "long int" and "unsigned long
46450 int" with "greg_t" on va_arg.
46452 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46454 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46455 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46457 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46458 Move e_machine check before EI_CLASS check. Handle x32
46459 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46460 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46461 SKIP_EM_IA_64 and include
46462 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46464 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46465 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46466 (add_system_dir): New macro.
46468 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46469 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46471 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46482 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46484 * math/w_j0f.c (j0f): Likewise.
46486 * math/w_j0l.c (__j0l): Likewise.
46488 * math/w_j1.c (j1): Likewise.
46490 * math/w_j1f.c (j1f): Likewise.
46492 * math/w_j1l.c (__j1l): Likewise.
46494 * math/w_jn.c (jn): Likewise.
46496 * math/w_jnf.c (jnf): Likewise.
46498 * math/w_jnl.c (__jnl): Likewise.
46500 * math/libm-test.inc (j0_test): Add more tests.
46501 (j1_test): Likewise.
46502 (jn_test): Likewise. Add trailing semicolon to existing test.
46503 (y0_test): Likewise.
46504 (y1_test): Likewise.
46505 * sysdeps/i386/fpu/libm-test-ulps: Update.
46506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46510 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46511 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46512 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46513 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46514 (__tanl): Set errno for infinite argument.
46515 * sysdeps/i386/fpu/mptan.c: Remove.
46516 * sysdeps/i386/fpu/s_tan.S: Likewise.
46517 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46518 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46519 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46520 * math/libm-test.inc (tan_test): Add more tests and enable more
46521 tests for double and long double.
46522 * sysdeps/i386/fpu/libm-test-ulps: Update.
46523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46525 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46527 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46528 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46530 2012-03-16 Roland McGrath <roland@hack.frob.com>
46532 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46533 * configure.in: Use it for both main tree and add-ons.
46534 * configure: Regenerated.
46536 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46538 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46540 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46542 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46546 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46547 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46548 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46549 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46550 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46552 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46554 != 0 for prec == 2.
46555 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46556 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46557 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46558 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46559 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46560 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46561 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46562 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46563 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46564 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46565 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46566 * math/libm-test.inc (cos_test): Add more tests and enable more
46567 tests for long double.
46568 (sin_test): Likewise.
46569 (sincos_test): Likewise.
46570 * sysdeps/i386/fpu/libm-test-ulps: Update.
46571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46573 2012-03-16 David S. Miller <davem@davemloft.net>
46575 * sysdeps/sparc/fpu/math_private.h: New file.
46577 2012-03-15 David S. Miller <davem@davemloft.net>
46579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46593 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46594 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46596 * sysdeps/sparc/sparc-ifunc.h: New file.
46597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46635 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46637 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46639 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46640 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46642 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46644 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46648 2012-03-15 Andreas Jaeger <aj@suse.de>
46651 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46652 ieee754/flt-32 implementation for sin, cos and sincos.
46653 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46654 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46655 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46656 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46657 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46658 ieee754/flt-32 implementation for tan.
46660 * math/libm-test.inc (cos_test): Enable some large input tests for
46662 (sin_test): Likewise.
46663 (sincos_test): Likewise.
46664 (tan_test): Add tests for large input.
46666 * sysdeps/i386/fpu/libm-test-ulps: Update.
46668 2012-03-15 Andreas Jaeger <aj@suse.de>
46671 * math/libm-test.inc (cos_test): Add more test cases.
46672 (sin_test): Likewise.
46673 (sincos_test): Likewise.
46675 2012-03-15 Andreas Jaeger <aj@suse.de>
46678 * math/libm-test.inc (cos_test): Add a test case for large input
46680 (sin_test): Likewise.
46681 (sincos_test): Likewise.
46683 2012-03-15 Andreas Jaeger <aj@suse.de>
46684 Joseph Myers <joseph@codesourcery.com>
46687 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46688 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46689 * sysdeps/i386/fpu/branred.c: Likewise.
46690 * sysdeps/i386/fpu/dosincos.c: Likewise.
46691 * sysdeps/i386/fpu/mpa.c: Likewise.
46692 * sysdeps/i386/fpu/s_cos.S: Likewise.
46693 * sysdeps/i386/fpu/s_sin.S: Likewise.
46694 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46695 * sysdeps/i386/fpu/sincos32.c: Likewise.
46697 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46699 (libc_feupdateenv_53bit): Define.
46700 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46702 (libc_feupdateenv_53bit): Define.
46704 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46705 53 bit (without extend i386 double precision).
46707 * math/libm-test.inc (sincos_test): Add tests for large input.
46711 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46713 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46717 2012-03-15 David S. Miller <davem@davemloft.net>
46719 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46720 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46721 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46722 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46746 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46747 fmin/fmax sysdep routines.
46748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46750 2012-03-14 David S. Miller <davem@davemloft.net>
46752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46756 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46757 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46758 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46759 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46775 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46777 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46779 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46780 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46824 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46829 * sysdeps/sparc/configure.in: New file.
46830 * sysdeps/sparc/configure: Generate.
46831 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46832 * configure: Regenerate.
46833 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46834 * config.make.in (have-as-vis3): New.
46835 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46836 available use -Av9d instead of -Av9a.
46837 * sysdeps/sparc/sparc64/Makefile: Likewise.
46838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46847 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46848 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46849 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46850 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46851 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46853 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46854 fzeros/fnegs to load 0x80000000 into a float register instead of
46856 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46858 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46862 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46863 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46864 ($(inst_includedir)/bits/syscall.h): Remove rule.
46865 ($(objpfx)bits/syscall.d): Include instead of
46866 $(objpfx)syscall-list.d.
46867 (generated): Change syscall-list.h and syscall-list.d to
46868 bits/syscall.h and bits/syscall.d.
46870 2012-03-14 Roland McGrath <roland@hack.frob.com>
46873 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46875 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46878 * math/s_csqrt.c: Include <float.h>.
46879 (__csqrt): Scale large or subnormal inputs.
46880 * math/s_csqrtf.c: Likewise.
46881 * math/s_csqrtl.c: Likewise.
46882 * math/libm-test.inc (csqrt_test): Add more tests.
46883 * sysdeps/i386/fpu/libm-test-ulps: Update.
46884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46887 * math/libm-test.inc (hypot_test): Add more tests.
46889 2012-03-13 David S. Miller <davem@davemloft.net>
46892 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46893 double-precision for the calculation instead of scaling.
46895 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46897 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46898 manipulate bits before adding and subtracting TWO52[sx].
46899 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46900 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46902 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46904 2012-03-13 David S. Miller <davem@davemloft.net>
46906 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46907 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46909 rtld-global-offsets.h
46910 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46912 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46915 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46917 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46918 'err' in the ifdef scope in which it is actually used.
46920 * nss/nss_db/db-init.c: Include string.h
46922 2012-03-12 David S. Miller <davem@davemloft.net>
46924 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46925 masking out of the most significant byte of random value used.
46926 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46927 Fix coding style in previous change.
46929 * sysdeps/unix/sysv/linux/kernel-features.h
46930 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46931 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46933 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46936 2012-03-11 David S. Miller <davem@davemloft.net>
46938 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46939 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46940 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46941 for 'resultvar' otherwise things get truncated on 64-bit.
46943 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46944 Fix masking out of the most significant byte of random value used.
46946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46948 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46952 2012-03-09 David S. Miller <davem@davemloft.net>
46954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46955 variables with appropriate CPP guards.
46956 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46957 from the frame pointer, not the stack pointer. Correct layout
46958 comments. Fix test on resulting framesize and the management of
46959 the outregs buffer for pltexit. Preserve floating point return
46960 values across _dl_call_pltexit call.
46961 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46962 framesize and the management of the outregs buffer for pltexit.
46963 Preserve floating point return values across _dl_call_pltexit
46965 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46966 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46967 (la_sparc64_gnu_pltexit): New functions.
46968 (print_exit): Fix format string for return register value.
46970 2012-03-10 Joseph Myers <joseph@codesourcery.com>
46972 * sunrpc/Makefile (others): Add rpcgen.
46973 ($(objpfx)rpcgen): Remove special build rule and dependency on
46975 * sunrpc/rpcgen.c: New file.
46977 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46980 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46981 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46982 * sysdeps/i386/crti.S: Likewise.
46983 * sysdeps/i386/crtn.S: Likewise.
46984 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46985 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46986 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46987 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46988 * sysdeps/sh/crti.S: Likewise.
46989 * sysdeps/sh/crtn.S: Likewise.
46990 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46993 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46995 * locale/programs/locfile-kw.gperf: Likewise.
46996 * locale/programs/charmap-kw.h: Regenerated.
46997 * locale/programs/locfile-kw.h: Likewise.
47000 * intl/plural.y: Replace FSF snail mail address with URL.
47001 * intl/plural.c: Regenerated.
47003 2012-03-09 Richard Henderson <rth@twiddle.net>
47005 * include/math_private.h: Remove file.
47006 * math/math_private.h: Move file ...
47007 * sysdeps/generic/math_private.h: ... here.
47009 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47010 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47011 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47013 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47014 and <math_private.h>.
47015 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47016 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47017 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47018 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47019 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47020 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47021 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47023 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47024 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47026 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47027 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47028 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47029 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47030 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47031 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47032 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47033 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47034 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47036 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47037 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47039 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47040 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47041 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47045 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47047 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47048 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47049 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47050 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47051 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47052 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47053 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47054 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47055 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47056 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47057 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47058 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47059 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47060 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47061 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47062 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47063 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47064 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47065 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47066 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47067 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47068 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47069 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47070 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47071 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47072 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47073 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47074 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47075 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47076 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47078 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47079 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47080 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47081 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47082 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47083 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47084 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47085 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47086 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47087 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47088 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47089 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47093 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47094 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47095 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47096 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47097 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47098 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47099 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47100 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47101 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47102 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47103 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47104 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47105 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47106 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47107 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47108 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47109 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47110 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47111 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47112 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47113 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47114 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47115 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47116 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47117 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47118 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47119 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47120 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47121 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47122 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47123 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47124 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47125 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47126 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47127 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47128 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47129 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47130 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47131 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47132 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47133 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47134 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47135 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47136 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47137 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47138 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47139 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47140 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47141 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47142 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47143 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47144 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47145 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47146 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47147 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47148 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47149 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47150 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47151 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47152 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47153 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47154 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47155 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47156 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47157 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47158 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47159 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47160 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47161 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47162 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47163 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47164 * sysdeps/ieee754/k_standard.c: Likewise.
47165 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47166 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47167 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47168 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47169 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47170 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47171 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47172 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47173 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47174 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47175 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47176 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47177 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47178 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47179 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47180 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47181 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47182 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47183 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47184 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47185 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47186 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47187 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47188 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47189 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47190 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47192 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47193 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47194 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47195 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47196 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47197 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47198 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47199 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47200 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47201 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47202 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47203 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47204 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47205 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47206 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47207 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47208 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47209 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47210 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47211 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47212 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47213 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47214 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47215 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47216 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47217 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47218 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47219 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47220 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47221 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47222 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47223 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47224 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47225 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47226 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47227 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47228 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47229 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47230 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47232 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47233 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47234 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47235 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47237 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47238 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47244 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47245 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47252 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47253 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47256 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47257 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47258 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47259 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47263 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47264 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47268 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47269 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47272 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47273 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47274 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47275 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47276 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47277 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47278 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47280 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47281 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47284 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47285 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47286 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47287 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47288 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47289 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47290 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47291 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47292 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47297 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47298 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47299 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47300 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47301 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47302 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47303 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47310 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47311 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47312 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47313 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47314 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47315 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47316 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47317 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47318 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47319 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47320 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47321 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47322 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47323 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47324 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47325 * sysdeps/ieee754/s_lib_version.c: Likewise.
47326 * sysdeps/ieee754/s_matherr.c: Likewise.
47327 * sysdeps/ieee754/s_signgam.c: Likewise.
47328 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47329 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47330 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47331 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47332 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47333 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47334 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47335 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47336 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47337 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47338 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47339 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47340 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47341 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47342 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47343 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47344 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47345 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47346 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47350 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47352 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47353 * sunrpc/rpc_main.c: Likewise.
47354 * sunrpc/rpc_svcout.c: Likewise.
47356 2012-03-09 David S. Miller <davem@davemloft.net>
47358 * include/math_private.h: New file.
47360 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47362 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47363 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47364 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47365 from <bits/socket_type.h>.
47366 (enum __socket_type): Don't define here.
47367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47369 bits/socket_type.h.
47372 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47373 checking __USE_GNU.
47375 * Makerules ($(inst_includedir)/%.h): New rule.
47376 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47377 (install-others): Remove variable setting.
47378 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47380 2012-03-08 Richard Henderson <rth@twiddle.net>
47382 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47383 from macro to inline function; merge with the
47384 !__LIBC_INTERNAL_MATH_INLINES version.
47385 (__ieee754_sqrtf): Likewise.
47387 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47388 to inline function.
47389 (__rintf, __floor, __floorf): Likewise.
47391 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47392 macro to inline function.
47393 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47395 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47396 not <math/math_private.h>.
47398 2012-03-08 David S. Miller <davem@davemloft.net>
47400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47402 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47404 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47406 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47408 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47409 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47411 2012-03-08 Ulrich Drepper <drepper@gmail.com>
47413 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47414 be defined individually, they must be defined as a block. Define
47415 S for printing a string instead of hidint the different by using a
47416 macro for adding the 'l'.
47417 * stdio-common/tst-fphex-wide.c: Adjust.
47419 2012-03-07 Marek Polacek <polacek@redhat.com>
47421 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47423 2012-03-08 Marek Polacek <polacek@redhat.com>
47426 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47427 * stdio-common/tst-fphex.c: Define a few macros to make the
47428 test reusable. Use them.
47429 * stdio-common/tst-fphex-wide.c: New file.
47431 2012-03-08 Joseph Myers <joseph@codesourcery.com>
47434 * manual/macros.texi (gnusystems): New macro.
47435 (nongnusystems): Likewise.
47436 (gnulinuxhurdsystems): Likewise.
47437 (gnuhurdsystems): Likewise..
47438 (gnulinuxsystems): Likewise.
47439 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47440 variants of the GNU system, not "GNU system".
47441 * manual/conf.texi: Likewise.
47442 * manual/errno.texi: Likewise. Update example of errno macro
47444 * manual/filesys.texi: Likewise.
47445 (getumask): Document as specific to GNU/Hurd.
47446 * manual/install.texi: Likewise. Reword some references to
47448 * manual/intro.texi: Likewise.
47449 * manual/io.texi: Likewise.
47450 (File Name Portability): Detail which constraints are inapplicable
47451 to all GNU systems and which are only inapplicable to GNU/Hurd.
47452 * manual/job.texi: Likewise.
47453 * manual/llio.texi: Likewise.
47454 (O_NOCTTY): Document as present on GNU/Linux.
47455 * manual/maint.texi: Likewise.
47456 * manual/memory.texi: Likewise.
47457 * manual/pattern.texi: Likewise.
47458 * manual/pipe.texi: Likewise.
47459 * manual/process.texi: Likewise.
47460 * manual/resource.texi: Likewise.
47461 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47463 * manual/setjmp.texi: Likewise.
47464 * manual/signal.texi: Likewise.
47465 * manual/startup.texi: Likewise.
47466 * manual/stdio.texi: Likewise.
47467 * manual/terminal.texi: Likewise.
47468 (ONLCR): Document as POSIX.
47469 (OXTABS): Document availability on GNU/Linux as XTABS.
47470 (ONOEOT): Document availability separately from other bits.
47471 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47472 * manual/time.texi: Likewise.
47473 * manual/users.texi: Likewise.
47474 * INSTALL: Regenerated.
47475 * sysdeps/gnu/errlist.c: Regenerated.
47477 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47478 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47479 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47481 * configure: Regenerated.
47483 2012-03-07 Joseph Myers <joseph@codesourcery.com>
47485 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47486 default includes instead of AC_HEADER_CHECK.
47487 * sysdeps/i386/configure: Regenerated.
47490 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47491 * math/s_cacoshf.c (__cacoshf): Likewise.
47492 * math/s_cacoshl.c (__cacoshl): Likewise.
47493 * math/s_casinh.c (__casinh): Set signs of result from argument.
47494 * math/s_casinhf.c (__casinhf): Likewise.
47495 * math/s_casinhl.c (__casinhl): Likewise.
47496 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47497 (casinh_test): Add more tests.
47498 * sysdeps/i386/fpu/libm-test-ulps: Update.
47499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47501 2012-03-07 Ulrich Drepper <drepper@gmail.com>
47503 * po/zh_TW.po: Update from translation team.
47505 * login/Makefile (distribute): Remove variable.
47506 * catgets/Makefile: Likewise.
47507 * mach/Makefile: Likewise.
47508 * malloc/Makefile: Likewise.
47509 * misc/Makefile: Likewise.
47510 * iconv/Makefile: Likewise.
47511 * nscd/Makefile: Likewise.
47512 * hurd/Makefile: Likewise.
47513 * manual/Makefile: Likewise.
47514 * locale/Makefile: Likewise.
47515 * intl/Makefile: Likewise.
47516 * conform/Makefile: Likewise.
47517 * nss/Makefile: Likewise.
47518 * time/Makefile: Likewise.
47519 * soft-fp/Makefile: Likewise.
47520 * dirent/Makefile: Likewise.
47521 * gmon/Makefile: Likewise.
47522 * po/Makefile: Likewise.
47523 * rt/Makefile: Likewise.
47524 * socket/Makefile: Likewise.
47525 * math/Makefile: Likewise.
47526 * signal/Makefile: Likewise.
47527 * debug/Makefile: Likewise.
47528 * elf/Makefile: Likewise.
47529 * timezone/Makefile: Likewise.
47530 * stdlib/Makefile: Likewise.
47531 * iconvdata/Makefile: Likewise.
47532 * sunrpc/Makefile: Likewise.
47533 * io/Makefile: Likewise.
47534 * argp/Makefile: Likewise.
47535 * inet/Makefile: Likewise.
47536 * hesiod/Makefile: Likewise.
47537 * grp/Makefile: Likewise.
47538 * csu/Makefile: Likewise.
47539 * wctype/Makefile: Likewise.
47540 * crypt/Makefile: Likewise.
47541 * libio/Makefile: Likewise.
47542 * string/Makefile: Likewise.
47543 * nis/Makefile: Likewise.
47544 * resolv/Makefile: Likewise.
47545 * stdio-common/Makefile: Likewise.
47546 * wcsmbs/Makefile: Likewise.
47547 * dlfcn/Makefile: Likewise.
47548 * posix/Makefile: Likewise.
47551 * timezone/Makefile: Don't install timezone files, just the programs
47554 2012-03-06 Ulrich Drepper <drepper@gmail.com>
47556 * nss/databases.def: Add missing gshadow entry.
47558 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47560 2012-03-06 Marek Polacek <polacek@redhat.com>
47563 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47564 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47565 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47566 * stdio-common/tst-long-dbl-fphex.c: New file.
47568 2012-03-06 David S. Miller <davem@davemloft.net>
47570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47571 (set_obp_int): New function.
47572 (get_obp_int): New function.
47573 (__get_clockfreq_via_dev_openprom): Likewise.
47574 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47575 Avoid unused variable warnings on 'val' and use builtin_expect.
47576 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47578 (INLINE_CLONE_SYSCALL): Likewise.
47580 2012-03-05 David S. Miller <davem@davemloft.net>
47582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47584 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47588 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47589 only for |x| >= 40.
47590 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47592 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
47594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47595 Replace gettimeofday with __vdso_gettimeofday.
47597 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47598 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47599 __vdso_clock_gettime and __vdso_getcpu.
47601 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47602 time with __vdso_time.
47604 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47606 * manual/lang.texi (size_t): Note types to which size_t may be
47607 equivalent with the GNU C Library, but do not describe when
47608 differences between them are significant.
47610 2012-03-05 Andreas Jaeger <aj@suse.de>
47612 * sysdeps/i386/fpu/libm-test-ulps: Update.
47614 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47617 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47618 (__ieee754_pow): Save and restore rounding mode and use
47619 round-to-nearest for main computations.
47620 * math/libm-test.inc (pow_test_tonearest): New function.
47621 (pow_test_towardzero): Likewise.
47622 (pow_test_downward): Likewise.
47623 (pow_test_upward): Likewise.
47624 (main): Call the new functions.
47625 * sysdeps/i386/fpu/libm-test-ulps: Update.
47626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47629 * math/libm-test.inc (cosh_test_tonearest): New function.
47630 (cosh_test_towardzero): Likewise.
47631 (cosh_test_downward): Likewise.
47632 (cosh_test_upward): Likewise.
47633 (sinh_test_tonearest): Likewise.
47634 (sinh_test_towardzero): Likewise.
47635 (sinh_test_downward): Likewise.
47636 (sinh_test_upward): Likewise.
47637 (main): Call the new functions.
47638 * sysdeps/i386/fpu/libm-test-ulps: Update.
47639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47641 2012-03-05 Tom de Vries <tom@codesourcery.com>
47643 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47644 default stack guard is set in last bytes.
47645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47647 2012-03-05 Kees Cook <keescook@chromium.org>
47649 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47652 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47653 possibly allocate from heap instead of stack.
47654 * stdio-common/bug-vfprintf-nargs.c: New file.
47655 * stdio-common/Makefile (tests): Add nargs overflow test.
47657 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47661 2012-03-03 Marek Polacek <polacek@redhat.com>
47663 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47664 * math/math_private.h: Likewise.
47665 * stdlib/tst-strtod.c: Likewise.
47666 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47667 * sysdeps/x86_64/bits/atomic.h: Likewise.
47669 2012-03-02 David S. Miller <davem@davemloft.net>
47671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47675 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47676 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47677 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47678 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47680 2012-03-02 Roland McGrath <roland@hack.frob.com>
47683 * manual/examples/README: New file, says the example source files
47684 can be used under GPL>=2.
47685 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47686 line containing just "*/".
47687 * manual/examples/add.c: Add copyright header (GPL>=2).
47688 * manual/examples/argp-ex1.c: Likewise.
47689 * manual/examples/argp-ex2.c: Likewise.
47690 * manual/examples/argp-ex3.c: Likewise.
47691 * manual/examples/argp-ex4.c: Likewise.
47692 * manual/examples/atexit.c: Likewise.
47693 * manual/examples/db.c: Likewise.
47694 * manual/examples/dir.c: Likewise.
47695 * manual/examples/dir2.c: Likewise.
47696 * manual/examples/execinfo.c: Likewise.
47697 * manual/examples/filecli.c: Likewise.
47698 * manual/examples/filesrv.c: Likewise.
47699 * manual/examples/fmtmsgexpl.c: Likewise.
47700 * manual/examples/genpass.c: Likewise.
47701 * manual/examples/inetcli.c: Likewise.
47702 * manual/examples/inetsrv.c: Likewise.
47703 * manual/examples/isockad.c: Likewise.
47704 * manual/examples/longopt.c: Likewise.
47705 * manual/examples/memopen.c: Likewise.
47706 * manual/examples/memstrm.c: Likewise.
47707 * manual/examples/mkfsock.c: Likewise.
47708 * manual/examples/mkisock.c: Likewise.
47709 * manual/examples/mygetpass.c: Likewise.
47710 * manual/examples/pipe.c: Likewise.
47711 * manual/examples/popen.c: Likewise.
47712 * manual/examples/rprintf.c: Likewise.
47713 * manual/examples/search.c: Likewise.
47714 * manual/examples/select.c: Likewise.
47715 * manual/examples/setjmp.c: Likewise.
47716 * manual/examples/sigh1.c: Likewise.
47717 * manual/examples/sigusr.c: Likewise.
47718 * manual/examples/stpcpy.c: Likewise.
47719 * manual/examples/strdupa.c: Likewise.
47720 * manual/examples/strftim.c: Likewise.
47721 * manual/examples/strncat.c: Likewise.
47722 * manual/examples/subopt.c: Likewise.
47723 * manual/examples/swapcontext.c: Likewise.
47724 * manual/examples/termios.c: Likewise.
47725 * manual/examples/testopt.c: Likewise.
47726 * manual/examples/testpass.c: Likewise.
47727 * manual/examples/timeval_subtract.c: Likewise.
47730 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47732 * manual/timeval_subtract.c.texi: ... here, new file.
47734 2012-03-02 David S. Miller <davem@davemloft.net>
47736 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47738 2012-03-02 Joseph Myers <joseph@codesourcery.com>
47741 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47742 (__sin): Save and restore rounding mode and use round-to-nearest
47743 for all computations.
47744 (__cos): Save and restore rounding mode and use round-to-nearest
47745 for all computations.
47746 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47748 (tan): Save and restore rounding mode and use round-to-nearest for
47750 * math/libm-test.inc (cos_test_tonearest): New function.
47751 (cos_test_towardzero): Likewise.
47752 (cos_test_downward): Likewise.
47753 (cos_test_upward): Likewise.
47754 (sin_test_tonearest): Likewise.
47755 (sin_test_towardzero): Likewise.
47756 (sin_test_downward): Likewise.
47757 (sin_test_upward): Likewise.
47758 (tan_test_tonearest): Likewise.
47759 (tan_test_towardzero): Likewise.
47760 (tan_test_downward): Likewise.
47761 (tan_test_upward): Likewise.
47762 (main): Call the new functions.
47763 * sysdeps/i386/fpu/libm-test-ulps: Update.
47764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47767 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47768 small n, then large n, before computing and testing k+n.
47769 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47774 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47775 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47776 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47777 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47778 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47779 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47780 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47781 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47782 * math/libm-test.inc (scalbn_test): Add more tests.
47783 (scalbln_test): Likewise.
47785 * manual/filesys.texi (mode_t): Describe constraints on size and
47786 signedness, not exact equivalence to a particular type.
47788 (ino64_t): Likewise.
47790 (nlink_t): Likewise.
47791 (blkcnt_t): Likewise.
47792 (blkcnt64_t): Likewise.
47793 * manual/llio.texi (off_t): Likewise.
47796 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47797 (__ieee754_exp): Save and restore rounding mode and use
47798 round-to-nearest for all computations.
47799 * math/libm-test.inc (exp_test_tonearest): New function.
47800 (exp_test_towardzero): Likewise.
47801 (exp_test_downward): Likewise.
47802 (exp_test_upward): Likewise.
47803 (main): Call the new functions.
47804 * sysdeps/i386/fpu/libm-test-ulps: Update.
47805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47807 2012-03-01 Chris Demetriou <cgd@google.com>
47809 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47810 have predictable order.
47812 2012-03-01 David S. Miller <davem@davemloft.net>
47814 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47816 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47817 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47818 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47819 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47821 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47822 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47823 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47825 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47826 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47827 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47828 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47829 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47833 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47834 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47835 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47837 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47838 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47839 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47840 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47841 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47842 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47843 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47844 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47845 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47846 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47847 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47848 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47850 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47851 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47852 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47853 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47854 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47855 * sysdeps/sparc/elf/configure: Regenerated.
47857 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47859 * configure.in (AS, LD): Require binutils 2.20 or later.
47860 * configure: Regenerated.
47861 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47862 as required minimum version.
47863 * INSTALL: Regenerated.
47867 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47868 before squaring exponent.
47869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47870 bottom long double and 27 bits of top long double before squaring
47872 * math/libm-test.inc (erfc_test): Add more tests.
47873 * sysdeps/i386/fpu/libm-test-ulps: Update.
47874 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47877 2012-03-01 Kai Tietz <ktietz@redhat.com>
47879 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47880 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47881 containing bit-fields.
47882 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47883 * soft-fp/single.h (_FP_UNION_S): Likewise.
47884 * soft-fp/double.h (_FP_UNION_D): Likewise.
47886 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47889 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47890 not include ../strcmp.S.
47891 [USE_AS_STRNCASECMP_L]: Likewise.
47892 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47893 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47894 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47895 (__strncasecmp_l_ia32): Define as alias to
47896 __strncasecmp_l_nonascii.
47899 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47900 * sysdeps/i386/fpu/libm-test-ulps: Update.
47901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47903 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47906 2012-02-29 Jeff Law <law@redhat.com>
47908 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47909 out of bounds read.
47911 2012-02-29 Marek Polacek <polacek@redhat.com>
47914 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47915 * elf/Makefile: Add rules to run tst-unused-dep.out.
47917 2012-02-28 David S. Miller <davem@davemloft.net>
47919 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47920 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47923 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47924 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47926 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47928 * math/libm-test.inc (llround_test): Move one test from
47929 lround_test. Use TEST_f_L in moved test.
47930 (lround_test): Move misplaced test to llround_test. Add testcase
47933 2012-02-28 Ulrich Drepper <drepper@gmail.com>
47935 * sysdeps/x86_64/fpu/e_expf.S: New file.
47936 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47938 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47941 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47942 of remain_len that may cause incomplete multi-byte character and
47944 * posix/bug-regex33.c: New file.
47945 * posix/Makefile (tests): Add bug-regex33.
47947 2012-02-28 Joseph Myers <joseph@codesourcery.com>
47949 * manual/macros.texi: New file.
47950 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47951 * manual/libc.texinfo: Include macros.texi.
47952 * manual/creatute.texi: Likewise.
47953 * manual/install.texi: Likewise.
47954 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47955 @glibcadj{} in references to the GNU C Library.
47956 * manual/charset.texi: Likewise.
47957 * manual/conf.texi: Likewise.
47958 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47959 when not using those macros.
47960 * manual/creature.texi: Likewise.
47961 * manual/crypt.texi: Likewise.
47962 * manual/errno.texi: Likewise.
47963 * manual/filesys.texi: Likewise.
47964 * manual/header.texi: Likewise.
47965 * manual/install.texi: Likewise.
47966 * manual/intro.texi: Likewise.
47967 * manual/io.texi: Likewise.
47968 * manual/job.texi: Likewise.
47969 * manual/lang.texi: Likewise.
47970 * manual/libc.texiinfo: Likewise.
47971 * manual/llio.texi: Likewise.
47972 * manual/locale.texi: Likewise.
47973 * manual/maint.texi: Likewise.
47974 * manual/math.texi: Likewise.
47975 * manual/memory.texi: Likewise.
47976 * manual/message.texi: Likewise.
47977 * manual/nss.texi: Likewise.
47978 * manual/pattern.texi: Likewise.
47979 * manual/process.texi: Likewise.
47980 * manual/resource.texi: Likewise.
47981 * manual/search.texi: Likewise.
47982 * manual/setjmp.texi: Likewise.
47983 * manual/signal.texi: Likewise.
47984 * manual/socket.texi: Likewise.
47985 * manual/startup.texi: Likewise.
47986 * manual/stdio.texi: Likewise.
47987 * manual/string.texi: Likewise.
47988 * manual/sysinfo.texi: Likewise.
47989 * manual/syslog.texi: Likewise.
47990 * manual/terminal.texi: Likewise.
47991 * manual/time.texi: Likewise.
47992 * manual/users.texi: Likewise.
47993 * INSTALL: Regenerated.
47994 * NOTES: Regenerated.
47995 * sysdeps/gnu/errlist.c: Regenerated.
47997 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47999 * include/dirent.h: Include <dirstream.h> before
48002 2012-02-28 David S. Miller <davem@davemloft.net>
48004 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48005 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48006 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48007 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48009 2012-02-27 David S. Miller <davem@davemloft.net>
48011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48013 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48014 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48017 frame pointer instead of stack pointer relative arg slot.
48018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48019 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48020 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48022 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48025 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48027 2012-02-27 David S. Miller <davem@davemloft.net>
48029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48033 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48034 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48035 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48036 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48038 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48040 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48041 later. Allow versions 5-9.
48042 * configure: Regenerated.
48043 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48044 required minimum version and 4.6 as recommended version. Do not
48045 mention bugs in GCC 2.7 and 2.8.
48046 * INSTALL: Regenerated.
48048 2012-02-27 David S. Miller <davem@davemloft.net>
48050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48054 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48055 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48056 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48057 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48060 manipulate bits before adding and subtracting TWO112[sx].
48061 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48063 2012-02-27 Roland McGrath <roland@hack.frob.com>
48066 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48067 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48068 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48069 being in POSIX, because they are in 1003.1-2008.
48071 * rt/tst-aio.c: Include <fcntl.h>.
48072 * rt/tst-aio7.c: Likewise.
48073 * rt/tst-aio64.c: Likewise.
48075 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48077 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48079 * manual/install.texi (--with-headers): Describe headers as
48080 interface headers, not private headers.
48081 (Specific advice for GNU/Linux systems): Describe use of headers
48082 from "make headers_install", not private headers from older
48084 * INSTALL: Regenerated.
48085 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48087 * sysdeps/unix/sysv/linux/configure: Regenerated.
48089 * manual/llio.texi (fclean): Remove documentation.
48091 * manual/Makefile (libc-texi-generated): New variable. Include
48093 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48094 $(libc-texi-generated), not duplicated list of files.
48095 (version.texi, stamp-version): New rules.
48096 (realclean): Remove $(libc-texi-generated), not individual files
48097 from that list. Do not remove dir-add.texinfo.
48098 * manual/libc.texinfo: Comment out uses of edition numbers and
48099 references to printed manual. Remove last-updated dates.
48100 (EDITION): Comment out.
48102 (VERSION, UPDATED): Remove.
48103 (version.texi): Include.
48105 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48107 * sysdeps/posix/spawni.c: Include <signal.h>.
48108 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48109 * sysdeps/pthread/aio_fsync.c: Likewise.
48111 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48113 * conform/Makefile (tests): Run only when not cross-compiling and
48114 when fast-check is not defined.
48116 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48117 * conform/data/limits.h-data: Fixes for POSIX2008.
48118 * conform/run-conformtest.sh: Run all tests.
48119 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48121 * include/bits/dlfcn.h: Likewise.
48122 * include/langinfo.h: Likewise.
48123 * include/monetary.h: Likewise.
48124 * include/sys/poll.h: Likewise.
48126 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48128 * posix/spawn.h: Define __need_sigset_t.
48129 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48130 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48131 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48132 to get sigevent_t only.
48133 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48134 only for __USE_GNU.
48135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48136 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48137 process_vm_writev only for __USE_GNU.
48138 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48140 * conform/Makefile: For now ignore errors from run-conformtest.
48141 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48142 POSIX to avoid namespace pollution. Don't prepend headers.
48143 * conform/data/aio.h-data: Fixes for POSIX testing.
48144 * conform/data/fcntl.h-data: Likewise.
48145 * conform/data/glob.h-data: Likewise.
48146 * conform/data/grp.h-data: Likewise.
48147 * conform/data/pthread.h-data: Likewise.
48148 * conform/data/pwd.h-data: Likewise.
48149 * conform/data/signal.h-data: Likewise.
48150 * conform/data/spawn.h-data: Likewise.
48151 * conform/data/stdio.h-data: Likewise.
48152 * conform/data/stdlib.h-data: Likewise.
48153 * conform/data/stropts.h-data: Likewise.
48154 * conform/data/sys/mman.h-data: Likewise.
48155 * conform/data/sys/stat.h-data: Likewise.
48156 * conform/data/sys/types.h-data: Likewise.
48157 * conform/data/sys/wait.h-data: Likewise.
48158 * conform/data/time.h-data: Likewise.
48159 * conform/data/unistd.h-data: Likewise.
48160 * conform/data/utime.h-data: Likewise.
48162 * io/sys/stat.h: fchmod was always in POSIX.
48163 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48164 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48165 * rt/aio.h: Define __need_timespec before including <time.h>.
48166 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48167 struct. Add forward declaration of pthread_attr_t and use it in
48169 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48170 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48171 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48172 always remove CLK_TCK definition.
48174 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48176 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48178 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48180 * conform/run-conformtest.sh: New file.
48181 * conform/Makefile: Run run-conformtest for tests.
48182 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48185 * conform/data/uchar.h-data: New file.
48186 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48187 * conform/data/arpa/inet.h-data: Likewise.
48188 * conform/data/assert.h-data: Likewise.
48189 * conform/data/complex.h-data: Likewise.
48190 * conform/data/cpio.h-data: Likewise.
48191 * conform/data/ctype.h-data: Likewise.
48192 * conform/data/dirent.h-data: Likewise.
48193 * conform/data/dlfcn.h-data: Likewise.
48194 * conform/data/errno.h-data: Likewise.
48195 * conform/data/fcntl.h-data: Likewise.
48196 * conform/data/float.h-data: Likewise.
48197 * conform/data/fmtmsg.h-data: Likewise.
48198 * conform/data/fnmatch.h-data: Likewise.
48199 * conform/data/ftw.h-data: Likewise.
48200 * conform/data/glob.h-data: Likewise.
48201 * conform/data/grp.h-data: Likewise.
48202 * conform/data/iconv.h-data: Likewise.
48203 * conform/data/inttypes.h-data: Likewise.
48204 * conform/data/langinfo.h-data: Likewise.
48205 * conform/data/libgen.h-data: Likewise.
48206 * conform/data/limits.h-data: Likewise.
48207 * conform/data/locale.h-data: Likewise.
48208 * conform/data/math.h-data: Likewise.
48209 * conform/data/monetary.h-data: Likewise.
48210 * conform/data/mqueue.h-data: Likewise.
48211 * conform/data/ndbm.h-data: Likewise.
48212 * conform/data/net/if.h-data: Likewise.
48213 * conform/data/netdb.h-data: Likewise.
48214 * conform/data/netinet/in.h-data: Likewise.
48215 * conform/data/nl_types.h-data: Likewise.
48216 * conform/data/poll.h-data: Likewise.
48217 * conform/data/pthread.h-data: Likewise.
48218 * conform/data/pwd.h-data: Likewise.
48219 * conform/data/regex.h-data: Likewise.
48220 * conform/data/sched.h-data: Likewise.
48221 * conform/data/search.h-data: Likewise.
48222 * conform/data/semaphore.h-data: Likewise.
48223 * conform/data/setjmp.h-data: Likewise.
48224 * conform/data/signal.h-data: Likewise.
48225 * conform/data/spawn.h-data: Likewise.
48226 * conform/data/stdarg.h-data: Likewise.
48227 * conform/data/stdio.h-data: Likewise.
48228 * conform/data/stdlib.h-data: Likewise.
48229 * conform/data/string.h-data: Likewise.
48230 * conform/data/strings.h-data: Likewise.
48231 * conform/data/stropts.h-data: Likewise.
48232 * conform/data/sys/ipc.h-data: Likewise.
48233 * conform/data/sys/mman.h-data: Likewise.
48234 * conform/data/sys/msg.h-data: Likewise.
48235 * conform/data/sys/resource.h-data: Likewise.
48236 * conform/data/sys/select.h-data: Likewise.
48237 * conform/data/sys/sem.h-data: Likewise.
48238 * conform/data/sys/shm.h-data: Likewise.
48239 * conform/data/sys/socket.h-data: Likewise.
48240 * conform/data/sys/stat.h-data: Likewise.
48241 * conform/data/sys/statvfs.h-data: Likewise.
48242 * conform/data/sys/time.h-data: Likewise.
48243 * conform/data/sys/timeb.h-data: Likewise.
48244 * conform/data/sys/times.h-data: Likewise.
48245 * conform/data/sys/types.h-data: Likewise.
48246 * conform/data/sys/uio.h-data: Likewise.
48247 * conform/data/sys/un.h-data: Likewise.
48248 * conform/data/sys/utsname.h-data: Likewise.
48249 * conform/data/sys/wait.h-data: Likewise.
48250 * conform/data/syslog.h-data: Likewise.
48251 * conform/data/tar.h-data: Likewise.
48252 * conform/data/termios.h-data: Likewise.
48253 * conform/data/utime.h-data: Likewise.
48254 * conform/data/utmpx.h-data: Likewise.
48255 * conform/data/varargs.h-data: Likewise.
48256 * conform/data/wchar.h-data: Likewise.
48257 * conform/data/wctype.h-data: Likewise.
48258 * conform/data/wordexp.h-data: Likewise.
48260 * include/stropts.h: New file.
48261 * include/uchar.h: New file.
48262 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48263 * include/assert.h: Likewise.
48264 * include/ctype.h: Likewise.
48265 * include/dirent.h: Likewise.
48266 * include/dlfcn.h: Likewise.
48267 * include/fcntl.h: Likewise.
48268 * include/fnmatch.h: Likewise.
48269 * include/glob.h: Likewise.
48270 * include/grp.h: Likewise.
48271 * include/libio.h: Likewise.
48272 * include/locale.h: Likewise.
48273 * include/math.h: Likewise.
48274 * include/net/if.h: Likewise.
48275 * include/netdb.h: Likewise.
48276 * include/netinet/in.h: Likewise.
48277 * include/pthread.h: Likewise.
48278 * include/pwd.h: Likewise.
48279 * include/regex.h: Likewise.
48280 * include/sched.h: Likewise.
48281 * include/search.h: Likewise.
48282 * include/setjmp.h: Likewise.
48283 * include/signal.h: Likewise.
48284 * include/stdio.h: Likewise.
48285 * include/stdlib.h: Likewise.
48286 * include/string.h: Likewise.
48287 * include/sys/cdefs.h: Likewise.
48288 * include/sys/mman.h: Likewise.
48289 * include/sys/msg.h: Likewise.
48290 * include/sys/resource.h: Likewise.
48291 * include/sys/select.h: Likewise.
48292 * include/sys/socket.h: Likewise.
48293 * include/sys/stat.h: Likewise.
48294 * include/sys/statvfs.h: Likewise.
48295 * include/sys/time.h: Likewise.
48296 * include/sys/times.h: Likewise.
48297 * include/sys/uio.h: Likewise.
48298 * include/sys/utsname.h: Likewise.
48299 * include/sys/wait.h: Likewise.
48300 * include/termios.h: Likewise.
48301 * include/time.h: Likewise.
48302 * include/ulimit.h: Likewise.
48303 * include/unistd.h: Likewise.
48304 * include/utime.h: Likewise.
48305 * include/wchar.h: Likewise.
48306 * include/wctype.h: Likewise.
48307 * include/wordexp.h: Likewise.
48309 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48311 * time/time.h: TIME_UTC must be a macro.
48312 Make timespec_get available for ISO C11 only as well.
48314 2012-02-24 Ulrich Drepper <drepper@gmail.com>
48316 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48317 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48319 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48321 * configure.in: Use -o not -a in test for unsupported multi-arch.
48323 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48325 * manual/texinfo.tex: Update to version 2012-01-19.16.
48327 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48329 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48331 2012-02-24 Roland McGrath <roland@hack.frob.com>
48334 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48335 * manual/fdl-1.3.texi: New file.
48336 * manual/fdl-1.1.texi: File removed.
48339 * manual/libc.texinfo (FDL_VERSION): New @set.
48340 Use it for mention of FDL in cover text.
48341 (Documentation License): Use it in @include file name.
48343 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48344 Roland McGrath <roland@hack.frob.com>
48347 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48348 (not LONG_LONG_MAX and LONG_LONG_MIN.
48349 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48350 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48352 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48354 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48358 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48359 manipulate bits before adding and subtracting TWO23[sx].
48360 * math/libm-test.inc (nearbyint_test): Add more tests.
48362 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48365 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48366 bits before adding and subtracting TWO23[sx].
48367 * math/libm-test.inc (rint_test): Add more tests.
48368 (rint_test_tonearest): Likewise.
48369 (rint_test_towardzero): Likewise.
48370 (rint_test_downward): Likewise.
48371 (rint_test_upward: Likewise.
48373 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48376 * include/stdc-predef.h: New file. Extracted from features.h.
48377 * include/features.h: Include stdc-predef.h.
48378 * Makefile (headers): Add stdc-predef.h.
48379 * CONFORMANCE (Compiler limitations): Update.
48381 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48383 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48385 2012-02-21 David S. Miller <davem@davemloft.net>
48387 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48388 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48390 2012-02-20 David S. Miller <davem@davemloft.net>
48392 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48393 using a normal save/restore sequence, rather than allocating a
48394 dummy stack frame just to store a frame pointer and restore.
48395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48397 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48399 * manual/install.texi: Fix stray word in line-wrapped comment.
48401 2012-02-20 David S. Miller <davem@davemloft.net>
48403 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48404 both binutils and gcc support GOTDATA.
48406 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48407 "rd %pc" in the PIC register setup sequences.
48409 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48410 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48411 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48412 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48413 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48415 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48416 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48418 (SYSCALL_ERROR_HANDLER): Likewise.
48419 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48420 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48422 (SYSCALL_ERROR_HANDLER): Likewise.
48424 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48425 (HAVE_GCC_GOTDATA): New.
48426 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48427 relocation support in both binutils and gcc.
48428 * sysdeps/sparc/elf/configure: Regenerate.
48430 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48431 * sysdeps/sparc/sparc32/elf/configure: Delete.
48432 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48433 * sysdeps/sparc/sparc64/elf/configure: Delete.
48434 * sysdeps/sparc/elf/configure.in: New file.
48435 * sysdeps/sparc/elf/configure: Generate.
48437 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48438 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48439 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48440 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48441 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48443 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48445 * manual/install.texi: Do not mention specific glibc version
48447 * manual/libc.texinfo (VERSION, UPDATED): Update.
48448 (@copying): Use @copyright{} and range of years.
48450 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48453 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48454 [crti.S not in sysdirs] (generated): Do not append.
48455 [crti.S not in sysdirs] (omit-deps): Likewise.
48456 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48457 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48458 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48459 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48460 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48462 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48463 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48464 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48465 * csu/defs.awk: Remove file.
48466 * sysdeps/generic/initfini.c: Likewise.
48467 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48469 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48472 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48474 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48475 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48476 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48479 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48481 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48482 (__EPOLL_PACKED): Define to empty if not defined by
48484 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48488 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48490 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48491 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48492 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48493 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48495 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48499 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48501 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48503 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48504 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48505 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48508 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48510 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48511 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48513 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48515 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48516 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48518 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48520 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48523 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48525 * math/w_acos.c: Use non-signaling floating-point comparisons.
48526 * math/w_acosf.c: Likewise.
48527 * math/w_acosh.c: Likewise.
48528 * math/w_acoshf.c: Likewise.
48529 * math/w_acoshl.c: Likewise.
48530 * math/w_acosl.c: Likewise.
48531 * math/w_asin.c: Likewise.
48532 * math/w_asinf.c: Likewise.
48533 * math/w_asinl.c: Likewise.
48534 * math/w_atanh.c: Likewise.
48535 * math/w_atanhf.c: Likewise.
48536 * math/w_atanhl.c: Likewise.
48537 * math/w_exp2.c: Likewise.
48538 * math/w_exp2f.c: Likewise.
48539 * math/w_exp2l.c: Likewise.
48540 * math/w_j0.c: Likewise.
48541 * math/w_j0f.c: Likewise.
48542 * math/w_j0l.c: Likewise.
48543 * math/w_j1.c: Likewise.
48544 * math/w_j1f.c: Likewise.
48545 * math/w_j1l.c: Likewise.
48546 * math/w_jn.c: Likewise.
48547 * math/w_jnf.c: Likewise.
48548 * math/w_log.c: Likewise.
48549 * math/w_log10.c: Likewise.
48550 * math/w_log10f.c: Likewise.
48551 * math/w_log10l.c: Likewise.
48552 * math/w_log2.c: Likewise.
48553 * math/w_log2f.c: Likewise.
48554 * math/w_log2l.c: Likewise.
48555 * math/w_logf.c: Likewise.
48556 * math/w_logl.c: Likewise.
48557 * math/w_sqrt.c: Likewise.
48558 * math/w_sqrtf.c: Likewise.
48559 * math/w_sqrtl.c: Likewise.
48560 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48561 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48562 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48563 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48564 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48566 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48569 * manual/string.texi (strnlen): Use correct parameter name in
48570 equivalent expression.
48572 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48575 * manual/users.texi (seteuid): Consistently use neweuid for
48578 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48581 * manual/nss.texi (Services in the NSS configuration): Correct
48582 list of services in example configuration file.
48584 2012-02-19 Nick Bowler <nbowler@draconx.ca>
48587 * manual/arith.texi: Remove statements about negative zero
48588 behaving identically to zero.
48590 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48593 * manual/install.texi: Do not document upgrading from libc5.
48595 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48598 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48600 2012-02-18 David S. Miller <davem@davemloft.net>
48602 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48603 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48604 %o7 across the call.
48605 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48608 SETUP_PIC_REG_LEAF.
48609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48610 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48611 * sysdeps/sparc/crtn.S: Likewise.
48613 2012-02-17 Ulrich Drepper <drepper@gmail.com>
48615 * aout/Makefile: Remove.
48617 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48620 * manual/examples/argp-ex1.c (main): Format definition in GNU
48622 * manual/examples/argp-ex2.c (main): Likewise.
48623 * manual/examples/argp-ex3.c (main): Likewise.
48624 * manual/examples/argp-ex4.c (main): Likewise.
48625 * manual/examples/longopt.c (main): Use new-style prototype
48627 * manual/examples/strncat.c (main): Specify return type and use
48628 (void) for arguments.
48629 * manual/examples/subopt.c (main): Use char **argv argument.
48631 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48634 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48637 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48640 * manual/string.texi (strchr): Change when strchrnul is
48643 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48646 * manual/locale.texi (setlocale): Document LOCPATH.
48648 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48651 * manual/process.texi (execle): Move @dots{} before last argument.
48653 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
48656 * manual/charset.texi (Generic Charset Conversion): Fix typo
48657 (LC_TYPE -> LC_CTYPE).
48659 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48662 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48663 (scalbnf): Likewise.
48664 (scalbnl): Likewise.
48665 (scalbln): Likewise.
48666 (scalblnf): Likewise.
48667 (scalblnl): Likewise.
48668 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48669 (vwarnx): Likewise.
48672 * manual/filesys.texi (telldir): Use braces around return type.
48673 * manual/llio.texi (mmap): Add space after comma.
48674 (mmap64): Likewise.
48675 * manual/math.texi (jn): Use @var{} on parameter names.
48681 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48683 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48685 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48686 (sched_get_priority_max): Likewise.
48687 * manual/signal.texi (sigvec): Add space after comma.
48688 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48690 (if_indextoname): Likewise.
48691 (if_freenameindex): Likewise.
48692 (sendto): Use ',' instead of '.' in prototype.
48693 * manual/startup.texi (syscall): Use @dots{} instead of literal
48695 * manual/stdio.texi (__fpending): Separate initial words of
48696 paragraph from @deftypefun line.
48697 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48699 (vsyslog): Use @var{} on parameter names.
48700 * manual/terminal.texi (stty): Use @var{} on parameter names.
48701 * manual/users.texi (getutmp): Use @var{} on parameter names.
48702 (getutmpx): Likewise.
48704 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48707 * manual/stdio.texi (fopen): Fix typos in description of
48710 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48713 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48714 get clock_id definition.
48716 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
48719 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48720 (madvise): Cast every argument to void on its own.
48722 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48725 * manual/startup.texi (Exit Status): Fix typo.
48727 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48730 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48731 * manual/examples/argp-ex2.c: Likewise.
48732 * manual/examples/argp-ex3.c: Likewise.
48734 2012-02-16 Richard Henderson <rth@redhat.com>
48736 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48737 * sysdeps/s390/s390-32/initfini.c: Remove.
48738 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48739 * sysdeps/s390/s390-64/initfini.c: Remove.
48741 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48743 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48744 compiler output for sysdeps/generic/initfini.c.
48745 * sysdeps/sh/elf/initfini.c: Remove file.
48747 2012-02-16 David S. Miller <davem@davemloft.net>
48750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48752 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48753 * sysdeps/sparc/crti.S: New file.
48754 * sysdeps/sparc/crtn.S: New file.
48755 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48756 * sysdeps/sparc/sparc64/Makefile: Likewise.
48758 2012-02-15 Mike Frysinger <vapier@gentoo.org>
48761 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48763 2012-02-15 Roland McGrath <roland@hack.frob.com>
48766 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48768 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48769 (write, read, close): Likewise.
48770 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48772 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48774 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48775 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48776 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48777 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48779 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48783 2012-02-14 Marek Polacek <polacek@redhat.com>
48785 * sysdeps/x86_64/crti.S: New file.
48786 * sysdeps/x86_64/crtn.S: New file.
48787 * sysdeps/x86_64/elf/initfini.c: Remove file.
48789 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48791 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48792 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48793 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48794 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48796 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48800 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48802 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48803 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48804 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48805 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48807 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48811 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48813 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48814 __feraiseexcept instead of feraiseexcept.
48816 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48817 nanosleep invocations.
48818 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48819 strings, and add error checking for a nanosleep invocations.
48821 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48823 Replace FSF snail mail address with URLs, as per GNU coding standards.
48824 Most of the snail mail addresses were wrong anyway, and omitting
48825 them makes the source code easier to maintain. Almost all of the
48826 changes are to license notices and to locale LC_IDENTIFICATION
48827 addresses, except for this one:
48828 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48829 not its snail mail address.
48831 2012-02-09 Richard Henderson <rth@twiddle.net>
48833 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48834 of kernel-features.h.
48836 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48838 2012-02-08 Marek Polacek <polacek@redhat.com>
48840 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48841 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48842 * sysdeps/gnu/_G_config.h: Likewise.
48843 * sysdeps/generic/_G_config.h: Likewise.
48845 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48847 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48851 * sysdeps/powerpc/powerpc32/crti.S: New file.
48852 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48853 * sysdeps/powerpc/powerpc64/crti.S: New file.
48854 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48856 * Makeconfig (have-initfini): Don't set.
48857 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48858 * configure.in (nopic_initfini): Don't substitute.
48859 * config.h.in (HAVE_INITFINI): Don't #undef.
48860 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48861 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48863 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48865 Support crti.S and crtn.S provided directly by architectures.
48866 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48867 [crti.S in sysdirs] (omit-deps): Likewise.
48868 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48869 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48870 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48871 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48872 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48873 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48874 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48875 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48876 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48877 compiler output for sysdeps/generic/initfini.c.
48878 * sysdeps/i386/elf/Makefile: Remove file.
48879 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48881 2012-02-07 Marek Polacek <polacek@redhat.com>
48883 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48884 * sysdeps/gnu/_G_config.h: Likewise.
48885 * sysdeps/mach/hurd/_G_config.h: Likewise.
48887 2012-02-07 Marek Polacek <polacek@redhat.com>
48889 * math/Makefile (tests): Add tst-CMPLX2.
48890 * math/tst-CMPLX2.c: New file.
48892 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48894 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48896 * math/libm-test.inc (jn_test): Add missing L suffix.
48898 2012-02-06 Marek Polacek <polacek@redhat.com>
48900 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48901 * sysdeps/i386/fpu/e_powf.S: Likewise.
48902 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48903 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48904 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48905 * sysdeps/i386/fpu/e_pow.S: Likewise.
48906 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48907 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48908 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48909 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48910 * sysdeps/i386/fpu/e_log2.S: Likewise.
48911 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48912 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48913 * sysdeps/i386/fpu/e_powl.S: Likewise.
48914 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48915 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48916 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48917 * sysdeps/i386/fpu/e_logl.S: Likewise.
48918 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48919 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48920 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48921 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48922 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48923 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48924 * sysdeps/i386/fpu/e_log.S: Likewise.
48925 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48926 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48927 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48928 * sysdeps/i386/fpu/e_logf.S: Likewise.
48929 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48930 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48931 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48932 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48933 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48934 * sysdeps/i386/fpu/e_log10.S: Likewise.
48935 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48936 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48937 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48938 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48940 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48941 * sysdeps/i386/asm-syntax.h: Likewise.
48942 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48943 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48944 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48945 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48946 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48947 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48948 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48949 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48950 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48951 * sysdeps/powerpc/sysdep.h: Likewise.
48952 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48953 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48955 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48958 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48960 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48962 * sysdeps/i386/sysdep.h: Include <features.h>.
48963 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48966 2012-02-05 Joseph Myers <joseph@codesourcery.com>
48968 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48970 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48973 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48975 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48976 (SETUP_PIC_REG): Use GET_PC_THUNK.
48977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48980 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48982 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48983 for non-PIC compilation.
48984 (SETUP_PIC_REG): Add .p2align directive.
48985 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48986 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48987 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48988 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48989 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48990 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48991 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48992 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48993 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48994 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48995 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48996 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48997 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48998 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48999 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49000 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49001 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49002 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49003 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49004 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49005 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49007 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49008 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49011 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49012 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49013 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49014 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49015 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49016 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49017 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49018 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49019 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49020 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49021 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49022 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49023 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49024 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49025 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49027 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49029 * math/tst-CMPLX.c: Include <stdio.h>.
49031 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49033 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49035 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49036 * sysdeps/sparc/bits/mathdef.h: Likewise.
49038 2012-01-31 Marek Polacek <polacek@redhat.com>
49040 * libio/libio.h: Don't define _PARAMS.
49041 * locale/programs/config.h: Don't define PARAMS.
49042 * stdlib/strtol_l.c: Likewise.
49043 (__strtol_l): Remove PARAMS from the prototype.
49045 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49047 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49048 names. Just use the correct names. Remove unnecessary wrapper
49050 * malloc/arena.c: Likewise.
49051 * malloc/hooks.c: Likewise.
49053 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49054 ARENA_TEST says not to. Simplify test for creation of a new arena.
49055 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49057 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49059 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49061 (update_get_addr): New function.
49062 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49063 GET_ADDR_MODULE parameter.
49065 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49067 * crypt/cert.c: Remove __STDC__ conditionals.
49068 * crypt/crypt-entry.c: Likewise.
49069 * crypt/crypt_util.c: Likewise.
49070 * libio/filedoalloc.c: Likewise.
49071 * libio/fileops.c: Likewise.
49072 * libio/genops.c: Likewise.
49073 * libio/iofclose.c: Likewise.
49074 * libio/iofdopen.c: Likewise.
49075 * libio/iofopen.c: Likewise.
49076 * libio/iofopen64.c: Likewise.
49077 * libio/iogetdelim.c: Likewise.
49078 * libio/iopopen.c: Likewise.
49079 * libio/obprintf.c: Likewise.
49080 * libio/oldfileops.c: Likewise.
49081 * libio/oldiofclose.c: Likewise.
49082 * libio/oldiofdopen.c: Likewise.
49083 * libio/oldiofopen.c: Likewise.
49084 * libio/oldiopopen.c: Likewise.
49085 * libio/wfiledoalloc.c: Likewise.
49086 * libio/wgenops.c: Likewise.
49087 * locale/programs/xmalloc.c: Likewise.
49088 * misc/syslog.c: Likewise.
49089 * stdio-common/xbug.c: Likewise.
49090 * string/memchr.c: Likewise.
49091 * string/memcmp.c: Likewise.
49092 * string/memrchr.c: Likewise.
49093 * string/rawmemchr.c: Likewise.
49094 * sysdeps/posix/getcwd.c: Likewise.
49095 * time/strftime_l.c: Likewise.
49097 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49099 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49100 * config.make.in (config-cflags-sse2avx): Define.
49101 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49104 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49106 * scripts/config.guess: Update from upstream config git repository.
49107 * scripts/config.sub: Likewise.
49109 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49111 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49113 (R_TILEPRO_*, R_TILEGX_*): New macros.
49115 * scripts/firstversions.awk: Fix bug in version range handling.
49117 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49119 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49121 * include/sys/epoll.h: New file.
49122 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49125 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49127 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49128 Avoid unnecessary __WORDSIZE == 64 test.
49129 (fmaxf): Use VEX format if possible.
49134 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49135 * math/math_private.h: Remove libc_fegetround* and
49137 * sysdeps/i386/configure.in: Check for -msse2avx.
49138 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49139 also if SSE2AVX is defined.
49140 Remove libc_fegetround* and libc_fesetround*.
49141 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49142 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49143 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49145 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49146 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49147 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49148 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49149 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49151 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49153 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49155 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49157 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49159 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49162 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49164 * Makeconfig (libm): Define.
49165 * elf/Makefile: Add rules to build and run tst-relsort1.
49166 * elf/tst-relsort1.c: New file.
49167 * elf/tst-relsort1mod1.c: New file.
49168 * elf/tst-relsort1mod2.c: New file.
49170 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49172 * math/s_ldexp.c: Remove __STDC__ conditionals.
49173 * math/s_ldexpf.c: Likewise.
49174 * math/s_ldexpl.c: Likewise.
49175 * math/s_nextafter.c: Likewise.
49176 * math/s_nexttowardf.c: Likewise.
49177 * math/s_significand.c: Likewise.
49178 * math/s_significandf.c: Likewise.
49179 * math/s_significandl.c: Likewise.
49180 * math/w_jnl.c: Likewise.
49181 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49182 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49183 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49184 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49185 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49186 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49187 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49188 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49190 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49191 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49192 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49193 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49195 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49196 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49197 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49198 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49200 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49201 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49202 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49203 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49204 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49205 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49206 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49207 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49208 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49209 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49210 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49211 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49212 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49213 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49214 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49215 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49216 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49217 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49218 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49219 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49220 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49221 * sysdeps/ieee754/k_standard.c: Likewise.
49222 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49223 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49224 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49225 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49226 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49227 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49228 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49229 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49230 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49231 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49232 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49233 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49234 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49235 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49236 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49238 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49240 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49241 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49242 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49243 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49244 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49245 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49246 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49247 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49248 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49251 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49252 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49253 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49254 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49255 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49257 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49258 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49259 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49261 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49262 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49264 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49265 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49266 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49267 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49268 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49271 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49272 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49273 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49274 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49275 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49276 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49277 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49278 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49279 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49280 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49282 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49283 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49284 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49285 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49286 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49287 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49288 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49289 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49290 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49291 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49292 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49293 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49294 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49295 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49296 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49297 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49298 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49299 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49300 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49301 * sysdeps/ieee754/s_matherr.c: Likewise.
49302 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49303 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49304 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49305 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49307 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49309 * crypt/md5.h: Remove __STDC__ conditionals.
49310 * libio/libioP.h: Likewise.
49311 * locale/programs/config.h: Likewise.
49312 * sysdeps/generic/sysdep.h: Likewise.
49313 * sysdeps/i386/asm-syntax.h: Likewise.
49314 * sysdeps/s390/asm-syntax.h: Likewise.
49315 * sysdeps/unix/sysdep.h: Likewise.
49316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49319 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49321 * libio/libio.h: Remove __STDC__ conditionals.
49322 * malloc/obstack.h: Likewise.
49323 * math/complex.h: Likewise.
49324 * math/math.h: Likewise.
49325 * sysdeps/generic/_G_config.h: Likewise.
49326 * sysdeps/gnu/_G_config.h: Likewise.
49327 * sysdeps/mach/hurd/_G_config.h: Likewise.
49328 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49329 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49330 * sysdeps/sparc/bits/mathdef.h: Likewise.
49332 2012-01-26 Ulrich Drepper <drepper@gmail.com>
49335 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49336 Clean up HAS_* macros.
49337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49338 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49340 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49342 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49343 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49344 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49345 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49348 2012-01-25 Joseph Myers <joseph@codesourcery.com>
49350 * elf/tst-unique3.cc (gets): Remove declaration.
49351 * elf/tst-unique3lib.cc (gets): Likewise.
49352 * elf/tst-unique3lib2.cc (gets): Likewise.
49353 * elf/tst-unique4.cc (gets): Likewise.
49355 2012-01-24 Ulrich Drepper <drepper@gmail.com>
49357 * include/stdio.h: Add C++ protection. Add gets declarations and
49359 * debug/tst-chk1.c: Don't declare gets here.
49360 * stdio-common/tst-gets.c: Likewise.
49362 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49364 * posix/glob: Remove directory.
49366 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49368 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49370 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49372 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49373 of the non-standard EPFNOSUPPORT.
49375 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49377 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49378 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49379 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49381 2012-01-21 Ulrich Drepper <drepper@gmail.com>
49383 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49385 2012-01-20 Ulrich Drepper <drepper@gmail.com>
49387 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49389 * nscd/grpcache.c (cache_addgr): Likewise.
49390 * nscd/hstcache.c (cache_addhst): Likewise.
49391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49392 * nscd/pwdcache.c (cache_addpw): Likewise.
49393 * nscd/servicescache.c (cache_addserv): Likewise.
49395 2012-01-16 Ulrich Drepper <drepper@gmail.com>
49397 * malloc/malloc.c: Various cleanups.
49398 * malloc/hooks.c: Likewise.
49400 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49401 * stdlib/bug-fmtmsg1.c: New file.
49403 * stdlib/fmtmsg.c (init): Add missing unlock.
49404 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49406 2012-01-12 Marek Polacek <polacek@redhat.com>
49408 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49411 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49413 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49414 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49415 macro to ensure uniqueness of label name.
49416 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49417 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49419 2012-01-11 Ulrich Drepper <drepper@gmail.com>
49421 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49423 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49424 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49425 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49428 2012-01-10 Ulrich Drepper <drepper@gmail.com>
49430 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49432 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49433 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49434 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49436 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49438 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49439 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49440 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49443 * math/bits/math-finite.h: Add ldexp support.
49445 2012-01-10 Marek Polacek <polacek@redhat.com>
49447 * locale/programs/localedef.h (show_archive_content): Add noreturn
49450 2012-01-09 Ulrich Drepper <drepper@gmail.com>
49452 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49454 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49456 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49458 * io/Makefile (headers): Add bits/poll2.h.
49460 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49463 typo #include statement.
49465 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49467 * include/sys/cdefs.h: Define __attribute_alloc_size.
49468 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49469 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49470 * elf/pldd.c: Likewise.
49471 * iconv/iconv_charmap.c: Likewise.
49472 * iconv/iconvconfig.c: Likewise.
49473 * iconv/strtab.c: Likewise.
49474 * locale/programs/locale.c: Likewise.
49475 * locale/programs/localedef.h: Likewise.
49476 * locale/programs/simple-hash.c: Likewise.
49477 * nscd/nscd.h: Likewise.
49478 * nss/makedb.c: Likewise.
49479 * sysdeps/generic/ldconfig.h: Likewise.
49480 * locale/programs/localedef.c: Remove xmalloc prototype.
49481 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49483 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49485 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49488 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49490 * math/Makefile (tests): Add tst-CMPLX.
49491 * math/tst-CMPLX.c: New file.
49493 * math/complex.h (CMPLXL): Fix typo.
49495 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49496 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49498 * debug/tst-chk1.c: Add poll and ppoll tests.
49499 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49500 * include/sys/poll.h: Add hidden proto for ppoll.
49501 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49502 * sysdeps/mach/hurd/ppoll.c: Likewise.
49503 * io/ppoll.c: Likewise.
49504 * debug/poll_chk.c: New file.
49505 * debug/ppoll_chk.c: New file.
49506 * include/bits/poll2.h: New file.
49507 * io/bits/poll2.h: New file.
49510 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49512 * configure.in: static is always set to yes. Remove.
49513 * config.make.in: Don't set build-static.
49514 * Makeconfig: Remove use of build-static.
49515 * dlfcn/Makefile: Likewise.
49516 * elf/Makefile: Likewise.
49517 * math/Makefile: Likewise.
49518 * misc/Makefile: Likewise.
49519 * nptl/Makefile: Likewise.
49520 * sysdeps/mach/hurd/Makefile: Likewise.
49522 * configure.in: PWD_P is not used anymore.
49523 * config.make.in: Remove PWD_P entry.
49525 * configure.in: Remove last remnants of RANLIB.
49526 No need to check for signed size_t anymore.
49527 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49529 Remove __builtin_expect test because we require at least gcc 3.4.
49530 * aclocal.m4: Likewise.
49532 * wcsmbs/mbrtoc16.c: Implement using towc function.
49533 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49534 * wcsmbs/wcsmbsload.c: Likewise.
49535 * iconv/gconv_simple.c: Likewise.
49536 * iconv/gconv_int.h: Likewise.
49537 * iconv/gconv_builtin.h: Likewise.
49538 * iconv/iconv_prog.c: Remove CHAR16 handling.
49540 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49542 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49544 * configure.in: Remove --with-elf and --enable-bounded options.
49545 Dont set base_machine for ia64. More non-ELF conditions removed.
49546 Remove testing and setting of leading underscore information.
49547 * config.make.in (build-bounded): Set to no.
49548 * config.h.in: Remove NO_UNDERSCORES entry.
49549 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49551 * csu/start.c: Remove !NO_UNDERSCORE code.
49552 * locale/localeinfo.h: Likewise.
49553 * sysdeps/generic/machine-gmon.h: Likewise.
49554 * sysdeps/generic/sysdep.h: Likewise.
49555 * sysdeps/i386/sysdep.h: Likewise.
49556 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49557 * sysdeps/mach/sysdep.h: Likewise.
49558 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49559 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49560 * sysdeps/sh/sysdep.h: Likewise.
49561 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49562 * sysdeps/unix/i386/sysdep.S: Likewise.
49563 * sysdeps/unix/sparc/start.c: Likewise.
49564 * sysdeps/unix/sparc/sysdep.S: Likewise.
49565 * sysdeps/unix/sparc/sysdep.h: Likewise.
49566 * sysdeps/unix/start.c: Likewise.
49567 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49568 * sysdeps/x86_64/sysdep.h: Likewise.
49570 2012-01-07 Ulrich Drepper <drepper@gmail.com>
49573 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49575 * argp/argp-fmtstream.h: Use const instead __const.
49576 * argp/argp.h: Likewise.
49577 * assert/assert.h: Likewise.
49578 * bits/fenv.h: Likewise.
49579 * bits/sched.h: Likewise.
49580 * bits/sigset.h: Likewise.
49581 * bits/sigthread.h: Likewise.
49582 * catgets/nl_types.h: Likewise.
49583 * conform/data/pthread.h-data: Likewise.
49584 * crypt/crypt-private.h: Likewise.
49585 * crypt/crypt.h: Likewise.
49586 * crypt/crypt_util.c: Likewise.
49587 * ctype/ctype.h: Likewise.
49588 * debug/execinfo.h: Likewise.
49589 * debug/mbsnrtowcs_chk.c: Likewise.
49590 * debug/mbsrtowcs_chk.c: Likewise.
49591 * debug/wcsnrtombs_chk.c: Likewise.
49592 * debug/wcsrtombs_chk.c: Likewise.
49593 * debug/wcstombs_chk.c: Likewise.
49594 * dirent/dirent.h: Likewise.
49595 * dlfcn/dlfcn.h: Likewise.
49596 * elf/neededtest4.c: Likewise.
49597 * grp/grp.h: Likewise.
49598 * gshadow/gshadow.h: Likewise.
49599 * iconv/gconv.h: Likewise.
49600 * iconv/gconv_int.h: Likewise.
49601 * iconv/gconv_simple.c: Likewise.
49602 * iconv/iconv.h: Likewise.
49603 * iconv/loop.c: Likewise.
49604 * iconv/skeleton.c: Likewise.
49605 * include/aio.h: Likewise.
49606 * include/aliases.h: Likewise.
49607 * include/argz.h: Likewise.
49608 * include/arpa/inet.h: Likewise.
49609 * include/assert.h: Likewise.
49610 * include/dirent.h: Likewise.
49611 * include/dlfcn.h: Likewise.
49612 * include/execinfo.h: Likewise.
49613 * include/fcntl.h: Likewise.
49614 * include/fenv.h: Likewise.
49615 * include/glob.h: Likewise.
49616 * include/grp.h: Likewise.
49617 * include/libintl.h: Likewise.
49618 * include/mntent.h: Likewise.
49619 * include/netdb.h: Likewise.
49620 * include/pwd.h: Likewise.
49621 * include/rpc/netdb.h: Likewise.
49622 * include/sched.h: Likewise.
49623 * include/search.h: Likewise.
49624 * include/shadow.h: Likewise.
49625 * include/signal.h: Likewise.
49626 * include/stdio.h: Likewise.
49627 * include/stdlib.h: Likewise.
49628 * include/string.h: Likewise.
49629 * include/sys/socket.h: Likewise.
49630 * include/sys/stat.h: Likewise.
49631 * include/sys/statfs.h: Likewise.
49632 * include/sys/statvfs.h: Likewise.
49633 * include/sys/syslog.h: Likewise.
49634 * include/sys/time.h: Likewise.
49635 * include/sys/uio.h: Likewise.
49636 * include/time.h: Likewise.
49637 * include/unistd.h: Likewise.
49638 * include/utmp.h: Likewise.
49639 * include/wchar.h: Likewise.
49640 * include/wctype.h: Likewise.
49641 * inet/aliases.h: Likewise.
49642 * inet/arpa/inet.h: Likewise.
49643 * inet/netinet/ether.h: Likewise.
49644 * inet/netinet/in.h: Likewise.
49645 * intl/libintl.h: Likewise.
49646 * io/bits/fcntl2.h: Likewise.
49647 * io/fcntl.h: Likewise.
49648 * io/ftw.h: Likewise.
49649 * io/sys/poll.h: Likewise.
49650 * io/sys/stat.h: Likewise.
49651 * io/sys/statfs.h: Likewise.
49652 * io/sys/statvfs.h: Likewise.
49653 * io/utime.h: Likewise.
49654 * libio/bits/stdio.h: Likewise.
49655 * libio/bits/stdio2.h: Likewise.
49656 * libio/libio.h: Likewise.
49657 * libio/libioP.h: Likewise.
49658 * libio/stdio.h: Likewise.
49659 * locale/lc-ctype.c: Likewise.
49660 * locale/locale.h: Likewise.
49661 * login/utmp.h: Likewise.
49662 * malloc/arena.c: Likewise.
49663 * malloc/malloc.c: Likewise.
49664 * malloc/malloc.h: Likewise.
49665 * malloc/mcheck.c: Likewise.
49666 * malloc/mtrace.c: Likewise.
49667 * math/bits/mathcalls.h: Likewise.
49668 * math/fenv.h: Likewise.
49669 * math/math_private.h: Likewise.
49670 * misc/bits/error.h: Likewise.
49671 * misc/bits/syslog.h: Likewise.
49672 * misc/err.h: Likewise.
49673 * misc/error.h: Likewise.
49674 * misc/fstab.h: Likewise.
49675 * misc/mntent.h: Likewise.
49676 * misc/regexp.h: Likewise.
49677 * misc/search.h: Likewise.
49678 * misc/sgtty.h: Likewise.
49679 * misc/sys/mman.h: Likewise.
49680 * misc/sys/syslog.h: Likewise.
49681 * misc/sys/uio.h: Likewise.
49682 * misc/sys/xattr.h: Likewise.
49683 * misc/ttyent.h: Likewise.
49684 * nis/rpcsvc/ypclnt.h: Likewise.
49685 * nss/nss.h: Likewise.
49686 * posix/bits/unistd.h: Likewise.
49687 * posix/fnmatch.h: Likewise.
49688 * posix/glob.h: Likewise.
49689 * posix/sched.h: Likewise.
49690 * posix/spawn.h: Likewise.
49691 * posix/sys/wait.h: Likewise.
49692 * posix/unistd.h: Likewise.
49693 * posix/wordexp.h: Likewise.
49694 * pwd/pwd.h: Likewise.
49695 * resolv/netdb.h: Likewise.
49696 * resource/sys/resource.h: Likewise.
49697 * rt/aio.h: Likewise.
49698 * rt/bits/mqueue2.h: Likewise.
49699 * rt/mqueue.h: Likewise.
49700 * shadow/shadow.h: Likewise.
49701 * signal/signal.h: Likewise.
49702 * socket/send.c: Likewise.
49703 * socket/sendto.c: Likewise.
49704 * socket/sys/socket.h: Likewise.
49705 * stdio-common/printf.h: Likewise.
49706 * stdlib/bits/stdlib.h: Likewise.
49707 * stdlib/fmtmsg.h: Likewise.
49708 * stdlib/monetary.h: Likewise.
49709 * stdlib/stdlib.h: Likewise.
49710 * stdlib/ucontext.h: Likewise.
49711 * streams/stropts.h: Likewise.
49712 * string/argz.h: Likewise.
49713 * string/bits/string2.h: Likewise.
49714 * string/string.h: Likewise.
49715 * string/strings.h: Likewise.
49716 * sunrpc/rpc/auth.h: Likewise.
49717 * sunrpc/rpc/auth_des.h: Likewise.
49718 * sunrpc/rpc/clnt.h: Likewise.
49719 * sunrpc/rpc/netdb.h: Likewise.
49720 * sunrpc/rpc/pmap_clnt.h: Likewise.
49721 * sunrpc/rpc/xdr.h: Likewise.
49722 * sysdeps/generic/inttypes.h: Likewise.
49723 * sysdeps/generic/net/if.h: Likewise.
49724 * sysdeps/generic/sys/swap.h: Likewise.
49725 * sysdeps/gnu/net/if.h: Likewise.
49726 * sysdeps/gnu/utmpx.h: Likewise.
49727 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49728 * sysdeps/i386/i486/bits/string.h: Likewise.
49729 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49730 * sysdeps/s390/bits/string.h: Likewise.
49731 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49732 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49733 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49734 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49735 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49736 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49737 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49738 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49739 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49740 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49741 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49742 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49743 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49744 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49745 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49746 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49747 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49749 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49750 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49752 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49753 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49754 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49755 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49756 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49757 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49759 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49760 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49761 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49762 * sysvipc/sys/ipc.h: Likewise.
49763 * sysvipc/sys/msg.h: Likewise.
49764 * sysvipc/sys/sem.h: Likewise.
49765 * sysvipc/sys/shm.h: Likewise.
49766 * termios/termios.h: Likewise.
49767 * time/sys/time.h: Likewise.
49768 * time/time.h: Likewise.
49769 * wcsmbs/bits/wchar2.h: Likewise.
49770 * wcsmbs/uchar.h: Likewise.
49771 * wcsmbs/wchar.h: Likewise.
49772 * wctype/wctype.h: Likewise.
49775 * Makeconfig: Remove all but ELF support including AIX support.
49776 * Makerules: Likewise.
49777 * config.h.in: Likewise.
49778 * config.make.in: Likewise.
49779 * configure: Likewise.
49780 * configure.in: Likewise.
49781 * csu/Makefile: Likewise.
49782 * csu/version.c: Likewise.
49783 * debug/Makefile: Likewise.
49784 * dlfcn/Makefile: Likewise.
49785 * elf/Makefile: Likewise.
49786 * extra-lib.mk: Likewise.
49787 * iconv/Makefile: Likewise.
49788 * include/libc-symbols.h: Likewise.
49789 * include/shlib-compat.h: Likewise.
49790 * resolv/Makefile: Likewise.
49791 * resolv/res_libc.c: Likewise.
49792 * rt/Makefile: Likewise.
49793 * sysdeps/i386/asm-syntax.h: Likewise.
49794 * sysdeps/i386/sysdep.h: Likewise.
49795 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49796 * sysdeps/mach/sysdep.h: Likewise.
49797 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49798 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49799 * sysdeps/s390/asm-syntax.h: Likewise.
49800 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49801 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49802 * sysdeps/sh/sysdep.h: Likewise.
49803 * sysdeps/unix/sparc/sysdep.h: Likewise.
49804 * sysdeps/wordsize-32/divdi3.c: Likewise.
49805 * sysdeps/x86_64/sysdep.h: Likewise.
49807 * argp/Versions: Remove _argp_unlock_xxx.
49810 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49811 * abilist/libBrokenLocale.abilist: Likewise.
49812 * abilist/libanl.abilist: Likewise.
49813 * abilist/libc.abilist: Likewise.
49814 * abilist/libcrypt.abilist: Likewise.
49815 * abilist/libdl.abilist: Likewise.
49816 * abilist/libm.abilist: Likewise.
49817 * abilist/libnsl.abilist: Likewise.
49818 * abilist/libpthread.abilist: Likewise.
49819 * abilist/libresolv.abilist: Likewise.
49820 * abilist/librt.abilist: Likewise.
49821 * abilist/libthread_db.abilist: Likewise.
49822 * abilist/libutil.abilist: Likewise.
49823 * abilist/libnss_db.abilist: New file.
49825 * scripts/abilist.awk: Add support for indirect functions.
49827 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49829 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49831 * shlib-versions: Remove entries for ports architectures.
49833 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49835 * elf/stackguard-macros.h: Remove support for IA-64.
49836 * elf/tst-auditmod1.c: Likewise.
49837 * sysdeps/generic/ldsodefs.h: Likewise.
49839 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49840 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49844 * configure.in: Remove --enable-omitfp support.
49846 * config.make.in: Likewise.
49847 * Makeconfig: Likewise.
49848 * manual/install.texi: Likewise.
49850 In case anyone cares, the IA-64 architecture could move to ports.
49851 * sysdeps/ia64/*: Removed.
49852 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49853 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49856 * configure.in: Remove entries for unsupported architectures.
49859 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49860 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49862 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49863 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49864 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49865 fall back to using wcrtomb.
49866 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49867 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49869 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49870 * wcsmbs/tst-c16c32-1.c: New file.
49872 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49875 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49877 * elf/tst-unique3.cc: Add explicit declaration of gets.
49878 * elf/tst-unique3lib.cc: Likewise.
49879 * elf/tst-unique3lib2.cc: Likewise.
49880 * elf/tst-unique4.cc: Likewise.
49882 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49884 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49887 * assert/assert.h (static_assert): Don't define for C++.
49888 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49889 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49891 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49893 * iconv/loop.c (single loop): Fix assertion in storing of
49896 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49898 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49900 * posix/getconf.c: Update copyright year.
49901 * nss/getent.c: Likewise.
49902 * nss/makedb.c: Likewise.
49903 * iconv/iconvconfig.c: Likewise.
49904 * iconv/iconv_prog.c: Likewise.
49905 * elf/ldconfig.c: Likewise.
49906 * elf/pldd.c: Likewise.
49907 * elf/sotruss.ksh: Likewise.
49908 * catgets/gencat.c: Likewise.
49909 * csu/version.c: Likewise.
49910 * elf/ldd.bash.in: Likewise.
49911 * elf/sprof.c (print_version): Likewise.
49912 * locale/programs/locale.c: Likewise.
49913 * locale/programs/localedef.c: Likewise.
49914 * login/programs/pt_chown.c: Likewise.
49915 * nscd/nscd.c (print_version): Likewise.
49916 * debug/xtrace.sh: Likewise.
49917 * malloc/memusage.sh: Likewise.
49918 * malloc/mtrace.pl: Likewise.
49919 * debug/catchsegv.sh: Likewise.
49921 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49923 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49926 2011-12-24 Ulrich Drepper <drepper@gmail.com>
49929 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49930 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49932 * iconv/gconv_int.h: Likewise.
49933 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49934 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49935 from libc for GLIBC_2.16.
49936 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49937 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49938 * wcsmbs/uchar.h: Really define mbstate_t.
49939 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49940 * wcsmbs/c16rtomb.c: New file.
49941 * wcsmbs/mbrtoc16.c: New file.
49942 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49943 for C/POSIX locale.
49944 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49945 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49947 * wcsmbs/wchar.h: Add missing __restrict.
49949 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49952 * time/Makefile (routines): Add timespec_get.
49953 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49954 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49955 timespec for ISO C11.
49956 * time/timespec_get.c: New file.
49957 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49958 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49961 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49962 * stdlib/stdlib.h: Declare aligned_alloc.
49963 * Versions.def: Add GLIBC_2.16 for libc.
49964 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49967 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49970 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49974 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49977 * assert/assert.h (static_assert): Define.
49979 * version.h: Update for 2.16 development version.
49982 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49985 * version.h (RELEASE): Bump for 2.15 release.
49986 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49988 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49989 Patch by Marek Polacek <mpolacek@redhat.com>.
49991 * bits/byteswap.h: Protect long long constants with __extension__.
49992 * sysdeps/i386/bits/byteswap.h: Likewise.
49993 * sysdeps/ia64/bits/byteswap.h: Likewise.
49994 * sysdeps/s390/bits/byteswap.h: Likewise.
49995 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49997 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50001 destination buffer.
50002 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50004 2011-12-23 Marek Polacek <polacek@redhat.com>
50006 * elf/dl-addr.c (determine_info): Add inline keyword.
50007 * elf/tst-auditmod4b.c (check_avx): Likewise.
50008 * elf/tst-auditmod6b.c (check_avx): Likewise.
50009 * elf/tst-auditmod6c.c (check_avx): Likewise.
50010 * elf/tst-auditmod7b.c (check_avx): Likewise.
50012 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50014 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50017 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50020 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50021 processing for last bytes.
50023 2011-08-06 Bruno Haible <bruno@clisp.org>
50026 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50027 U+0385, not to U+1FEE.
50030 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50031 entry for U+00A5 U+0301.
50033 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50036 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50037 buffer for the output is too small.
50039 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50043 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50044 SSE flags if possible.
50046 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50050 processing for last bytes.
50052 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50054 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50055 (syscall-list-default-options, syscall-list-default-condition)
50056 (syscall-list-includes): Define.
50057 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50058 list of ABIs and options and #if conditions for each ABI. Do not
50059 handle common syscalls between ABIs specially.
50060 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50062 (syscall-list-variants, syscall-list-32bit-options)
50063 (syscall-list-32bit-condition, syscall-list-64bit-options)
50064 (syscall-list-64bit-condition): Define.
50065 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50066 (syscall-list-variants, syscall-list-32bit-options)
50067 (syscall-list-32bit-condition, syscall-list-64bit-options)
50068 (syscall-list-64bit-condition): Define.
50069 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50071 (syscall-list-variants, syscall-list-32bit-options)
50072 (syscall-list-32bit-condition, syscall-list-64bit-options)
50073 (syscall-list-64bit-condition): Define.
50074 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50076 (syscall-list-variants, syscall-list-32bit-options)
50077 (syscall-list-32bit-condition, syscall-list-64bit-options)
50078 (syscall-list-64bit-condition): Define.
50080 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50082 * locale/iso-639.def: Add brx entry.
50085 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50086 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50088 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50089 __feraiseexcept_renamed.
50091 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50094 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50095 EPOLLET with unsigned values.
50096 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50097 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50099 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50100 to large cancellation.
50101 * math/s_cacoshf.c: Likewise.
50102 * math/s_cacoshl.c: Likewise.
50104 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50108 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50109 * math/s_cacoshf.c: Likewise.
50110 * math/s_cacoshl.c: Likewise.
50112 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50115 * iconv/gconv.h: Define __GCONV_SWAP.
50116 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50117 * iconvdata/utf-16.c: Likewise.
50118 * iconvdata/utf-32.c: Likewise.
50120 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50123 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50124 numerator after shifting it by one limb.
50126 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50128 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50129 under [__USE_EXTERN_INLINES].
50131 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50134 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50136 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50138 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50139 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50141 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50142 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50143 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50144 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50145 for strncasecmp/strncasecmp_l compilation.
50146 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50147 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50149 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50152 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50155 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50158 * time/tzfile.c (__tzfile_read): Check values from file header.
50160 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50162 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50163 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50164 * powerpc/powerpc32/dl-start.S: Likewise.
50165 * powerpc/powerpc32/elf/start.S: Likewise.
50166 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50167 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50168 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50169 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50170 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50171 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50172 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50173 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50174 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50175 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50176 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50177 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50178 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50179 * powerpc/powerpc32/memset.S: Likewise.
50180 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50181 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50182 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50183 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50184 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50185 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50186 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50187 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50188 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50189 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50190 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50191 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50192 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50194 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50196 * math/libm-test.inc: Added more nearbyint tests.
50197 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50199 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50202 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50204 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50207 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50209 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50210 Add wcscpy-ssse3 wcscpy-c.
50211 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50212 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50213 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50214 * sysdeps/x86_64/wcschr.S: New file.
50215 * sysdeps/x86_64/wcsrchr.S: New file.
50216 * string/test-strcmp.c: Remove checking of wcscmp function for
50218 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50219 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50220 wcsrchr-sse2 wcsrchr-c.
50221 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50222 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50223 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50224 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50225 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50226 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50227 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50228 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50229 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50230 * wcsmbc/wcschr.c (WCSCHR): New macro.
50232 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50234 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50235 * wcsmbs/test-wcsrchr.c: New file.
50236 * string/test-strrchr.c: Add wcsrchr support.
50238 * wcsmbs/test-wcscpy.c: New file.
50239 * string/test-strcpy.c: Add wcscpy support.
50242 2011-12-10 Ulrich Drepper <drepper@gmail.com>
50244 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50247 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50250 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50252 2011-12-04 Ulrich Drepper <drepper@gmail.com>
50254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50255 Minor optimizations.
50257 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50258 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50259 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50261 2011-12-03 Ulrich Drepper <drepper@gmail.com>
50263 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50264 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50265 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50266 for gcc to avoid warnings.
50267 * inet/Makefile (tests): Add tst-checks.
50268 * inet/tst-checks.c: New file.
50270 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50273 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50276 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50277 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50279 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50281 2011-12-02 Ulrich Drepper <drepper@gmail.com>
50283 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50286 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50288 2011-11-29 Joseph Myers <joseph@codesourcery.com>
50290 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50291 conditional on GCC version.
50292 (__arch_compare_and_exchange_val_8_acq)
50293 (__arch_compare_and_exchange_val_16_acq)
50294 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50295 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50296 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50298 2011-12-02 Joseph Myers <joseph@codesourcery.com>
50300 * sysdeps/sh/backtrace.c: New file.
50302 2011-12-02 Andreas Schwab <schwab@redhat.com>
50304 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50307 2011-12-01 Andreas Schwab <schwab@redhat.com>
50309 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50310 falling back to utime.
50312 2011-11-30 Andreas Schwab <schwab@redhat.com>
50314 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50315 expectations for float.
50317 2011-11-29 Andreas Schwab <schwab@redhat.com>
50319 * locale/weight.h (findidx): Add parameter len.
50320 * locale/weightwc.h (findidx): Likewise.
50321 * posix/fnmatch_loop.c (FCT): Adjust caller.
50322 * posix/regcomp.c (build_equiv_class): Likewise.
50323 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50324 * posix/regexec.c (check_node_accept_bytes): Likewise.
50325 * string/strcoll_l.c (STRCOLL): Likewise.
50326 * string/strxfrm_l.c (STRXFRM): Likewise.
50328 2011-11-17 Ulrich Drepper <drepper@gmail.com>
50330 * Makefile.in: Remove CVSOPT handling.
50331 * configure.in: Remove use of AC_REVISION.
50332 * iconvdata/Makefile (distribute): No need to filter out CVS.
50333 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50336 2011-11-16 Andreas Schwab <schwab@redhat.com>
50338 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50339 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50340 [USE_AS_STRNCASECMP_L]: Likewise.
50341 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50342 NO_TLS_DIRECT_SEG_REFS.
50343 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50344 Fix argument offsets for non-PIC.
50345 [USE_AS_STRNCASECMP_L]: Likewise.
50346 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50347 NO_TLS_DIRECT_SEG_REFS.
50349 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50351 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50353 * locale/loadlocale.c (_nl_load_locale): Likewise.
50355 2011-11-15 Andreas Schwab <schwab@redhat.com>
50357 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50358 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50359 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50360 (SYSCALL_GETTIME): Set errno on error.
50362 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50363 count references to noai6ai_cached.
50365 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50367 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50369 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50370 FD_CLOEXEC for /proc/self/maps.
50372 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50373 FD_CLOEXEC for /proc/meminfo.
50375 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50378 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50379 FD_CLOEXEC for given file.
50381 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50383 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50384 FD_CLOEXEC for /etc/hosts.
50385 (_gethtent): Likewise.
50387 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50389 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50390 cancellation and set FD_CLOEXEC for /etc/netgroup.
50392 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50393 reading /etc/publickey.
50395 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50396 allow cancellation when reading /etc/group.
50398 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50400 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50402 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50403 when using data file.
50405 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50407 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50408 (write_nis_obj): Use "c" and "e" in fopen.
50410 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50412 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50414 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50416 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50418 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50421 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50423 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50425 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50427 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50428 file parsing and set FD_CLOEXEC.
50430 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50432 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50434 2011-11-14 Andreas Schwab <schwab@redhat.com>
50436 * malloc/arena.c (arena_get2): Don't call reused_arena when
50437 _int_new_arena failed.
50439 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50441 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50442 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50443 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50444 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50445 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50446 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50447 to compile strcasecmp and strncasecmp.
50448 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50449 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50453 2011-11-13 Ulrich Drepper <drepper@gmail.com>
50455 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50456 locale-defines.sym to gen-as-const-headers.
50457 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50458 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50460 to compile strcasecmp and strncasecmp.
50461 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50462 strcasecmp_l and strncasecmp_l.
50463 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50464 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50465 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50466 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50467 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50468 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50469 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50470 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50471 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50472 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50473 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50475 2011-11-12 Ulrich Drepper <drepper@gmail.com>
50477 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50478 result of SYSDEP_GETTIME_CPU to retval.
50479 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50480 parameter list to macro. Remove trailing semicolon. Adjust users.
50482 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50485 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50487 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50489 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50490 from unused variable.
50492 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50494 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50497 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50500 * sunrpc/rpc_prot.c (rejected): Fix case value.
50502 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50503 unsigned long long int to avoid warnings in shift.
50505 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50507 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50510 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50511 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50512 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50514 * nis/nis_table.c (nis_list): Use variable of correct type for
50515 result of __follow_path call.
50517 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50519 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50520 of math functions ceil, trunc, floor, round, and sqrt, when
50521 avaliable on the platform.
50522 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50524 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50525 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50526 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50528 2011-10-30 Marek Polacek <mpolacek@redhat.com>
50530 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50531 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50533 2011-11-11 Roland McGrath <roland@hack.frob.com>
50535 * include/unistd.h: Fix __readlink return type.
50536 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50538 2011-11-11 Ulrich Drepper <drepper@gmail.com>
50540 * stdlib/ucontext.h: Undo last change for makecontext.
50542 2011-11-11 Andreas Schwab <schwab@redhat.com>
50544 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50546 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50547 * setjmp/setjmp.h: Mark functions as non-leaf.
50548 * setjmp/bits/setjmp2.h: Likewise.
50549 * stdlib/ucontext.h: Likewise.
50551 2011-11-10 Andreas Schwab <schwab@redhat.com>
50553 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50554 (reused_arena): Don't check arena limit.
50555 (arena_get2): Atomically check arena limit.
50557 2011-11-08 Ulrich Drepper <drepper@gmail.com>
50559 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50560 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50565 2011-11-07 Andreas Schwab <schwab@redhat.com>
50567 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50568 handler when locking.
50570 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50571 Fix size of allocated buffer.
50573 2011-11-04 Andreas Schwab <schwab@redhat.com>
50576 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50577 declarations for long double functions.
50578 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50580 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50582 2011-11-03 Andreas Schwab <schwab@redhat.com>
50584 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50587 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50590 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50592 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50594 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50596 * include/alloca.h (stackinfo_alloca_round): Define.
50597 (extend_alloca): Use it.
50598 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50599 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50602 * scripts/check-local-headers.sh: Ignore libaudit.h.
50604 * nscd/Makefile (extra-objs): Make recursively expanded.
50606 2011-11-01 Ulrich Drepper <drepper@gmail.com>
50608 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50609 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50611 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50612 * posix/tst-rfc3484-2.c: Likewise.
50613 * posix/tst-rfc3484-3.c: Likewise.
50615 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50617 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50619 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50620 process_vm_writev from libc using GLIBC_2.15 version.
50622 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50624 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50626 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50629 2011-10-31 Ulrich Drepper <drepper@gmail.com>
50632 * nss/getent.c (initgroups_keys): Show error message in case no group
50635 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50636 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50637 __bump_nl_timestamp.
50638 * nscd/connections (nscd_init): When host database is served open
50639 netlink socket and request notification about configuration changes.
50640 (main_loop_poll): Track netlink file descriptor and bump timestamp
50641 in case data becomes available.
50642 (main_loop_epoll): Likewise.
50643 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50644 (database_pers_head): Add extra_data fileds.
50645 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50646 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50647 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50650 in6ai data, call __free_in6ai.
50651 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50652 Add -DHAVE_NETLINK.
50653 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50654 interface information. Reuse previous data if netlink timestamp
50656 (__bump_nl_timestamp): New function.
50657 (__free_in6ai): New function.
50659 2011-10-30 Ulrich Drepper <drepper@gmail.com>
50661 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50662 close_not_cancel_no_status here.
50663 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50665 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50668 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50671 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50672 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50673 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50675 2011-07-03 Andreas Jaeger <aj@suse.de>
50678 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50679 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50680 * math/libm-test.inc (sin_test): Add test case.
50682 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50685 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50686 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50688 * elf/chroot_canon.c (chroot_canon): Cleanups.
50690 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50693 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50694 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50696 * string/test-strchr.c: Make usable for strchrnul testing.
50697 * string/test-strchrnul.c: New file.
50698 * string/Makefile (strop-tests): Add strchrnul.
50700 * po/it.po: Update from translation team.
50701 * po/es.po: Likewise.
50703 2011-10-28 Ulrich Drepper <drepper@gmail.com>
50705 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50706 the three constants needed as parameters. Drop the others.
50707 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50708 __m128i_strloadu_tolower.
50709 Create and initialize variable zero and use it in all the places
50710 where _mm_setzero_si128 was used.
50712 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50713 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50714 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50715 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50717 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50718 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50719 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50720 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50721 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50722 __mpranred, __mptan.
50723 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50724 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50725 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50726 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50727 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50728 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50730 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50731 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50733 2011-10-28 Andreas Schwab <schwab@redhat.com>
50735 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50736 redefine if SHARED.
50737 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50740 wide char related routines to wcsmbs subdir.
50742 2011-10-27 Andreas Schwab <schwab@redhat.com>
50745 * misc/sys/cdefs.h (__THROWNL): Define.
50746 * posix/unistd.h: Use __THREADNL instead of __THREAD
50747 for memory synchronization functions.
50749 2011-10-26 Roland McGrath <roland@hack.frob.com>
50752 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50754 * manual/stdio.texi (Obstack Streams): Node removed.
50756 2011-10-26 Andreas Schwab <schwab@redhat.com>
50758 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50760 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50762 * math/math_private.h (math_force_eval): Allow non-addressable
50764 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50766 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50768 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50769 file is not needed.
50771 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50773 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50774 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50775 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50777 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50778 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50780 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50781 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50782 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50783 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50784 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50785 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50786 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50787 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50788 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50789 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50790 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50791 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50793 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50794 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50795 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50796 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50797 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50798 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50800 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50801 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50804 place. Use VEX encoding when compiling for AVX.
50806 2011-10-25 Andreas Schwab <schwab@redhat.com>
50808 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50809 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50811 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50813 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50815 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50816 useless if() expression.
50817 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50818 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50819 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50820 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50821 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50822 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50823 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50824 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50827 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50828 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50829 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50830 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50831 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50832 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50833 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50834 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50835 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50837 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50839 2011-10-25 Andreas Schwab <schwab@redhat.com>
50841 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50843 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50845 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50847 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50848 .text section. Avoid duplicate constants.
50849 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50850 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50851 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50853 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50857 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50858 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50859 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50861 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50862 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50863 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50864 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50865 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50866 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50867 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50869 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50870 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50871 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50872 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50873 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50874 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50875 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50876 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50877 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50878 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50879 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50880 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50881 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50882 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50883 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50884 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50885 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50886 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50887 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50888 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50889 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50891 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50892 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50893 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50895 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50897 * sysdeps/x86_64/dla.h: Move to ...
50898 * sysdeps/x86_64/fpu/dla.h: ...here.
50899 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50900 situations. Use __builtin_fma only for gcc 4.6 and up.
50902 * config.make.in: Add have-mfma4 entry.
50903 * configure.in: Substitute libc_cv_cc_fma4.
50904 * math/Makefile (dbl-only-routines): Add sincostab.
50905 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50906 Use __sincostab not sincos.
50907 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50909 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50914 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50915 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50916 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50917 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50919 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50920 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50922 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50923 define aliases when function name is a macro.
50924 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50925 sysdeps/ieee754/dbl-64/sincos.tbl.
50926 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50927 fma4-enabled routines.
50928 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50929 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50930 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50931 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50932 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50933 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50935 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50937 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50938 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50939 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50940 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50941 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50942 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50943 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50944 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50945 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50946 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50948 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50949 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50950 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50951 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50953 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50954 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50955 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50956 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50957 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50959 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50970 2011-10-24 Andreas Schwab <schwab@redhat.com>
50972 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50974 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50976 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50978 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50980 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50982 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50983 Remove unused variable magic_bits.
50984 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50986 * string/strnlen.c: Define and use STRNLEN macro.
50987 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50988 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50990 * wcsmbs/wcslen.c: Define and use WCSLEN.
50991 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50992 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50993 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50994 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50995 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50996 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50997 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50999 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51002 strnlen-sse2-no-bsf.
51003 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51004 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51005 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51006 Add strnlen support.
51007 (USE_AS_STRNLEN): New macro.
51008 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51009 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51010 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51011 * sysdeps/x86_64/wcslen.S: New file.
51013 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51016 XMM-moves are used for copying on small sizes.
51018 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51020 * wcsmbs/Makefile (strop-tests): Add wcschr.
51021 * wcsmbs/test-wcschr.c: New file.
51022 * string/test-strchr.c: Update.
51023 Add wcschr support.
51026 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51028 * wcsmbs/Makefile (strop-tests): Add wcslen.
51029 * wcsmbs/test-wcslen.c: New file.
51030 * string/test-strlen.c: Update.
51031 Add wcslen support.
51034 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51036 * po/it.po: Update from translation team.
51038 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51040 * sysdeps/x86_64/wcscmp.S: Update.
51041 Fix wrong comparison semantics.
51042 wcscmp shall use signed comparison not unsigned.
51043 Don't use substraction to avoid overflow bug.
51044 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51045 * wcsmbc/wcscmp.c: Likewise.
51046 * string/test-strcmp.c: Likewise.
51047 Add new tests to check cases with negative values.
51049 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51051 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51052 * sysdeps/x86_64/dla.h: ...here. New file.
51053 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51060 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51063 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51065 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51066 __ynl_finite aliases.
51068 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51072 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51074 [DLA_FMA] (EMULV): Use DLA_FMA.
51075 [DLA_FMA] (MUL12): Use EMULV.
51076 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51077 that are not needed.
51078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51086 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51088 * math/s_nan.c: Undef __nan.
51089 * math/s_nanf.c: Undef __nanf.
51090 * math/s_nanl.c: Undef __nanl.
51091 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51094 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51096 * math/s_catan.c: Add branch predictions.
51097 * math/s_catanf.c: Likewise.
51098 * math/s_catanh.c: Likewise.
51099 * math/s_catanhf.c: Likewise.
51100 * math/s_catanhl.c: Likewise.
51101 * math/s_catanl.c: Likewise.
51102 * math/s_cexp.c: Likewise.
51103 * math/s_cexpf.c: Likewise.
51104 * math/s_cexpl.c: Likewise.
51105 * math/s_clog.c: Likewise.
51106 * math/s_clog10.c: Likewise.
51107 * math/s_clog10f.c: Likewise.
51108 * math/s_clog10l.c: Likewise.
51109 * math/s_clogf.c: Likewise.
51110 * math/s_clogl.c: Likewise.
51111 * math/s_csqrt.c: Likewise.
51112 * math/s_csqrtf.c: Likewise.
51113 * math/s_csqrtl.c: Likewise.
51114 * math/s_ctanf.c: Likewise.
51115 * math/s_ctanh.c: Likewise.
51116 * math/s_ctanhf.c: Likewise.
51117 * math/s_ctanhl.c: Likewise.
51118 * math/s_ctanl.c: Likewise.
51120 * math/math_private.h: Define __nan, __nanf, __nanl.
51121 * math/s_cacosh.c: Include <math_private.h>.
51122 * math/s_cacoshl.c: Likewise.
51123 * math/s_casinh.c: Likewise.
51124 * math/s_casinhf.c: Likewise.
51125 * math/s_casinhl.c: Likewise.
51126 * math/s_ccos.c: Rely entire on ccosh.
51127 * math/s_ccosf.c: Rely entire on ccoshf.
51128 * math/s_ccosl.c: Rely entirely on ccoshl.
51129 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51130 Remove tests for FE_INVALID.
51131 * math/s_ccoshf.c: Likewise.
51132 * math/s_ccoshl.c: Likewise.
51133 * math/s_csin.c: Likewise.
51134 * math/s_csinf.c: Likewise.
51135 * math/s_csinh.c Likewise.
51136 * math/s_csinhf.c: Likewise.
51137 * math/s_csinhl.c: Likewise.
51138 * math/s_csinl.c: Likewise.
51139 * math/s_ctan.c: Likewise.
51140 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51141 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51142 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51144 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51147 compilation problems.
51149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51152 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51154 * sysdeps/i386/configure.in: Test for -mfma4 option.
51155 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51156 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51157 COMMON_CPUID_INDEX_80000001.
51158 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51159 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51160 use it if FMA3 is not supported.
51161 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51163 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51164 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51166 2011-10-20 Andreas Schwab <schwab@redhat.com>
51169 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51170 it would create a cycle with a link time dependency.
51172 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51174 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51176 * string/Makefile (strop-tests): Add rawmemchr.
51177 * string/test-rawmemchr.c: New file.
51179 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51180 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51181 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51182 when compiling str{,n}casecmp and when AVX is available. Hook up
51183 new optimized code in initializers.
51185 2011-10-19 Andreas Schwab <schwab@redhat.com>
51187 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51188 __feraiseexcept instead of feraiseexcept.
51190 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51192 * math/math_private.h: Define defaults for libc_fetestexcept and
51194 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51195 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51196 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51197 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51198 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51199 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51200 libc_fetestexcept and libc_feupdateenv.
51202 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51203 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51204 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51205 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51206 libc_feholdexcept_setround.
51208 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51209 Add s_nearbyint-c and s_nearbyintf-c.
51210 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51211 nearbyintf inlines.
51212 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51213 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51214 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51215 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51217 * math/math_private.h: Define defaults for libc_fegetround,
51218 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51219 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51220 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51221 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51222 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51223 standard functions.
51224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51225 Remove comments and hacks for old compiler versions.
51226 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51227 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51228 libc_feholdexceptl.
51230 2011-10-18 Andreas Schwab <schwab@redhat.com>
51232 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51233 (__feraiseexcept_renamed): Add __NTH.
51234 (feraiseexcept): Add __NTH. Rename local variables to fix
51235 namespace violations.
51237 2011-10-17 Ulrich Drepper <drepper@gmail.com>
51239 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51241 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51243 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51244 recently added interfaces.
51245 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51247 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51248 about macro parameter expansion.
51250 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51251 __NO_MATH_INLINES is defined. Cleanups.
51253 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51254 and __floorf is target has SSE4.1.
51255 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51256 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51257 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51258 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51260 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51262 (floorf): Likewise.
51264 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51266 2011-10-17 Andreas Schwab <schwab@redhat.com>
51268 * misc/sys/cdefs.h: Fix last change.
51270 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51273 2011-10-16 Ulrich Drepper <drepper@gmail.com>
51275 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51277 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51278 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51279 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51280 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51281 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51282 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51283 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51284 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51285 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51286 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51287 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51288 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51289 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51290 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51291 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51292 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51293 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51294 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51295 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51296 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51297 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51298 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51300 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51301 ceil, ceilf, floor, floorf.
51303 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51304 Perform IRELATIVE relocations last.
51306 * elf/do-rel.h: Add another parameter nrelative, replacing the
51307 local variable with the same name. Change name of the function
51308 to end in Rel or Rela (uppercase).
51309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51310 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51311 elf_dynamic_do_##reloc function.
51313 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51315 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51316 is sufficient, at least on modern CPUs.
51318 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51320 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51321 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51323 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51325 * math/bits/math-finite.h: Add entries for exp.
51326 * math/e_expl.c: Add __*_finite alias.
51327 * sysdeps/i386/fpu/e_exp.S: Likewise.
51328 * sysdeps/i386/fpu/e_expf.S: Likewise.
51329 * sysdeps/i386/fpu/e_expl.c: Likewise.
51330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51331 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51332 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51334 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51335 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51336 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51338 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51339 is sufficient, at least on modern CPUs.
51341 * ctype/ctype-info.c (__ctype_init): Define.
51342 * include/ctype.h (__ctype_init): Declare.
51343 (__ctype_b_loc): The variable is always initialized.
51344 (__ctype_toupper_loc): Likewise.
51345 (__ctype_tolower_loc): Likewise.
51346 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51347 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51349 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51351 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51353 * configure.in: Also look in $cxxmachine/include for C++ system
51356 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51358 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51359 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51360 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51361 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51362 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51363 (USE_AS_WMEMCMP): New macro.
51365 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51366 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51367 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51368 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51370 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51371 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51372 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51373 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51374 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51375 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51376 (USE_AS_WMEMCMP): New macro.
51377 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51378 * sysdeps/string/test-memcmp.c: Update.
51379 Fix simple_wmemcmp.
51381 * wcsmbs/wmemcmp.c: Update.
51382 (WMEMCMP): New macro.
51385 2011-10-12 Andreas Jaeger <aj@suse.de>
51388 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51390 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51392 * libio/iofwide.c (do_length): Avoid warning.
51394 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51396 2011-10-14 Ulrich Drepper <drepper@gmail.com>
51398 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51400 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51401 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51402 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51403 * sysdeps/i386/i686/fpu/e_log.S: New file.
51404 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51405 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51407 * ctype/ctype.h: Add support for inlined isXXX functions when
51408 compiling C++ code.
51410 2011-10-14 Andreas Schwab <schwab@redhat.com>
51412 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51414 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51416 2011-10-13 Roland McGrath <roland@hack.frob.com>
51419 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51421 2011-10-13 Andreas Schwab <schwab@redhat.com>
51423 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51424 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51427 * sysdeps/x86_64/memrchr.S: Check for zero size.
51429 * string/stratcliff.c: Add memrchr tests.
51431 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51434 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51435 rawmemchr-sse2 rawmemchr-sse2-bsf.
51436 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51437 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51438 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51439 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51440 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51441 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51442 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51443 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51444 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51445 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51446 * string/memrchr.c (MEMRCHR): New macro.
51448 2011-10-12 Ulrich Drepper <drepper@gmail.com>
51450 Add integration with gcc's -ffinite-math-only and optimize wrapper
51452 * Versions.def: Define GLIBC_2.15 version for libm.
51453 * math/Makefile (headers): Add bits/math-finite.h.
51454 * math/bits/math-finite.h: New file.
51455 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51456 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51457 * math/e_acoshl.c: Add __*_finite alias.
51458 * math/e_acosl.c: Likewise.
51459 * math/e_asinl.c: Likewise.
51460 * math/e_atan2l.c: Likewise.
51461 * math/e_atanhl.c: Likewise.
51462 * math/e_coshl.c: Likewise.
51463 * math/e_exp10.c: Likewise.
51464 * math/e_exp10f.c: Likewise.
51465 * math/e_exp10l.c: Likewise.
51466 * math/e_exp2l.c: Likewise.
51467 * math/e_fmodl.c: Likewise.
51468 * math/e_gammal_r.c: Likewise.
51469 * math/e_hypotl.c: Likewise.
51470 * math/e_j0l.c: Likewise.
51471 * math/e_j1l.c: Likewise.
51472 * math/e_jnl.c: Likewise.
51473 * math/e_lgammal_r.c: Likewise.
51474 * math/e_log10l.c: Likewise.
51475 * math/e_log2l.c: Likewise.
51476 * math/e_logl.c: Likewise.
51477 * math/e_powl.c: Likewise.
51478 * math/e_sinhl.c: Likewise.
51479 * math/e_sqrtl.c: Likewise.
51480 * math/e_scalb.c: Completely rewritten and optimized.
51481 * math/e_scalbf.c: Likewise.
51482 * math/e_scalbl.c: Likewise.
51483 * math/w_acos.c: Likewise.
51484 * math/w_acosf.c: Likewise.
51485 * math/w_acosl.c: Likewise.
51486 * math/w_acosh.c: Likewise.
51487 * math/w_acoshf.c: Likewise.
51488 * math/w_acoshl.c: Likewise.
51489 * math/w_asin.c: Likewise.
51490 * math/w_asinf.c: Likewise.
51491 * math/w_asinl.c: Likewise.
51492 * math/w_atan2.c: Likewise.
51493 * math/w_atan2f.c: Likewise.
51494 * math/w_atan2l.c: Likewise.
51495 * math/w_atanh.c: Likewise.
51496 * math/w_atanhf.c: Likewise.
51497 * math/w_atanhl.c: Likewise.
51498 * math/w_exp10.c: Likewise.
51499 * math/w_exp10f.c: Likewise.
51500 * math/w_exp10l.c: Likewise.
51501 * math/w_fmod.c: Likewise.
51502 * math/w_fmodf.c: Likewise.
51503 * math/w_fmodl.c: Likewise.
51504 * math/w_j0.c: Likewise.
51505 * math/w_j0f.c: Likewise.
51506 * math/w_j0l.c: Likewise.
51507 * math/w_j1.c: Likewise.
51508 * math/w_j1f.c: Likewise.
51509 * math/w_j1l.c: Likewise.
51510 * math/w_jn.c: Likewise.
51511 * math/w_jnf.c: Likewise.
51512 * math/w_log.c: Likewise.
51513 * math/w_logf.c: Likewise.
51514 * math/w_logl.c: Likewise.
51515 * math/w_log10.c: Likewise.
51516 * math/w_log10f.c: Likewise.
51517 * math/w_log10l.c: Likewise.
51518 * math/w_log2.c: Likewise.
51519 * math/w_log2f.c: Likewise.
51520 * math/w_log2l.c: Likewise.
51521 * math/w_pow.c: Likewise.
51522 * math/w_powf.c: Likewise.
51523 * math/w_powl.c: Likewise.
51524 * math/w_remainder.c: Likewise.
51525 * math/w_remainderf.c: Likewise.
51526 * math/w_remainderl.c: Likewise.
51527 * math/w_scalb.c: Likewise.
51528 * math/w_scalbf.c: Likewise.
51529 * math/w_scalbl.c: Likewise.
51530 * math/w_sqrt.c: Likewise.
51531 * math/w_sqrtf.c: Likewise.
51532 * math/w_sqrtl.c: Likewise.
51533 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51534 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51536 * math/math_private.h: Declare __kernel_standard_f.
51537 * math/w_cosh.c: Remove cruft and optimize a bit.
51538 * math/w_coshf.c: Likewise.
51539 * math/w_coshl.c: Likewise.
51540 * math/w_exp2.c: Likewise.
51541 * math/w_exp2f.c: Likewise.
51542 * math/w_exp2l.c: Likewise.
51543 * math/w_hypot.c: Likewise.
51544 * math/w_hypotf.c: Likewise.
51545 * math/w_hypotl.c: Likewise.
51546 * math/w_lgamma.c: Likewise.
51547 * math/w_lgamma_r.c: Likewise.
51548 * math/w_lgammaf.c: Likewise.
51549 * math/w_lgammaf_r.c: Likewise.
51550 * math/w_lgammal.c: Likewise.
51551 * math/w_lgammal_r.c: Likewise.
51552 * math/w_sinh.c: Likewise.
51553 * math/w_sinhf.c: Likewise.
51554 * math/w_sinhl.c: Likewise.
51555 * math/w_tgamma.c: Likewise.
51556 * math/w_tgammaf.c: Likewise.
51557 * math/w_tgammal.c: Likewise.
51558 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51559 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51560 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51561 Minor optimizations. Pretty printing. Remove cruft.
51562 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51563 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51564 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51565 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51566 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51567 * sysdeps/i386/fpu/e_asin.S: Likewise.
51568 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51569 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51570 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51571 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51572 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51573 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51574 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51575 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51576 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51577 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51578 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51579 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51580 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51581 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51582 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51583 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51584 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51585 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51586 * sysdeps/i386/fpu/e_log.S: Likewise.
51587 * sysdeps/i386/fpu/e_log10.S: Likewise.
51588 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51589 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51590 * sysdeps/i386/fpu/e_log2.S: Likewise.
51591 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51592 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51593 * sysdeps/i386/fpu/e_logf.S: Likewise.
51594 * sysdeps/i386/fpu/e_logl.S: Likewise.
51595 * sysdeps/i386/fpu/e_pow.S: Likewise.
51596 * sysdeps/i386/fpu/e_powf.S: Likewise.
51597 * sysdeps/i386/fpu/e_powl.S: Likewise.
51598 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51599 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51600 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51601 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51602 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51603 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51604 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51605 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51606 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51607 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51610 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51611 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51612 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51613 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51614 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51615 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51616 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51617 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51618 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51620 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51621 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51623 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51624 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51627 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51628 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51629 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51630 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51631 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51632 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51633 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51634 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51635 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51636 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51638 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51639 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51641 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51642 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51643 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51644 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51645 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51646 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51647 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51648 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51649 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51650 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51651 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51652 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51653 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51654 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51655 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51656 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51657 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51658 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51659 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51661 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51662 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51663 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51664 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51665 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51666 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51667 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51668 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51671 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51672 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51677 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51678 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51679 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51681 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51683 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51684 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51685 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51686 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51687 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51688 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51689 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51690 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51691 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51692 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51693 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51694 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51695 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51696 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51697 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51698 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51699 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51700 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51701 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51702 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51703 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51704 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51705 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51706 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51707 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51708 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51709 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51710 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51711 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51712 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51714 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51715 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51716 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51717 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51718 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51719 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51720 (__isnanf): Likewise.
51721 (__isinf_ns): Likewise.
51722 (__isinf_nsf): Likewise.
51723 (__finite): Likewise.
51724 (__finitef): Likewise.
51725 (__ieee754_sqrt): Define as macro.
51726 (__ieee754_sqrtf): Define as macro.
51727 (__ieee754_sqrtl): Define as macro.
51728 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51730 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51731 __FINITE_MATH_ONLY__ consistent.
51732 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51734 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51736 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51739 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51741 2011-10-09 Ulrich Drepper <drepper@gmail.com>
51743 * po/ja.po: Update from translation team.
51745 2011-10-08 Roland McGrath <roland@hack.frob.com>
51747 * locale/programs/locarchive.c (prepare_address_space): New function.
51748 (create_archive, enlarge_archive, open_archive): Use it.
51750 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51751 inside [SHARED], where it is used.
51753 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51755 * nss/getent.c (netgroup_keys): Remove unused variable.
51756 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51758 2011-10-08 Ulrich Drepper <drepper@gmail.com>
51760 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51761 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51763 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51764 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51765 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51766 * math/Makefile (libm-calls): Add s_isinf_ns.
51767 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51768 * math/multc3.c: Likewise.
51769 * math/s_casin.c: Likewise.
51770 * math/s_casinf.c: Likewise.
51771 * math/s_casinl.c: Likewise.
51772 * math/s_ccos.c: Likewise.
51773 * math/s_ccosf.c: Likewise.
51774 * math/s_ccosl.c: Likewise.
51775 * math/s_ctan.c: Likewise.
51776 * math/s_ctanf.c: Likewise.
51777 * math/s_ctanh.c: Likewise.
51778 * math/s_ctanhf.c: Likewise.
51779 * math/s_ctanhl.c: Likewise.
51780 * math/s_ctanl.c: Likewise.
51781 * math/w_fmod.c: Likewise.
51782 * math/w_fmodf.c: Likewise.
51783 * math/w_fmodl.c: Likewise.
51784 * math/w_remainder.c: Likewise.
51785 * math/w_remainderf.c: Likewise.
51786 * math/w_remainderl.c: Likewise.
51787 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51788 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51789 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51791 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51792 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51793 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51794 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51796 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51798 * stdio-common/printf_fphex.c: Likewise.
51799 * stdio-common/printf_size.c: Likewise.
51801 * math/e_exp10.c: Include math_private.h using <...> not "...".
51802 * math/e_exp10f.c: Likewise.
51803 * math/e_exp10l.c: Likewise.
51804 * math/e_exp2l.c: Likewise.
51805 * math/e_j0l.c: Likewise.
51806 * math/e_j1l.c: Likewise.
51807 * math/e_jnl.c: Likewise.
51808 * math/e_lgammal_r.c: Likewise.
51809 * math/e_rem_pio2l.c: Likewise.
51810 * math/e_scalb.c: Likewise.
51811 * math/e_scalbf.c: Likewise.
51812 * math/e_scalbl.c: Likewise.
51813 * math/k_cosl.c: Likewise.
51814 * math/k_sinl.c: Likewise.
51815 * math/k_tanl.c: Likewise.
51816 * math/s_cacoshf.c: Likewise.
51817 * math/s_catan.c: Likewise.
51818 * math/s_catanf.c: Likewise.
51819 * math/s_catanh.c: Likewise.
51820 * math/s_catanhf.c: Likewise.
51821 * math/s_catanhl.c: Likewise.
51822 * math/s_catanl.c: Likewise.
51823 * math/s_ccosh.c: Likewise.
51824 * math/s_ccoshf.c: Likewise.
51825 * math/s_ccoshl.c: Likewise.
51826 * math/s_cexp.c: Likewise.
51827 * math/s_cexpf.c: Likewise.
51828 * math/s_cexpl.c: Likewise.
51829 * math/s_clog.c: Likewise.
51830 * math/s_clog10.c: Likewise.
51831 * math/s_clog10f.c: Likewise.
51832 * math/s_clog10l.c: Likewise.
51833 * math/s_clogf.c: Likewise.
51834 * math/s_clogl.c: Likewise.
51835 * math/s_csin.c: Likewise.
51836 * math/s_csinf.c: Likewise.
51837 * math/s_csinh.c: Likewise.
51838 * math/s_csinhf.c: Likewise.
51839 * math/s_csinhl.c: Likewise.
51840 * math/s_csinl.c: Likewise.
51841 * math/s_csqrt.c: Likewise.
51842 * math/s_csqrtf.c: Likewise.
51843 * math/s_csqrtl.c: Likewise.
51844 * math/s_ctan.c: Likewise.
51845 * math/s_ctanf.c: Likewise.
51846 * math/s_ctanh.c: Likewise.
51847 * math/s_ctanhf.c: Likewise.
51848 * math/s_ctanhl.c: Likewise.
51849 * math/s_ctanl.c: Likewise.
51850 * math/s_ldexp.c: Likewise.
51851 * math/s_ldexpf.c: Likewise.
51852 * math/s_ldexpl.c: Likewise.
51853 * math/s_significand.c: Likewise.
51854 * math/s_significandf.c: Likewise.
51855 * math/s_significandl.c: Likewise.
51856 * math/w_acos.c: Likewise.
51857 * math/w_acosf.c: Likewise.
51858 * math/w_acosh.c: Likewise.
51859 * math/w_acoshf.c: Likewise.
51860 * math/w_acoshl.c: Likewise.
51861 * math/w_acosl.c: Likewise.
51862 * math/w_asin.c: Likewise.
51863 * math/w_asinf.c: Likewise.
51864 * math/w_asinl.c: Likewise.
51865 * math/w_atan2.c: Likewise.
51866 * math/w_atan2f.c: Likewise.
51867 * math/w_atan2l.c: Likewise.
51868 * math/w_atanh.c: Likewise.
51869 * math/w_atanhf.c: Likewise.
51870 * math/w_atanhl.c: Likewise.
51871 * math/w_cosh.c: Likewise.
51872 * math/w_coshf.c: Likewise.
51873 * math/w_coshl.c: Likewise.
51874 * math/w_dremf.c: Likewise.
51875 * math/w_exp10.c: Likewise.
51876 * math/w_exp10f.c: Likewise.
51877 * math/w_exp10l.c: Likewise.
51878 * math/w_exp2.c: Likewise.
51879 * math/w_exp2f.c: Likewise.
51880 * math/w_fmod.c: Likewise.
51881 * math/w_fmodf.c: Likewise.
51882 * math/w_fmodl.c: Likewise.
51883 * math/w_hypot.c: Likewise.
51884 * math/w_hypotf.c: Likewise.
51885 * math/w_hypotl.c: Likewise.
51886 * math/w_j0.c: Likewise.
51887 * math/w_j0f.c: Likewise.
51888 * math/w_j0l.c: Likewise.
51889 * math/w_j1.c: Likewise.
51890 * math/w_j1f.c: Likewise.
51891 * math/w_j1l.c: Likewise.
51892 * math/w_jn.c: Likewise.
51893 * math/w_jnf.c: Likewise.
51894 * math/w_jnl.c: Likewise.
51895 * math/w_lgamma.c: Likewise.
51896 * math/w_lgamma_r.c: Likewise.
51897 * math/w_lgammaf.c: Likewise.
51898 * math/w_lgammaf_r.c: Likewise.
51899 * math/w_lgammal.c: Likewise.
51900 * math/w_lgammal_r.c: Likewise.
51901 * math/w_log.c: Likewise.
51902 * math/w_log10.c: Likewise.
51903 * math/w_log10f.c: Likewise.
51904 * math/w_log10l.c: Likewise.
51905 * math/w_log2.c: Likewise.
51906 * math/w_log2f.c: Likewise.
51907 * math/w_log2l.c: Likewise.
51908 * math/w_logf.c: Likewise.
51909 * math/w_logl.c: Likewise.
51910 * math/w_pow.c: Likewise.
51911 * math/w_powf.c: Likewise.
51912 * math/w_powl.c: Likewise.
51913 * math/w_remainder.c: Likewise.
51914 * math/w_remainderf.c: Likewise.
51915 * math/w_remainderl.c: Likewise.
51916 * math/w_scalb.c: Likewise.
51917 * math/w_scalbf.c: Likewise.
51918 * math/w_scalbl.c: Likewise.
51919 * math/w_sinh.c: Likewise.
51920 * math/w_sinhf.c: Likewise.
51921 * math/w_sinhl.c: Likewise.
51922 * math/w_sqrt.c: Likewise.
51923 * math/w_sqrtf.c: Likewise.
51924 * math/w_sqrtl.c: Likewise.
51925 * math/w_tgamma.c: Likewise.
51926 * math/w_tgammaf.c: Likewise.
51927 * math/w_tgammal.c: Likewise.
51929 * po/ja.po: Update from translation team.
51931 2011-09-29 Andreas Jaeger <aj@suse.de>
51934 * sunrpc/netname.c (netname2host): Fix logic.
51938 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51940 * math/w_remainder.c (__remainder): Likewise.
51941 * math/w_remainderf.c (__remainderf): Likewise.
51942 * math/libm-test.inc (remainder_test): Add test cases.
51944 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51946 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51949 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51951 * string/test-memcmp.c: Avoid unncessary #defines.
51952 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51954 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51956 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51957 Use new sse2 version for core i3 - i7 as it's faster
51958 than sse42 version.
51959 (bit_Prefer_PMINUB_for_stringop): New.
51960 * sysdeps/x86_64/rawmemchr.S: Update.
51961 Replace with faster SSE2 version.
51962 * sysdeps/x86_64/memrchr.S: New file.
51963 * sysdeps/x86_64/memchr.S: Update.
51964 Replace with faster SSE2 version.
51966 2011-09-12 Marek Polacek <mpolacek@redhat.com>
51968 * elf/dl-load.c (lose): Add cast to avoid warning.
51970 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51972 * po/ca.po: Update from translation team.
51974 * inet/getnetgrent_r.c: Hook up nscd.
51975 * nscd/Makefile (routines): Add nscd_netgroup.
51976 (nscd-modules): Add netgroupcache.
51977 (CFLAGS-netgroupcache.c): Define.
51978 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51979 (cache_search): Add const to second parameter.
51980 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51982 (dbs): Add netgrdb entry.
51983 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51984 (verify_persistent_db): Handle netgrdb.
51985 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51986 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51988 (netgroup_response_header): Define.
51989 (innetgroup_response_header): Define.
51990 (datahead): Add netgroup_response_header and innetgroup_response_header
51992 * nscd/nscd.conf: Add entries for netgroup cache.
51993 * nscd/nscd.h (dbtype): Add netgrdb.
51994 (_PATH_NSCD_NETGROUP_DB): Define.
51995 (netgroup_iov_disabled): Declare.
51996 (xmalloc, xcalloc, xrealloc): Move declarations here.
51997 (cache_search): Adjust prototype.
51998 Add netgroup-related prototypes.
51999 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52000 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52001 (__nscd_innetgr): Declare.
52002 * nscd/selinux.c (perms): Use access_vector_t as element type and
52003 add netgroup-related initializers.
52004 * nscd/netgroupcache.c: New file.
52005 * nscd/nscd_netgroup.c: New file.
52006 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52007 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52008 For four parameters use innetgr.
52009 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52010 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52011 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52012 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52014 * nscd/connections.c (register_traced_file): Don't register file
52015 for disabled databases.
52017 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52019 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52021 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52022 from tree and freeing node.
52024 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52026 * nss/nsswitch.c (__nss_database_lookup): Handle
52027 nss_parse_service_list out of memory case.
52029 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52031 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52032 out of memory case.
52034 2011-10-04 Andreas Schwab <schwab@redhat.com>
52036 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52037 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52039 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52040 elf_machine_rela, elf_machine_lazy_rel.
52041 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52042 (ELF_DYNAMIC_DO_REL): Likewise.
52043 (ELF_DYNAMIC_DO_RELA): Likewise.
52044 (ELF_DYNAMIC_RELOCATE): Likewise.
52045 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52046 to ELF_DYNAMIC_DO_REL.
52047 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52048 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52049 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52051 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52052 skip_ifunc, don't call ifunc function if non-zero.
52053 (elf_machine_rela): Likewise.
52054 (elf_machine_lazy_rel): Likewise.
52055 (elf_machine_lazy_rela): Likewise.
52056 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52057 (elf_machine_lazy_rel): Likewise.
52058 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52060 (elf_machine_lazy_rel): Likewise.
52061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52063 (elf_machine_lazy_rel): Likewise.
52064 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52065 (elf_machine_lazy_rel): Likewise.
52066 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52067 (elf_machine_lazy_rel): Likewise.
52068 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52069 (elf_machine_lazy_rel): Likewise.
52070 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52071 (elf_machine_lazy_rel): Likewise.
52072 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52073 (elf_machine_lazy_rel): Likewise.
52074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52075 (elf_machine_lazy_rel): Likewise.
52077 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52079 * nss/nss_files/files-init.c (_nss_files_init): Use static
52080 initialization for all the *_traced_file variables.
52082 2011-09-28 Andreas Schwab <schwab@redhat.com>
52084 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52086 2011-09-27 Roland McGrath <roland@hack.frob.com>
52089 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52091 2011-09-27 Andreas Schwab <schwab@redhat.com>
52093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52094 Reread the line before reparsing it.
52096 2011-09-26 Andreas Schwab <schwab@redhat.com>
52098 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52100 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52101 Maxim Kuvyrkov <maxim@codesourcery.com>
52102 Joseph Myers <joseph@codesourcery.com>
52104 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52105 if needed for __stack_chk_guard.
52107 2011-09-19 Roland McGrath <roland@hack.frob.com>
52109 * sysdeps/posix/spawni.c (script_execute): Always define it.
52110 It will be optimized away if unused.
52111 (maybe_script_execute): New function.
52112 (__spawni): Call it.
52114 * Makerules: Don't include tls.make.
52115 (config-tls): Always set to thread.
52116 * tls.make.c: File removed.
52118 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52120 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52121 * config.make.in (CPPFLAGS-config): New substituted variable.
52123 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52125 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52128 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52129 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52131 2011-09-15 Roland McGrath <roland@hack.frob.com>
52133 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52134 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52136 (CALL_FAIL): Likewise.
52137 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52138 (CALL_FAIL): Macro removed.
52139 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52141 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52143 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52144 for __FINITE_MATH_ONLY__ == 1.
52146 2011-09-15 Andreas Schwab <schwab@redhat.com>
52148 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52149 __ieee754_sqrt instead of sqrt.
52150 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52151 __ieee754_sqrtf instead of sqrtf.
52152 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52153 __floorf instead of floorf.
52154 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52155 __floorf, __truncf instead of floorf, truncf.
52157 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52159 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52161 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52162 __extern_always_inline.
52163 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52166 2011-09-14 Andreas Schwab <schwab@redhat.com>
52168 * elf/rtld.c (dl_main): Also relocate in dependency order when
52169 doing symbol dependency testing.
52171 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52174 Always define `refsym'.
52176 2011-09-13 Andreas Schwab <schwab@redhat.com>
52178 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52179 (__FD_ELT): Renamed from __FDELT.
52180 * misc/bits/select2.h (__FD_ELT): Likewise.
52181 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52182 __FD_MASK instead of __FDELT, __FDMASK.
52183 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52185 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52188 * elf/Makefile (gen-ldd): Fix pattern.
52190 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52191 (init_tls): Likewise.
52193 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52195 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52197 2011-09-12 Andreas Schwab <schwab@redhat.com>
52199 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52200 `struct cmsghdr *' instead of `void *'.
52201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52204 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52206 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52208 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52209 ldd_rewrite_script.
52211 2011-09-11 Ulrich Drepper <drepper@gmail.com>
52213 * configure.in: Remove --with-tls option.
52214 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52215 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52216 out in case it is missing.
52217 * sysdeps/ia64/elf/configure.in: Likewise.
52218 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52219 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52220 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52221 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52222 * sysdeps/sh/elf/configure.in: Likewise.
52223 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52224 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52225 * sysdeps/x86_64/elf/configure.in: Likewise.
52226 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52227 * sysdeps/mach/hurd/tls.h: Likewise.
52230 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52233 * configure.in: Fix use of AC_INIT.
52235 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52237 2011-09-10 Ulrich Drepper <drepper@gmail.com>
52239 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52241 * malloc/hooks.c: Likewise.
52244 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52245 variables statically.
52246 (narenas): Initialize.
52247 (list_lock): Initialize.
52248 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52249 initializtion of main_arena and list_lock. Small cleanups.
52250 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52251 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52252 Add initializers to main_arena and mp_.
52253 (malloc_state): Remove pagesize member. Change all users to use
52256 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52257 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52258 is always initialized.
52260 * malloc/malloc.c: Removed unused configurations and dead code.
52261 * malloc/arena.c: Likewise.
52262 * malloc/hooks.c: Likewise.
52263 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52265 * include/tls.h: Removed. USE___THREAD must always be defined.
52266 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52267 * elf/dl-libc.c: Likewise.
52268 * elf/dl-tsd.c: Likewise.
52269 * include/errno.h: Likewise.
52270 * include/netdb.h: Likewise.
52271 * include/resolv.h: Likewise.
52272 * inet/herrno-loc.c: Likewise.
52273 * inet/herrno.c: Likewise.
52274 * malloc/arena.c: Likewise.
52275 * malloc/hooks.c: Likewise.
52276 * malloc/malloc.c: Likewise.
52277 * resolv/res-state.c: Likewise.
52278 * resolv/res_libc.c: Likewise.
52279 * sysdeps/i386/dl-machine.h: Likewise.
52280 * sysdeps/ia64/dl-machine.h: Likewise.
52281 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52282 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52283 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52284 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52285 * sysdeps/sh/dl-machine.h: Likewise.
52286 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52287 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52288 * sysdeps/unix/i386/sysdep.S: Likewise.
52289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52290 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52294 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52295 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52299 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52300 * sysdeps/x86_64/dl-machine.h: Likewise.
52301 * tls.make.c: Likewise.
52303 * configure.in: Remove --with-__thread option. Make tests for
52304 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52305 tls_model attribute fail if no support is available. Remove
52307 * Makeconfig: Adjust for dropped configure option. All features are
52309 * Makerules: Likewise.
52310 * Versions.def: Likewise.
52311 * argp/argp-fmtstream.c: Likewise.
52312 * argp/argp-fmtstream.h: Likewise.
52313 * argp/argp-help.c: Likewise.
52314 * assert/assert.c: Likewise.
52315 * config.h.in: Likewise.
52316 * config.make.in: Likewise.
52317 * configure: Likewise.
52318 * configure.in: Likewise.
52319 * csu/Versions: Likewise.
52320 * csu/init.c: Likewise.
52321 * elf/tst-audit2.c: Likewise.
52322 * elf/tst-tls10.c: Likewise.
52323 * elf/tst-tls10.h: Likewise.
52324 * elf/tst-tls11.c: Likewise.
52325 * elf/tst-tls12.c: Likewise.
52326 * elf/tst-tls14.c: Likewise.
52327 * elf/tst-tlsmod11.c: Likewise.
52328 * elf/tst-tlsmod12.c: Likewise.
52329 * elf/tst-tlsmod13.c: Likewise.
52330 * elf/tst-tlsmod13a.c: Likewise.
52331 * elf/tst-tlsmod14a.c: Likewise.
52332 * elf/tst-tlsmod15b.c: Likewise.
52333 * elf/tst-tlsmod16a.c: Likewise.
52334 * elf/tst-tlsmod16b.c: Likewise.
52335 * elf/tst-tlsmod7.c: Likewise.
52336 * elf/tst-tlsmod8.c: Likewise.
52337 * elf/tst-tlsmod9.c: Likewise.
52338 * gmon/gmon.c: Likewise.
52339 * grp/fgetgrent_r.c: Likewise.
52340 * grp/putgrent.c: Likewise.
52341 * hurd/fopenport.c: Likewise.
52342 * include/libc-symbols.h: Likewise.
52343 * include/tls.h: Likewise.
52344 * intl/gettextP.h: Likewise.
52345 * intl/loadinfo.h: Likewise.
52346 * locale/global-locale.c: Likewise.
52347 * locale/localeinfo.h: Likewise.
52348 * mach/devstream.c: Likewise.
52349 * malloc/arena.c: Likewise.
52350 * malloc/set-freeres.c: Likewise.
52351 * misc/err.c: Likewise.
52352 * misc/getttyent.c: Likewise.
52353 * misc/mntent_r.c: Likewise.
52354 * posix/getopt.c: Likewise.
52355 * posix/wordexp.c: Likewise.
52356 * pwd/fgetpwent_r.c: Likewise.
52357 * resolv/Versions: Likewise.
52358 * resolv/res_hconf.c: Likewise.
52359 * shadow/fgetspent_r.c: Likewise.
52360 * shadow/putspent.c: Likewise.
52361 * stdio-common/printf_fphex.c: Likewise.
52362 * stdio-common/tmpfile.c: Likewise.
52363 * stdlib/abort.c: Likewise.
52364 * stdlib/fmtmsg.c: Likewise.
52365 * sunrpc/auth_unix.c: Likewise.
52366 * sunrpc/clnt_perr.c: Likewise.
52367 * sunrpc/clnt_tcp.c: Likewise.
52368 * sunrpc/clnt_udp.c: Likewise.
52369 * sunrpc/clnt_unix.c: Likewise.
52370 * sunrpc/openchild.c: Likewise.
52371 * sunrpc/svc_simple.c: Likewise.
52372 * sunrpc/svc_tcp.c: Likewise.
52373 * sunrpc/svc_udp.c: Likewise.
52374 * sunrpc/svc_unix.c: Likewise.
52375 * sunrpc/xdr.c: Likewise.
52376 * sunrpc/xdr_array.c: Likewise.
52377 * sunrpc/xdr_rec.c: Likewise.
52378 * sunrpc/xdr_ref.c: Likewise.
52379 * sunrpc/xdr_stdio.c: Likewise.
52381 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52383 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52385 2011-07-03 Andreas Jaeger <aj@suse.de>
52387 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52388 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52389 regenerate with gen-libm-tests.pl.
52391 2010-05-12 Petr Baudis <pasky@suse.cz>
52394 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52395 around j0() zero points by switching to j1().
52396 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52397 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52398 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52399 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52401 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52403 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52405 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52408 Patch in part by Pavel Roskin <proski@gnu.org>.
52411 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52413 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52414 Free memory block if necessary.
52417 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52418 be NULL. Don't lock in this case.
52420 2011-09-09 Roland McGrath <roland@hack.frob.com>
52422 * elf/elf.h (ELFOSABI_GNU): New macro.
52423 (ELFOSABI_LINUX): Define to that.
52425 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52427 * string/strncat.c (strncat): Undef the symbol in case it has been
52428 defined in bits/string.h.
52430 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52432 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52434 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52437 2011-08-17 Andreas Jaeger <aj@suse.de>
52439 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52441 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52442 Ian Lance Taylor <iant@google.com>
52444 * math/libm-test.inc (lround_test): New testcase.
52445 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52447 2011-09-08 Ulrich Drepper <drepper@gmail.com>
52449 * Makefile: Remove support for automatic cvs check-ins.
52450 * Makerules: Likewise.
52451 * config.make.in: Likewise.
52452 * configure.in: Likewise.
52453 * intl/Makefile: Likewise.
52454 * locale/Makefile: Likewise.
52455 * po/Makefile: Likewise.
52456 * posix/Makefile: Likewise.
52457 * sysdeps/gnu/Makefile: Likewise.
52458 * sysdeps/mach/hurd/Makefile: Likewise.
52459 * sysdeps/sparc/sparc32/Makefile: Likewise.
52462 * posix/Makefile (bug-regex32-ENV): Define.
52463 Patch by John Stanley <jpsinthemix@verizon.net>.
52465 * misc/Makefile (headers): Add bits/select2.h.
52466 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52467 * misc/bits/select2.h: New file.
52468 * include/bits/select2.h: New file.
52469 * debug/Makefile (routines): Add fdelt_chk.
52470 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52471 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52473 * debug/fdelt_chk.c: New file.
52475 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52476 * wcsmbs/test-wmemcmp.c: Likewise.
52477 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52478 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52480 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52482 * string/Makefile (strop-tests): Add memcmp.
52483 * string/test-wmemcmp.c: New file.
52484 * string/test-memcmp.c: Add wmemcmp support.
52486 2011-09-08 Roland McGrath <roland@hack.frob.com>
52489 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52492 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52493 garbage value in a __mach_port_mod_refs call in the cases of the
52494 task-self and thread-self ports.
52496 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52498 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52500 2011-09-08 Andreas Schwab <schwab@redhat.com>
52502 * elf/dl-load.c (lose): Check for non-null L.
52504 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52506 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52508 * elf/dl-libc.c (dlerror_run): Pass back error code from
52512 * elf/dl-load.c (lose): Free l_origin if it is valid.
52514 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52516 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52517 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52518 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52520 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52521 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52523 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52525 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52526 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52527 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52528 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52529 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52530 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52531 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52532 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52533 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52534 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52536 2011-08-15 Alan Modra <amodra@gmail.com>
52539 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52540 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52541 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52542 ppc_mcount to static-only-routines.
52543 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52545 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52546 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52548 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52550 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52551 for finite and infinity parameters.
52553 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52556 and add nop instructions for throughput optimization.
52557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52559 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52561 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52562 aligned copy for power7 with vector-scalar instructions.
52563 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52565 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52570 2011-09-07 Andreas Schwab <schwab@redhat.com>
52573 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52576 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52578 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52579 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52580 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52581 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52584 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52587 Forgot to demangle the pointer.
52589 * sysdeps/i386/sysdep.h: Define atom_text_section.
52590 * sysdeps/x86_64/sysdep.h: Likewise.
52591 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52592 section with atom_text_section.
52593 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52594 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52595 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52596 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52597 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52599 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52600 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52601 already be defined. Change to take two parameters and don't assign
52602 result to variable. Adjust all users.
52603 Define INTERNAL_GETTIME if not already defined.
52604 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52607 HAVE_CLOCK_GETTIME_VSYSCALL.
52608 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52611 gettimeofday vsyscall, just use time.
52613 2011-09-06 Andreas Schwab <schwab@redhat.com>
52615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52618 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52620 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52622 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52624 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52625 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52626 syscall if possible.
52628 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52630 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52631 e_ident. Don't pass to find_mapsXX.
52632 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52634 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52637 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52638 * sysdeps/x86_64/multiarch/strchr.S: Update.
52639 Check bit_slow_BSF bit.
52640 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52641 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52642 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52644 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52647 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52649 (tryshell): Define.
52650 (__spawni): Change last parameter to be flag. Test
52651 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52652 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52653 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52654 * posix/spawni.c: Likewise.
52655 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52656 * posix/spawnp.c: Likewise. Change normal version to use
52657 SPAWN_XFLAGS_USE_PATH.
52658 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52659 SPAWN_XFLAGS_TRY_SHELL.
52662 * posix/glob.h: Remove gcc 1.x support.
52665 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52667 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52670 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52672 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52673 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52674 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52675 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52676 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52677 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52679 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52681 * sysdeps/x86_64/wcscmp.S: New file.
52683 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52684 wcscmp-c wcscmp-sse2
52685 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52686 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52687 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52688 * wcsmbs/wcscmp.c: Allow renaming.
52690 2011-09-05 David S. Miller <davem@davemloft.net>
52692 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52693 stack slot, rather than the struct return pointer slot.
52694 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52695 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52697 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52699 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52701 * po/ja.po: Update from translation team.
52704 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52705 kernel in 64-bit binaries.
52707 2011-09-01 David S. Miller <davem@davemloft.net>
52709 * elf/elf.h (HWCAP_SPARC_*): Move to..
52710 * sysdeps/sparc/sysdep.h: this new file and add new values.
52711 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52712 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52713 _DL_HWCAP_COUNT to 24.
52714 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52716 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52717 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52718 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52719 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52720 instead of magic constants.
52721 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52723 2011-08-31 David S. Miller <davem@davemloft.net>
52725 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52727 Reimplement to do errno handling inline.
52728 (SYSCALL_ERROR_HANDLER): New macro.
52729 (__SYSCALL_STRING): Do not do errno handling in asm.
52730 (__CLONE_SYSCALL_STRING): Delete.
52731 (__INTERNAL_SYSCALL_STRING): Delete.
52732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52733 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52734 (PSEUDO): Reimplement to do errno handling inline.
52735 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52736 (SYSCALL_ERROR_HANDLER): New macro.
52737 (__SYSCALL_STRING): Do not do errno handling in asm.
52738 (__CLONE_SYSCALL_STRING): Delete.
52739 (__INTERNAL_SYSCALL_STRING): Delete.
52740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52741 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52743 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52744 (inline_syscall*): Add 'err' argument.
52745 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52746 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52747 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52748 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52750 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52751 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52753 2011-08-30 Andreas Schwab <schwab@redhat.com>
52755 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52757 2011-08-29 Jiri Olsa <jolsa@redhat.com>
52759 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52762 2011-08-24 David S. Miller <davem@davemloft.net>
52764 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52766 2011-08-24 Andreas Schwab <schwab@redhat.com>
52768 * elf/Makefile: Add rules to build and run unload8 test.
52769 * elf/unload8.c: New file.
52770 * elf/unload8mod1.c: New file.
52771 * elf/unload8mod1x.c: New file.
52772 * elf/unload8mod2.c: New file.
52773 * elf/unload8mod3.c: New file.
52775 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52778 2011-08-23 David S. Miller <davem@davemloft.net>
52780 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52781 subtract stack bias.
52782 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52783 %sp not %fp in calculations.
52784 (_JMPBUF_UNWINDS_ADJ): Likewise.
52786 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52787 (aio_suspend): Call it to force an exception region around the
52788 AIO_MISC_WAIT() invocation.
52790 2011-08-23 Andreas Schwab <schwab@redhat.com>
52792 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52795 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52797 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52799 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52800 and <dl-machine.h>.
52801 (Elf64_FuncDesc): Remove.
52803 2011-08-22 David S. Miller <davem@davemloft.net>
52805 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52806 sigaltstack check, add missing cfi directives.
52807 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52808 missing cfi directives, and sigaltstack handling.
52810 2011-08-16 Andreas Schwab <schwab@redhat.com>
52813 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52814 object is seen twice.
52815 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52817 * elf/Makefile (distribute): Add tst-initorder2.c.
52818 (tests): Add tst-initorder2.
52819 (modules-names): Add tst-initorder2a tst-initorder2b
52820 tst-initorder2c tst-initorder2d. Add rules to build them.
52821 ($(objpfx)tst-initorder2.out): New rule.
52822 * elf/tst-initorder2.c: New file.
52823 * elf/tst-initorder2.exp: New file.
52825 2011-08-22 Andreas Schwab <schwab@redhat.com>
52827 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52829 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52830 dependencies back to end of function.
52832 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52833 $(elfobjdir)/ld.so.
52835 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52838 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52840 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52841 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52842 of __vdso_gettimeofday.
52843 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52844 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52846 (_libc_vdso_platform_setup): Remove initialization of
52847 __vdso_gettimeofday and __vdso_time.
52849 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52851 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52852 and fgetc_unlocked.
52853 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52856 * elf/dl-open.c (add_to_global): Report additions to the global scope
52857 for LD_DEBUG=scopes.
52858 (dl_open_worker): Also print scope of newly loaded dependencies.
52859 (_dl_show_scope): Indicate if there is no scope.
52862 * stdio-common/Makefile (tests): Add bug24.
52863 * stdio-common/bug24.c: New file.
52865 2011-08-19 Andreas Jaeger <aj@suse.de>
52868 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52869 non-existant file when using close-on-exec mode.
52871 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52873 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52874 the very first instruction.
52876 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52877 the CFI state in the end.
52878 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52879 inclusion of dl-trampoline.h.
52880 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52882 2011-08-19 Andreas Schwab <schwab@redhat.com>
52884 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52885 expectations for long double.
52887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52888 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52890 2011-08-14 David S. Miller <davem@davemloft.net>
52892 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52893 artificual limit depends upon the system page size.
52895 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52897 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52898 * resolv/Makefile: Define CFLAGS-libresolv.
52900 2011-08-17 Andreas Schwab <schwab@redhat.com>
52902 * nss/makedb.c (compute_tables): Make variables used in nested
52905 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52907 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52908 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52909 if buffer was too small.
52911 * elf/pldd.c (main): Attach to all threads in the process.
52912 Rewrite /proc handling to use *at functions.
52914 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52916 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52917 specifies first scope to show.
52918 (dl_open_worker): Update callers. Move printing scope of new
52919 object to before the relocation.
52920 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52921 * sysdeps/generic/ldsodefs.h: Update declaration.
52923 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52924 string for the scope number.
52926 2011-08-14 Ulrich Drepper <drepper@gmail.com>
52928 * nscd/servicescache.c (cache_addserv): Make sure written is always
52931 2011-08-14 Roland McGrath <roland@hack.frob.com>
52933 * sysdeps/i386/i486/bits/atomic.h
52934 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52935 statement expression, so as to suppress "set but not used" warning.
52936 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52938 * string/strncat.c (STRNCAT): Use prototype definition.
52940 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52941 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52943 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52944 (localedef-modules): Add localedef.
52945 (locale-modules): Add locale.
52947 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52948 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52949 to avoid a warning.
52951 2011-08-14 David S. Miller <davem@davemloft.net>
52953 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52954 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52956 2011-08-13 Ulrich Drepper <drepper@gmail.com>
52958 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52959 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52960 * elf/rtld.c (dl_main): Set l_name of vDSO.
52961 Call _dl_show_scope when DL_DEBUG_SCOPES.
52962 (process_dl_debug): Recognize scopes flag and also set it for all.
52963 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52964 Declare _dl_show_scope.
52966 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52967 (do_dlopen): Pass caller_dlopen to dl_open.
52968 (__libc_dlopen_mode): Initialize caller_dlopen.
52970 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52971 of libc. Make tolower call locale-independent. Optimize a bit by
52972 using isdigit instead of isalnum.
52973 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52975 2011-08-12 Ulrich Drepper <drepper@gmail.com>
52977 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52978 was a dependency or dynamically loaded.
52980 2011-08-11 Ulrich Drepper <drepper@gmail.com>
52982 * intl/l10nflist.c: Allow architecture-specific pop function.
52983 * sysdeps/x86_64/l10nflist.c: New file.
52985 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52988 2011-08-10 Andreas Schwab <schwab@redhat.com>
52990 * include/dirent.h: Add libc_hidden_proto for scandirat and
52991 scandirat64. Don't declare __scandirat64.
52992 * dirent/scandirat.c: Add libc_hidden_def.
52993 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52994 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52996 2011-08-10 David S. Miller <davem@davemloft.net>
52998 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53000 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53002 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53004 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53006 * Versions.def [libc]: Add GLIBC_2.15.
53007 * dirent/Makefile (routines): Add scandirat and scandirat64.
53008 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53010 * dirent/dirent.h: Declare scandirat and scandirat64.
53011 * dirent/scandirat.c: New file.
53012 * dirent/scandirat64.c: New file.
53013 * sysdeps/wordsize-64/scandirat.c: New file.
53014 * sysdeps/wordsize-64/scandirat64.c: New file.
53015 * dirent/opendir.c: Define opendirat.
53016 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53018 * dirent/scandir64.c: Adjust for scandir.c change.
53019 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53020 __scandirat64, and __scandir_cancel_handler.
53021 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53022 additional parameter and use openat instead of open (outside of ld.so).
53023 Add new __opendir as wrapper around __opendirat.
53024 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53025 here without requiring old scandirat implementation.
53027 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53029 * dirent/scandir.c (cancel_handler): Renamed to
53030 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53031 defined. Adjust users.
53032 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53033 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53035 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53037 * string/test-string.h (IMPL): Use __STRING to expand name and then
53040 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53043 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53045 * string/Makefile: Update.
53046 (strop-tests): Append strncat.
53047 * string/test-wcscmp.c: New file.
53048 New comprehensive test for wcscmp.
53049 * string/test-strcmp.c: Update.
53050 (WIDE): New define.
53052 2011-07-22 Andreas Schwab <schwab@redhat.com>
53054 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53057 2011-07-26 Andreas Schwab <schwab@redhat.com>
53059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53060 encoding to ACE if AI_IDN.
53062 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53065 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53067 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53069 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53070 Fix overflow bug in strncat.
53071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53073 * string/test-strncat.c: Update.
53074 Add new tests for checking overflow bugs.
53076 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53079 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53080 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53081 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53082 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53083 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53084 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53085 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53086 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53089 (USE_AS_STRCAT): Define.
53090 Add strcat and strncat support.
53091 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53093 2011-07-25 Andreas Schwab <schwab@redhat.com>
53095 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53096 __n bigger than INT_MAX+1.
53097 (__strncmp_g): Likewise.
53099 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53101 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53102 * libio/stido.h: Likewise.
53104 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53109 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53110 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53111 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53112 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53116 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53121 (_dl_x86_64_save_sse): Likewise.
53123 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53127 (_dl_x86_64_save_sse): Likewise.
53129 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53131 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53133 2011-07-21 Andreas Schwab <schwab@redhat.com>
53135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53137 (_dl_x86_64_save_sse): Use correct AVX check.
53139 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53141 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53142 bug in strncpy/strncat.
53143 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53145 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53147 * string/tester.c (test_strcat): Add tests for different alignments
53148 of source and destination.
53149 (test_strncat): Likewise.
53151 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53154 * posix/glob.c (glob): Check passed in values before using them in
53155 expressions to avoid some overflows.
53156 (glob_in_dir): Likewise.
53159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53160 check for AVX enablement so that we don't crash with old kernels and
53162 * elf/tst-audit4.c: Add same checks here.
53163 * elf/tst-audit6.c: Likewise.
53165 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53167 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53169 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53171 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53173 * po/cs.po: Update from translation team.
53174 * po/bg.po: Likewise.
53176 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53178 * misc/sys/cdefs.h: Add support for const attribute.
53179 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53180 to gnu_dev_{major,minor,makedev} functions.
53182 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53184 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53186 2011-07-20 Andreas Schwab <schwab@redhat.com>
53188 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53191 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53194 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53195 register in order to avoid conflicts with the soft frame pointer
53196 being held in r11 when necessary.
53197 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53198 (INTERNAL_VSYSCALL_NCS): Likewise.
53200 2011-07-14 Marek Polacek <mpolacek@redhat.com>
53202 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53203 * elf/dl-fini.c (_dl_fini): Adjust caller.
53204 * elf/dl-close.c (_dl_close_worker): Likewise.
53205 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53207 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53209 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53210 "aux_cache->nlibs < 0".
53212 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53213 in the reload-count case.
53215 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53218 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53219 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53220 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53221 * sysdeps/x86_64/multiarch/strcat.S: New file.
53222 * sysdeps/x86_64/multiarch/strncat.S: New file.
53223 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53224 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53225 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53226 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53228 (USE_AS_STRCAT): Define.
53229 Add strcat and strncat support.
53230 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53231 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53232 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53233 * string/strncat.c: Update.
53234 (USE_AS_STRNCAT): Define.
53235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53236 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53238 * sysdeps/x86_64/multiarch/init-arch.h
53239 (bit_Prefer_PMINUB_for_stringop): New.
53240 (index_Prefer_PMINUB_for_stringop): Likewise.
53241 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53242 bit_Prefer_PMINUB_for_stringop.
53244 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53246 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53248 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53249 of casting of buffer.
53250 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53251 buffer32 and buffer64.
53252 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53253 writes instead of casting of buffer.
53254 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53256 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53259 2011-07-19 Andreas Schwab <schwab@redhat.com>
53261 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53263 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53265 * nscd/nscd.c (termination_handler): Don't do anything for a database
53266 if it has not yet been initialized.
53268 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53270 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53272 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53274 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53276 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53278 * po/nl.po: Update from translation team.
53279 * po/sv.po: Likewise.
53281 2011-07-16 Roland McGrath <roland@hack.frob.com>
53283 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53284 now disallowed by GCC.
53286 * configure.in (use-default-link): Default to yes if a test -shared
53287 link meets our qualifications.
53288 * configure: Regenerated.
53290 * config.make.in (output-format): New variable.
53291 * configure.in: Check for ld --print-output-format support.
53292 * configure: Regenerated.
53293 * Makerules ($(common-objpfx)format.lds)
53294 [$(output-format) != unknown]: Just use $(output-format),
53295 instead of the linker-script munging.
53297 2011-07-14 Roland McGrath <roland@hack.frob.com>
53299 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53300 of $(common-objpfx)shlib.lds.
53301 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53303 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53304 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53306 * configure.in (-z relro check): Adjust test code to add a large
53307 writable data section after it.
53308 * configure: Regenerated.
53310 2011-07-11 Roland McGrath <roland@hack.frob.com>
53312 * configure.in (-z relro check): Fix test code to make the variable
53314 * configure: Regenerated.
53316 2011-07-11 Ulrich Drepper <drepper@gmail.com>
53318 * nscd/nscd.h (struct traced_file): Define.
53319 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53320 elements. Add traced_files.
53321 (inotify_fd): Declare.
53322 (register_traced_file): Declare.
53323 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53324 (inotify_fd): Export.
53325 (resolv_conf_descr): Remove.
53326 (nscd_init): Move inotify descriptor creation to main.
53327 Don't register files for notification here.
53328 (register_traced_file): New function.
53329 (invalidate_cache): Don't use reset_res to determine whether to call
53330 res_init, go through the list of registered files.
53331 (main_loop_poll): The inotify descriptors are now stored in the
53332 structures for the traced files.
53333 (main_loop_epoll): Likewise
53334 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53335 to __nss_disable_nscd.
53336 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53337 for a database anymore. Check the records for all the registered
53339 * nss/Makefile (libnss_files-routines): Add files-init.
53340 (libnss_db-routines): Add db-init.
53341 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53342 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53343 * nss/nss_db/db-init.c: New file.
53344 * nss/nss_files/files-init.c: New file.
53345 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53346 __nss_lookup_function.
53347 (__nss_lookup_function): Call nss_load_library.
53348 (nss_load_all_libraries): New function.
53349 (__nss_disable_nscd): Take parameter with callback function for files
53350 to register. Set is_nscd. Load all the DSOs for the NSS modules
53351 used for the cached services.
53352 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53353 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53354 options for features to all the files in nscd.
53356 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53358 2011-07-10 Roland McGrath <roland@hack.frob.com>
53360 * csu/elf-init.c (__libc_csu_init): Comment typo.
53362 2011-07-09 Ulrich Drepper <drepper@gmail.com>
53364 * po/pl.po: Update from translation team.
53365 * po/ja.po: Likewise.
53366 * po/ru.po: Likewise.
53367 * po/ko.po: Likewise.
53368 * po/fr.po: Likewise.
53370 2011-07-09 Roland McGrath <roland@hack.frob.com>
53372 * configure.in (.ctors/.dtors header and trailer check):
53373 Use an empirical test on a built program.
53374 * configure: Regenerated.
53376 * configure.in (-z relro check): Use an empirical test on a built DSO.
53377 Detect, but do not require, on ia64.
53378 * configure: Regenerated.
53380 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53381 Update tests that use readelf to use $READELF instead.
53382 * configure: Regenerated.
53384 2011-07-08 Ulrich Drepper <drepper@gmail.com>
53386 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53387 if the result is not used.
53389 2011-07-05 Andreas Jaeger <aj@suse.de>
53392 * stdlib/tst-strtod.c: Add testcase.
53394 2011-07-07 Ulrich Drepper <drepper@gmail.com>
53396 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53397 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53398 The latter has a higher limit. Take additional parameter to pass to
53400 (__pathconf): Pass file to __statfs_link_max.
53401 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53403 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53407 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53408 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53411 (__statfs_filesize_max): Likewise.
53412 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53414 2011-07-05 Andreas Jaeger <aj@suse.de>
53416 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53418 2011-07-06 Marek Polacek <mpolacek@redhat.com>
53420 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53422 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53425 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53427 * Makefile (strop-tests): Add strncat.
53428 * string/test-strncat.c: New file.
53430 2011-06-30 Marek Polacek <mpolacek@redhat.com>
53432 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53434 2011-06-21 Andreas Jaeger <aj@suse.de>
53436 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53437 Copy rule from iconvdata/Makefile.
53439 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53442 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53443 but no long options are defined, just return 'W'.
53445 2011-06-22 Marek Polacek <mpolacek@redhat.com>
53448 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53450 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53452 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53454 (innetgr): Likewise.
53456 2011-07-05 Roland McGrath <roland@hack.frob.com>
53458 * config.make.in (install_root): Default to $(DESTDIR).
53460 2011-07-05 Ulrich Drepper <drepper@gmail.com>
53462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53464 2011-07-02 Roland McGrath <roland@hack.frob.com>
53466 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53468 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53469 containing directory rather than embedding absolute directory names.
53471 * scripts/check-local-headers.sh: Rewritten using awk.
53472 Match by word, not by line. Print error messages for matches.
53473 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53475 * Makerules [shlib-lds-flags empty]:
53476 ($(common-objpfx)libc_pic.opts): New target.
53477 ($(common-objpfx)libc_pic.os.clean): New target.
53478 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53480 * config.make.in (OBJCOPY): New variable.
53481 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53482 * configure: Regenerated.
53484 * config.make.in (use-default-link): New variable.
53485 * configure.in (use_default_link): Grok --with-default-link to set it.
53486 * configure: Regenerated.
53487 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53488 (shlib-lds, shlib-lds-flags): Define to empty.
53490 * Makerules (shlib-lds): New variable.
53491 (shlib-lds-flags): New variable.
53492 (build-shlib, build-moduile, build-module-asneeded): Use it.
53493 ($(common-objpfx)libc.so): Use $(shlib-lds).
53494 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53495 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53497 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53498 DT_FLAGS/DT_FLAGS_1 with zero flags.
53500 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53501 linker script munging.
53503 2011-07-02 Ulrich Drepper <drepper@gmail.com>
53505 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53507 * crypt/sha512.c (sha512_process_block): Perform total addition using
53508 128-bit if possible.
53509 (__sha512_finish_ctx): Likewise.
53510 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53512 * crypt/sha256.c (SWAP64): Define.
53513 (sha256_process_block): Perform total addition using 64-bit if
53515 (__sha256_finish_ctx): Likewise.
53517 2011-07-01 Ulrich Drepper <drepper@gmail.com>
53519 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53521 * nscd/hstcache.c (cache_addhst): Likewise.
53522 * nscd/grpcache.c (cache_addgr): Likewise.
53523 * nscd/aicache.c (addhstaiX): Likewise
53524 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53526 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
53528 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53529 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53530 * nscd/hstcache.c (cache_addhst): Likewise.
53531 * nscd/grpcache.c (cache_addgr): Likewise.
53532 * nscd/aicache.c (addhstaiX): Likewise
53534 2011-07-01 Andreas Schwab <schwab@redhat.com>
53536 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53537 domain only when needed.
53539 2011-06-30 Andreas Schwab <schwab@redhat.com>
53541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53542 is always restored.
53544 2011-06-29 Ulrich Drepper <drepper@gmail.com>
53546 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53547 are re-adding the entry.
53548 * nscd/servicescache.c (cache_addserv): Likewise.
53550 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53552 * sysdeps/generic/dl-irel.h: fix protection against multiple
53554 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53556 2011-06-28 Ulrich Drepper <drepper@gmail.com>
53559 * malloc/memusage.sh: Fix quoting in message.
53560 * debug/xtrace.sh: Likewise.
53562 * configure.in: Remove support for --experimental-malloc option, make
53564 * config.make.in: Likewise.
53565 * malloc/Makefile: Likewise.
53567 2011-06-27 Andreas Schwab <schwab@redhat.com>
53569 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53570 two-byte characters.
53572 2011-06-27 Roland McGrath <roland@hack.frob.com>
53574 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53575 AC_CACHE_CHECK invocation.
53576 * configure: Regenerated.
53578 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53580 2011-06-27 Ulrich Drepper <drepper@gmail.com>
53583 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53584 bit from old_res_options.
53586 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53588 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53589 value type for setfct.
53591 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53593 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53594 __gettimeofday instead of gettimeofday.
53596 2011-06-26 Ulrich Drepper <drepper@gmail.com>
53598 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53600 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53602 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53604 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53607 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53610 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53611 strcpy-sse2-unaligned strncpy-sse2-unaligned
53612 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53613 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53614 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53615 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53616 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53617 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53618 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53619 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53620 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53621 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53622 (STRCPY): Support SSE2 and SSSE3 versions.
53624 2011-06-24 Ulrich Drepper <drepper@gmail.com>
53627 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53628 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53629 kernels which artificially limit size of requests.
53631 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53634 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53635 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53636 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53637 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53638 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53639 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53640 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53642 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53643 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53644 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53645 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53646 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53647 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53649 Enable unaligned load optimization for Intel Core i3, i5 and i7
53651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53653 (index_Fast_Unaligned_Load): Define.
53654 (HAS_FAST_UNALIGNED_LOAD): Define.
53656 2011-06-23 Marek Polacek <mpolacek@redhat.com>
53658 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53660 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53663 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53664 until it is clear that the information is realy needed.
53665 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53667 2011-06-22 Andreas Schwab <schwab@redhat.com>
53669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53671 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53674 /sys/devices/system/cpu/online if it is usable.
53676 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53677 reading the information from the /proc filesystem to once a second.
53679 2011-06-21 Andreas Jaeger <aj@suse.de>
53681 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53682 NULL after inclusion of kernel headers.
53684 2011-06-21 Ulrich Drepper <drepper@gmail.com>
53686 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53687 calls to internal_setent.
53690 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53691 addresses using gethostbyname4_r ignore IPv4 addresses.
53693 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53694 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53696 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53698 2011-06-20 David S. Miller <davem@davemloft.net>
53700 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53702 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53704 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53705 (elf_irel): Use it.
53706 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53707 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53708 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53709 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53710 * sysdeps/x86_64/dl-irel.h: Likewise.
53712 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53713 * elf/dl-sym.c: Likewise.
53715 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53717 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53718 need to dereference resplen2.
53720 2011-06-14 Andreas Schwab <schwab@redhat.com>
53722 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53724 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53726 * Makeconfig: Define vardbdir and inst_vardbdir.
53727 * nss/Makefile: Add rules to install db-Makefile.
53729 * nss/nss_db/db-XXX.c: Cleanup.
53731 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53732 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53734 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53735 * nss/makedb.c: Implement -g option to specify that value strings
53736 are generated and should not be added to table iterated over for
53738 * nss/nss_db/db-initgroups.c: New file.
53740 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53743 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53744 (internal_getgrouplist): Adjust to name change.
53745 Update use_initgroups_entry if this is not the first call.
53746 * nss/databases.def: Add initgroups entry.
53748 * nss/makedb.c (compute_tables): Check result of multiple hash table
53749 sizes to minimize maximum chain length.
53751 2011-06-14 Ulrich Drepper <drepper@gmail.com>
53753 * Versions.def: Add entry for libnss_db.
53754 * shlib-versions: Likewise.
53755 * nss/Makefile: Add rules to build libnss_db.
53756 * nss/Versions: Add libnss_db information. Organize libnss_files
53758 * nss/db-Makefile: Add gshadow support. Change rules for the new
53759 makedb progra. Some minor improvements to generate smaller files.
53760 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53762 * nss/makedb.c: ...here.
53763 Improve database format to be smaller and require less memory at
53765 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53767 * nss/nss_db/db-netgrp.c: Likewise.
53768 * nss/nss_db/db-open.c: Likewise.
53769 * nss/nss_files/flies-XXX.x: Adjust comments.
53770 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53771 * nss/nss_files/files-grp.c: Likewise.
53772 * nss/nss_files/files-hosts.c: Likewise.
53773 * nss/nss_files/files-network.c: Likewise.
53774 * nss/nss_files/files-proto.c: Likewise.
53775 * nss/nss_files/files-pwd.c: Likewise.
53776 * nss/nss_files/files-rpc.c: Likewise.
53777 * nss/nss_files/files-service.c: Likewise.
53778 * nss/nss_files/files-sgrp.c: Likewise.
53779 * nss/nss_files/files-spwd.c: Likewise.
53780 * nss/nss_db/db-alias.c: Removed.
53781 * nss/nss_db/dummy-db.h: Removed.
53783 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53785 * nss/makedb.c: Rewritten to not use database library.
53786 * nss/Makefile: Update to build new makedb program.
53788 2011-06-14 Andreas Jaeger <aj@suse.de>
53790 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53791 memset declaration.
53793 2011-06-10 Andreas Schwab <schwab@redhat.com>
53795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53798 2011-06-10 Roland McGrath <roland@hack.frob.com>
53800 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53801 * elf/Makefile ($(objpfx)ld.so): Likewise.
53803 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53804 Don't list ld.so twice in dependencies.
53806 * posix/bug-regex31.c: Include <stdlib.h>.
53808 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53810 * nis/nss_compat/compat-spwd.c
53811 (getspent_next_nss_netgr): Remove unused variable.
53812 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53814 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53815 nonmembers" output to use the right array.
53817 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53819 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53821 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53822 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53823 * catgets/gencat.c (read_input_file): Likewise.
53824 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53826 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53827 variable definition inside #if's controlling its use.
53829 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53831 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53833 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53835 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53838 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53840 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53841 * configure: Regenerated.
53843 * Makerules: Revert last change.
53844 * elf/Makefile: Likewise.
53846 2011-06-09 Roland McGrath <roland@hack.frob.com>
53848 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53849 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53850 (reloc-link): Likewise.
53852 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53854 * elf/Makefile: Add rules to build pldd.
53855 * elf/pldd.c: New file.
53856 * elf/pldd-xx.c: New file.
53858 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53860 * version.h: Update for 2.15 development version.
53862 2011-06-07 David S. Miller <davem@davemloft.net>
53864 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53867 elf_machine_lazy_rel): Likewise.
53868 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53869 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53870 elf_machine_lazy_rel): Likewise.
53871 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53872 dl_hwcap via passed in argument.
53873 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53876 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53878 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53880 2011-06-06 Roland McGrath <roland@hack.frob.com>
53883 * manual/fdl-1.1.texi: New file, verbatim from:
53884 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53885 * manual/lgpl-2.1.texi: New file, verbatim from:
53886 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53887 * manual/Makefile (licenses): New variable, list those new file names.
53889 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53891 * manual/fdl.texi: File removed.
53892 * manual/lesser.texi: File removed.
53893 * manual/libc.texinfo (Copying, Documentation License):
53894 Use new @include file names, put @appendix directive before @include.
53896 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53899 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53900 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53901 (mq_open): Add __NTH.
53903 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53906 Assume Intel Core i3/i5/i7 processor if AVX is available.
53908 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53913 2011-05-31 Andreas Schwab <schwab@redhat.com>
53915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53916 memory. Use alloca_account. Fix memory leak when retrying.
53918 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53920 * version.h (RELEASE): Bump for 2.14 release.
53921 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53923 * config.make.in (RANLIB): Remove entry.
53925 2011-05-30 Ulrich Drepper <drepper@gmail.com>
53927 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53928 (libc.pot): Work around missing support for .ksh extension in xgettext.
53931 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53932 if both request failed.
53933 (send_dg): In case of server errors clear resplen or *resplen2.
53936 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53937 when there are multiple maps.
53938 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53939 (_dl_fini): Remove test here.
53941 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53943 2011-05-29 Ulrich Drepper <drepper@gmail.com>
53946 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53947 bit from old_res_options.
53948 (gaih_inet): Likewise.
53951 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53954 * resolv/res_init.c (res_setoptions): Make the code more compact.
53957 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53961 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53963 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53966 * malloc/malloc.h: Declare malloc hook variables as volatile.
53968 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53972 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53973 raise in the comment.
53974 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53975 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53976 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53978 2011-05-28 Ulrich Drepper <drepper@gmail.com>
53981 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53982 grow the buffers more if it already has to be sufficient.
53983 (build_wcs_upper_buffer): Likewise.
53984 * posix/regexec.c (check_matching): Likewise.
53985 (clean_state_log_if_needed): Likewise.
53986 (extend_buffers): Don't enlarge buffers beyond size of the input
53988 Patches mostly by Emil Wojak <emil@wojak.eu>.
53989 * posix/bug-regex32.c: New file.
53990 * posix/Makefile (tests): Add bug-regex32.
53992 * locale/findlocale.c (_nl_find_locale): Return right away if
53993 _nl_explode_name failed.
53994 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53996 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53998 * debug/xtrace.sh: Unify messages.
53999 * malloc/memusage.sh: Likewise.
54002 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54003 time symbol from vDSO. Substitute with vsyscall if not available.
54004 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54007 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54008 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54009 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54010 Add sendmmsg and internal_sendmmsg.
54011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54012 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54013 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54015 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54016 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54017 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54019 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54022 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54023 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54025 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54029 * iconvdata/Makefile (tests): Add bug-iconv9.
54030 * iconvdata/bug-iconv9.c: New file.
54032 2011-05-27 Andreas Schwab <schwab@redhat.com>
54035 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54037 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54040 (struct user_regs_struct): Change intcs field back to cs.
54042 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54044 * po/ja.po: Update from translation team.
54046 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54049 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54050 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54052 2011-05-20 Andreas Schwab <schwab@redhat.com>
54054 * stdlib/longlong.h: Update from GCC.
54056 2011-05-23 Andreas Schwab <schwab@redhat.com>
54058 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54060 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54061 Add parameter name.
54062 (__sysconf): Pass it down.
54064 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54067 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54069 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54070 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54071 add in in __libc_use_alloca calls. Adjust callers.
54072 (glob): Use malloc in some situations.
54074 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54075 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54078 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54080 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54081 and CLOCK_BOOTTIME_ALARM.
54084 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54087 * string/_strerror.c (__strerror_r): Print negative errors as signed
54091 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54092 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54093 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54095 * configure.in: Fix typo in redirection and correct removal of test
54096 files in two cases.
54099 * locale/setlocale.c (new_composite_name): Fix test to check for
54100 identical name of all categories.
54103 * libio/filedoalloc.c (local_isatty): New function.
54104 (_IO_file_doallocate): Use local_isatty.
54105 * stdio-common/perror.c (perror): In case a new stream is used
54106 forward the stream error.
54107 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54110 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54115 * include/alloca.h (extend_alloca_account): Define.
54118 * posix/regex.h: Fix comments with documentation of user-accessible
54119 fields after compilation and describe correct free'ing of pattern
54120 after re_compile_pattern.
54121 Patch by Reuben Thomas <rrt@sc3d.org>.
54123 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54125 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54126 and -mno-altivec to prevent the compiler from using Altivec and/or
54127 VSX instructions when the corresponding registers are not available.
54129 2011-05-19 Andreas Schwab <schwab@redhat.com>
54131 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54133 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54135 * libio/freopen.c (freopen): Use __dup2, not dup2.
54136 * libio/freopen64.c (freopen64): Likewise.
54138 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54141 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54142 * math/Makefile (tests): Add test-powl.
54143 (CFLAGS-test-powl.c): Define.
54144 * math/test-powl.c: New file.
54146 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54148 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54150 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54153 * iconvdata/gb18030.c: Update to GB18020-2005.
54155 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54157 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54158 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54159 Patch by Aharon Robbins <arnold@skeeve.com>.
54162 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54166 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54167 through underflows.
54170 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54171 point to strings before performing equality test for error_one_per_line
54175 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54179 (struct user_fpregs_struct): Avoid __uint*_t types.
54182 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54183 symbol info. Use it instead of calling _dl_addr locally.
54184 (lock_and_info): New function.
54185 (tr_freehook): Call lock_and_info and pass symbol info as additional
54186 parameter to tr_where.
54187 (tr_mallochook): Likewise.
54188 (tr_reallochook): Likewise.
54189 (tr_memalignhook): Likewise.
54191 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54192 used and couldn't be at all thread-safe.
54194 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54196 * libio/freopen.c (freopen): Don't close old file descriptor
54197 before the new one is opened. Instead dup the new file descriptor
54198 to the old one after the new stream is created.
54199 * libio/freopen64.c (freopen64): Likewise.
54200 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54201 * libio/fileops.c (_IO_new_file_close_it): Handle new
54202 _IO_FLAGS2_NOCLOSE flag.
54203 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54204 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54205 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54206 _IO_FLAGS2_NOCLOSE flag.
54207 * include/unistd.h: Add hidden_proto for dup3.
54208 Define __have_dup3.
54209 * io/dup3.c: Define hidden symbol.
54210 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54213 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54214 when an incomplete long option is used.
54215 * posix/tst-getopt_long1.c: New file.
54216 * posix/Makefile (tests): Add tst-getopt_long1.
54219 * scripts/config.guess: Update from autoconf-2.68.
54220 * scripts/config.sub: Likewise.
54223 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54225 (has_cpuclock): ...this. New function.
54226 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54227 macro here based on has_cpuclock code.
54230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54231 First byte (not low byte) is now always NUL.
54232 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54235 Use non-cancelable interfaces.
54238 * locale/iso-639.def: Add entry for Sorani.
54241 * include/stdlib.h: Move include protection to the right place.
54242 Define abort_msg_s. Declare __abort_msg with it.
54243 * stdlib/abort.c (__abort_msg): Adjust type.
54244 * assert/assert.c (__assert_fail_base): New function. Majority
54245 of code from __assert_fail. Allocate memory for __abort_msg with
54247 (__assert_fail): Now call __assert_fail_base.
54248 * assert/assert-perr.c: Remove bulk of implementation. Use
54249 __assert_fail_base.
54250 * include/assert.hL Declare __assert_fail_base.
54251 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54253 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54255 2011-05-14 Ulrich Drepper <drepper@gmail.com>
54259 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54260 until all modules are registered in the DTV.
54261 * elf/Makefile: Add rules to build and run tst-tls19.
54262 * elf/tst-tls19.c: New file.
54263 * elf/tst-tls19mod1.c: New file.
54264 * elf/tst-tls19mod2.c: New file.
54265 * elf/tst-tls19mod3.c: New file.
54266 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54269 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54273 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54274 two-byte sequence errors.
54275 * iconvdata/Makefile (tests): Add bug-iconv8.
54276 * iconvdata/bug-iconv8.c: New file.
54279 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54282 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54285 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54286 (dummy_getcfa): New function.
54287 (init): Get _Unwind_GetCFA address, use dummy if not found.
54288 (backtrace_helper): In recursion check, also check whether CFA changes.
54289 (__backtrace): Completely initialize arg.
54291 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54292 storing incomplete byte sequence in state object. Avoid testing for
54293 guaranteed too small input if we know there is enough data available.
54295 2011-05-11 Andreas Schwab <schwab@redhat.com>
54297 * Makeconfig (+link-pie): Indent.
54298 * Rules (binaries-pie): Define if $(have-fpie) and
54300 (binaries-shared): Also filter out $(binaries-pie).
54301 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54302 * nscd/Makefile (others-pie): Add nscd.
54303 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54304 ($(objpfx)nscd): Remove command override.
54305 * login/Makefile (others-pie): Add pt_chown.
54306 ($(objpfx)pt_chown): Remove command override.
54307 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54308 remove command overrides.
54310 2011-05-13 Ulrich Drepper <drepper@gmail.com>
54312 * libio/tst_putwc.c: Fix error messages.
54315 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54316 currently writing and seek to current position when not.
54317 * libio/Makefile (tests): Add bug-fclose1.
54318 * libio/bug-fclose1.c: New file.
54320 2011-05-12 Ulrich Drepper <drepper@gmail.com>
54323 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54324 don't set DF_1_NODELETE here.
54325 (do_lookup_x): When entering new entry test for copy relocation
54326 and if necessary set DF_1_NODELETE flag.
54327 * elf/tst-unique4.cc: New file.
54328 * elf/tst-unique4.h: New file.
54329 * elf/tst-unique4lib.cc: New file.
54330 * elf/Makefile: Add rules to build and run tst-unique4.
54331 Patch by Piotr Bury <pbury@goahead.com>.
54333 2011-05-11 Ulrich Drepper <drepper@gmail.com>
54336 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54339 * misc/mntent_r.c (addmntent): Flush the stream after the output
54342 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54343 (is_trusted_path_normalize): Skip initial colon. Append slash
54344 to empty buffer. Duplicate is_trusted_path code but allow
54345 constructed patch to be prefix.
54346 (is_dst): Allow $ORIGIN followed by /.
54347 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54348 Correct testing of result of is_trusted_path_normalize
54349 (decompose_rpath): Fix warning.
54351 2011-05-10 Ulrich Drepper <drepper@gmail.com>
54354 * grp/initgroups.c (internal_getgrouplist): When we found the service
54355 list through the initgroups entry in nsswitch.conf do not always
54356 continue on a successful lookup. Don't always use the
54357 __nss_group_database value if it is set.
54358 * nss/nsswitch.conf (initgroups): Change action for successful db
54359 lookup to continue for compatibility.
54361 2011-05-09 Ulrich Drepper <drepper@gmail.com>
54364 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54366 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54368 * iconvdata/tst-tables.sh: Likewise.
54369 * iconvdata/cp770.c: New file.
54370 * iconvdata/cp771.c: New file.
54371 * iconvdata/cp772.c: New file.
54372 * iconvdata/cp773.c: New file.
54373 * iconvdata/cp774.c: New file.
54374 * iconvdata/testdata/CP770: New file.
54375 * iconvdata/testdata/CP770..UTF8: New file.
54376 * iconvdata/testdata/CP771: New file.
54377 * iconvdata/testdata/CP771..UTF8: New file.
54378 * iconvdata/testdata/CP772: New file.
54379 * iconvdata/testdata/CP772..UTF8: New file.
54380 * iconvdata/testdata/CP773: New file.
54381 * iconvdata/testdata/CP773..UTF8: New file.
54382 * iconvdata/testdata/CP774: New file.
54383 * iconvdata/testdata/CP774..UTF8: New file.
54385 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54387 * iconvdata/gen-8bit-gap.sh: Likewise.
54388 * iconvdata/gen-8bit.sh: Likewise.
54390 * locale/iso-639.def: Add ary entry.
54393 * locale/C-translit.h.in: Add U20A1 transliteration.
54396 * locale/iso-639.def: Add wae entry.
54397 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54400 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54404 * locale/C-translit.h.in: Add entry for U20B9.
54405 Patch by pravin.d.s@gmail.com.
54407 2011-05-08 Ulrich Drepper <drepper@gmail.com>
54410 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54411 ENAMETOOLONG use generic getcwd.
54412 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54413 in rtld. Use *stat64.
54414 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54415 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54416 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54417 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54418 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54419 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54420 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54421 __fstatat64 macros.
54422 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54423 * dirent/rewinddir.c: Add libc_hidden_def.
54424 * sysdeps/mach/hurd/rewinddir.c: Likewise.
54425 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
54427 * include/dirent.h (__alloc_dir): Add flags parameter.
54428 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54429 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54431 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54432 from fdopendir if O_CLOEXEC is already set.
54434 2011-03-15 Alan Modra <amodra@gmail.com>
54436 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54437 l_tls_firstbyte_offset non-zero. Save padding offset in
54438 l_tls_firstbyte_offset for later use.
54439 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54440 freeing static tls block.
54442 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54444 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54445 where #ifdef was intended. The intent is to prevent ARG_MAX from
54446 being defined by the kernel headers.
54448 2011-05-07 Ulrich Drepper <drepper@gmail.com>
54451 * resolv/resolv.h: Define RES_NOTLDQUERY.
54452 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54453 no-tld-query and set RES_NOTLDQUERY.
54454 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54455 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54456 modern BIND to search name as TLD unless forbidden.
54458 2011-05-07 Petr Baudis <pasky@suse.cz>
54459 Ulrich Drepper <drepper@gmail.com>
54462 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54463 (is_trusted_path): ...to here.
54464 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54465 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54466 using is_trusted_path_normalize() in setuid scripts.
54468 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54470 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54471 __BEGIN/__END_DECLS.
54473 2011-05-06 Ulrich Drepper <drepper@gmail.com>
54475 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54476 NSS_STATUS_NOTFOUND if no record was found.
54478 2011-05-05 Andreas Schwab <schwab@redhat.com>
54480 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54481 (headers-not-in-tirpc): Remove rpc/netdb.h
54482 * resolv/netdb.h: Revert last change.
54484 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54486 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54487 circular dependency between libgcc.a and libc.a.
54489 2011-05-05 Andreas Schwab <schwab@redhat.com>
54491 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54492 * nis/Makefile: Don't install rpcsvc/*.
54493 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54494 instead of <rpc/types.h>.
54495 (MAXHOSTNAMELEN): Define.
54497 2011-05-03 Andreas Schwab <schwab@redhat.com>
54499 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54501 2011-04-28 Maciej Babinski <mbabinski@google.com>
54504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54505 gethostbyname4_r when IPv6 results are possible.
54507 2011-05-02 Ulrich Drepper <drepper@gmail.com>
54510 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54511 _PC_PIPE_BUF handling.
54513 2011-04-30 Bruno Haible <bruno@clisp.org>
54516 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54517 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54519 * inet/getnameinfo.c (getnameinfo): Likewise.
54521 2011-04-29 Ulrich Drepper <drepper@gmail.com>
54523 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54524 to groups setting in database lookup.
54525 * nss/nsswitch.conf: Add initgroups entry.
54527 2011-04-22 Ulrich Drepper <drepper@gmail.com>
54530 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54532 Patch by Eric Blake <eblake@redhat.com>.
54534 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54536 * sunrpc/Makefile (need-export-routines): Add svc_run.
54537 (routines): Remove svc_run.
54538 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54539 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54540 * sunrpc/svc_run.c (svc_run): Likewise.
54541 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54543 2011-04-21 Ulrich Drepper <drepper@gmail.com>
54545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54546 problem in reallocation in last patch.
54548 2011-04-20 Ulrich Drepper <drepper@gmail.com>
54550 * sunrpc/Makefile: Move inclusion of Rules.
54552 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54554 * nss/nss_files/files-initgroups.c: New file.
54555 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54556 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54557 _nss_files_initgroups_dyn.
54559 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54561 * elf/elf.h (R_ARM_IRELATIVE): Define.
54563 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54565 * po/ru.po: Update from translation team.
54567 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54569 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54572 2011-02-06 Mike Frysinger <vapier@gentoo.org>
54575 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54576 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54578 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54579 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54581 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54583 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54585 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54589 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54592 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54594 * stdlib/bug-getcontext.c: New file.
54595 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54597 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54599 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54600 instructions into .machine "z9-109".
54601 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54602 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54604 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54606 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54607 between environment variables and auxiliary vector.
54609 2011-04-16 Ulrich Drepper <drepper@gmail.com>
54611 * Makefile: Add rules to build linkobj/libc.so.
54612 * include/libc-symbols.h: Define libc_hidden_nolink.
54613 * include/rpc/auth.h: Mark functions which are to be hidden.
54614 * include/rpc/auth_des.h: Likewise.
54615 * include/rpc/auth_unix.h: Likewise.
54616 * include/rpc/clnt.h: Likewise.
54617 * include/rpc/des_crypt.h: Likewise.
54618 * include/rpc/key_prot.h: Likewise.
54619 * include/rpc/pmap_clnt.h: Likewise.
54620 * include/rpc/pmap_prot.h: Likewise.
54621 * include/rpc/pmap_rmt.h: Likewise.
54622 * include/rpc/rpc_msg.h: Likewise.
54623 * include/rpc/svc.h: Likewise.
54624 * include/rpc/svc_auth.h: Likewise.
54625 * include/rpc/xdr.h: Likewise.
54626 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54627 * nss/Makefile: Likewise.
54628 * sunrpc/Makefile: Don't install headers. Build library with normal
54629 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54630 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54631 for the compat linking library. Remove use of INTDEF/INTUSE.
54632 * sunrpc/auth_none.c: Likewise.
54633 * sunrpc/auth_unix.c: Likewise.
54634 * sunrpc/authdes_prot.c: Likewise.
54635 * sunrpc/authuxprot.c: Likewise.
54636 * sunrpc/clnt_gen.c: Likewise.
54637 * sunrpc/clnt_perr.c: Likewise.
54638 * sunrpc/clnt_raw.c: Likewise.
54639 * sunrpc/clnt_simp.c: Likewise.
54640 * sunrpc/clnt_tcp.c: Likewise.
54641 * sunrpc/clnt_udp.c: Likewise.
54642 * sunrpc/clnt_unix.c: Likewise.
54643 * sunrpc/des_crypt.c: Likewise.
54644 * sunrpc/des_soft.c: Likewise.
54645 * sunrpc/get_myaddr.c: Likewise.
54646 * sunrpc/key_call.c: Likewise.
54647 * sunrpc/key_prot.c: Likewise.
54648 * sunrpc/netname.c: Likewise.
54649 * sunrpc/pm_getmaps.c: Likewise.
54650 * sunrpc/pm_getport.c: Likewise.
54651 * sunrpc/pmap_clnt.c: Likewise.
54652 * sunrpc/pmap_prot.c: Likewise.
54653 * sunrpc/pmap_prot2.c: Likewise.
54654 * sunrpc/pmap_rmt.c: Likewise.
54655 * sunrpc/publickey.c: Likewise.
54656 * sunrpc/rpc_cmsg.c: Likewise.
54657 * sunrpc/rpc_common.c: Likewise.
54658 * sunrpc/rpc_dtable.c: Likewise.
54659 * sunrpc/rpc_prot.c: Likewise.
54660 * sunrpc/rpc_thread.c: Likewise.
54661 * sunrpc/rtime.c: Likewise.
54662 * sunrpc/svc.c: Likewise.
54663 * sunrpc/svc_auth.c: Likewise.
54664 * sunrpc/svc_authux.c: Likewise.
54665 * sunrpc/svc_raw.c: Likewise.
54666 * sunrpc/svc_run.c: Likewise.
54667 * sunrpc/svc_simple.c: Likewise.
54668 * sunrpc/svc_tcp.c: Likewise.
54669 * sunrpc/svc_udp.c: Likewise.
54670 * sunrpc/svc_unix.c: Likewise.
54671 * sunrpc/svcauth_des.c: Likewise.
54672 * sunrpc/xcrypt.c: Likewise.
54673 * sunrpc/xdr.c: Likewise.
54674 * sunrpc/xdr_array.c: Likewise.
54675 * sunrpc/xdr_float.c: Likewise.
54676 * sunrpc/xdr_intXX_t.c: Likewise.
54677 * sunrpc/xdr_mem.c: Likewise.
54678 * sunrpc/xdr_rec.c: Likewise.
54679 * sunrpc/xdr_ref.c: Likewise.
54680 * sunrpc/xdr_sizeof.c: Likewise.
54681 * sunrpc/xdr_stdio.c: Likewise.
54683 2011-04-10 Ulrich Drepper <drepper@gmail.com>
54686 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54687 * sysdeps/ia64/dl-tls.h: Likewise.
54688 * sysdeps/powerpc/dl-tls.h: Likewise.
54689 * sysdeps/s390/dl-tls.h: Likewise.
54690 * sysdeps/sh/dl-tls.h: Likewise.
54691 * sysdeps/sparc/dl-tls.h: Likewise.
54692 * sysdeps/x86_64/dl-tls.h: Likewise.
54693 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54695 2011-03-14 Andreas Schwab <schwab@redhat.com>
54697 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54698 rpath element also skip the following colon.
54699 (expand_dynamic_string_token): Add is_path parameter and pass
54700 down to DL_DST_REQUIRED and _dl_dst_substitute.
54701 (decompose_rpath): Call expand_dynamic_string_token with
54702 non-zero is_path. Ignore empty rpaths.
54703 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54706 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54711 2011-04-09 Ulrich Drepper <drepper@gmail.com>
54714 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54715 Patch by Filipe David Manana <fdmanana@apache.org>.
54717 2011-04-07 Andreas Schwab <schwab@redhat.com>
54719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54720 Maintain aligned stack.
54721 (CHECK_RSP): Remove unused macro.
54723 2011-04-03 Ulrich Drepper <drepper@gmail.com>
54725 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54726 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54728 2011-04-02 Ulrich Drepper <drepper@gmail.com>
54730 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54732 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54734 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54737 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54738 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54739 * sysdeps/x86_64/memmove.c: New file.
54740 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54741 (memcpy): Renamed to ...
54742 (__new_memcpy): This.
54743 (memcpy): Provide GLIBC_2_14 memcpy.
54744 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54745 (memcpy): Provide GLIBC_2_2_5 memcpy.
54747 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54750 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54752 2011-03-30 Andreas Schwab <schwab@redhat.com>
54754 * misc/syncfs.c: New file.
54755 * misc/Makefile (routines): Add syncfs.
54756 * posix/unistd.h: Declare syncfs.
54757 * sysdeps/unix/syscalls.list: Add syncfs.
54759 2011-04-01 Andreas Schwab <schwab@redhat.com>
54761 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54764 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54767 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54768 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54771 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54773 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54774 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54775 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54777 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54781 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54782 sync_file_range.c with -fexceptions.
54783 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54784 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54785 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54786 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54787 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54788 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54790 sync_file_range as cancellation point
54791 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54792 now a wrapper around __call_sync_file_range with cancellation handling.
54793 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54794 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54795 function name to __call_sync_file_range.
54796 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54797 Add call_sync_file_range.
54799 2011-04-01 Andreas Schwab <schwab@redhat.com>
54801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54804 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54806 * iconv/iconv.h: Fix typo in comment.
54807 * io/fcntl.h: Likewise.
54808 * libio/stdio.h: Likewise.
54809 * posix/spawn.h: Likewise.
54810 * posix/unistd.h: Likewise.
54811 * stdlib/stdlib.h: Likewise.
54812 * time/time.h: Likewise.
54813 * wcsmbs/wchar.h: Likewise.
54815 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54816 open_by_handle): Add.
54817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54818 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54819 Augment a few comments.
54820 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54822 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54824 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54825 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54828 * io/fcntl.h (AT_EMPTY_PATH): Define.
54830 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54832 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54833 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54834 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54836 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54837 * Versions.def: Add GLIBC_2.14.
54838 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54841 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54843 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54845 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54847 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54850 * string/test-strncmp.c (do_page_test): New function.
54851 (check2): Likewise.
54852 (test_main): Call check2.
54853 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54855 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54858 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54859 Handle cache information in CPU leaf 4.
54860 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54862 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54865 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54866 character representation.
54867 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54869 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54871 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54872 END(__isnan) to END(__isnanf) to match function entry point/label
54873 EALIGN(__isnanf,...).
54875 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54877 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54879 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54882 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54883 copy from the symbol referenced in the relocation to initialize the
54885 Patch by Piotr Bury <pbury@goahead.com>.
54886 * elf/Makefile: Add rules to build and tst-unique3.
54887 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54888 * elf/tst-unique3.cc: New file.
54889 * elf/tst-unique3.h: New file.
54890 * elf/tst-unique3lib.cc: New file.
54891 * elf/tst-unique3lib2.cc: New file.
54893 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54895 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54897 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54898 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54901 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54903 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54904 to-be-loaded object along a path to loader is ld.so.
54906 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54907 Ulrich Drepper <drepper@gmail.com>
54909 * sysdeps/x86_64/memset.S: After aligning destination, code
54910 branches to different locations depending on the value of
54911 misalignment, when multiarch is enabled. Fix this.
54913 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54915 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54916 Set _x86_64_preferred_memory_instruction for AMD processsors.
54917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54918 Set bit_Prefer_SSE_for_memop for AMD processors.
54920 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54922 * libio/fmemopen.c (fmemopen): Optimize a bit.
54924 2011-03-03 Andreas Schwab <schwab@redhat.com>
54926 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54928 2011-03-03 Roland McGrath <roland@redhat.com>
54930 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54932 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54934 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54935 __bzero_ultra1 instead of __memset_ultra1.
54937 2011-02-23 Andreas Schwab <schwab@redhat.com>
54938 Ulrich Drepper <drepper@gmail.com>
54941 * include/link.h (struct link_map): Add l_orig_initfini.
54942 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54943 returning unsuccessfully.
54944 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54945 close of a file loaded at startup, restore the original l_initfini
54947 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54948 list, store the pointer.
54949 * elf/Makefile ($(objpfx)noload-mem): New rule.
54950 (noload-ENV): Define.
54951 (tests): Add $(objpfx)noload-mem.
54952 * elf/noload.c: Include <memcheck.h>.
54953 (main): Call mtrace. Close all opened handles.
54955 2011-02-17 Andreas Schwab <schwab@redhat.com>
54958 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54959 dependencies are missing.
54961 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54963 Fix __if_freereq crash: Unlike the generic version which uses free,
54965 * sysdeps/mach/hurd/ifreq.h: New file.
54967 2011-01-27 Petr Baudis <pasky@suse.cz>
54968 Ulrich Drepper <drepper@gmail.com>
54971 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54972 to extend_alloca().
54973 * stdio-common/bug23.c: New file.
54974 * stdio-common/Makefile (tests): Add bug23.
54976 2010-09-28 Andreas Schwab <schwab@redhat.com>
54977 Ulrich Drepper <drepper@gmail.com>
54980 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54981 before performing relro protection. At old place add assertion
54982 to make sure nothing changed.
54984 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54985 Glauber de Oliveira Costa <glommer@gmail.com>
54987 * elf/elf.h: Add new ARM TLS relocs.
54989 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54992 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54994 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54996 * sysdeps/wordsize-64/tst-writev.c: New file.
54998 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55000 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55001 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55002 insns in _dl_start to prevent a TOC reference before relocs are
55005 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55008 * Makeconfig: Remove RANLIB definition.
55009 * Makerules: Don't use RANLIB.
55010 * aclocal.m4: Remove ranlib test.
55011 * configure.in: No need to check for ranlib.
55012 * elf/rtld-Rules: Don't use RANLIB.
55014 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55016 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55018 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55019 inclusion protection macro.
55021 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55022 SIGRTMIN and SIGRTMAX and print information in that case only when
55023 SIGRTMIN is defined.
55025 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55027 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55028 arginfo fn returning -1.
55030 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55031 and thousands string is zero terminated.
55033 2011-02-03 Andreas Schwab <schwab@redhat.com>
55035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55036 sysdeps/unix/sysv/linux/bits/socket.h.
55038 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55040 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55041 (__CPU_COUNT): Remove old macros.
55042 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55043 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55044 (__CPU_ALLOC, __CPU_FREE): Add macros.
55045 (__sched_cpualloc, __sched_cpufree): Add declarations.
55047 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55049 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55050 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55051 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55052 (readdhstai): Return value of addhstaiX call.
55053 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55054 (addgrbyX): Return value returned by cache_addgr.
55055 (readdgrbyname): Return value returned by addgrbyX.
55056 (readdgrbygid): Likewise.
55057 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55058 (addpwbyX): Return value returned by cache_addpw.
55059 (readdpwbyname): Return value returned by addhstbyX.
55060 (readdpwbyuid): Likewise.
55061 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55062 (addservbyX): Return value returned by cache_addserv.
55063 (readdservbyname): Return value returned by addservbyX:
55064 (readdservbyport): Likewise.
55065 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55066 (addhstbyX): Return value returned by cache_addhst.
55067 (readdhstbyname): Return value returned by addhstbyX.
55068 (readdhstbyaddr): Likewise.
55069 (readdhstbynamev6): Likewise.
55070 (readdhstbyaddrv6): Likewise.
55071 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55072 (readdinitgroups): Return value returned by addinitgroupsX.
55073 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55074 (prune_cache): Keep track of timeout value of re-added entries.
55075 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55076 * nscd/nscd.h: Adjust prototypes of readd* functions.
55078 2011-02-04 Roland McGrath <roland@redhat.com>
55080 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55081 (nis_stats): Likewise.
55082 * nis/nis_modify.c (nis_modify): Likewise.
55083 * nis/nis_remove.c (nis_remove): Likewise.
55084 * nis/nis_add.c (nis_add): Likewise.
55086 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55088 * posix/fnmatch_loop.c: Add some consts.
55090 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55092 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55095 * config.make.in (config-cflags-novzeroupper): Define.
55096 * configure.in: Substitute libc_cv_cc_novzeroupper.
55097 * elf/Makefile (AVX-CFLAGS): Define.
55098 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55099 (CFLAGS-tst-auditmod4a.c): Likewise.
55100 (CFLAGS-tst-auditmod4b.c): Likewise.
55101 (CFLAGS-tst-auditmod6b.c): Likewise.
55102 (CFLAGS-tst-auditmod6c.c): Likewise.
55103 (CFLAGS-tst-auditmod7b.c): Likewise.
55104 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55106 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55108 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55109 function to the callback.
55110 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55112 2011-02-02 Andreas Schwab <schwab@redhat.com>
55114 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55117 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55120 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55122 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55124 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55127 * elf/Makefile: Add rules to build and run new test.
55128 * elf/tst-initorder.c: New file.
55129 * elf/tst-initorder.exp: New file.
55130 * elf/tst-initordera1.c: New file.
55131 * elf/tst-initordera2.c: New file.
55132 * elf/tst-initordera3.c: New file.
55133 * elf/tst-initordera4.c: New file.
55134 * elf/tst-initorderb1.c: New file.
55135 * elf/tst-initorderb2.c: New file.
55136 * elf/tst-order-a1.c: New file.
55137 * elf/tst-order-a2.c: New file.
55138 * elf/tst-order-a3.c: New file.
55139 * elf/tst-order-a4.c: New file.
55140 * elf/tst-order-b1.c: New file.
55141 * elf/tst-order-b2.c: New file.
55142 * elf/tst-order-main.c: New file.
55143 New test case by George Gensure <werkt0@gmail.com>.
55145 2010-10-01 Andreas Schwab <schwab@redhat.com>
55147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55148 decoding ACE if AI_CANONIDN.
55150 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55152 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55154 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55156 * version.h (RELEASE): Bump for 2.13 release.
55157 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55159 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55161 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55163 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55165 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55166 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55168 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55170 * posix/getconf.c: Update copyright year.
55171 * catgets/gencat.c: Likewise.
55172 * csu/version.c: Likewise.
55173 * debug/catchsegv.sh: Likewise.
55174 * debug/xtrace.sh: Likewise.
55175 * elf/ldconfig.c: Likewise.
55176 * elf/ldd.bash.in: Likewise.
55177 * elf/sprof.c (print_version): Likewise.
55178 * iconv/iconv_prog.c: Likewise.
55179 * iconv/iconvconfig.c: Likewise.
55180 * locale/programs/locale.c: Likewise.
55181 * locale/programs/localedef.c: Likewise.
55182 * malloc/memusage.sh: Likewise.
55183 * malloc/mtrace.pl: Likewise.
55184 * nscd/nscd.c (print_version): Likewise.
55185 * nss/getent.c: Likewise.
55187 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55188 PF_CAIF, and PF_ALG.
55189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55191 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55193 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55194 (modules-names): Use them.
55195 (ifunc-test-modules, ifunc-pie-tests): Define.
55196 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55197 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55198 (test-extras): Likewise.
55199 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55200 $(compile-command.c).
55201 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55202 (all-built-dso): Define.
55203 (check-textrel.out, check-execstack.out): Depend on it.
55205 * configure.in: Don't override --enable-multi-arch.
55207 2011-01-15 Ulrich Drepper <drepper@gmail.com>
55210 * nscd/hstcache.c (tryagain): Define.
55211 (cache_addhst): Return tryagain not notfound for temporary errors.
55212 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55215 2011-01-14 Ulrich Drepper <drepper@gmail.com>
55218 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55219 to make the syscall.
55220 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55223 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55224 and fall back to matching as normal character if the string ends before
55225 the matching ']' is found. This is what POSIX requires.
55226 * posix/testfnm.c: Adjust test result.
55227 * posix/globtest.sh: Adjust test result. Add new test.
55228 * posix/tst-fnmatch.input: Likewise.
55229 * posix/tst-fnmatch2.c: Add new test.
55231 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55233 * elf/Makefile (check-execstack): Revert last change. Depend on
55235 (check-execstack.h): New target.
55236 (generated): Add check-execstack.h.
55237 * elf/check-execstack.c: Include "check-execstack.h".
55238 (main): Revert last change.
55239 (handle_file): Return zero if GNU_STACK is absent and
55240 DEFAULT_STACK_PERMS doesn't include PF_X.
55242 2011-01-13 Ulrich Drepper <drepper@gmail.com>
55244 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55245 in child fails because the descriptor is already closed.
55246 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55247 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55248 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55251 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55255 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55256 temporary buffer used to handle multi lookups locally.
55257 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55259 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55261 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55264 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55266 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55267 alignment for SSE2.
55269 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55272 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55273 characters. When rounding increased number of integer digits recompute
55275 * stdio-common/tst-grouping.c: New file.
55276 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55278 2011-01-09 Ulrich Drepper <drepper@gmail.com>
55280 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55281 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55283 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55285 * bits/select.h: Likewise.
55287 2011-01-08 Ulrich Drepper <drepper@gmail.com>
55289 * po/ja.po: Update from translation team.
55291 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
55294 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55295 implementation just like for lxstat, fxstatat, et al.
55297 2010-12-27 Jim Meyering <meyering@redhat.com>
55300 * posix/regexec.c (build_trtable): Return failure indication upon
55301 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55303 2010-12-25 Ulrich Drepper <drepper@gmail.com>
55306 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55307 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55308 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55309 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55312 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55315 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55316 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55318 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55320 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55321 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55322 script has SORT_BY_INIT_PRIORITY.
55323 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55324 NO_CTORS_DTORS_SECTIONS is defined.
55325 * elf/soinit.c: Likewise.
55326 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55327 NO_CTORS_DTORS_SECTIONS is defined.
55328 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55329 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55330 * sysdeps/sh/init-first.c: Likewise.
55331 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55333 2010-12-24 Ulrich Drepper <drepper@gmail.com>
55335 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55336 always use the slow path.
55338 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55340 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55341 similar rule which adds the sysdep directories to the header search in
55342 order to pick up the correct platform stackinfo.h.
55343 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55344 perform test if it is, otherwise return successfully without testing.
55345 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55346 DEFAULT_STACK_PERMS define in stackinfo.h.
55347 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55348 defined in stackinfo.h.
55349 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55350 DEFAULT_STACK_PERMS defined in stackinfo.h.
55351 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55352 * sysdeps/ia64/stackinfo.h: Likewise.
55353 * sysdeps/s390/stackinfo.h: Likewise.
55354 * sysdeps/sh/stackinfo.h: Likewise.
55355 * sysdeps/sparc/stackinfo.h: Likewise.
55356 * sysdeps/x86_64/stackinfo.h: Likewise.
55357 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55358 PF_X for powerpc64. Retain PF_X for powerpc32.
55360 2010-12-19 Ulrich Drepper <drepper@gmail.com>
55362 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55364 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55365 GETDENTS_64BIT_ALIGNED.
55367 2010-12-14 Ulrich Drepper <dreper@gmail.com>
55369 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55371 2010-12-10 Andreas Schwab <schwab@redhat.com>
55373 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55376 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55377 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55379 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55380 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55382 2010-12-09 Ulrich Drepper <drepper@gmail.com>
55385 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55388 2010-12-09 Jakub Jelinek <jakub@redhat.com>
55390 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55392 2010-12-03 Ulrich Drepper <drepper@gmail.com>
55394 * po/it.po: Update from translation team.
55396 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55398 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55401 2010-11-30 Ulrich Drepper <drepper@gmail.com>
55403 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55405 2010-11-24 Andreas Schwab <schwab@redhat.com>
55407 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55409 (gaih_getanswer_slice): Likewise.
55411 2010-10-20 Jakub Jelinek <jakub@redhat.com>
55413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55415 2010-05-31 Petr Baudis <pasky@suse.cz>
55418 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55419 silently even in the chroot mode.
55421 2010-11-22 Ulrich Drepper <drepper@gmail.com>
55423 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55424 last patch a bit. Pretty printing
55426 2010-05-31 Petr Baudis <pasky@suse.cz>
55429 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55430 initialization of skip_initgroups_dyn.
55432 2010-11-19 Ulrich Drepper <drepper@gmail.com>
55434 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55435 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55437 2010-11-16 Ulrich Drepper <drepper@gmail.com>
55439 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55441 2010-11-11 Andreas Schwab <schwab@redhat.com>
55443 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55444 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55445 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55446 ($(objpfx)tst-fnmatch-mem): New rule.
55447 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55448 * posix/tst-fnmatch.c (main): Call mtrace.
55450 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55453 Support Intel processor model 6 and model 0x2c.
55455 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
55457 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55460 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55463 * string/test-strncasecmp.c (check_result): New function.
55464 (do_one_test): Use it.
55465 (check1): New function.
55466 (test_main): Use it.
55467 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55468 Support strcasecmp and strncasecmp.
55470 2010-11-08 Ulrich Drepper <drepper@gmail.com>
55473 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55476 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55478 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55482 * sysdeps/x86_64/multiarch/bzero.S: New file.
55483 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55484 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55485 * sysdeps/x86_64/multiarch/memset.S: New file.
55486 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55488 Set bit_Prefer_SSE_for_memop for Intel processors.
55489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55491 (index_Prefer_SSE_for_memop): Define.
55492 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55494 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
55496 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55497 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55499 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55502 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55503 (__x86_64_raw_data_cache_size_half): Likewise.
55504 (__x86_64_raw_shared_cache_size): Likewise.
55505 (__x86_64_raw_shared_cache_size_half): Likewise.
55507 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55508 (__x86_64_raw_data_cache_size_half): Likewise.
55509 (__x86_64_raw_shared_cache_size): Likewise.
55510 (__x86_64_raw_shared_cache_size_half): Likewise.
55511 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55512 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55513 and __x86_64_raw_shared_cache_size_half. Round
55514 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55515 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55516 to multiple of 256 bytes.
55518 2010-11-03 Ulrich Drepper <drepper@gmail.com>
55521 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55522 of inacessible symlinks. Verify result of symlink before returning it.
55523 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55524 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55526 2010-10-28 Erich Ritz <erichritz@gmail.com>
55528 * math/math.h (isinf): Fix typo in comment.
55530 2010-11-01 Ulrich Drepper <drepper@gmail.com>
55532 * po/da.po: Update from translation team.
55534 2010-10-26 Ulrich Drepper <drepper@gmail.com>
55536 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55537 is added to the list.
55539 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55540 Ulrich Drepper <drepper@gmail.com>
55542 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55543 the global list here. Move code to...
55544 (_dl_add_to_namespace_list): ...here. New function.
55545 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55546 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55547 * elf/dl-load.c (lose): Don't remove the element from the list.
55548 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55549 (_dl_map_object): Likewise.
55551 2010-10-25 Ulrich Drepper <drepper@gmail.com>
55554 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55555 into all bytes of SSE register.
55556 Patch by Richard Li <richardpku@gmail.com>.
55558 2010-10-24 Ulrich Drepper <drepper@gmail.com>
55561 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55564 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55566 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55567 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55568 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55569 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55574 2010-10-22 Andreas Schwab <schwab@redhat.com>
55576 * include/dlfcn.h (__RTLD_SECURE): Define.
55577 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55578 mode & __RTLD_SECURE instead.
55579 (open_path): Rename preloaded parameter to secure.
55580 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55581 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55582 * elf/dl-deps.c (openaux): Likewise.
55583 * elf/rtld.c (struct map_args): Remove is_preloaded.
55584 (map_doit): Don't use it.
55585 (dl_main): Likewise.
55586 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55587 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55589 2010-09-09 Andreas Schwab <schwab@redhat.com>
55591 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55592 (sysd-rules-targets): Remove duplicates.
55593 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55594 rtld-%.$o dependency.
55596 2010-10-18 Andreas Schwab <schwab@redhat.com>
55598 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55599 _dl_map_object do it.
55601 2010-10-19 Ulrich Drepper <drepper@gmail.com>
55603 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55604 fast fma builtins, define the macros in the C99 standard.
55605 (FP_FAST_FMAF): Likewise.
55606 (FP_FAST_FMAL): Likewise.
55607 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55609 * bits/mathdef.h: Update copyright year.
55610 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55612 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55614 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55615 builtins, define the macros in the C99 standard.
55616 (FP_FAST_FMAF): Likewise.
55617 (FP_FAST_FMAL): Likewise.
55618 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55620 (FP_FAST_FMAF): Likewise.
55622 2010-10-15 Jakub Jelinek <jakub@redhat.com>
55625 * math/libm-test.inc (fma_test): Some new testcases.
55626 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55627 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55628 y and infinite z. Do multiplication by C already in long double.
55629 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55631 y and infinite z. Do bitwise or of inexact bit into u.d.
55632 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55633 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55634 * sysdeps/i386/fpu/s_fma.S: Removed.
55635 * sysdeps/i386/fpu/s_fmal.S: Removed.
55637 2010-10-16 Jakub Jelinek <jakub@redhat.com>
55640 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55642 computation is not scheduled after fetestexcept. Fix value
55643 of minimum denormal long double.
55645 2010-10-14 Jakub Jelinek <jakub@redhat.com>
55648 * math/libm-test.inc (fma_test): Add some more tests.
55649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55652 2010-10-15 Andreas Schwab <schwab@redhat.com>
55654 * scripts/data/localplt-s390-linux-gnu.data: New file.
55655 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55657 2010-10-13 Jakub Jelinek <jakub@redhat.com>
55660 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55661 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55663 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55665 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55667 if one of x and y is very large and the other is subnormal.
55668 * sysdeps/s390/fpu/s_fmaf.c: New file.
55669 * sysdeps/s390/fpu/s_fma.c: New file.
55670 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55671 * sysdeps/powerpc/fpu/s_fma.S: New file.
55672 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55673 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55674 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55676 2010-10-12 Jakub Jelinek <jakub@redhat.com>
55679 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55681 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55682 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55683 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55684 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55685 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55686 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55687 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55689 2010-10-12 Ulrich Drepper <drepper@redhat.com>
55692 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55693 * posix/bug-regex31.input: Add test case.
55695 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55697 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55698 * posix/bug-regex31.input: New file.
55701 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55702 (parse_sub_exp): Fix last change, use postorder.
55704 * posix/bug-regex31.c: New file.
55705 * posix/Makefile: Add rules to build and run bug-regex31.
55707 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55710 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55713 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55714 to have entries in sys_siglist.
55717 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55720 2010-10-07 Jakub Jelinek <jakub@redhat.com>
55723 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55724 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55725 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55726 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55727 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55728 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55729 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55730 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55731 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55732 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55733 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55734 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55735 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55736 * math/ftestexcept.c (fetestexcept): Likewise.
55737 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55738 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55739 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55740 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55741 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55742 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55743 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55745 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55748 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55751 2010-10-06 Ulrich Drepper <drepper@gmail.com>
55753 * string/bug-strstr1.c: New file.
55754 * string/Makefile: Add rules to build and run bug-strstr1.
55756 2010-10-05 Eric Blake <eblake@redhat.com>
55759 * string/str-two-way.h (two_way_long_needle): Always clear memory
55760 when skipping input due to the shift table.
55762 2010-10-03 Ulrich Drepper <drepper@gmail.com>
55765 * malloc/mcheck.c: Handle large requests.
55768 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55769 for strncmp and strncasecmp.
55770 * string/stratcliff.c: Add tests for strcmp and strncmp.
55771 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55773 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55775 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55778 2010-09-30 Andreas Jaeger <aj@suse.de>
55780 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55781 (CGROUP_SUPER_MAGIC): Define.
55782 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55783 Handle btrfs and cgroup file systems.
55784 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55787 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55789 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55790 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55792 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55795 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55796 trying to locate the ELF header.
55798 2010-09-27 Andreas Schwab <schwab@redhat.com>
55801 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55802 Mask out sign-bit copies when constructing f_fsid.
55804 2010-09-24 Petr Baudis <pasky@suse.cz>
55806 * debug/stack_chk_fail_local.c: Add missing licence exception.
55807 * debug/warning-nop.c: Likewise.
55809 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55811 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55812 implementing getdents64 using getdents syscall, set d_type if
55813 __ASSUME_GETDENTS32_D_TYPE.
55815 2010-09-16 Andreas Schwab <schwab@redhat.com>
55817 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55818 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55820 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55823 * posix/unistd.h: Undo change of feature selection for ftruncate from
55826 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55828 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55831 2010-09-20 Andreas Schwab <schwab@redhat.com>
55833 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55837 2010-09-14 Andreas Schwab <schwab@redhat.com>
55839 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55840 variables after CHECK_SP call.
55841 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55843 2010-09-13 Andreas Schwab <schwab@redhat.com>
55844 Ulrich Drepper <drepper@redhat.com>
55846 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55847 re-relocationg ld.so.
55848 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55849 _dl_init_paths call.
55850 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55853 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55855 * resolv/res_init.c (__res_vinit): Count the default server we added.
55857 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55858 Ulrich Drepper <drepper@redhat.com>
55861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55862 (____longjmp_chk): Use %ebx for saving value across system call.
55865 2010-09-06 Andreas Schwab <schwab@redhat.com>
55867 * manual/Makefile: Don't mix pattern rules with normal rules.
55869 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55871 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55873 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55874 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55875 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55876 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55880 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55883 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55884 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55886 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55888 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55889 * sysdeps/x86_64/addmul_1.S: Likewise.
55890 * sysdeps/x86_64/lshift.S: Likewise.
55891 * sysdeps/x86_64/mul_1.S: Likewise.
55892 * sysdeps/x86_64/rshift.S: Likewise.
55893 * sysdeps/x86_64/sub_n.S: Likewise.
55894 * sysdeps/x86_64/submul_1.S: Likewise.
55896 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55898 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55899 Define __sched_param instead of SCHED_* and sched_param when
55900 <bits/sched.h> is included with __need_schedparam defined.
55901 * bits/sched.h [__need_schedparam]
55902 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55903 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55904 (__defined_schedparam): Define to 1.
55905 (__sched_param): New structure, identical to sched_param.
55906 (__need_schedparam): Undefine.
55908 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55910 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55911 (epoll_create1): Declare.
55913 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55915 2010-08-31 Andreas Schwab <schwab@redhat.com>
55918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55919 shifting retval into place.
55921 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55923 * nis/rpcsvc/nis.h: Update copyright notice.
55924 * nis/rpcsvc/nis.x: Likewise.
55925 * nis/rpcsvc/nis_callback.h: Likewise.
55926 * nis/rpcsvc/nis_callback.x: Likewise.
55927 * nis/rpcsvc/nis_object.x: Likewise.
55928 * nis/rpcsvc/nis_tags.h: Likewise.
55929 * nis/rpcsvc/yp.h: Likewise.
55930 * nis/rpcsvc/yp.x: Likewise.
55931 * nis/rpcsvc/ypupd.h: Likewise.
55932 * nis/yp_xdr.c: Likewise.
55933 * nis/ypupdate_xdr.c: Likewise.
55935 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55936 mainly the body of pmap_getport. Add parameters to specify timeouts.
55937 (pmap_getport): Use __libc_rpc_getport.
55938 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55939 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55940 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55942 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55947 2010-08-27 Roland McGrath <roland@redhat.com>
55949 * sysdeps/i386/i686/multiarch/Makefile
55950 (CFLAGS-varshift.c): New variable.
55952 2010-08-27 Ulrich Drepper <drepper@redhat.com>
55954 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55955 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55959 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55961 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55963 * sysdeps/x86_64/strlen.S: Unroll the loop.
55964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55965 strlen-sse2 strlen-sse2-bsf.
55966 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55967 __strlen_no_bsf if bit_Slow_BSF is set.
55968 (__strlen_sse42): Removed.
55969 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55970 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55972 2010-08-25 Roland McGrath <roland@redhat.com>
55974 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55975 * sysdeps/x86_64/multiarch/varshift.c: New file.
55976 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55977 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55978 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55979 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55981 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55984 strlen-sse2 strlen-sse2-bsf.
55985 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55986 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55987 (__strlen_sse2): Removed.
55988 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55991 bit_Slow_BSF for Atom.
55992 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55993 (index_Slow_BSF): Define.
55994 (HAS_SLOW_BSF): Define.
55996 2010-08-25 Ulrich Drepper <drepper@redhat.com>
55999 * resolv/res_init.c (__res_vinit): When no server address at all
56000 is given default to loopback.
56002 2010-08-24 Roland McGrath <roland@redhat.com>
56004 * configure.in: Remove config-name.h generation.
56005 * configure: Regenerated.
56006 * config-name.in: File removed.
56007 * scripts/config-uname.sh: New file.
56008 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56009 ($(objdir)config-name.h): New target.
56011 * sunrpc/rpc_parse.h: Avoid nested comment.
56013 2010-08-24 Richard Henderson <rth@redhat.com>
56014 Ulrich Drepper <drepper@redhat.com>
56015 H.J. Lu <hongjiu.lu@intel.com>
56017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56019 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56020 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56021 _mm_alignr_epi8 with _mm_loadu_si128.
56022 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56023 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56024 (__m128i_shift_right): Removed.
56025 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56026 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56027 * sysdeps/x86_64/multiarch/varshift.h: New file.
56028 * sysdeps/x86_64/multiarch/varshift.S: New file.
56030 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56032 * configure.in: Move assembler checks to before sysdep dir checking.
56034 2010-08-20 Petr Baudis <pasky@suse.cz>
56036 * LICENSES: Sync the sunrpc license.
56038 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56040 * sunrpc/auth_des.c: Update copyright notice once again.
56041 * sunrpc/auth_none.c: Likewise.
56042 * sunrpc/auth_unix.c: Likewise.
56043 * sunrpc/authdes_prot.c: Likewise.
56044 * sunrpc/authuxprot.c: Likewise.
56045 * sunrpc/bindrsvprt.c: Likewise.
56046 * sunrpc/clnt_gen.c: Likewise.
56047 * sunrpc/clnt_perr.c: Likewise.
56048 * sunrpc/clnt_raw.c: Likewise.
56049 * sunrpc/clnt_simp.c: Likewise.
56050 * sunrpc/clnt_tcp.c: Likewise.
56051 * sunrpc/clnt_udp.c: Likewise.
56052 * sunrpc/clnt_unix.c: Likewise.
56053 * sunrpc/des_crypt.c: Likewise.
56054 * sunrpc/des_soft.c: Likewise.
56055 * sunrpc/get_myaddr.c: Likewise.
56056 * sunrpc/getrpcport.c: Likewise.
56057 * sunrpc/key_call.c: Likewise.
56058 * sunrpc/key_prot.c: Likewise.
56059 * sunrpc/openchild.c: Likewise.
56060 * sunrpc/pm_getmaps.c: Likewise.
56061 * sunrpc/pm_getport.c: Likewise.
56062 * sunrpc/pmap_clnt.c: Likewise.
56063 * sunrpc/pmap_prot.c: Likewise.
56064 * sunrpc/pmap_prot2.c: Likewise.
56065 * sunrpc/pmap_rmt.c: Likewise.
56066 * sunrpc/rpc/auth.h: Likewise.
56067 * sunrpc/rpc/auth_unix.h: Likewise.
56068 * sunrpc/rpc/clnt.h: Likewise.
56069 * sunrpc/rpc/des_crypt.h: Likewise.
56070 * sunrpc/rpc/key_prot.h: Likewise.
56071 * sunrpc/rpc/netdb.h: Likewise.
56072 * sunrpc/rpc/pmap_clnt.h: Likewise.
56073 * sunrpc/rpc/pmap_prot.h: Likewise.
56074 * sunrpc/rpc/pmap_rmt.h: Likewise.
56075 * sunrpc/rpc/rpc.h: Likewise.
56076 * sunrpc/rpc/rpc_des.h: Likewise.
56077 * sunrpc/rpc/rpc_msg.h: Likewise.
56078 * sunrpc/rpc/svc.h: Likewise.
56079 * sunrpc/rpc/svc_auth.h: Likewise.
56080 * sunrpc/rpc/types.h: Likewise.
56081 * sunrpc/rpc/xdr.h: Likewise.
56082 * sunrpc/rpc_clntout.c: Likewise.
56083 * sunrpc/rpc_cmsg.c: Likewise.
56084 * sunrpc/rpc_common.c: Likewise.
56085 * sunrpc/rpc_cout.c: Likewise.
56086 * sunrpc/rpc_dtable.c: Likewise.
56087 * sunrpc/rpc_hout.c: Likewise.
56088 * sunrpc/rpc_main.c: Likewise.
56089 * sunrpc/rpc_parse.c: Likewise.
56090 * sunrpc/rpc_parse.h: Likewise.
56091 * sunrpc/rpc_prot.c: Likewise.
56092 * sunrpc/rpc_sample.c: Likewise.
56093 * sunrpc/rpc_scan.c: Likewise.
56094 * sunrpc/rpc_scan.h: Likewise.
56095 * sunrpc/rpc_svcout.c: Likewise.
56096 * sunrpc/rpc_tblout.c: Likewise.
56097 * sunrpc/rpc_util.c: Likewise.
56098 * sunrpc/rpc_util.h: Likewise.
56099 * sunrpc/rpcinfo.c: Likewise.
56100 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56101 * sunrpc/rpcsvc/key_prot.x: Likewise.
56102 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56103 * sunrpc/rpcsvc/mount.x: Likewise.
56104 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56105 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56106 * sunrpc/rpcsvc/rex.x: Likewise.
56107 * sunrpc/rpcsvc/rstat.x: Likewise.
56108 * sunrpc/rpcsvc/rusers.x: Likewise.
56109 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56110 * sunrpc/rpcsvc/spray.x: Likewise.
56111 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56112 * sunrpc/rtime.c: Likewise.
56113 * sunrpc/svc.c: Likewise.
56114 * sunrpc/svc_auth.c: Likewise.
56115 * sunrpc/svc_authux.c: Likewise.
56116 * sunrpc/svc_raw.c: Likewise.
56117 * sunrpc/svc_run.c: Likewise.
56118 * sunrpc/svc_simple.c: Likewise.
56119 * sunrpc/svc_tcp.c: Likewise.
56120 * sunrpc/svc_udp.c: Likewise.
56121 * sunrpc/svc_unix.c: Likewise.
56122 * sunrpc/svcauth_des.c: Likewise.
56123 * sunrpc/xcrypt.c: Likewise.
56124 * sunrpc/xdr.c: Likewise.
56125 * sunrpc/xdr_array.c: Likewise.
56126 * sunrpc/xdr_float.c: Likewise.
56127 * sunrpc/xdr_mem.c: Likewise.
56128 * sunrpc/xdr_rec.c: Likewise.
56129 * sunrpc/xdr_ref.c: Likewise.
56130 * sunrpc/xdr_sizeof.c: Likewise.
56131 * sunrpc/xdr_stdio.c: Likewise.
56133 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56136 2010-08-19 Andreas Schwab <schwab@redhat.com>
56138 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56140 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56142 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56143 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56144 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56145 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56146 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56147 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56148 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56149 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56150 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56151 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56152 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56153 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56154 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56155 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56157 2010-07-26 Anton Blanchard <anton@samba.org>
56159 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56160 * malloc/arena.c (heap_trim): Likewise.
56162 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56164 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56167 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56169 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56171 * sysdeps/i386/elf/Makefile: New file.
56173 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56175 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56176 from fanotify_init.
56177 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56180 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56182 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56184 * sysdeps/multiarch/strcmp.S: Likewise.
56186 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56188 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56189 strncase_l-nonascii.
56190 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56191 Add strncase_l-ssse3.
56192 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56193 * sysdeps/x86_64/strcmp.S: Likewise.
56194 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56195 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56196 * sysdeps/x86_64/strncase.S: New file.
56197 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56198 * sysdeps/x86_64/strncase_l.S: New file.
56199 * string/Makefile (strop-tests): Add strncasecmp.
56200 * string/test-strncasecmp.c: New file.
56202 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56205 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56206 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56208 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56210 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56212 2010-08-12 Ulrich Drepper <drepper@redhat.com>
56214 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56215 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56216 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56218 2010-05-01 Alan Modra <amodra@gmail.com>
56220 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56221 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56222 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56223 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56224 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56225 tidying. Don't tail-call __sigjmp_save for static lib.
56226 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56228 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56229 (CALL_MCOUNT): Add eh info, and nop after bl.
56230 (TAIL_CALL_SYSCALL_ERROR): New macro.
56231 (PSEUDO_RET): Use it.
56232 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56233 Correct save location of integer regs and cr.
56234 (_dl_profile_resolve): Correct cr save location. Delete nops
56235 after bl when SHARED. Reduce cfi size a little by better
56236 placement of cfi directives.
56237 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56238 make a stack frame. Instead use parm save area as a temp.
56239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56240 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56242 Don't make a stack frame for parent, use parm save area.
56243 Increase child stack frame to 112 bytes. Don't save unused reg,
56244 and adjust reg usage. Set up cfi on error recovery and
56245 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56247 (__makecontext): Add dummy nop after jump to exit.
56248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56249 Use correct parm save area and cr save, reduce stack frame.
56250 Correct cfi for possible PSEUDO_RET frame setup.
56251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56252 Branch to local label emitted by PSEUDO_RET rather than
56255 2010-08-12 Andreas Schwab <schwab@redhat.com>
56258 * locale/programs/locale.c (print_assignment): New function.
56259 (show_locale_vars): Use it.
56261 2010-08-11 Ulrich Drepper <drepper@redhat.com>
56263 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56265 (struct statfs64): Likewise.
56266 (_STATFS_F_FLAGS): Define.
56267 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56268 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56269 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56270 (ST_VALID): Define locally.
56271 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56272 __statvfs_getflags, use the provided value.
56273 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56274 __ASSUME_STATFS_F_FLAGS.
56276 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56278 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56279 Add sys/fanotify.h.
56280 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56281 fanotify_mask for GLIBC_2.13.
56282 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56283 fanotify_init and fanotify_mark.
56284 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56285 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56287 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56289 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56290 prlimit64 for GLIBC_2.13.
56291 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56297 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56298 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56299 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56301 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56304 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56305 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56307 * nss/Makefile: Add rules to build and run tst-nss-test1.
56308 * shlib-versions: Add entry for libnss_test1.
56309 * nss/nss_test1.c: New file.
56310 * nss/tst-nss-test1.c: New file.
56312 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56313 (__nss_configure_lookup): Set appropriate entry in
56314 __nss_configure_lookup to true.
56315 * nss/nsswitch.h: Define enum with indeces of databases in
56316 databases and __nss_database_custom arrays. Declare
56317 __nss_database_custom.
56318 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56319 to avoid using nscd when custom rules are installed.
56320 * nss/getXXbyYY_r.c: Likewise.
56321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56323 * nss/nss_files/files-parse.c: Whitespace fixes.
56325 2010-08-09 Ulrich Drepper <drepper@redhat.com>
56328 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56329 * posix/fnmatch_loop.c: Likewise.
56331 2010-07-17 Andi Kleen <ak@linux.intel.com>
56333 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56334 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56335 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56336 * Versions.def [GLIBC_2.13]: Add.
56338 2010-08-06 Ulrich Drepper <drepper@redhat.com>
56340 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56341 Also fail if tpwd after pwuid call is NULL.
56343 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56345 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56346 when converting to ms.
56348 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56350 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56351 EOPNOTSUPP errors with ENOTTY.
56352 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56353 EOPNOTSUPP errors with ENOTTY.
56355 2010-07-31 Ulrich Drepper <drepper@redhat.com>
56357 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56358 Add strcasecmp_l-ssse3.
56359 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56361 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56362 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56363 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56365 2010-07-30 Ulrich Drepper <drepper@redhat.com>
56367 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56369 * string/Makefile (strop-tests): Add strcasecmp.
56370 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56371 strcasecmp_l-nonascii.
56372 (gen-as-const-headers): Add locale-defines.sym.
56373 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56374 * sysdeps/x86_64/strcasecmp.S: New file.
56375 * sysdeps/x86_64/strcasecmp_l.S: New file.
56376 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56377 * sysdeps/x86_64/locale-defines.sym: New file.
56378 * string/test-strcasecmp.c: New file.
56380 * string/test-strcasestr.c: Test both ends of the range of characters.
56381 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56383 2010-07-29 Roland McGrath <roland@redhat.com>
56386 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56388 2010-07-27 Ulrich Drepper <drepper@redhat.com>
56390 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56393 2010-07-27 Andreas Schwab <schwab@redhat.com>
56395 * manual/memory.texi (Malloc Tunable Parameters): Document
56398 2010-07-26 Roland McGrath <roland@redhat.com>
56401 * configure.in (-fgnu89-inline check): Set and substitute
56402 gnu89_inline, not libc_cv_gnu89_inline.
56403 * configure: Regenerated.
56404 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56406 2010-07-26 Ulrich Drepper <drepper@redhat.com>
56408 * string/test-strnlen.c: New file.
56409 * string/Makefile (strop-tests): Add strnlen.
56410 * string/tester.c (test_strnlen): Add a few more test cases.
56411 * string/tst-strlen.c: Better error reporting.
56413 * sysdeps/x86_64/strnlen.S: New file.
56415 2010-07-24 Ulrich Drepper <drepper@redhat.com>
56417 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56418 lower-latency instructions.
56420 2010-07-23 Ulrich Drepper <drepper@redhat.com>
56422 * string/test-strcasestr.c: New file.
56423 * string/test-strstr.c: New file.
56424 * string/Makefile (strop-tests): Add strstr and strcasestr.
56425 * string/str-two-way.h: Don't undefine MAX.
56426 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56428 2010-07-21 Andreas Schwab <schwab@redhat.com>
56430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56431 strcasestr-nonascii.
56432 (CFLAGS-strcasestr-nonascii.c): Define.
56433 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56434 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56435 Remove unused attribute.
56437 2010-07-20 Roland McGrath <roland@redhat.com>
56439 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56440 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56441 ld.so.cache was broken. With it, there is no way to disable dsocaps
56442 like LD_HWCAP_MASK can disable hwcaps.
56444 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56446 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56448 2010-07-16 Ulrich Drepper <drepper@redhat.com>
56450 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56451 call in strcasestr.
56452 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56453 __strcasestr_sse42_nonascii.
56454 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56455 strcasestr-nonascii.c.
56456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56458 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
56460 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56461 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56462 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56463 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56465 2010-07-09 Ulrich Drepper <drepper@redhat.com>
56467 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56470 2010-07-06 Andreas Schwab <schwab@redhat.com>
56473 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56476 2010-07-06 Ulrich Drepper <drepper@redhat.com>
56478 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56479 _PC_PIPE_BUF using F_GETPIPE_SZ.
56481 2010-07-05 Roland McGrath <roland@redhat.com>
56483 * manual/arith.texi (Rounding Functions): Fix rint description
56484 implicit in round description.
56486 2010-07-02 Ulrich Drepper <drepper@redhat.com>
56488 * elf/Makefile: Fix linking for a few tests to make recent linker
56491 2010-06-30 Andreas Schwab <schwab@redhat.com>
56493 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56494 $(common-objpfx)libc_nonshared.a.
56496 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
56498 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56499 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56500 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56501 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56502 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56503 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56504 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56505 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56520 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56521 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56522 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56523 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56524 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56525 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56526 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56527 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56528 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56529 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56530 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56531 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56547 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56549 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56550 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56551 * string/memmove.c (memmove): Renamed to ...
56552 (MEMMOVE): ...this. Default to memmove.
56553 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56554 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56557 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56558 mempcpy-ssse3-back memmove-ssse3-back.
56559 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56562 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56563 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56564 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56565 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56566 * sysdeps/x86_64/multiarch/memmove.c: New file.
56567 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56568 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56569 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56570 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56571 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56574 (index_Fast_Copy_Backward): Define.
56575 (HAS_ARCH_FEATURE): Define.
56576 (HAS_FAST_REP_STRING): Define.
56577 (HAS_FAST_COPY_BACKWARD): Define.
56579 2010-06-21 Andreas Schwab <schwab@redhat.com>
56581 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56582 Restore proper fallback handling.
56584 2010-06-19 Ulrich Drepper <drepper@redhat.com>
56587 * posix/group_member.c (__group_member): Correct checking loop.
56589 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56590 OOM in getpwuid_r correctly. Return error number when the caller
56591 should return, otherwise -1.
56592 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56593 call returning > 0 value.
56594 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56596 2010-06-07 Andreas Schwab <schwab@redhat.com>
56598 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56599 libc_nonshared.a from targets in modules-names.
56601 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56603 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56606 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
56608 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56609 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56613 2010-06-02 Andreas Schwab <schwab@redhat.com>
56615 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56617 2010-06-14 Ulrich Drepper <drepper@redhat.com>
56619 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56625 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56626 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56628 2010-06-14 Roland McGrath <roland@redhat.com>
56630 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56632 2010-06-07 Jakub Jelinek <jakub@redhat.com>
56634 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56635 __REDIRECT followed by __THROW.
56636 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56637 * posix/getopt.h (getopt): Likewise.
56639 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56641 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56642 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56643 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56645 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56646 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56648 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
56650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56652 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56656 Properly check family and model.
56658 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56660 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56662 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
56664 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56666 2010-05-21 Ulrich Drepper <drepper@redhat.com>
56668 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56671 2010-05-19 Andreas Schwab <schwab@redhat.com>
56673 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56676 2010-05-21 Andreas Schwab <schwab@redhat.com>
56678 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56679 and internal_recvmmsg.
56680 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56681 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56682 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56683 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56685 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56686 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56687 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56689 2010-05-20 Andreas Schwab <schwab@redhat.com>
56691 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56693 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
56695 POWER7 optimizations.
56696 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56697 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56699 2010-05-19 Ulrich Drepper <drepper@redhat.com>
56701 * version.h: Update for 2.13 development version.
56703 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
56705 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56706 exceptions. Return 0.
56708 2010-05-07 Roland McGrath <roland@redhat.com>
56710 * elf/ldconfig.c (main): Add a const.
56712 2010-05-06 Ulrich Drepper <drepper@redhat.com>
56714 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56715 (args_options): Add no-idn option.
56716 (ahosts_keys_int): Add idn_flags to ai_flags.
56717 (parse_option): Handle 'i' option to clear idn_flags.
56719 * malloc/malloc.c (_int_free): Possible race in the most recently
56720 added check. Only act on the data if no current modification
56723 See ChangeLog.17 for earlier changes.