1 2015-02-12 Roland McGrath <roland@hack.frob.com>
3 * Makeconfig (after-link): New variable.
4 (+link-pie, +link-pie-tests): Use it.
5 (+link-static, +link-static-tests): Likewise.
6 (+link, +link-tests): Likewise.
7 * Makerules (build-module, build-module-asneeded): Likewise.
8 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
10 * elf/Makefile ($(objpfx)ld.so): Likewise.
12 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
15 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16 both struct timeval and struct timespec.
18 2015-02-12 Joseph Myers <joseph@codesourcery.com>
21 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23 (__ieee754_exp2l): Do not multiply small fractional parts by
25 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
27 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
30 * math/auto-libm-test-in: Add more tests of exp2.
31 * math/auto-libm-test-out: Regenerated.
33 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
38 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
43 2015-02-12 Andreas Schwab <schwab@suse.de>
46 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
47 Filter out elision flags from value returned in kind.
48 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
49 * nptl/tst-pthread-mutexattr.c: New file.
51 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
53 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
54 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
55 into gnu-gnu, and update comment to refer to abi-tags.
57 2015-02-11 Joseph Myers <joseph@codesourcery.com>
60 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
61 (__sincos): Set errno to EDOM for infinite argument.
62 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
63 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
64 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
65 (__sincosl): Set errno to EDOM for infinite argument.
66 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
67 (__sincosl): Set errno to EDOM for infinite argument.
68 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
69 (__sincosl): Set errno to EDOM for infinite argument.
70 * math/libm-test.inc (sincos_test_data): Test errno setting.
72 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
74 * string/strxfrm_l.c: Remove #define STRCMP.
75 * string/strcoll_l.c: Remove #define STRLEN.
76 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
77 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
79 2015-02-10 Joseph Myers <joseph@codesourcery.com>
81 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
82 * sysdeps/mips/mips32/sfp-machine.h: ... here.
83 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
84 * sysdeps/mips/mips64/Makefile: ... here.
85 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
86 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
87 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
88 * sysdeps/mips/mips64/sfp-machine.h: ... here.
89 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
90 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
91 * sysdeps/mips/mips64/n64/Implies: Likewise.
93 2015-02-10 Roland McGrath <roland@hack.frob.com>
95 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
96 <sys/time.h>, <string.h>, and <errno.h>.
97 (dest_offset, dest_address, value, zero): Remove unused variables.
98 (ldouble): Remove typedef.
99 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
100 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
102 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
103 (check): Function removed.
105 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
106 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
107 Don't call set_sigaction_FP and remove_sigaction_FP here.
108 (ldouble_test): Just use 'long double' as macro argument, no need for
109 the 'ldouble' typedef.
110 (do_test): Set up SIGFPE handler at start, using plain signal rather
111 than sigaction. Fix code style.
113 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
116 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
119 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
121 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
122 * sysdeps/powerpc/powerpc32/configure: Regenerated.
124 * sysdeps/powerpc/configure.ac: Remove file.
125 * sysdeps/powerpc/configure: Likewise.
127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
128 [sysdep_routines]: Remove wordcopy-power6 object.
129 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
130 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
131 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
132 (__memmove_ppc32): Likewise.
133 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
135 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
136 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
139 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
140 [sysdep_routines]: Remove wide chars objects.
141 [wcsmbs]: New rule for wide char objects.
143 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
144 Remove wordcopy-power6 obejct.
145 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
146 Use local call for wordcopy and memcpy symbols.
147 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
148 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
149 implementation for loader.
150 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
152 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
153 Remove wordcopy-power7 object.
154 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
155 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
156 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
157 (_wordcopy_fwd_dest_aligned): Likewise.
158 (_wordcopy_bwd_aligned): Likewise.
159 (_wordcopy_bwd_dest_aligned): Likewise.
161 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
162 Rewrite to call __memmove_ppc instead of include default
165 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
166 Remove wide chars objects.
167 [wcsmbs]: New rule for wide char objects.
169 2015-02-09 Andreas Schwab <schwab@suse.de>
172 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
173 in terms of __O_DIRECTORY.
175 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
177 * time/getdate.c: Include <stdbool.h>.
178 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
180 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
183 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
185 Add ersatz _Static_assert on older C hosts
186 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
187 pre-C11 C platform that is not known to support _Static_assert.
189 2015-02-07 Richard Braun <rbraun@sceen.net>
191 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
193 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
195 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
197 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
198 priority against unexistent AIO_PRIO_DELTA_MAX.
199 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
201 * misc/fchflags.c (fchflags): Likewise.
202 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
203 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
204 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
205 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
206 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
208 [__USE_MISC] (chflags, fchflags): Declare functions.
209 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
210 EINVAL when nfds is greater than FD_SETSIZE.
211 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
212 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
214 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
215 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
216 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
218 * hurd/hurd/signal.h (_hurd_self_sigstate,
219 _hurd_critical_section_lock, _hurd_critical_section_unlock):
220 Explicit casts from void *.
221 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
222 * abi-tags: Rename gnu-gnu os into gnu.
225 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
226 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
227 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
228 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
229 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
230 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
233 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
234 duplicates ADDR->sun_path with sockaddr LEN limitation.
235 * sysdeps/mach/hurd/connect.c: Include <string.h>
236 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
237 * sysdeps/mach/hurd/sendmsg.c: Likewise.
238 * sysdeps/mach/hurd/sendto.c: Likewise.
239 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
240 implementing it by hand.
242 2015-02-06 Roland McGrath <roland@hack.frob.com>
244 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
246 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
249 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
251 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
252 Test SIGSETXID only if it's defined.
254 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
256 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
257 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
259 * nptl/tst-align2.c: Moved ...
260 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
261 * nptl/Makefile (tests): Remove tst-align2.
262 * sysdeps/unix/sysv/linux/Makefile
263 [$(subdir) = nptl] (tests): Add tst-align-clone.
264 * nptl/tst-getpid1.c: Moved ...
265 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
266 * nptl/tst-getpid2.c: Moved ...
267 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
268 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
269 * sysdeps/unix/sysv/linux/Makefile
270 [$(subdir) = nptl] (tests): ... here.
271 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
272 * sysdeps/unix/sysv/linux/Makefile
273 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
275 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
276 Drop trailing \n from perror argument. Use return rather than exit.
278 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
280 * nptl/tst-cancel21.c (do_test): Likewise.
281 * debug/tst-backtrace6.c: Include <signal.h> first thing.
282 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
283 [!SA_SIGINFO]: Make it a stub test.
285 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
286 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
288 * posix/tst-getlogin.c: Move to ...
289 * login/tst-getlogin.c: ... here.
290 * posix/Makefile (tests): Move tst-getlogin to ...
291 * login/Makefile (tests): ... here.
293 * libio/tst-atime.c (do_test): Move local variables SV and E
294 inside [ST_NOATIME] conditional.
296 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
298 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
300 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
301 (wait_code): New function replaces macro.
302 Call nanosleep rather than syscall.
304 * nptl/pt-system.c: Rewritten. Put everything under
305 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
306 Use IFUNC to redirect when possible.
308 * nptl/pt-longjmp.c: Rewritten. Put everything under
309 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
310 Use IFUNC to redirect when possible.
312 * nptl/pt-fork.c: Rewritten. Put everything under
313 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
314 Use IFUNC to redirect when possible.
315 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
317 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
318 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
319 unconditionally nowadays. This included the only reference to
320 __vdso_clock_gettime that appears outside libc proper.
321 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
322 Remove version set (containing only __vdso_clock_gettime).
323 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
324 Add attribute_hidden.
325 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
326 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
327 libc_hidden_data_def.
328 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
329 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
331 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
332 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
333 setrpcent, and getrpcport to ...
334 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
335 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
336 getrpcbynumber_r, and getrpcent_r to ...
337 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
338 * inet/getrpcbyname.c: Moved ...
339 * sunrpc/getrpcbyname.c: ... here.
340 * inet/getrpcbyname_r.c: Moved ...
341 * sunrpc/getrpcbyname_r.c: ... here.
342 * inet/getrpcbynumber.c: Moved ...
343 * sunrpc/getrpcbynumber.c: ... here.
344 * inet/getrpcbynumber_r.c: Moved ...
345 * sunrpc/getrpcbynumber_r.c: ... here.
346 * inet/getrpcent.c: Moved ...
347 * sunrpc/getrpcent.c: ... here.
348 * inet/getrpcent_r.c: Moved ...
349 * sunrpc/getrpcent_r.c: ... here.
350 * inet/Makefile (routines): Move those to ...
351 * sunrpc/Makefile (routines): ... here.
352 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
354 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
355 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
356 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
357 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
359 * elf/Makefile (routines): Include $(all-dl-routines), not just
361 (rtld-routines): Likewise. Use = rather than :=.
362 * sysdeps/aarch64/Makefile [$(subdir) = elf]
363 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
364 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
365 * sysdeps/arm/Makefile: Likewise.
366 * sysdeps/i386/Makefile: Likewise.
367 * sysdeps/x86_64/Makefile: Likewise.
368 * sysdeps/hppa/Makefile [$(subdir) = elf]
369 (sysdep_routines, sysdep-rtld-routines): Don't add
370 $(sysdep-dl-routines) to these.
371 * sysdeps/ia64/Makefile: Likewise.
372 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
373 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
374 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
375 Don't add dl-static to these; sysdep-dl-routines alone is enough.
376 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
377 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
378 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
379 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
380 * sysdeps/powerpc/Makefile [$(subdir) = elf]
381 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
382 these; sysdep-dl-routines alone is enough.
384 2015-02-06 Joseph Myers <joseph@codesourcery.com>
387 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
388 where multiplication results in zero and third argument is finite
390 * math/auto-libm-test-in: Add more tests of fma.
391 * math/auto-libm-test-out: Regenerated.
393 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
394 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
395 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
396 (_FP_CMP_EQ): Likewise.
397 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
399 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
400 extra argument CHECK_NAN. Redefine as wrapper around
403 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
405 * version.h (RELEASE): Set to "stable".
406 (VERSION): Set to "2.21"
407 * include/features.h (__GLIBC_MINOR__): Set to 21.
409 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
411 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
412 Paul Eggert <eggert@cs.ucla.edu>
415 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
416 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
417 size in bytes. Store needed elements in wpmax. Use needed size
418 in bytes for extend_alloca.
420 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
422 * manual/install.texi: Latest tested versions are GCC 4.9.2,
423 binutls 2.25, and texinfo 5.2.
424 * INSTALL: Regenerate.
425 * sysdeps/nios2/configure: Regenerate.
426 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
427 * manual/contrib.texi: Update.
451 * po/pt_BR.po: Update.
460 * po/zh_CN.po: Update.
461 * po/zh_TW.po: Update.
463 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
464 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
465 * sysdeps/hppa/dl-irel.h: Remove #warning.
466 * sysdeps/hppa/entry.h: Provide prototype for
467 __canonicalize_funcptr_for_compare and cast argument.
468 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
469 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
470 * sysdeps/hppa/sotruss-lib.c: New file.
471 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
472 (atomic_compare_and_exchange_val_acq): Use __typeof__.
473 (atomic_compare_and_exchange_bool_acq): Likewise.
474 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
475 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
477 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
478 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
479 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
481 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
483 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
484 called function in non-PIC case.
486 2015-01-31 David S. Miller <davem@davemloft.net>
488 * sysdeps/sparc/sparc32/bits/atomic.h
489 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
491 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
492 volatile register usage warnings from the compiler.
494 * sysdeps/sparc/nptl/sem_init.c: Delete.
495 * sysdeps/sparc/nptl/sem_post.c: Delete.
496 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
497 * sysdeps/sparc/nptl/sem_wait.c: Delete.
498 * sysdeps/sparc/sparc32/sem_init.c: New file.
499 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
500 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
501 padding explicitly initialized.
502 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
503 padding for in-semaphore spinlock.
504 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
505 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
506 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
507 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
508 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
509 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
510 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
511 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
513 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
514 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
516 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
520 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
521 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
523 (index_AVX_Fast_Unaligned_Load): Likewise.
524 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
525 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
526 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
527 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
528 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
529 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
530 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
531 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
532 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
534 2015-01-29 Andreas Schwab <schwab@suse.de>
536 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
538 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
541 * nscd/nscd_stat.c (send_stats): Initialize DATA.
543 2015-01-28 Martin Sebor <msebor@redhat.com>
545 * math/README.libm-test: Clarify. Add "How to read the test output."
547 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
549 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
552 2015-01-28 Joseph Myers <joseph@codesourcery.com>
554 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
555 (__HAVE_64B_ATOMICS): Define to 0.
557 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
560 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
561 value to set as new flag.
564 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
565 and use _ARCH_PPCSQ instead.
566 (__ieee754_sqrt): Likewise.
567 (__ieee754_sqrtf): Likewise.
568 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
569 _ARCH_PPCSQ is defined.
570 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
572 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
573 _ARCH_PPCSQ is defined.
574 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
576 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
578 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
580 * iconv/loop.c: Suppress array out of bound warning caused by GCC
583 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
585 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
586 Mark _retval as used.
587 (lll_futex_wake_unlock): Likewise.
588 (lll_futex_timed_wait_requeue_pi): Likewise.
590 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
591 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
594 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
597 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
598 (__bswap_64): Mark as __always_inline.
600 2015-01-25 Bram <bug_rh@spam.wizbit.be>
603 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
604 when none of the search directories exist.
606 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
609 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
610 power8 in .machine directive.
613 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
614 set dependency from opd value.
616 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
619 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
622 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
625 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
627 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
629 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
630 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
631 Replace 1UL with (uint64_t) 1.
632 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
635 2015-01-23 Roland McGrath <roland@hack.frob.com>
637 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
638 (if_freenameindex): Likewise.
640 * resource/getrlimit64.c: Add missing libc_hidden_def.
642 2015-01-22 Joseph Myers <joseph@codesourcery.com>
644 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
647 (_FP_TO_INT_ROUND): Likewise.
648 (_FP_FROM_INT): Likewise.
650 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
653 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
654 Make code racy and cancel safe.
656 2015-01-21 Carlos O'Donell <carlos@redhat.com>
658 * sysdeps/arm/unwind-resume.h: Fix copyright year.
659 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
662 * pwd/tst-getpw.c: Rewrite.
665 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
666 (modules-names): Add moddummy1 and moddummy2.
667 ($(objpfx)tst-rec-dlopen): Define.
668 * dlfcn/moddummy1.c: New file.
669 * dlfcn/moddummy2.c: New file.
670 * dlfcn/tst-rec-dlopen.c: New file.
671 * elf/dl-cache.c (_dl_load_cache_lookup):
672 Return char*. Copy result with alloca/strcpy/strdup.
673 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
674 returns char*. Free cached. If not saving realname
676 * elf/dl-open.c (dl_open_worker): Do not assert that
677 _r_debug->r_state is RT_CONSISTENT.
678 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
681 2015-01-21 Torvald Riegel <triegel@redhat.com>
682 Carlos O'Donell <carlos@redhat.com>
685 * nptl/sem_waitcommon.c: New file.
686 * nptl/sem_wait.c: Include sem_waitcommon.c.
687 (__sem_wait_cleanup, do_futex_wait): Remove.
688 (__new_sem_wait): Adapt.
689 (__new_sem_trywait): New function.
690 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
691 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
692 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
693 (sem_timedwait): Adapt.
694 * nptl/sem_post.c (__new_sem_post): Adapt.
695 (futex_wake): New function.
696 (__old_sem_post): Add release MO fence.
697 * nptl/sem_open.c (sem_open): Adapt.
698 * nptl/sem_init.c (__new_sem_init): Adapt.
699 (futex_private_if_supported): New function.
700 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
701 (__old_sem_getvalue): Add using previous code.
702 * sysdeps/nptl/internaltypes.h: Adapt.
703 * nptl/tst-sem13.c (do_test): Adapt.
704 * nptl/tst-sem11.c (main): Adapt.
705 * nptl/sem_trywait.c: Remove.
706 * nptl/DESIGN-sem.txt: Remove.
707 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
708 (gen-as-const-headers): Remove structsem.sym.
709 * nptl/structsem.sym: Remove.
710 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
711 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
712 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
713 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
714 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
715 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
716 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
717 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
718 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
719 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
720 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
721 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
722 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
723 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
724 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
725 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
726 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
727 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
728 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
729 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
730 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
731 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
733 2015-01-20 Carlos O'Donell <carlos@redhat.com>
735 * INSTALL: Regenerated.
737 * po/libc.pot: Regenerated.
739 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
740 Sandra Loosemore <sandra@codesourcery.com>
741 Andrew Jenner <andrew@codesourcery.com>
742 Joseph Myers <joseph@codesourcery.com>
743 Nathan Sidwell <nathan@codesourcery.com>
745 * NEWS: Mention new Nios II port.
746 * sysdeps/nios2/Implies: New file.
747 * sysdeps/nios2/Makefile: New file.
748 * sysdeps/nios2/Subdirs: New file.
749 * sysdeps/nios2/Versions: New file.
750 * sysdeps/nios2/__longjmp.S: New file.
751 * sysdeps/nios2/abort-instr.h: New file.
752 * sysdeps/nios2/backtrace.c: New file.
753 * sysdeps/nios2/bits/endian.h: New file.
754 * sysdeps/nios2/bits/fenv.h: New file.
755 * sysdeps/nios2/bits/link.h: New file.
756 * sysdeps/nios2/bits/setjmp.h: New file.
757 * sysdeps/nios2/bsd-_setjmp.S: New file.
758 * sysdeps/nios2/bsd-setjmp.S: New file.
759 * sysdeps/nios2/configure: New generated file.
760 * sysdeps/nios2/configure.ac: New file.
761 * sysdeps/nios2/crti.S: New file.
762 * sysdeps/nios2/crtn.S: New file.
763 * sysdeps/nios2/dl-init.c: New file.
764 * sysdeps/nios2/dl-machine.h: New file.
765 * sysdeps/nios2/dl-sysdep.h: New file.
766 * sysdeps/nios2/dl-tls.h: New file.
767 * sysdeps/nios2/dl-trampoline.S: New file.
768 * sysdeps/nios2/gccframe.h: New file.
769 * sysdeps/nios2/gmp-mparam.h: New file.
770 * sysdeps/nios2/jmpbuf-offsets.h: New file.
771 * sysdeps/nios2/jmpbuf-unwind.h: New file.
772 * sysdeps/nios2/ldsodefs.h: New file.
773 * sysdeps/nios2/libc-tls.c: New file.
774 * sysdeps/nios2/libm-test-ulps: New file.
775 * sysdeps/nios2/machine-gmon.h: New file.
776 * sysdeps/nios2/math-tests.h: New file.
777 * sysdeps/nios2/math_private.h: New file.
778 * sysdeps/nios2/memusage.h: New file.
779 * sysdeps/nios2/nptl/Makefile: New file.
780 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
781 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
782 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
783 * sysdeps/nios2/nptl/pthreaddef.h: New file.
784 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
785 * sysdeps/nios2/nptl/tls.h: New file.
786 * sysdeps/nios2/preconfigure: New file.
787 * sysdeps/nios2/s_fma.c: New file.
788 * sysdeps/nios2/s_fmaf.c: New file.
789 * sysdeps/nios2/setjmp.S: New file.
790 * sysdeps/nios2/sfp-machine.h: New file.
791 * sysdeps/nios2/sotruss-lib.c: New file.
792 * sysdeps/nios2/stackguard-macros.h: New file.
793 * sysdeps/nios2/stackinfo.h: New file.
794 * sysdeps/nios2/start.S: New file.
795 * sysdeps/nios2/sysdep.h: New file.
796 * sysdeps/nios2/tls-macros.h: New file.
797 * sysdeps/nios2/tst-audit.h: New file.
798 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
799 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
800 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
801 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
802 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
803 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
804 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
805 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
806 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
807 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
808 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
809 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
810 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
811 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
812 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
813 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
814 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
815 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
816 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
817 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
818 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
819 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
820 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
821 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
822 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
823 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
824 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
825 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
826 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
827 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
828 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
829 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
830 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
831 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
832 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
833 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
834 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
835 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
836 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
837 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
838 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
839 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
840 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
841 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
843 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
846 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
847 (getutent): Use weak_alias in non SHARED case
848 and default_symbol_version in SHARED case.
849 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
850 (getutent_r, pututline): Likewise.
851 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
853 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
854 (getutid_r): Likewise.
855 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
856 (getutline): Likewise.
857 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
858 (getutline_r): Likewise.
859 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
862 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
865 * sysdeps/s390/s390-32/memcmp.S
866 (memcmp_g5): Rename to __memcmp_g5.
867 * sysdeps/s390/s390-32/memcpy.S
868 (memcpy_g5): Rename to __memcpy_g5.
869 Jump to __memcpy_mvcle instead of memcpy_mvcle.
870 (memcpy_mvcle) Rename to __memcpy_mvcle.
871 * sysdeps/s390/s390-32/memset.S
872 (memset_g5): Rename to __memset_g5.
873 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
874 (IFUNC_RESOLVE): Prefix ifunc-resolve function
875 and use prefixed functions.
876 * sysdeps/s390/s390-32/multiarch/memcmp.S
877 (memcmp_z196): Rename to __memcmp_z196.
878 (memcmp_z10): Rename to __memcmp_z10.
879 (memcmp): Set alias to __memcmp_g5.
880 (bcmp): Set alias to __memcmp_g5.
881 * sysdeps/s390/s390-32/multiarch/memcpy.S
882 (memcpy_z196): Rename to __memcpy_z196.
883 Jump to __memcpy_mvcle instead of memcpy_mvcle.
884 (memcpy_z10): Rename to __memcpy_z10.
885 Jump to __memcpy_mvcle instead of memcpy_mvcle.
886 (memcpy): Set alias to __memcpy_g5.
887 * sysdeps/s390/s390-32/multiarch/memset.S
888 (memset_z196): Rename to __memset_z196.
889 Jump to __memset_mvcle instead of memset_mvcle.
890 (memset_z10): Rename to __memset_z10.
891 Jump to __memset_mvcle instead of memset_mvcle.
892 (memset_mvcle) Rename to __memset_mvcle.
893 (memset): Set alias to __memset_g5.
894 * sysdeps/s390/s390-64/memcmp.S
895 (memcmp_z900): Rename to __memcmp_z900.
896 * sysdeps/s390/s390-64/memcpy.S
897 (memcpy_z900): Rename to __memcpy_z900.
898 Jump to __memcpy_mvcle instead of memcpy_mvcle.
899 (memcpy_mvcle) Rename to __memcpy_mvcle.
900 * sysdeps/s390/s390-64/memset.S
901 (memset_z900): Rename to __memset_z900.
902 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
903 (IFUNC_RESOLVE): Prefix ifunc-resolve function
904 and use prefixed functions.
905 * sysdeps/s390/s390-64/multiarch/memcmp.S
906 (memcmp_z196): Rename to __memcmp_z196.
907 (memcmp_z10): Rename to __memcmp_z10.
908 (memcmp): Set alias to __memcmp_z900.
909 (bcmp): Set alias to __memcmp_z900.
910 * sysdeps/s390/s390-64/multiarch/memcpy.S
911 (memcpy_z196): Rename to __memcpy_z196.
912 Jump to __memcpy_mvcle instead of memcpy_mvcle.
913 (memcpy_z10): Rename to __memcpy_z10.
914 Jump to __memcpy_mvcle instead of memcpy_mvcle.
915 (memcpy): Set alias to __memcpy_z900.
916 * sysdeps/s390/s390-64/multiarch/memset.S
917 (memset_z196): Rename to __memset_z196.
918 Jump to __memset_mvcle instead of memset_mvcle.
919 (memset_z10): Rename to __memset_z10.
920 Jump to __memset_mvcle instead of memset_mvcle.
921 (memset_mvcle) Rename to __memset_mvcle.
922 (memset): Set alias to __memset_z900.
924 2015-01-14 Joseph Myers <joseph@codesourcery.com>
927 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
928 __fesetenv instead of fesetenv.
930 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
932 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
935 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
937 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
940 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
941 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
942 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
943 strncmp-power8 object.
944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
945 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
946 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
949 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
950 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
952 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
955 2015-01-13 David S. Miller <davem@davemloft.net>
957 * include/signal.h (__sigreturn): Guard with __USE_MISC.
959 2015-01-13 Roland McGrath <roland@hack.frob.com>
961 * login/logout.c (logout): Use memset rather than bzero.
962 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
963 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
964 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
965 (_gethtbyaddr): Likewise.
966 * locale/programs/simple-hash.c (bcopy): Macro removed.
968 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
970 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
971 Add strcmp-power8 object.
972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
973 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
974 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
975 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
976 __strcmp_power8 implementation.
977 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
980 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
981 Add strncpy-power8 and stpncpy-power8 objects.
982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
983 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
985 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
986 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
987 __stpncpy_power8 implementation.
988 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
989 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
990 __strncpy_power8 implementation.
991 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
992 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
995 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
996 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
997 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
999 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1000 strncat-power8 object.
1001 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1002 __strcat_power8 implementation.
1003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1004 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1005 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1006 optimized strcat for power8.
1008 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1009 strcpy-power8 and stpcpy-power8 objects.
1010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1011 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1013 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1014 multiarch stpcpy implementation for POWER8.
1015 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1016 multiarch strcpy implementation for POWER8.
1017 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1018 __strcpy_power8 function.
1019 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1021 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1025 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1028 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1029 weights and rules. Use do_xfrm_cached if data fits in cache,
1030 do_xfrm otherwise. Moved former main loop to...
1031 * (do_xfrm_cached): New function.
1032 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1033 find_idx, find_position and stack_push.
1034 * (find_idx): New function.
1035 * (find_position): Likewise.
1036 * localedata/sort-test.sh: Added test run for do_xfrm.
1037 * localedata/xfrm-test.c (main): Added command line option
1038 -nocache to run the test with strings that are too large for
1041 2015-01-13 Torvald Riegel <triegel@redhat.com>
1043 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1044 variable to lll_futex_wake call, not the value itself.
1046 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1049 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1050 twom64. Adjust value to 0x1p-64L.
1051 (__scalblnl): Only return standard underflowing result for K <=
1052 -64 not K <= -63; adjust exponent for underflowing result by 64
1054 * math/libm-test.inc (scalbn_test_data): Add more tests.
1055 (scalbln_test_data): Likewise.
1058 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1060 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1062 * math/libm-test.inc (scalbn_test_data): Add more tests.
1063 (scalbln_test_data): Likewise.
1065 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1066 Stefani Seibold <stefani@seibold.net>
1068 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1069 (sysdep_routines): Add dl-vdso here, ...
1070 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1071 (sysdep_routines): ... not here.
1072 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1073 fallback when vDSO is not presented.
1074 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1075 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1076 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1077 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1078 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1079 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1080 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1081 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1082 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1084 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1085 fallback configurable symbol when vDSO is not available.
1086 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1087 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1088 be able to redefine fallback symbol when vDSO is not available.
1089 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1090 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1092 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1094 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1095 (TLS_INIT_TP): Add tm_capable initialization.
1096 (TLS_DEFINE_INIT_TP): Likewise.
1097 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1099 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1100 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1102 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1103 transactoion is lock elision is built and TCB tm_capable is set.
1104 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1106 (INTERNAL_SYSCALL_NCS): Likewise.
1107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1108 (INTERNAL_SYSCALL_NCS): Likewise.
1109 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1111 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1113 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1114 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1115 and remove it for 32 bits case.
1116 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1117 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1119 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1120 Disable lock elision with rdlocks if elision is not available.
1122 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1123 (sysdep_routines): Add lock elision objects.
1124 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1125 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1126 [pthread_mutex_t] (__elision): Add field.
1127 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1128 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1129 elision definitions for powerpc.
1130 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1131 implementation of lock elision for powerpc.
1132 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1133 implementation of timed lock elision for powerpc.
1134 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1135 implementation of trylock with lock elision for powerpc.
1136 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1137 implementaion of unlock for lock elision for powerpc.
1138 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1139 automatic enable lock elision for mutexes.
1140 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1141 transaction execution definitions for powerpc.
1142 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1144 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1145 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1146 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1147 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1150 2015-01-09 Roland McGrath <roland@hack.frob.com>
1152 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1153 for #include of <shm-directory.h>.
1155 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1157 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1158 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1160 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1163 * NEWS: Mention bug fix.
1164 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1165 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1166 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1168 2015-01-09 Torvald Riegel <triegel@redhat.com>
1170 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1172 2015-01-09 Torvald Riegel <triegel@redhat.com>
1174 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1176 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1178 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1179 pointer and cast to uintptr_t.
1181 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1183 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1185 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1187 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1189 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1192 2015-01-08 Roland McGrath <roland@hack.frob.com>
1194 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1195 <nptl/pthreadP.h> instead.
1196 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1198 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1200 [__SIGRTMIN] (init): Function removed.
1201 [__SIGRTMIN] (initialized): Variable removed.
1202 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1203 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1204 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1205 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1206 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1207 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1208 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1209 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1210 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1211 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1212 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1213 * sysdeps/nptl/allocrtsig.c: New file.
1214 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1215 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1216 * sysdeps/generic/testrtsig.h: File removed.
1218 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1219 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1221 * nptl/nptl-init.c (pthread_functions): Conditionalize
1222 .ptr__nptl_setxid initialization on [SIGSETXID].
1224 * sysdeps/nptl/sys/procfs.h: New file.
1225 * nptl_db/Makefile (headers): Add it.
1226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1228 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1229 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1230 * nptl/pthread_attr_setaffinity.c: Include it.
1231 * nptl/pthread_setattr_default_np.c: Likewise.
1232 * nptl/check-cpuset.h: New file.
1234 2015-01-08 Richard Henderson <rth@redhat.com>
1236 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1237 (CFLAGS-tst-execstack-prog.c): Likewise.
1238 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1240 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1241 Sandra Loosemore <sandra@codesourcery.com>
1242 Andrew Jenner <andrew@codesourcery.com>
1243 Joseph Myers <joseph@codesourcery.com>
1244 Nathan Sidwell <nathan@codesourcery.com>
1246 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1247 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1248 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1249 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1250 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1251 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1252 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1253 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1254 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1255 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1256 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1257 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1258 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1259 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1260 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1261 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1262 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1264 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1266 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1267 timespec struct member in syscall macro.
1268 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1269 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1270 first timeval struct member in syscall macro.
1271 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1273 2015-01-07 Joseph Myers <joseph@codesourcery.com>
1276 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1277 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1278 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1279 __feupdateenv and define as weak alias of __feupdateenv. Use
1281 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1283 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1284 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1285 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1286 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1288 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1289 __feupdateenv and define as weak alias of __feupdateenv. Use
1291 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1293 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1294 __feupdateenv and define as weak alias of __feupdateenv. Use
1296 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1298 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1299 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1300 (__feupdateenv): Likewise.
1301 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1302 __feupdateenv and define as weak alias of __feupdateenv. Use
1304 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1305 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1307 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1309 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1311 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1312 __feupdateenv instead of feupdateenv.
1313 (default_libc_feupdateenv_test): Likewise.
1314 (libc_feresetround_ctx): Likewise.
1316 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1321 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1323 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1324 COLL_SYM in a couple of places to avoid uninitialized variable
1325 wanings on tilegx gcc 4.8.2.
1327 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1329 * sysdeps/aarch64/strcpy.S: New file.
1330 * sysdeps/aarch64/stpcpy.S: New file.
1333 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1335 * sysdeps/aarch64/strrchr.S: New file.
1338 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
1341 * stdlib/setenv.c: Fix memory leak when setting large,
1344 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1347 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1348 and tabs from buffer before parsing fstab entry.
1349 * misc/tst-mntent.c (main): Add test for mount entry with
1350 trailing spaces and tabs.
1352 2015-01-06 Joseph Myers <joseph@codesourcery.com>
1355 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1356 * math/fesetround.c (fesetround): Rename to __fesetround and
1357 define as weak alias of __fesetround. Use libm_hidden_weak.
1358 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1359 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1360 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1361 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1362 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1363 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1364 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1365 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1366 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1367 __fesetround_inline.
1368 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1369 __fesetround_inline instead of __fesetround.
1370 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1371 __fesetround and define as weak alias of __fesetround. Use
1372 libm_hidden_weak. Call __fesetround_inline instead of
1374 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1375 __fesetround and define as weak alias of __fesetround. Use
1377 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1379 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1380 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1381 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1382 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1383 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1384 __fesetround and define as weak alias of __fesetround. Use
1386 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1387 __fesetround instead of fesetround.
1388 (default_libc_feholdexcept_setround): Likewise.
1389 (libc_feholdsetround_ctx): Likewise.
1390 (libc_feholdsetround_noex_ctx): Likewise.
1393 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1394 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1395 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1396 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1397 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1398 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1399 define as weak alias of __fesetenv. Use libm_hidden_weak.
1400 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1401 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1402 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1403 define as weak alias of __fesetenv. Use libm_hidden_weak.
1404 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1405 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1406 define as weak alias of __fesetenv. Use libm_hidden_weak.
1407 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1409 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1410 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1412 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1413 define as weak alias of __fesetenv. Use libm_hidden_weak.
1414 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1415 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1416 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1417 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1418 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1419 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1420 __fesetenv instead of fesetenv.
1421 (libc_feresetround_noex_ctx): Likewise.
1422 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1423 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1424 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1425 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1426 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1427 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1428 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1429 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1430 (__feupdateenv): Likewise.
1431 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1432 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1433 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1434 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1436 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1439 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1440 addresses have been freed.
1442 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1444 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1447 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
1449 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1450 Clean up check_pf allocation pattern. addresses
1452 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1454 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1455 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1456 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1457 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1458 * nptl/pthread_join.c (pthread_join): Likewise.
1459 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1460 * sysdeps/posix/waitid.c (__waitid): Likewise.
1461 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1462 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1463 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1464 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1465 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1467 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1468 (__libc_pread64): Likewise.
1469 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1470 (__libc_pwrite): Likewise.
1471 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1472 (__libc_pwrite64): Likewsie.
1473 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1474 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1475 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1476 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1477 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1478 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1479 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1483 (__libc_pread64): Likewise.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1487 (__libc_pwrite64): Likewise.
1488 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1489 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1490 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1491 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1492 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1493 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1494 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1495 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1496 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1497 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1498 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1499 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1500 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1501 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1502 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1503 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1506 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1508 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1509 (CFLAGS-test-double.c): Likewise.
1510 (CFLAGS-test-ldouble.c): Likewise.
1511 (CPPFLAGS-test-ifloat.c): Likewise.
1512 (CPPFLAGS-test-idouble.c): Likewise.
1513 (CPPFLAGS-test-ildoubl.c): Likewise.
1514 (CFLAGS-test-test-fenv.c): Remove variable.
1515 (CFLAGS-test-misc.c): Likewise.
1517 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1520 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1521 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1522 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1523 CLOCKS_PER_SEC == 1000000.
1524 * time/clocktest.c (main): Replace %ld with %jd and cast to
1527 2015-01-05 Roland McGrath <roland@hack.frob.com>
1529 * sysdeps/generic/unwind-resume.h: New file.
1530 * sysdeps/gnu/unwind-resume.c: Include it.
1531 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1532 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1534 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1535 global rather than static.
1536 (_Unwind_Resume): Update user.
1537 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1538 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1539 rather than static. Add __attribute__ ((cold)).
1540 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1541 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1542 * sysdeps/arm/arm-unwind-resume.S: New file.
1543 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1544 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1545 * sysdeps/arm/Makefile [$(subdir) = csu]
1546 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1547 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1548 Add rt-arm-unwind-resume.
1550 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1551 Add pt-arm-unwind-resume.
1552 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1553 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1555 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1558 * include/fenv.h (__feholdexcept): Declare. Use
1560 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1561 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1562 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1563 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1564 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1565 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1566 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1567 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1568 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1569 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1570 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1571 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1572 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1573 (feholdexcept): Likewise.
1574 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1575 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1576 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1577 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1578 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1579 __feholdexcept instead of feholdexcept.
1580 (default_libc_feholdexcept_setround): Likewise.
1582 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1584 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1585 to avoid using stl/str to align destination.
1587 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1589 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1591 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1594 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1595 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1596 Define as weak alias not strong alias.
1598 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1600 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1601 bltzal with addiupc.
1602 (RTLD_START): Ditto.
1604 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1606 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1607 for __vdso_* functions in declarations.
1608 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1610 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1611 INTERNAL_VSYSCALL): Use struct return types to check for error.
1613 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1614 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1615 function with cast from llround().
1616 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1617 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1620 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1623 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1624 Define as weak alias not strong alias.
1627 * ctype/ctype-c99.c: New file. isblank implementation moved from
1629 * ctype/ctype-extn.c: ... here.
1630 (__isblank_l): Move to ...
1631 * ctype/ctype-c99_l.c: ... here. New file.
1632 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1633 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1635 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1636 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1637 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1638 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1639 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1642 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1643 (posix_fadvise64): Define as weak alias not strong alias.
1644 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1645 (posix_fallocate64): Likewise.
1646 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1648 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1649 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1650 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1651 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1652 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1654 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1657 * NEWS: Mention bug fix.
1658 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1659 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1660 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1661 (HOST_STACK_END_ADDR): Likewise.
1663 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1666 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1667 * math/fegetround.c (fegetround): Rename to __fegetround and
1668 define as weak alias of __fegetround. Use libm_hidden_weak.
1669 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1670 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1671 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1672 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1673 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1674 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1675 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1676 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1677 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1678 Undefine after rather than before function definition; use
1679 parentheses around function name in definition.
1680 (__fegetround): Also undefine macro after function definition.
1681 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1682 __fegetround and define as weak alias of __fegetround. Use
1683 libm_hidden_weak. Do not undefine as macro.
1684 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1686 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1687 __fegetround and define as weak alias of __fegetround. Use
1689 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1690 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1691 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1692 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1693 __fegetround and define as weak alias of __fegetround. Use
1695 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1696 __fegetround instead of fegetround.
1699 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1700 Condition macro definition on [__USE_MISC].
1703 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1704 (struct sigaction): Change type of sa_flags field to int.
1707 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1708 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1711 * nptl/version.c (banner): Use single year in copyright notice.
1713 * NEWS: Update copyright dates.
1714 * catgets/gencat.c (print_version): Likewise.
1715 * csu/version.c (banner): Likewise.
1716 * debug/catchsegv.sh: Likewise.
1717 * debug/pcprofiledump.c (print_version): Likewise.
1718 * debug/xtrace.sh (do_version): Likewise.
1719 * elf/ldconfig.c (print_version): Likewise.
1720 * elf/ldd.bash.in: Likewise.
1721 * elf/pldd.c (print_version): Likewise.
1722 * elf/sotruss.sh: Likewise.
1723 * elf/sprof.c (print_version): Likewise.
1724 * iconv/iconv_prog.c (print_version): Likewise.
1725 * iconv/iconvconfig.c (print_version): Likewise.
1726 * locale/programs/locale.c (print_version): Likewise.
1727 * locale/programs/localedef.c (print_version): Likewise.
1728 * login/programs/pt_chown.c (print_version): Likewise.
1729 * malloc/memusage.sh (do_version): Likewise.
1730 * malloc/memusagestat.c (print_version): Likewise.
1731 * malloc/mtrace.pl: Likewise.
1732 * manual/libc.texinfo: Likewise.
1733 * nptl/version.c (banner): Likewise.
1734 * nscd/nscd.c (print_version): Likewise.
1735 * nss/getent.c (print_version): Likewise.
1736 * nss/makedb.c (print_version): Likewise.
1737 * posix/getconf.c (main): Likewise.
1738 * scripts/test-installation.pl: Likewise.
1739 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1741 2015-01-02 Will Newton <will.newton@linaro.org>
1743 * sysdeps/arm/armv7/configure: Removed.
1744 * sysdeps/arm/armv7/configure.ac: Likewise.
1746 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1748 * All files with FSF copyright notices: Update copyright dates
1749 using scripts/update-copyrights.
1750 * intl/plural.c: Regenerated.
1751 * locale/programs/charmap-kw.h: Likewise.
1752 * locale/programs/locfile-kw.h: Likewise.
1754 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1756 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1758 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1761 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1762 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1763 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1764 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1765 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1766 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1767 define as weak alias of __fegetenv. Use libm_hidden_weak.
1768 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1769 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1770 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1771 define as weak alias of __fegetenv. Use libm_hidden_weak.
1772 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1773 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1774 define as weak alias of __fegetenv. Use libm_hidden_weak.
1775 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1777 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1778 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1780 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1781 define as weak alias of __fegetenv. Use libm_hidden_weak.
1782 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1783 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1784 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1785 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1786 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1787 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1788 __fegetenv instead of fegetenv.
1789 (libc_feholdsetround_noex_ctx): Likewise.
1791 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1793 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1794 (Elf_MIPS_ABIFlags_v0): New structure.
1795 (EF_MIPS_FP64): Define.
1796 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1797 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1798 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1799 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1800 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1801 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1802 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1803 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1804 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1805 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1806 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1807 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1808 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1809 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1810 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1811 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1812 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1813 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1814 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1815 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1816 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1817 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1819 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1821 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1822 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1823 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1824 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1825 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1826 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1827 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1828 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1829 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1830 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1831 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1832 record the current FP ABI extension.
1833 (mips-mode-switch): Define to show if kernel headers support mode
1835 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1836 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1837 supported SYSV ABI version to 3.
1838 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1841 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1842 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1844 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1846 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1848 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1850 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1851 __fegetround and redefine to call __fegetround. Remove condition
1852 on [!__NO_MATH_INLINES].
1853 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1855 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1856 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1858 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1859 instead of <fenv_libc.h>.
1860 (__llrintl): Call fegetround instead of __fegetround.
1861 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1862 instead of <fenv_libc.h>.
1863 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1864 (__lrintl): Call fegetround instead of __fegetround.
1865 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1866 instead of <fenv_libc.h>.
1867 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1868 (__rintl): Call fegetround instead of __fegetround.
1870 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1872 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1875 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1878 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1879 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1880 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1882 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1884 * sysdeps/i386/tls-macros.h: Include <features.h>.
1885 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1889 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1890 define for GCC >= 5.0.
1892 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1894 * math/test-fenv.c (test_single_exception, set_single_exc,
1895 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1896 feexcp_mask_test, feenable_test, fe_single_test): Add
1897 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1898 case where they are not used.
1899 * math/libm-test.inc: Likewise.
1900 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1901 unused in the absence of FP rounding/exception support.
1902 * stdio-common/tst-printf-round.c: Likewise.
1903 * stdlib/tst-strtod-round.c: Likewise.
1904 * stdlib/tst-strtod-underflow.c: Likewise.
1906 2014-12-30 Joseph Myers <joseph@codesourcery.com>
1909 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1910 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1911 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1912 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1914 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1915 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1916 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1918 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1919 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1921 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1923 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1924 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1925 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1927 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1929 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1930 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1931 (__feraiseexcept): Likewise.
1932 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1933 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1935 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1936 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1938 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1939 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1940 Use libm_hidden_def.
1941 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1943 (feraiseexcept): Define as weak not strong alias. Use
1945 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1946 New inline function. Factored out of ...
1947 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1948 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1949 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1951 * math/w_acos.c (__acos): Likewise.
1952 * math/w_asin.c (__asin): Likewise.
1953 * math/w_ilogb.c (__ilogb): Likewise.
1954 * math/w_j0.c (y0): Likewise.
1955 * math/w_j1.c (y1): Likewise.
1956 * math/w_jn.c (yn): Likewise.
1957 * math/w_log.c (__log): Likewise.
1958 * math/w_log10.c (__log10): Likewise.
1959 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1960 * sysdeps/aarch64/fpu/math_private.h
1961 (libc_feupdateenv_test_aarch64): Likewise.
1962 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1963 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1964 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1965 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1966 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1967 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1968 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1969 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1970 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1971 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1973 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1976 * io/test-utime.c (main): Replace %ld with %jd and cast to
1978 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1979 * nptl/tst-mutex5.c: Include <stdint.h>.
1980 (do_test): Replace %ld with %jd and cast to intmax_t.
1981 * posix/tst-regex.c (run_test): Likewise.
1982 (run_test_backwards): Likewise.
1983 * rt/tst-clock.c: Include <stdint.h>.
1984 (clock_test): Replace %ld with %jd and cast to intmax_t.
1985 * rt/tst-cpuclock1.c: Include <stdint.h>.
1986 (do_test): Replace %lu with %ju and cast to uintmax_t.
1987 * rt/tst-cpuclock2.c: Include <stdint.h>.
1988 (do_test): Replace %lu with %ju and cast to uintmax_t.
1989 * rt/tst-mqueue1.c: Include <stdint.h>.
1990 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1991 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1993 * rt/tst-mqueue4.c (do_test): Likewise.
1994 * rt/tst-timer4.c: Include <stdint.h>.
1995 (check_ts): Replace %ld with %jd and cast to intmax_t.
1996 (do_test): Likewise.
1997 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1998 and cast to intmax_t.
1999 * sysdeps/pthread/tst-timer.c (main): Likewise.
2000 * time/clocktest.c (main): Likewise.
2001 * time/tst-posixtz.c (do_test): Likewise.
2002 * timezone/tst-timezone.c (main): Likewise.
2004 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2005 H.J. Lu <hongjiu.lu@intel.com>
2007 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2008 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2009 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2010 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2011 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2012 version if bit_Fast_Unaligned_Load is set.
2013 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2014 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2015 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2016 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2017 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2018 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2020 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2021 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2022 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2024 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2025 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2026 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2027 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2029 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2031 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2032 instead of #if to avoid a Wundef warning.
2033 * stdlib/tst-limits.c (do_test): Likewise.
2035 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2036 parallel other exception macros.
2037 (fegetenv): Convert from macro to extern inline so that it applies
2038 retroactively to inline functions already seen by the compiler.
2039 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2041 * posix/Makefile (before-compile): Use $(objpfx) for
2042 posix-conf-vars-def.h.
2044 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2046 * posix/getconf.c (main): Use size_t for type of I.
2047 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2050 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2051 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2052 * posix/posix-envs.def: Likewise.
2053 * sysdeps/posix/sysconf.c: Likewise.
2054 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2055 (specs): Remove array.
2056 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2059 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2060 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2061 (__sysconf): Use CONF_IS_* macros.
2063 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2064 ($(objpfx)posix-conf-vars-def.h): New target.
2065 * posix/posix-conf-vars.list: New file.
2066 * posix/posix-conf-vars.h: New file.
2067 * posix/confstr.c: Include posix-conf-vars.h.
2068 (confstr): Use CONF_IS_* macros.
2069 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2071 * scripts/gen-posix-conf-vars.awk: New file.
2073 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2075 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2076 fegetround): Add no-op macros to avoid linknamespace issues.
2078 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2079 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2081 * sysdeps/unix/sysv/linux/tile/sysdep.h
2082 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2083 assembly-specific section to avoid a redefinition warning.
2085 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2086 long before casting to pointer to avoid a cast warning.
2088 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2090 * sysdeps/tile/tilegx/Implies: New file.
2092 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2094 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2096 2014-12-23 Florian Weimer <fweimer@redhat.com>
2098 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2100 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2102 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2104 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2105 <kernel-features.h>.
2106 (__utimes) [__NR_utimes]: Make code unconditional.
2107 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2108 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2109 (__ASSUME_UTIMES): Do not undefine.
2110 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2111 (__ASSUME_UTIMES): Likewise.
2112 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2113 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2114 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2115 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2117 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2119 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2121 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2124 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2125 alias to weak alias for j0l, y0l.
2126 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2127 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2130 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2133 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2135 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2136 to zero if not already defined.
2138 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2141 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2142 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2143 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2144 (char *) casts added.
2145 * sysdeps/ieee754/k_standardf.c: New file.
2146 * sysdeps/ieee754/k_standardl.c: Likewise.
2147 * math/Makefile (libm-support): Remove k_standard.
2148 (libm-calls): Add k_standard.
2150 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2152 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2153 Optimize to avoid an unnecessary FPCR read.
2155 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2157 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2158 Optimize to reduce FPCR/FPSR accesses.
2160 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2162 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2163 Call libc_fetestexcept_aarch64.
2165 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2167 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2168 Call libc_fesetround_aarch64.
2170 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2173 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2174 (__bind): Do not define as weak alias.
2175 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2177 (__getsockname): Do not define as weak alias.
2179 2014-12-22 Will Newton <will.newton@linaro.org>
2181 * manual/install.texi: Document that we require bison 2.7
2183 * INSTALL: Regenerate.
2184 * configure.ac: Use AC_CHECK_PROG_VER instead of
2185 AC_PATH_PROG when checking for bison and check for
2186 version 2.7 or above.
2187 * configure: Regenerate.
2189 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2192 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2193 * sysdeps/tile/ffsll.c (ffsll): To here.
2195 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2197 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2199 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2201 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2203 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2204 hidden ___tls_get_addr.
2205 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2206 hidden __tls_get_addr.
2207 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2208 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2211 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2213 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2216 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2218 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2219 from "call _dl_init@PLT".
2220 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2222 2014-12-21 Anders Kaseorg <andersk@mit.edu>
2224 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2227 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2229 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2231 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2234 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2237 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2239 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2241 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2242 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2243 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2244 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2245 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2247 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2249 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2250 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2251 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2252 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2253 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2255 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2257 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
2259 * string/strncat.c (STRNCAT): Simplify implementation.
2261 2014-12-19 David S. Miller <davem@davemloft.net>
2263 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2264 access the quad as both a long double and as a series of 4 words.
2266 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2267 link_map->l_info array access.
2269 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2271 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2273 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2274 * math/atest-exp2.c (TIMEOUT): Likewise.
2275 * math/atest-sincos.c (TIMEOUT): Likewise.
2277 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2279 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2280 -Wno-error with -fno-builtin-lround.
2282 2014-12-19 Torvald Riegel <triegel@redhat.com>
2284 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2285 Contains futex constants and functions moved over from ...
2286 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2287 <lowlevellock-futex.h>.
2288 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2289 (lll_timedwait_tid): Add comments and parentheses around macro
2292 2014-12-19 Torvald Riegel <triegel@redhat.com>
2294 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2295 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2296 (__lll_private_flag): Remove.
2297 (lll_futex_wait): Likewise.
2298 (lll_futex_timed_wait): Likewise.
2299 (lll_futex_wake): Likewise.
2300 (lll_futex_requeue): Likewise.
2301 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2302 (__lll_timedwait_tid): Spell out argument names.
2303 (lll_timedwait_tid): Add comments and parentheses around macro
2305 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2306 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2308 2014-12-19 Torvald Riegel <triegel@redhat.com>
2310 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2311 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2312 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2313 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2314 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2315 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2316 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2317 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2318 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2319 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2320 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2321 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2322 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2323 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2324 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2325 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2326 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2327 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2328 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2330 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2332 * sysdeps/x86_64/x32/Makefile: New file.
2334 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2336 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2337 1L with (mp_limb_t) 1.
2339 2014-12-17 Roland McGrath <roland@hack.frob.com>
2341 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2342 * nptl/libc_pthread_init.c: ... here.
2343 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2344 * nptl/register-atfork.c: ... here.
2346 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2347 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2348 Use assert_perror to check its return value.
2349 (__gai_create_helper_thread): Likewise.
2351 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2353 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2355 2014-12-17 Joseph Myers <joseph@codesourcery.com>
2358 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2360 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2362 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2364 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2366 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2367 (profil_counter): Likewise.
2368 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2369 (profil_counter): Likewise.
2370 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2372 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2374 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2375 (profil_counter): Likewise.
2376 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2378 [!__profil_counter] (profil_counter): Define as weak alias of
2380 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2381 (profil_counter): Rename to __profil_counter.
2382 [!__profil_counter] (profil_counter): Define as weak alias of
2384 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2385 (profil_counter): Rename to __profil_counter.
2386 [!__profil_counter] (profil_counter): Define as weak alias of
2388 * sysdeps/posix/profil.c: Update comment referring to
2390 (__profil): Use __profil_counter instead of profil_counter.
2391 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2392 __profil_counter. Use __profil_counter_ushort and
2393 __profil_counter_uint in definitions.
2394 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2395 instead of profil_counter_uint and profil_counter_ushort.
2398 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2399 define as weak alias of __inet_makeaddr.
2400 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2401 as weak alias of __inet_addr.
2402 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2403 as weak alias of __inet_pton. Use libc_hidden_weak.
2404 * include/arpa/inet.h (__inet_pton): Declare. Use
2406 (inet_makeaddr): Don't use libc_hidden_proto.
2407 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2408 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2409 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2410 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2412 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2413 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2415 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
2417 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2419 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2421 * stdio-common/bug-vfprintf-nargs.c (do_test):
2422 Cast value to intptr_t to avoid format warning
2423 for usage with PRIdPTR printing macro.
2425 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2427 * libio/tst-widetext.c (do_test):
2428 Use format type %td instead of %Zd for ptrdiff_t
2429 in order to avoid format warning.
2431 2014-12-17 Andreas Schwab <schwab@suse.de>
2433 * nscd/mem.c (gc): Add size_t cast to match printf format.
2435 2014-12-16 Roland McGrath <roland@hack.frob.com>
2437 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2438 (init): Apply PTR_MANGLE to pointers before storing them.
2439 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2442 2014-12-16 Joseph Myers <joseph@codesourcery.com>
2445 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2446 define as weak alias of __memrchr.
2447 (__memrchr): Do not define as strong alias of memrchr.
2448 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2450 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2451 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2452 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2455 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2456 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2457 (if_indextoname): Rename to __if_indextoname and define as weak
2458 alias of __if_indextoname. Use libc_hidden_weak.
2459 (if_freenameindex): Rename to __if_freenameindex and define as
2460 weak alias of __if_freenameindex.
2461 (if_nameindex): Rename to __if_nameindex and define as weak alias
2463 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2464 __if_nametoindex and define as weak alias of __if_nametoindex.
2465 Use libc_hidden_weak.
2466 (if_freenameindex): Rename to __if_freenameindex and define as
2467 weak alias of __if_freenameindex.
2468 (if_nameindex): Rename to __if_nameindex and define as weak alias
2470 (if_indextoname): Rename to __if_indextoname and define as weak
2471 alias of __if_indextoname. Use libc_hidden_weak.
2472 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2473 __if_nametoindex and define as weak alias of __if_nametoindex.
2474 Use libc_hidden_weak.
2475 (if_freenameindex): Rename to __if_freenameindex and define as
2476 weak alias of __if_freenameindex. Use libc_hidden_weak.
2477 (if_nameindex_netlink): Use __if_freenameindex instead of
2479 (if_nameindex): Rename to __if_nameindex and define as weak alias
2480 of __if_nameindex. Use libc_hidden_weak.
2481 (if_indextoname): Rename to __if_indextoname and define as weak
2482 alias of __if_indextoname. Use libc_hidden_weak.
2483 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2485 [!_ISOMAC] (__if_freenameindex): Likewise.
2486 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2488 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2490 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2491 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2492 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2493 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2494 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2495 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2496 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2498 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2500 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2501 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2503 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2505 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2506 subscript above bounds'
2508 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2511 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
2513 * libio/tst-fopenloc.c: Use test-skeleton.c.
2515 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2516 (entry): Rename to ITEM.
2517 (do_test, comp): Adjust.
2519 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2521 2014-12-16 Torvald Riegel <triegel@redhat.com>
2523 * string/tester.c: Include <libc-internal.h>.
2524 (test_memset): Ignore -Wmemset-transposed-args.
2526 2014-12-16 Torvald Riegel <triegel@redhat.com>
2528 * misc/tst-mntent2.c (do_test): Fix warning.
2530 2014-12-16 Torvald Riegel <triegel@redhat.com>
2532 * elf/tst-unique4lib.cc(a): Mark as used.
2534 2014-12-16 Florian Weimer <fweimer@redhat.com>
2537 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2540 2014-12-16 Allan McRae <allan@archlinux.org>
2542 * stdio-common/Makefile (tests): Re-add bug26.
2544 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
2547 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2550 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2552 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2553 (__lll_lock_wait): Likewise.
2554 (__lll_timedlock_wait): Likewise.
2555 (__lll_timedwait_tid): Likewise.
2556 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2557 (__lll_robust_timedlock_wait): Likewise.
2558 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2559 (lll_cond_trylock): Likewise.
2560 (__lll_lock): Likewise.
2561 (__lll_robust_lock): Likewise.
2562 (__lll_cond_lock): Likewise.
2563 (lll_robust_cond_lock): Likewise.
2564 (__lll_timedlock): Likewise.
2565 (__lll_robust_timedlock): Likewise.
2566 (__lll_unlock): Likewise.
2567 (__lll_robust_unlock): Likewise.
2568 (lll_wait_tid): Likewise.
2569 (lll_timedwait_tid): Likewise.
2571 2014-12-15 Torvald Riegel <triegel@redhat.com>
2573 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2575 2014-12-15 Torvald Riegel <triegel@redhat.com>
2577 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2579 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2581 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2582 * stdio-common/tst-sprintf.c: Likewise.
2584 2014-12-15 Torvald Riegel <triegel@redhat.com>
2586 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2588 2014-12-15 Jeff Law <law@redhat.com>
2591 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2592 on the heap. (CVE-2012-3406)
2593 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2594 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2595 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2597 2014-12-15 Will Newton <will.newton@linaro.org>
2599 * manual/install.texi: Bump required version of texinfo
2601 * INSTALL: Regenerated.
2602 * configure.ac: Check for makeinfo version 4.7 and above.
2603 * configure: Regenerated.
2605 2014-12-12 Roland McGrath <roland@hack.frob.com>
2607 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2608 PREFIX, string constant to insert between directory and name.
2609 * sysdeps/posix/shm_open.c: Update caller.
2610 * sysdeps/posix/shm_unlink.c: Likewise.
2611 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2612 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2613 (SEM_SHM_PREFIX): New macro.
2614 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2615 [$(have-thread-library) = no].
2616 * nptl/Makefile (libpthread-routines): Add shm-directory.
2617 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2618 * sysdeps/nptl/shm-directory.h: New file.
2619 * sysdeps/posix/shm-directory.c
2620 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2621 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2622 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2624 (__where_is_shmfs): Function removed.
2625 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2627 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2629 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2631 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2632 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2633 unconditional for use inside libpthread.
2634 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2636 2014-12-12 Roland McGrath <roland@hack.frob.com>
2638 * nptl/pthread_getaffinity.c: New file.
2639 * nptl/pthread_setaffinity.c: New file.
2640 * nptl/pthread_getname.c: New file.
2641 * nptl/pthread_setname.c: New file.
2643 * nptl/pthread_create.c (START_THREAD_DEFN)
2644 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2646 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2647 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2649 * resolv/res_send.c (send_vc): Disable warning resplen may
2650 be used uninitialized.
2652 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2655 (ATTR_NULL): New define checks ATTR against NULL.
2656 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2657 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2659 2014-12-11 James Lemke <jwlemke@codesourcery.com>
2663 (mem2mem_check): Revert my previous change.
2664 (malloc_check_get_size): Revert my previous change.
2665 (mem2chunk_check): Revert my previous change.
2667 2014-12-11 Roland McGrath <roland@hack.frob.com>
2669 * sysdeps/posix/shm-directory.c: New file.
2670 * sysdeps/posix/shm-directory.h: New file.
2671 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2672 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2673 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2674 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2675 Transmute EPERM to EACCES.
2676 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2678 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2679 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2681 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2683 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2684 pointer and cast to uintptr_t.
2685 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2686 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2687 Add cast to avoid warning.
2688 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2690 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2692 * nptl/semaphore.h: Move to ...
2693 * sysdeps/pthread/semaphore.h: ... here.
2694 * Makefile (installed-headers): Change nptl/semaphore.h to
2695 sysdeps/pthread/semaphore.h.
2697 2014-12-11 Roland McGrath <roland@hack.frob.com>
2699 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2700 generated error format strings.
2702 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2703 -Wformat-extra-args warnings for scanf formats.
2704 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2705 test of zero-length format (duh).
2706 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2707 corner-case scanf format test.
2708 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2709 generated fprintf format string.
2710 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2711 corner-case sprintf format tests.
2712 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2713 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2714 -Wformat-extra-args warnings throughout.
2715 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2716 (CFLAGS-scanf4.c): Likewise.
2717 (CFLAGS-scanf7.c): Likewise.
2718 (CFLAGS-tst-sprintf.c): Likewise.
2719 (CFLAGS-tst-printf.c): Likewise.
2720 (CFLAGS-tst-printfsz.c): Likewise.
2722 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2724 * include/cpio.h: New file.
2725 * include/fmtmsg.h: Likewise.
2727 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2728 corresponding format argument to size_t.
2729 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2731 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2732 corresponding format argument to size_t.
2733 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2735 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2736 corresponding format argument to size_t.
2737 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2738 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2739 (CFLAGS-tst-mbswcs2.c): Likewise.
2740 (CFLAGS-tst-mbswcs3.c): Likewise.
2741 (CFLAGS-tst-mbswcs4.c): Likewise.
2742 (CFLAGS-tst-mbswcs5.c): Likewise.
2743 (CFLAGS-tst-trans.c): Likewise
2745 2014-12-11 Roland McGrath <roland@hack.frob.com>
2747 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2748 rather than assuming they won't contain any '%'s.
2750 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2752 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2753 inhibit_loop_to_libcall to avoid recursive calls.
2754 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2755 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2757 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2759 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2762 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2764 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2765 integer value instead of boolean.
2767 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2769 * malloc/malloc.c: Fix powerof2 check.
2771 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2773 * locale/programs/locfile.h (maybe_swap_uint32):
2774 Remove inline and add unused attribute.
2776 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2778 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2779 Truncating assembler expression to a .long expression.
2781 2014-12-11 Andreas Schwab <schwab@suse.de>
2783 * elf/rtld.c (struct map_args): Constify str member.
2784 (do_preload): Constify fname argument.
2786 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2788 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2789 constants definition.
2791 2014-12-11 Andreas Schwab <schwab@suse.de>
2794 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2795 FORCE_ELISION instead of DO_ELISION.
2796 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2798 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2801 * iconvdata/gconv-modules: Remove duplicate entry.
2803 2014-12-11 Will Newton <will.newton@linaro.org>
2805 Merge gettext 0.19.3 into intl/.
2807 This involves a number of cosmetic changes to comments
2808 and ANSI function definitions and prototypes throughout
2809 all the files. The gettext copyright header is used but
2810 with the date ranges taken from the glibc copy.
2812 * NEWS: Add gettext merge to 2.21.
2813 * intl/bindtextdom.c: Switch to gettext copyright.
2814 Use ANSI definitions and prototypes.
2815 Use gl_* locking primitives rather than __libc_* ones.
2816 Use __builtin_expect rather than __glibc_likely/unlikely.
2817 * intl/dcgettext.c: Switch to gettext copyright.
2818 Use ANSI definitions and prototypes.
2819 * intl/dcigettext.c: Switch to gettext copyright.
2820 Use ANSI definitions and prototypes.
2821 (INTDIV0_RAISES_SIGFPE): New define.
2822 Use gl_* locking primitives rather than __libc_* ones.
2823 Include eval-plural.h instead of plural-eval.c.
2824 Use __builtin_expect rather than __glibc_likely/unlikely.
2825 * intl/dcngettext.c: Switch to gettext copyright.
2826 Use ANSI definitions and prototypes.
2827 * intl/dgettext.c: Likewise.
2828 * intl/dngettext.c: Likewise.
2829 * intl/plural-eval.c: Renamed to...
2830 * intl/eval-plural.h: ...this.
2831 * intl/explodename.c: Switch to gettext copyright.
2832 Use ANSI definitions and prototypes.
2833 (_nl_explode_name): Use strchr instead of __rawmemchr.
2834 * intl/finddomain.c: Switch to gettext copyright.
2835 Use ANSI definitions and prototypes.
2836 Use gl_* locking primitives rather than __libc_* ones.
2837 (_nl_find_domain): Use malloc rather than alloca for
2838 allocation of temporary locale name.
2839 * intl/gettext.c: Switch to gettext copyright.
2840 Use ANSI definitions and prototypes.
2841 * intl/gettextP.h: Switch to gettext copyright.
2842 Use ANSI definitions and prototypes.
2843 Use gl_* locking primitives rather than __libc_* ones.
2844 * intl/gmo.h: Switch to gettext copyright.
2845 (struct sysdep_string): Move struct segment_pair outside of
2847 * intl/hash-string.c: Use ANSI definitions and prototypes.
2848 * intl/hash-string.h: Switch to gettext copyright.
2849 Use ANSI definitions and prototypes.
2850 * intl/l10nflist.c: Switch to gettext copyright.
2851 Use ANSI definitions and prototypes.
2852 (_nl_normalize_codeset): Avoid integer overflow.
2853 * intl/loadinfo.h: Switch to gettext copyright.
2854 Use ANSI definitions and prototypes.
2855 (LIBINTL_DLL_EXPORTED): New define.
2856 (PATH_SEPARATOR): New define.
2857 * intl/loadmsgcat.c: Switch to gettext copyright.
2858 * intl/localealias.c: Switch to gettext copyright.
2859 Use ANSI definitions and prototypes.
2860 (_nl_expand_alias): Use PATH_SEPARATOR.
2861 * intl/ngettext.c: Switch to gettext copyright.
2862 Use ANSI definitions and prototypes.
2863 * intl/plural-exp.c: Likewise.
2864 * intl/plural-exp.h: Switch to gettext copyright.
2865 Use ANSI definitions and prototypes.
2866 (struct expression): Move definition of enum operator outside
2867 of struct definition.
2868 * intl/plural.c: Regenerate.
2869 * intl/plural.y: Switch to gettext copyright.
2870 Use ANSI definitions and prototypes.
2872 * intl/textdomain.c: Switch to gettext copyright.
2873 Use ANSI definitions and prototypes.
2874 Use gl_* locking primitives rather than __libc_* ones.
2876 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2878 * debug/warning-nop.c: Add used atrribute.
2880 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2882 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2884 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2885 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2886 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2888 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2889 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2892 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2893 Undefine after defining function. Define as weak alias of
2894 __wcschr. Use libc_hidden_weak.
2895 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2896 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2897 (libc_hidden_def): Also define __GI___wcschr alias.
2898 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2899 __wcschr and define as weak alias of __wcschr.
2900 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2902 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2903 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2904 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2905 libc_hidden_weak. Do not use libc_hidden_def.
2906 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2907 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2908 __GI___wcschr alias.
2909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2910 [IS_IN (libc)] (wcschr): Define as macro expanding to
2912 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2913 [IS_IN (libc)] (__wcschr_power6): Likewise.
2914 [IS_IN (libc)] (__wcschr_power7): Likewise.
2915 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2917 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2919 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2920 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2921 __wcschr and define as weak alias of __wcschr. Use
2922 libc_hidden_builtin_def.
2923 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2924 as weak alias of __wcschr. Use libc_hidden_weak.
2925 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2927 * time/era.c (_nl_init_era_entries): Likewise.
2928 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2930 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2931 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2933 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2935 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2936 format for long int variable.
2938 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2941 * manual/search.texi: (Array Sort Function): Remove claim how to make
2944 2014-12-10 Andreas Schwab <schwab@suse.de>
2947 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2948 user-controlled locks.
2950 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
2952 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2955 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2957 * configure.ac (--disable-werror): New configure option.
2958 (enable_werror): New AC_SUBST.
2959 * configure: Regenerated.
2960 * config.make.in (enable-werror): New variable.
2961 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2963 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2964 * manual/install.texi (Configuring and compiling): Document
2966 * INSTALL: Regenerated.
2967 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2968 (CFLAGS-tst-chk2.c): Likewise.
2969 (CFLAGS-tst-chk3.c): Likewise.
2970 (CFLAGS-tst-chk4.cc): Likewise.
2971 (CFLAGS-tst-chk5.cc): Likewise.
2972 (CFLAGS-tst-chk6.cc): Likewise.
2973 (CFLAGS-tst-lfschk1.c): Likewise.
2974 (CFLAGS-tst-lfschk2.c): Likewise.
2975 (CFLAGS-tst-lfschk3.c): Likewise.
2976 (CFLAGS-tst-lfschk4.cc): Likewise.
2977 (CFLAGS-tst-lfschk5.cc): Likewise.
2978 (CFLAGS-tst-lfschk6.cc): Likewise.
2980 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2981 (main): Disable -Wdeprecated-declarations around calls to
2982 register_printf_function.
2984 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2985 (do_test): Disable -Wdiv-by-zero around some calls to
2986 fwrite_unlocked and fread_unlocked.
2988 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2989 (DIAG_POP_NEEDS_COMMENT): Likewise.
2990 (_DIAG_STR1): Likewise.
2991 (_DIAG_STR): Likewise.
2992 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2993 * stdio-common/bug21.c: Include <libc-internal.h>.
2994 (do_test): Disable -Wformat around call to sscanf.
2995 * stdio-common/scanf14.c: Include <libc-internal.h>.
2996 (main): Disable -Wformat around some calls to scanf functions.
2998 2014-12-09 Torvald Riegel <triegel@redhat.com>
3000 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3002 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3004 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3005 stack variable alignment.
3007 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3010 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3011 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3012 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3013 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3014 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3015 __getrlimit instead of getrlimit.
3016 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3017 __gettimeofday instead of gettimeofday.
3018 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3020 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3022 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3023 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3025 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3026 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3028 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3030 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3031 for wide-character tests.
3033 2014-12-04 Roland McGrath <roland@hack.frob.com>
3035 * io/openat64.c: #include <libc-internal.h>
3036 (__openat64): Prototypify. Use ignore_value on MODE.
3037 * io/openat.c: Likewise.
3038 * misc/reboot.c: #include <libc-internal.h>
3039 (reboot): Prototypify. Use ignore_value on HOWTO.
3040 * misc/ptrace.c: #include <libc-internal.h>
3041 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3043 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3045 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3046 XPG4, UNIX98 and XOPEN2K.
3047 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3049 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3051 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3053 * libio/fileops.c: Use ISO C style for function definitions.
3054 * libio/iofopen.c: Likewise.
3055 * libio/wfileops.c: Likewise.
3058 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3060 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3061 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3062 (fgets_func): Function pointer to fgets and fgetws.
3063 (do_ftell_test): Add test to verify ftell value after read
3065 (do_test): Set fgets_func.
3067 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3068 O_TRUNC flag for w and w+ modes.
3069 (do_rewind_test): Likewise.
3070 (do_ftell_test): Likewise.
3071 (do_write_test): Likewise.
3074 * libio/fileops.c (do_ftell): Seek only when there are
3076 * libio/wfileops.c (do_ftell_wide): Likewise.
3077 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3079 (do_one_test): Call it.
3081 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3083 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3084 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3085 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3087 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3088 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3089 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3091 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3093 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3095 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3098 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3099 as weak alias of __getifaddrs. Use libc_hidden_weak.
3100 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3101 __freeifaddrs. Use libc_hidden_weak.
3102 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3103 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3104 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3105 __freeifaddrs. Use libc_hidden_weak.
3106 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3107 __getifaddrs and define as weak alias of __getifaddrs. Use
3109 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3110 __freeifaddrs. Use libc_hidden_weak.
3111 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3113 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3114 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3116 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3119 * sysdeps/mips/start.S (__start): Use indirect jump to call
3122 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3124 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3126 * nptl/tst-mutex1.c: Include <stdbool.h>.
3127 [!ATTR] (ATTR_NULL): New macro.
3128 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3129 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3130 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3132 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3136 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3137 Change conditional to [__USE_MISC].
3140 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3142 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3144 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3146 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3148 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3149 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3150 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3151 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3152 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3153 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3154 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3155 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3156 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3158 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3160 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3162 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3163 Remove strpbrk objects.
3164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3165 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3166 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3167 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3168 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3169 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3171 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3172 Remove strcspn objects.
3173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3174 (__libc_ifunc_impl_list): Remove strcspn implementation.
3175 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3176 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3177 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3178 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3180 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3181 Remove strspn objetcs.
3182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3183 (__libc_ifunc_impl_list): Remove strspn implementation.
3184 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3185 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3186 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3187 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3189 2014-12-01 James Lemke <jwlemke@codesourcery.com>
3193 (mem2mem_check): Add a terminator to the chain of checking blocks.
3194 (malloc_check_get_size): Use it here.
3195 (mem2chunk_check): Ditto.
3197 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3199 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3200 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3202 2014-11-29 Carlos O'Donell <carlos@redhat.com>
3204 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3206 * nptl/nptl-init.c: Include libc-internal.h.
3207 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3209 * elf/ldconfig.c (search_dir): Expand comment.
3211 2014-11-29 Joseph Myers <joseph@codesourcery.com>
3213 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3215 (linknamespace-symlist-stdlibs-tests): Likewise.
3216 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3217 instead of $(objpfx)symlist-stdlibs.
3218 (linknamespace-libs-isoc): New variable.
3219 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3220 (linknamespace-libs-ISO): New variable.
3221 (linknamespace-libs-ISO99): Likewise.
3222 (linknamespace-libs-ISO11): Likewise.
3223 (linknamespace-libs-XPG3): Likewise.
3224 (linknamespace-libs-XPG4): Likewise.
3225 (linknamespace-libs-POSIX): Likewise.
3226 (linknamespace-libs-UNIX98): Likewise.
3227 (linknamespace-libs-XOPEN2K): Likewise.
3228 (linknamespace-libs-POSIX2008): Likewise.
3229 (linknamespace-libs-XOPEN2K8): Likewise.
3230 ($(objpfx)symlist-stdlibs): Replace by
3231 $(linknamespace-symlist-stdlibs-tests). Use
3232 $(linknamespace-libs-$*) as set of libraries.
3233 ($(linknamespace-header-tests)): Update dependencies. Use
3234 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3235 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3236 * conform/linknamespace.pl: Remove comment about considering
3237 definitions of symbols from irrelevant libraries.
3239 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3242 * elf/dl-tls.c: Include <atomic.h>.
3243 (oom): Remove #ifdef SHARED/#endif.
3244 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3245 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3246 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3248 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3249 * nptl/Makefile (tests): Add tst-stack4.
3250 (modules-names): Add tst-stack4mod.
3251 ($(objpfx)tst-stack4): New.
3252 (tst-stack4mod.sos): Likewise.
3253 ($(objpfx)tst-stack4.out): Likewise.
3254 ($(tst-stack4mod.sos)): Likewise.
3256 * nptl/tst-stack4.c: New file.
3257 * nptl/tst-stack4mod.c: Likewise.
3259 2014-11-27 J. Brown <jb999@gmx.de>
3261 * sysdeps/x86/bits/string.h: Add recent CPUs.
3263 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3265 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3268 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3271 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3274 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3276 * nscd/connections.c: Include libc-internal.h because of macro
3279 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3281 * string/bits/string3.h (__warn_memset_zero_len): Don't
3282 declare for gcc newer than 5.0.
3283 (memset): Don't test for zero-length __LEN for gcc newer than
3286 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3288 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3289 size_t for %zu format.
3291 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3292 difference, not %ju.
3294 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3296 * include/libc-internal.h (ignore_value): New macro.
3297 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3300 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3303 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3304 pthread_cleanup_push to void *.
3306 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3311 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3312 instead of 1L << 52.
3314 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3315 * libio/bug-rewind2.c (do_test): Likewise.
3317 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3318 * debug/test-strcpy_chk-ifunc.c: Likewise.
3319 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3320 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3321 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3322 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3323 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3324 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3325 * Rules [$(multi-arch) = no] (tests): Do not filter out
3327 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3328 * debug/Makefile (tests-ifunc): Remove variable.
3329 (tests): Do not add $(tests-ifunc).
3330 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3331 (tests): Do not add $(tests-ifunc).
3332 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3333 [TEST_IFUNC]: Remove conditionals.
3334 * string/test-string.h (TEST_IFUNC): Remove macro.
3335 [TEST_IFUNC]: Remove conditionals.
3337 * string/test-strchr.c [!WIDE] (L): New macro.
3338 [WIDE] (L): Likewise.
3339 (check1): Use CHAR instead of char. Use L on string and character
3342 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3344 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3346 * sysdeps/powerpc/bits/atomic.h
3347 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3348 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3349 (atomic_exchange_and_add_acq): Likewise.
3350 (atomic_exchange_and_add_rel): Likewise.
3351 * sysdeps/powerpc/powerpc32/bits/atomic.h
3352 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3353 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3354 * sysdeps/powerpc/powerpc64/bits/atomic.h
3355 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3356 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3358 2014-11-26 Torvald Riegel <triegel@redhat.com>
3360 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3361 Change synchronization of __sched_fifo_min_prio and
3362 __sched_fifo_max_prio.
3363 * nptl/pthread_mutexattr_getprioceiling.c
3364 (pthread_mutexattr_getprioceiling): Likewise.
3365 * nptl/pthread_mutexattr_setprioceiling.c
3366 (pthread_mutexattr_setprioceiling): Likewise.
3367 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3368 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3371 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3373 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3376 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3378 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3379 third argument const.
3381 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3383 fnmatch: work around GCC compiler warning bug with uninit var
3384 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3385 This works around a bug with x86-64 GCC 4.9.2 and earlier
3386 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3387 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3388 used uninitialized in this function [-Wmaybe-uninitialized]".
3390 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3392 * posix/bug-regex31.c (main): Return RES not 0.
3394 2014-11-25 Anton Blanchard <anton@samba.org>
3396 * sysdeps/powerpc/bits/atomic.h
3397 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3399 2014-11-24 Sterling Augustine <saugustine@google.com>
3401 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3403 2014-11-24 Ryan Cumming <etaoins@gmail.com>
3406 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3408 2014-11-24 Joseph Myers <joseph@codesourcery.com>
3411 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3412 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3414 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3415 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3417 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3419 * string/strncpy.c (strncpy): Improve performance by using memset.
3421 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3423 * string/strcpy.c (strcpy):
3424 Improve performance by using strlen and memcpy.
3426 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
3428 * string/strcoll_l.c (get_next_seq): __always_inline.
3429 * string/strcoll_l.c (do_compare): __always_inline.
3431 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3433 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3435 * include/mqueue.h: Likewise.
3436 * include/stdlib.h: Likewise.
3438 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3439 (get_null_defines): Adjust.
3440 * sunrpc/Makefile: Adjust comment.
3441 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3442 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3443 (CFLAGS-interp.c): Likewise.
3444 (CFLAGS-ldconfig.c): Likewise.
3445 (CPPFLAGS-.os): Likewise.
3446 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3447 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3448 * extra-modules.mk (extra-modules.mk): Likewise.
3449 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3450 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3451 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3452 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3453 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3454 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3455 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3456 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3457 * iconvdata/Makefile (CPPFLAGS): Likewise.
3458 (cpp-srcs-left): Add libof for all iconvdata routines.
3459 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3460 * include/assert.h: Likewise.
3461 * include/ctype.h: Likewise.
3462 * include/errno.h: Likewise.
3463 * include/libc-symbols.h: Likewise.
3464 * include/math.h: Likewise.
3465 * include/netdb.h: Likewise.
3466 * include/resolv.h: Likewise.
3467 * include/stdio.h: Likewise.
3468 * include/stdlib.h: Likewise.
3469 * include/string.h: Likewise.
3470 * include/sys/stat.h: Likewise.
3471 * include/wctype.h: Likewise.
3472 * intl/l10nflist.c: Likewise.
3473 * libidn/idn-stub.c: Likewise.
3474 * libio/libioP.h: Likewise.
3475 * nptl/libc_multiple_threads.c: Likewise.
3476 * nptl/pthreadP.h: Likewise.
3477 * posix/regex_internal.h: Likewise.
3478 * resolv/res_hconf.c: Likewise.
3479 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3480 * sysdeps/arm/memmove.S: Likewise.
3481 * sysdeps/arm/sysdep.h: Likewise.
3482 * sysdeps/generic/_itoa.h: Likewise.
3483 * sysdeps/generic/symbol-hacks.h: Likewise.
3484 * sysdeps/gnu/errlist.awk: Likewise.
3485 * sysdeps/gnu/errlist.c: Likewise.
3486 * sysdeps/i386/i586/memcpy.S: Likewise.
3487 * sysdeps/i386/i586/memset.S: Likewise.
3488 * sysdeps/i386/i686/memcpy.S: Likewise.
3489 * sysdeps/i386/i686/memmove.S: Likewise.
3490 * sysdeps/i386/i686/mempcpy.S: Likewise.
3491 * sysdeps/i386/i686/memset.S: Likewise.
3492 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3493 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3494 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3495 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3496 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3497 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3498 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3499 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3500 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3501 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3502 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3503 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3504 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3505 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3506 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3507 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3508 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3509 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3510 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3511 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3512 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3513 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3514 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3515 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3516 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3517 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3518 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3519 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3521 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3522 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3523 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3524 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3525 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3526 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3527 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3528 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3529 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3530 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3531 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3532 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3533 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3535 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3536 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3538 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3539 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3540 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3541 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3542 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3544 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3546 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3547 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3548 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3549 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3550 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3551 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3552 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3553 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3554 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3555 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3556 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3557 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3558 * sysdeps/posix/closedir.c: Likewise.
3559 * sysdeps/posix/opendir.c: Likewise.
3560 * sysdeps/posix/readdir.c: Likewise.
3561 * sysdeps/posix/rewinddir.c: Likewise.
3562 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3563 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3564 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3565 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3566 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3567 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3568 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3569 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3571 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3573 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3574 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3575 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3576 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3577 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3578 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3579 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3580 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3581 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3582 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3583 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3584 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3585 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3586 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3587 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3588 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3589 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3590 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3597 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3598 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3599 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3600 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3601 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3602 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3603 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3604 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3605 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3606 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3607 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3608 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3609 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3610 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3611 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3612 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3613 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3614 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3615 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3616 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3617 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3618 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3619 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3620 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3621 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3622 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3623 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3624 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3625 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3626 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3627 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3628 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3629 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3630 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3631 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3632 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3633 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3634 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3635 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3636 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3637 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3638 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3639 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3640 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3641 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3642 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3643 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3644 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3645 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3646 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3647 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3648 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3649 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3650 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3651 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3652 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3653 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3654 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3655 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3656 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3657 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3658 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3659 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3660 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3661 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3662 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3663 * sysdeps/unix/alpha/sysdep.S: Likewise.
3664 * sysdeps/unix/alpha/sysdep.h: Likewise.
3665 * sysdeps/unix/make-syscalls.sh: Likewise.
3666 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3667 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3668 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3669 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3670 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3671 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3672 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3673 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3674 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3675 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3676 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3677 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3678 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3679 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3680 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3681 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3682 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3683 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3684 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3685 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3686 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3687 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3688 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3689 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3690 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3691 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3692 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3695 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3696 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3699 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3700 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3703 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3704 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3705 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3706 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3707 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3708 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3709 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3710 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3713 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3716 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3717 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3718 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3719 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3720 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3721 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3722 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3724 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3725 * sysdeps/x86_64/memcpy.S: Likewise.
3726 * sysdeps/x86_64/memmove.c: Likewise.
3727 * sysdeps/x86_64/memset.S: Likewise.
3728 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3729 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3730 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3731 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3732 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3733 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3734 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3735 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3736 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3737 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3738 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3739 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3740 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3741 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3742 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3743 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3744 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3745 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3746 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3747 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3748 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3749 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3750 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3751 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3752 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3753 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3754 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3755 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3756 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3757 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3758 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3759 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3760 * sysdeps/x86_64/strcmp.S: Likewise.
3762 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3764 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3765 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3766 * elf/rtld-Rules: Likewise.
3767 * elf/setup-vdso.h: Likewise.
3768 * include/assert.h: Likewise.
3769 * include/bits/stdlib-float.h: Likewise.
3770 * include/errno.h: Likewise.
3771 * include/sys/stat.h: Likewise.
3772 * include/unistd.h: Likewise.
3773 * sysdeps/aarch64/setjmp.S: Likewise.
3774 * sysdeps/alpha/setjmp.S: Likewise.
3775 * sysdeps/arm/__longjmp.S: Likewise.
3776 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3777 * sysdeps/arm/setjmp.S: Likewise.
3778 * sysdeps/arm/sysdep.h: Likewise.
3779 * sysdeps/generic/_itoa.h: Likewise.
3780 * sysdeps/generic/dl-sysdep.h: Likewise.
3781 * sysdeps/generic/ldsodefs.h: Likewise.
3782 * sysdeps/i386/dl-tls.h: Likewise.
3783 * sysdeps/i386/setjmp.S: Likewise.
3784 * sysdeps/m68k/setjmp.c: Likewise.
3785 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3786 * sysdeps/mach/hurd/opendir.c: Likewise.
3787 * sysdeps/posix/getcwd.c: Likewise.
3788 * sysdeps/posix/opendir.c: Likewise.
3789 * sysdeps/posix/profil.c: Likewise.
3790 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3791 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3792 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3793 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3794 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3795 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3796 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3797 * sysdeps/s390/dl-tls.h: Likewise.
3798 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3799 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3800 * sysdeps/sh/sh3/setjmp.S: Likewise.
3801 * sysdeps/sh/sh4/setjmp.S: Likewise.
3802 * sysdeps/unix/alpha/sysdep.h: Likewise.
3803 * sysdeps/unix/arm/sysdep.S: Likewise.
3804 * sysdeps/unix/i386/sysdep.S: Likewise.
3805 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3806 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3807 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3808 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3809 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3810 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3811 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3812 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3813 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3814 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3815 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3816 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3817 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3820 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3821 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3823 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3824 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3825 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3828 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3829 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3830 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3832 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3833 * sysdeps/x86_64/setjmp.S: Likewise.
3835 * include/math.h: Use IS_IN instead of IS_IN_libm.
3836 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3837 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3839 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3840 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3842 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3847 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3848 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3854 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3856 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3857 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3858 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3859 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3860 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3861 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3863 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3864 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3865 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3866 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3867 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3868 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3879 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3880 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3881 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3882 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3883 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3884 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3890 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3891 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3892 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3893 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3894 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3895 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3896 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3897 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3898 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3899 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3900 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3901 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3902 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3903 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3905 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3907 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3908 * nptl/pthreadP.h: Likewise.
3909 * nptl_db/structs.def: Likewise.
3910 * sysdeps/arm/sysdep.h: Likewise.
3911 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3912 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3913 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3914 * sysdeps/unix/alpha/sysdep.h: Likewise.
3915 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3916 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3917 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3918 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3919 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3920 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3921 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3922 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3923 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3924 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3925 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3926 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3927 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3928 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3931 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3932 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3933 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3935 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3936 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3937 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3938 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3939 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3940 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3942 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3943 * nptl/pthreadP.h: Likewise.
3944 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3945 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3946 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3947 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3948 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3949 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3950 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3951 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3952 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3953 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3954 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3955 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3961 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3962 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3963 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3964 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3965 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3966 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3967 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3969 * dlfcn/dladdr.c: Use IS_IN.
3970 * dlfcn/dladdr1.c: Likewise.
3971 * dlfcn/dlclose.c: Likewise.
3972 * dlfcn/dlerror.c: Likewise.
3973 * dlfcn/dlinfo.c: Likewise.
3974 * dlfcn/dlmopen.c: Likewise.
3975 * dlfcn/dlopen.c: Likewise.
3976 * dlfcn/dlsym.c: Likewise.
3977 * dlfcn/dlvsym.c: Likewise.
3979 * include/ifaddrs.h: Use IS_IN.
3980 * inet/check_pf.c: Likewise.
3981 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3982 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3984 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3986 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3987 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3989 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3990 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3993 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3995 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3996 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3997 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3998 * include/libc-symbols.h (IS_IN_LIB): New macro.
3999 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4000 * include/netdb.h: Likewise.
4001 * include/stap-probe.h: Remove all uses of IN_LIB.
4003 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4004 instead of IN_MODULE.
4005 * include/libc-symbols.h (IN_MODULE): Define using
4007 (PASTE_NAME, PASTE_NAME1): New macros.
4008 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4010 (STAP_PROBE_ASM): Likewise.
4012 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4014 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4015 __mach_init in dlopened libc.
4017 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4019 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4020 * sysdeps/arm/preconfigure: Regenerate.
4022 2014-11-21 Roland McGrath <roland@hack.frob.com>
4024 * nptl/pthread_create.c (__pthread_create_2_1): Set
4025 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4026 when copying values from IATTR into PD.
4028 2014-11-21 Will Newton <will.newton@linaro.org>
4029 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4031 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4032 Refactor inline-asm. Also add comment.
4034 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4035 ElfW macro instead of hardcoded Elf64 types.
4036 (la_aarch64_gnu_pltenter): Likewise.
4037 * sysdeps/aarch64/dl-machine.h
4038 (elf_machine_runtime_setup): Use ElfW(Addr).
4040 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4041 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4042 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4043 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4044 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4045 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4046 (R_AARCH64_TLS_DTPMOD): This.
4047 (R_AARCH64_TLS_DTPREL64): Rename to ...
4048 (R_AARCH64_TLS_DTPREL): This.
4049 (R_AARCH64_TLS_TPREL64): Rename to ...
4050 (R_AARCH64_TLS_TPREL): This.
4051 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4052 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4053 R_AARCH64_TLS_TPREL64.
4054 (elf_machine_rela): Likewise.
4056 2014-11-21 Torvald Riegel <triegel@redhat.com>
4058 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4059 by setting it to 0. 64b atomics are not supported currently.
4061 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4064 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4065 search domain names.
4067 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4071 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4073 * posix/tst-getaddrinfo5.c: New.
4074 * posix/Makefile (tests): Add it.
4076 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4080 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4081 after parsing line but before break_if_match.
4082 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4083 if there is a protocol mismatch.
4085 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4087 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4088 because the potential race is on the user-supplied stream.
4090 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4092 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4093 string literal if not passed a buffer.
4094 * manual/job.texi (ctermid): Update reasoning, note deviation
4095 from posix, suggest mtasurace when not passed a buffer, for
4096 future non-preliminary safety notes.
4098 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4100 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4101 of not passing it a buffer.
4102 Reported by Peng Haitao.
4104 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4106 * manual/Makefile ($(objpfx)stamp-summary): Require
4107 check-safety.sh to pass.
4108 * manual/check-safety.sh: Wish for verification that every
4109 @deftypefn and @deftypefun is followed by a @safety remark.
4111 2014-11-20 Roland McGrath <roland@hack.frob.com>
4113 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4115 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4116 PTHREAD_CANCEL_ASYNCHRONOUS.
4117 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4120 * nptl/default-sched.h: New file.
4121 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4122 * nptl/pthread_create.c: Include it.
4123 (__pthread_create_2_1): Use collect_default_sched instead of making
4124 Linux syscalls here directly.
4126 2014-11-20 Torvald Riegel <triegel@redhat.com>
4128 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4129 __pthread_once): Use C11 atomics.
4131 2014-11-20 Torvald Riegel <triegel@redhat.com>
4133 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4135 2014-11-20 Torvald Riegel <triegel@redhat.com>
4137 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4138 atomic_thread_fence_acquire, atomic_thread_fence_release,
4139 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4140 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4141 atomic_compare_exchange_weak_relaxed,
4142 atomic_compare_exchange_weak_acquire,
4143 atomic_compare_exchange_weak_release,
4144 atomic_exchange_acquire, atomic_exchange_release,
4145 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4146 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4147 atomic_fetch_and_acquire,
4148 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4150 2014-11-20 Torvald Riegel <triegel@redhat.com>
4152 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4153 USE_ATOMIC_COMPILER_BUILTINS): Define.
4154 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4155 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4156 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4157 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4158 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4159 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4160 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4161 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4162 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4163 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4164 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4165 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4166 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4167 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4168 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4169 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4170 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4171 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4172 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4173 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4174 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4175 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4176 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4177 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4178 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4179 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4180 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4181 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4182 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4183 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4184 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4185 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4186 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4187 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4188 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4189 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4190 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4191 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4192 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4193 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4195 2014-11-19 Roland McGrath <roland@hack.frob.com>
4197 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4198 the sched_priority value here. It was already checked when the user
4199 called pthread_attr_setschedparam.
4201 * nptl/tst-bad-schedattr.c: New file.
4202 * nptl/Makefile (tests): Add it.
4204 2014-11-19 Carlos O'Donell <carlos@redhat.com>
4205 Florian Weimer <fweimer@redhat.com>
4206 Joseph Myers <joseph@codesourcery.com>
4207 Adam Conrad <adconrad@0c3.net>
4208 Andreas Schwab <schwab@suse.de>
4209 Brooks <bmoses@google.com>
4212 * wordexp-test.c (__dso_handle): Add prototype.
4213 (__register_atfork): Likewise.
4214 (__app_register_atfork): New function.
4215 (registered_forks): New global.
4216 (register_fork): New function.
4217 (test_case): Add 3 new tests for WRDE_CMDSUB.
4218 (main): Call __app_register_atfork.
4219 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4220 fork count is non-zero fail the test.
4221 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4223 (parse_dollars): Remove check for WRDE_NOCMD.
4224 (parse_dquote): Likewise.
4226 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4228 * Makeconfig (built-modules): List non-library modules to be
4230 (module-cppflags): Include libc-modules.h for
4231 everything except shlib-versions.v.i.
4233 (before-compile): Add libc-modules.h.
4234 ($(common-objpfx)libc-modules.h,
4235 $(common-objpfx)libc-modules.stmp): New targets.
4236 (common-generated): Add libc-modules.h and libc-modules.stmp.
4237 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4238 * include/libc-symbols.h: Don't include libc-modules.h.
4239 * include/libc-modules.h: Remove file.
4240 * scripts/gen-libc-modules.awk: New script to generate
4242 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4243 Depend on libc-modules.stmp.
4245 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4247 * Makeconfig (in-module): Get value of libof set for the
4249 (CPPFLAGS): Use $(in-module).
4250 * Makerules: Don't suffix routine names for nonlib.
4251 * include/libc-modules.h: New file.
4252 * include/libc-symbols.h: Include libc-modules.h
4253 (IS_IN): New macro to replace IS_IN_* macros.
4254 * elf/Makefile: Set libof-* for each routine.
4255 * elf/rtld-Rules: Likewise.
4256 * extra-modules.mk: Likewise.
4257 * iconv/Makefile: Likewise.
4258 * iconvdata/Makefile: Likewise.
4259 * locale/Makefile: Likewise.
4260 * malloc/Makefile: Likewise.
4261 * nss/Makefile: Likewise.
4262 * sysdeps/gnu/Makefile: Likewise.
4263 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4264 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4265 * sysdeps/s390/s390-64/Makefile: Likewise.
4266 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4267 CPPFLAGS for nscd instead of nonlib.
4269 2014-11-18 Roland McGrath <roland@hack.frob.com>
4271 * nptl/createthread.c: New file.
4273 * nptl/createthread.c: Moved ...
4274 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4276 * nptl/createthread.c: Add proper top-line comment.
4277 (do_clone): Folded into ...
4278 (create_thread): ... here. Take new arguments STOPPED_START and
4279 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4280 increment __nptl_threads, do event-reporting logic, do
4281 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4282 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4283 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4284 just send SIGCANCEL.
4285 * nptl/pthread_create.c: Forward-declare create_thread before
4286 including createthread.c.
4287 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4288 declaration, and new macro START_THREAD_SELF to replace argument.
4289 Remove return statement.
4290 (report_thread_creation): New function.
4291 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4292 synchronization logic, and __nptl_nthreads increment here, around
4293 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4294 PD->parent_cancelhandling here, before create_thread. When
4295 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4296 __deallocate_stack, and ENOMEM translation here.
4298 2014-11-18 Joseph Myers <joseph@codesourcery.com>
4301 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4302 (mptwo): Rename to __mptwo.
4303 (__inv): Use __mptwo instead of mptwo.
4304 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4305 (mptwo): Rename to __mptwo.
4306 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4307 of mpone and __mptwo instead of mptwo.
4308 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4310 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4311 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4312 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4313 of mpone and __mptwo instead of mptwo.
4314 (__mpranred): Use __mpone instead of mpone.
4315 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4317 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4318 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4319 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4320 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4321 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4322 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4323 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4324 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4325 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4326 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4327 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4328 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4329 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4330 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4331 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4332 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4333 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4334 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4335 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4337 2014-11-18 Tom de Vries <tom@codesoucery.com>
4339 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4340 replace BSD Handler xref with BSD Signal Handling.
4342 2014-11-17 Richard Henderson <rth@redhat.com>
4344 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4345 (_FP_PACK_RAW_2): Remove.
4346 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4347 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4348 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4349 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4350 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4351 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4352 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4353 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4354 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4355 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4356 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4357 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4358 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4359 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4360 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4361 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4363 2014-11-14 Roland McGrath <roland@hack.frob.com>
4365 * signal/signal.h [__USE_MISC]
4366 (struct sigvec): Remove type.
4367 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4368 (sigvec): Remove declaration.
4369 * sysdeps/posix/sigvec.c: Moved ...
4370 * signal/sigvec.c: ... here, replacing old file.
4371 (struct sigvec): New type, copied from old signal.h definition.
4372 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4373 (__sigvec): Convert definition to prototype.
4374 (sigvec): Replace weak_alias with compat_symbol.
4375 * signal/Versions (libc: GLIBC_2.21): New version set.
4376 * include/signal.h: Remove __sigvec declaration.
4377 * sysdeps/unix/bsd/sigvec.c: Remove file.
4378 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4379 * manual/signal.texi (BSD Handler): Remove subsection.
4380 Move siginterrupt up to ...
4381 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4382 (Blocking in BSD): Fold subsection into its parent.
4383 * NEWS: Mention sigvec removal.
4385 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4387 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4388 (DLA_FMS): Make definition conditional only on [__FMA4__].
4389 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4392 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4393 Make definition conditional only on [PROF].
4394 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4396 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4397 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4399 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4401 * include/signal.h (__sigpause): Move declaration above call to
4403 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4405 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4406 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4408 2014-11-14 David S. Miller <davem@davemloft.net>
4410 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4411 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4413 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4415 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4416 * configure: Regenerated.
4417 * manual/install.texi (Tools for Compilation): Document a
4418 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4419 compiler verified to work.
4420 * INSTALL: Regenerated.
4422 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4423 redeclare with asm name.
4424 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4425 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4426 including <string.h>.
4427 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4428 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4429 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4430 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4431 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4432 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4433 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4435 2014-11-13 Joseph Myers <joseph@codesourcery.com>
4437 * stdlib/strtol.c (__strtol): Use prototype definition.
4440 * stdlib/strtol.c (SYM__): New macro.
4442 (__strtol): Likewise.
4443 (strtol): Rename to __strtol and define as weak alias of
4444 __strtol. Use libc_hidden_weak.
4446 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4448 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4449 Use numbered labels in inline assembly.
4451 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4453 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4454 Add setjmp LIBC_PROBE.
4455 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4457 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4458 Add longjmp, longjmp_target LIBC_PROBE.
4459 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4462 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4464 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4465 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4466 to get rid of unused variable warning.
4468 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4470 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4471 Check for unwind_backtrace == NULL only in SHARED case.
4472 (__backchain_backtrace): Compile only in SHARED case.
4473 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4475 (__backchain_backtrace): Declare as static.
4477 2014-11-12 Roland McGrath <roland@hack.frob.com>
4479 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4480 (__libc_multiple_threads_ptr): Variable moved ...
4481 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4483 2014-11-12 Joseph Myers <joseph@codesourcery.com>
4485 * conform/GlibcConform.pm: New file.
4486 * conform/conformtest.pl: Use GlibcConform module.
4487 * conform/linknamespace.pl: New file.
4488 * conform/list-header-symbols.pl: Likewise.
4489 * conform/Makefile (linknamespace-symlists-base): New variable.
4490 (linknamespace-symlists-tests): Likewise.
4491 (linknamespace-header-base): Likewise.
4492 (linknamespace-header-tests): Likewise.
4493 (tests-special): Add new tests.
4494 ($(linknamespace-symlists-tests)): New rule.
4495 (linknamespace-libs): New variable.
4496 ($(objpfx)symlist-stdlibs): New rule.
4497 ($(linknamespace-header-tests)): Likewise.
4498 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4499 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4500 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4501 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4502 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4503 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4504 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4505 (test-xfail-ISO/math.h/linknamespace): Likewise.
4506 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4507 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4508 (test-xfail-ISO/time.h/linknamespace): Likewise.
4509 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4510 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4511 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4512 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4513 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4514 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4515 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4516 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4517 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4518 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4519 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4520 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4521 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4522 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4523 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4524 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4525 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4526 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4527 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4528 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4529 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4530 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4531 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4532 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4533 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4534 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4535 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4536 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4537 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4538 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4539 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4540 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4541 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4542 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4543 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4544 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4545 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4546 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4547 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4548 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4549 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4550 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4551 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4552 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4553 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4554 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4555 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4556 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4557 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4558 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4559 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4560 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4561 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4562 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4563 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4564 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4565 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4566 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4567 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4568 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4569 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4570 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4571 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4572 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4573 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4574 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4575 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4576 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4577 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4578 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4579 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4580 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4581 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4582 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4583 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4584 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4585 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4586 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4587 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4588 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4589 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4590 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4591 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4592 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4593 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4594 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4595 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4596 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4597 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4598 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4599 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4600 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4601 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4602 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4603 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4604 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4605 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4606 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4607 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4608 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4609 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4610 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4611 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4612 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4613 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4614 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4615 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4616 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4617 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4618 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4619 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4620 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4621 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4622 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4623 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4624 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4625 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4626 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4627 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4628 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4629 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4630 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4631 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4632 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4633 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4634 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4635 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4636 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4637 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4638 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4639 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4640 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4641 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4642 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4643 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4644 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4645 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4646 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4647 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4648 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4649 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4650 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4651 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4652 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4653 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4654 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4655 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4656 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4657 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4658 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4661 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4665 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4666 (memmem): Rename to __memmem and define as weak alias of
4667 __memmem. Use libc_hidden_weak.
4668 (__memmem): Use libc_hidden_def.
4669 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4670 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4674 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4675 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4676 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4677 and define as weak alias of __fgets_unlocked. Use
4679 (__fgets_unlocked): Use libc_hidden_def.
4680 * include/stdio.h (__fgets_unlocked): Declare. Use
4682 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4683 __fgets_unlocked instead of fgets_unlocked.
4684 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4685 (GET_NPROCS_CONF_PARSER): Likewise.
4686 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4687 (GET_NPROCS_CONF_PARSER): Likewise.
4690 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4691 weak alias of __wmemset. Use libc_hidden_weak.
4692 (__wmemset): Use libc_hidden_def.
4693 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4694 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4698 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4699 with asm name __mempcpy.
4700 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4703 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4704 and define as weak alias of __rawmemchr.
4705 (__rawmemchr): Do not define as strong alias of rawmemchr.
4708 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4710 (qsort): Call __qsort_r instead of qsort_r.
4711 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4712 (__qsort_r): Declare. Call libc_hidden_proto.
4713 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4715 * nscd/gai.c (__qsort_r): Define to qsort_r.
4716 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4717 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4718 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4721 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4722 define as weak alias of __malloc_info.
4725 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4726 as weak alias of __rewinddir. Don't use libc_hidden_def.
4727 (__rewinddir): Use libc_hidden_def.
4728 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4729 as weak alias of __rewinddir. Don't use libc_hidden_def.
4730 (__rewinddir): Use libc_hidden_def.
4731 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4732 weak alias of __rewinddir. Don't use libc_hidden_def.
4733 (__rewinddir): Use libc_hidden_def.
4734 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4735 (__rewinddir): Use libc_hidden_proto.
4736 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4738 (__getcwd): Use __rewinddir instead of rewinddir.
4741 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4742 alias of __fileno. Use libc_hidden_weak.
4743 (__fileno): Use libc_hidden_def.
4744 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4745 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4747 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4749 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4750 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4752 (fread_unlocked): Don't use libc_hidden_ver.
4753 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4754 and define as weak alias of __fread_unlocked. Don't use
4756 (__fread_unlocked): Use libc_hidden_def.
4757 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4758 (ftello): Don't use libc_hidden_proto.
4759 (__ftello): Declare. Use libc_hidden_proto.
4760 (fread_unlocked): Don't use libc_hidden_proto.
4761 (__fread_unlocked): Declare. Use libc_hidden_proto.
4762 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4763 and __ftello instead of fileno, fread_unlocked and ftello.
4765 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4767 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4769 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4771 (_dl_start_user): Likewise.
4772 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4774 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4775 Siddhesh Poyarekar <siddhesh@redhat.com>
4777 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4778 Move argv and envp down instead of moving argc up.
4779 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4781 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4784 * test-skeleton.c (main): Return successful if one of
4785 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4786 * string/tst-strcoll-overflow.c: Define expected status.
4788 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4791 * locale/iso-639.def: Define Bhili and Tulu language codes.
4793 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4795 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4797 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4800 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4802 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4804 * configure.ac: Updated check of minimal required version to
4806 * manual/install.texi (Tools for Compilation): Updated version
4808 * configure: Regenerated.
4809 * INSTALL: Likewise.
4811 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4813 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4816 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4818 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4819 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4820 (__waitpid): Don't define as alias. Use libc_hidden_def not
4822 (waitpid): Define as alias of __waitpid.
4823 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4825 (__waitpid): Don't define as alias. Use libc_hidden_def not
4827 (waitpid): Define as alias of __waitpid.
4828 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4829 __libc_waitpid alias.
4830 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4831 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4833 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4834 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4835 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4837 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4839 (__waitpid): Don't define as alias. Use libc_hidden_def not
4841 (waitpid): Define as alias of __waitpid.
4843 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4845 * manual/llio.texi: Add comment that write safety has been
4848 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4849 (localplt-build-dso): Add elf/ld.so.
4850 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4851 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4854 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4859 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4860 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4861 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4862 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4863 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4864 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4865 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4866 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4867 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4868 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4869 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4871 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4874 * include/libc-symbols.h (INTUSE): Remove macro.
4876 (INTVARDEF): Likewise.
4877 (_INTVARDEF): Likewise.
4878 (INTDEF2): Likewise.
4879 (INTVARDEF2): Likewise.
4880 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4881 rtld_hidden_def instead of INTVARDEF.
4882 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4883 (_dl_starting_up_internal): Remove declaration.
4884 (_dl_starting_up): Use rtld_hidden_proto.
4885 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4887 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4888 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4890 * elf/dl-writev.h (_dl_writev): Likewise.
4891 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4892 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4893 _dl_starting_up_internal.
4895 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4897 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4900 2014-11-05 Will Newton <will.newton@linaro.org>
4902 * benchtests/Makefile: (bench-malloc): Add malloc thread
4903 scalability benchmark.
4904 * benchtests/bench-malloc-threads.c: New file.
4906 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
4908 * sysdeps/aarch64/strchrnul.S: New file.
4910 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4912 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4914 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4922 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4925 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
4927 * catgets/test-gencat.c: Use test-skeleton.c.
4928 * catgets/tst-catgets.c: Likewise.
4929 * csu/tst-empty.c: Likewise.
4930 * elf/tst-audit2.c: Likewise.
4931 * elf/tst-global1.c: Likewise.
4932 * elf/tst-pathopt.c: Likewise.
4933 * elf/tst-piemod1.c: Likewise.
4934 * elf/tst-tls10.c: Likewise.
4935 * elf/tst-tls11.c: Likewise.
4936 * elf/tst-tls12.c: Likewise.
4937 * gnulib/tst-gcc.c: Likewise.
4938 * iconvdata/tst-e2big.c: Likewise.
4939 * iconvdata/tst-loading.c: Likewise.
4940 * iconv/tst-iconv1.c: Likewise.
4941 * iconv/tst-iconv2.c: Likewise.
4942 * inet/test-inet6_opt.c: Likewise.
4943 * inet/tst-gethnm.c: Likewise.
4944 * inet/tst-network.c: Likewise.
4945 * inet/tst-ntoa.c: Likewise.
4946 * intl/tst-codeset.c: Likewise.
4947 * intl/tst-gettext2.c: Likewise.
4948 * intl/tst-gettext3.c: Likewise.
4949 * intl/tst-ngettext.c: Likewise.
4950 * intl/tst-translit.c: Likewise.
4951 * io/test-stat.c: Likewise.
4952 * libio/test-fmemopen.c: Likewise.
4953 * libio/tst-freopen.c: Likewise.
4954 * libio/tst-sscanf.c: Likewise.
4955 * libio/tst-ungetwc1.c: Likewise.
4956 * libio/tst-ungetwc2.c: Likewise.
4957 * libio/tst-widetext.c: Likewise.
4958 * localedata/tst-ctype.c: Likewise.
4959 * localedata/tst-digits.c: Likewise.
4960 * localedata/tst-leaks.c: Likewise.
4961 * localedata/tst-mbswcs1.c: Likewise.
4962 * localedata/tst-mbswcs2.c: Likewise.
4963 * localedata/tst-mbswcs3.c: Likewise.
4964 * localedata/tst-mbswcs4.c: Likewise.
4965 * localedata/tst-mbswcs5.c: Likewise.
4966 * localedata/tst-setlocale.c: Likewise.
4967 * localedata/tst-trans.c: Likewise.
4968 * localedata/tst-wctype.c: Likewise.
4969 * localedata/tst-xlocale1.c: Likewise.
4970 * login/tst-grantpt.c: Likewise.
4971 * malloc/tst-calloc.c: Likewise.
4972 * malloc/tst-malloc.c: Likewise.
4973 * malloc/tst-mallocstate.c: Likewise.
4974 * malloc/tst-mcheck.c: Likewise.
4975 * malloc/tst-mtrace.c: Likewise.
4976 * malloc/tst-obstack.c: Likewise.
4977 * math/atest-exp2.c: Likewise.
4978 * math/atest-exp.c: Likewise.
4979 * math/atest-sincos.c: Likewise.
4980 * math/test-matherr.c: Likewise.
4981 * math/test-misc.c: Likewise.
4982 * math/test-powl.c: Likewise.
4983 * math/tst-definitions.c: Likewise.
4984 * misc/tst-dirname.c: Likewise.
4985 * misc/tst-efgcvt.c: Likewise.
4986 * misc/tst-fdset.c: Likewise.
4987 * misc/tst-hsearch.c: Likewise.
4988 * misc/tst-mntent2.c: Likewise.
4989 * nptl/tst-sem7.c: Likewise.
4990 * nptl/tst-sem8.c: Likewise.
4991 * nptl/tst-sem9.c: Likewise.
4992 * nss/test-netdb.c: Likewise.
4993 * posix/tst-fnmatch.c: Likewise.
4994 * posix/tst-getlogin.c: Likewise.
4995 * posix/tst-gnuglob.c: Likewise.
4996 * posix/tst-mmap.c: Likewise.
4997 * pwd/tst-getpw.c: Likewise.
4998 * resolv/tst-inet_ntop.c: Likewise.
4999 * rt/tst-timer.c: Likewise.
5000 * stdio-common/test-fseek.c: Likewise.
5001 * stdio-common/test-popen.c: Likewise.
5002 * stdio-common/test-vfprintf.c: Likewise.
5003 * stdio-common/tst-cookie.c: Likewise.
5004 * stdio-common/tst-fileno.c: Likewise.
5005 * stdio-common/tst-gets.c: Likewise.
5006 * stdio-common/tst-obprintf.c: Likewise.
5007 * stdio-common/tst-perror.c: Likewise.
5008 * stdio-common/tst-sprintf2.c: Likewise.
5009 * stdio-common/tst-sprintf3.c: Likewise.
5010 * stdio-common/tst-sprintf.c: Likewise.
5011 * stdio-common/tst-swprintf.c: Likewise.
5012 * stdio-common/tst-tmpnam.c: Likewise.
5013 * stdio-common/tst-unbputc.c: Likewise.
5014 * stdio-common/tst-wc-printf.c: Likewise.
5015 * stdlib/tst-environ.c: Likewise.
5016 * stdlib/tst-fmtmsg.c: Likewise.
5017 * stdlib/tst-limits.c: Likewise.
5018 * stdlib/tst-rand48-2.c: Likewise.
5019 * stdlib/tst-rand48.c: Likewise.
5020 * stdlib/tst-random2.c: Likewise.
5021 * stdlib/tst-random.c: Likewise.
5022 * stdlib/tst-strtol.c: Likewise.
5023 * stdlib/tst-strtoll.c: Likewise.
5024 * stdlib/tst-tls-atexit.c: Likewise.
5025 * stdlib/tst-xpg-basename.c: Likewise.
5026 * string/test-ffs.c: Likewise.
5027 * string/tst-bswap.c: Likewise.
5028 * string/tst-inlcall.c: Likewise.
5029 * string/tst-strtok.c: Likewise.
5030 * string/tst-strxfrm.c: Likewise.
5031 * sysdeps/x86_64/tst-audit10.c: Likewise.
5032 * sysdeps/x86_64/tst-audit3.c: Likewise.
5033 * sysdeps/x86_64/tst-audit4.c: Likewise.
5034 * sysdeps/x86_64/tst-audit5.c: Likewise.
5035 * time/tst-ftime_l.c: Likewise.
5036 * time/tst-getdate.c: Likewise.
5037 * time/tst-mktime3.c: Likewise.
5038 * time/tst-mktime.c: Likewise.
5039 * time/tst-posixtz.c: Likewise.
5040 * time/tst-strptime2.c: Likewise.
5041 * time/tst-strptime3.c: Likewise.
5042 * wcsmbs/tst-btowc.c: Likewise.
5043 * wcsmbs/tst-mbrtowc.c: Likewise.
5044 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5045 * wcsmbs/tst-wchar-h.c: Likewise.
5046 * wcsmbs/tst-wcpncpy.c: Likewise.
5047 * wcsmbs/tst-wcrtomb.c: Likewise.
5048 * wcsmbs/tst-wcsnlen.c: Likewise.
5049 * wcsmbs/tst-wcstof.c: Likewise.
5051 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5054 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5056 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5058 (_dl_mcount): Use rtld_hidden_proto.
5059 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5061 * elf/rtld.c (_rtld_global_ro): Likewise.
5064 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5065 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5066 of _dl_init_internal.
5067 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5068 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5069 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5070 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5071 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5072 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5073 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5074 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5075 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5076 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5077 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5078 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5079 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5080 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5081 * sysdeps/tile/dl-start.S (_start): Likewise.
5082 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5083 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5086 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5087 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5088 (rtld_progname): Make macro definition unconditional.
5089 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5091 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5092 (dl_main): Likewise.
5093 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5094 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5095 instead of _dl_argv_internal.
5096 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5097 __GI__dl_argv instead of INTUSE(_dl_argv).
5098 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5099 __GI__dl_argv instead of _dl_argv_internal.
5101 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5102 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5104 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5105 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5107 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5108 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5110 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5111 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5113 2014-11-04 Andreas Schwab <schwab@suse.de>
5115 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5117 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5119 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5120 mtvsrd instruction in binary form.
5122 2014-11-03 Andreas Schwab <schwab@suse.de>
5125 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5126 for less than MB_LEN_MAX use a local buffer of that size.
5127 * libio/tst-fputws.c: New file.
5128 * libio/Makefile (tests): Add tst-fputws.
5130 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5132 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5133 the size of the fpu_fr.fpu_dregs[] array.
5135 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5137 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5138 (__nanosleep): Do not define as alias.
5139 (nanosleep): Define as alias of __nanosleep.
5140 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5141 __libc_nanosleep name.
5143 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5145 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5146 install.texi in comment.
5148 2014-10-31 Torvald Riegel <triegel@redhat.com>
5150 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5151 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5152 ... add here and use lwsync or sync ...
5153 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5154 ... and add here using lwsync.
5156 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5158 * elf/dl-machine-reject-phdr.h: New file.
5159 * elf/dl-load.c: #include that.
5160 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5161 if that returned true.
5163 2014-10-31 Roland McGrath <roland@hack.frob.com>
5166 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5167 gen-as-const-headers chunk. Add a big scare comment after the last
5168 safe place to touch before-compile.
5170 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5172 * manual/install.texi (Tools for Compilation): Update autoconf
5173 version requirements.
5174 * INSTALL: Regenerated.
5176 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5177 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5178 (__libc_pselect): Likewise.
5181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5186 2014-10-31 Torvald Riegel <triegel@redhat.com>
5188 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5189 correct barrier instruction.
5190 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5192 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5195 2014-10-30 Roland McGrath <roland@hack.frob.com>
5197 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5198 after defining inlines. Instead, just use parens to defeat macro
5199 expansion of __isctype in its declaration.
5201 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5203 * include/sys/uio.h (__libc_readv): Remove declaration.
5204 (__libc_writev): Likewise.
5205 * misc/readv.c (__libc_readv): Rename to __readv.
5206 (__readv): Do not define as alias.
5207 (readv): Define as alias of __readv.
5208 * misc/writev.c (__libc_writev): Rename to __writev.
5209 (__writev): Do not define as alias.
5210 (writev): Define as alias of __writev.
5211 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5212 (__readv): Do not define as alias.
5213 (readv): Define unconditionally as alias of __readv.
5214 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5215 (__writev): Do not define as alias.
5216 (writev): Define unconditionally as alias of __writev.
5217 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5219 (writev): Do not define __libc_writev name.
5221 2014-10-30 Roland McGrath <roland@hack.frob.com>
5223 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5224 (convert_charseq): New function, broken out of ...
5225 (use_from_charmap): ... here. Call it.
5226 (use_to_charmap): Use convert_charseq and free instead of duplicating
5227 its code with a variable-length stack struct.
5229 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5231 * include/fcntl.h (__libc_creat): Remove declaration.
5232 * io/creat.c (__libc_creat): Rename to creat.
5233 (creat): Do not define as alias.
5234 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5235 of creat instead of __libc_creat.
5236 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5238 (creat): Do not define as alias.
5239 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5241 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5246 2014-10-29 Carlos O'Donell <carlos@redhat.com>
5248 * manual/llio.texi: Add comments discussing why write() may be
5249 considered MT-unsafe on Linux.
5251 2014-10-28 Carlos O'Donell <carlos@redhat.com>
5253 * dl-load.c (local_strdup): Remove.
5254 (expand_dynamic_string_token): Use __strdup.
5255 (decompose_rpath): Likewise.
5256 (_dl_map_object): Likewise.
5258 2014-10-28 Joseph Myers <joseph@codesourcery.com>
5261 * sysdeps/generic/unwind-dw2-fde.c
5262 (__register_frame_info_bases_internal): Do not declare.
5263 (__register_frame_info_table_bases_internal): Likewise.
5264 (__deregister_frame_info_bases_internal): Likewise.
5265 (__register_frame_info_bases): Declare and use hidden_proto before
5266 definition. Use hidden_def instead of INTDEF.
5267 (__register_frame_info_table_bases): Likewise.
5268 (__deregister_frame_info_bases): Likewise.
5269 (__register_frame_info): Do not use INTUSE.
5270 (__register_frame): Likewise.
5271 (__register_frame_info_table): Likewise.
5272 (__register_frame_table): Likewise.
5273 (__deregister_frame_info): Likewise.
5274 (__deregister_frame): Likewise.
5276 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5278 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5279 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5281 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5283 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5286 2014-10-27 Joseph Myers <joseph@codesourcery.com>
5289 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5290 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5291 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5292 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5293 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5294 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5295 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5296 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5297 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5298 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5299 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5300 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5301 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5303 (setfsuid): Likewise.
5304 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5305 (setfsuid): Likewise.
5306 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5307 (setfsuid): Likewise.
5308 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5310 (setfsuid): Likewise.
5311 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5312 (setfsuid): Likewise.
5313 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5315 (setfsuid): Likewise.
5317 2014-10-27 Andreas Schwab <schwab@suse.de>
5320 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5321 check for Slow_SSE4_2 feature bit.
5322 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5323 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5324 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5325 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5327 2014-10-24 Roland McGrath <roland@hack.frob.com>
5329 * configure.ac: Validate compiler version with a empirical test of
5330 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5332 * configure: Regenerated.
5334 * inet/htons.c (htons): Prototypify.
5335 * inet/htonl.c (htonl): Likewise.
5337 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5339 * string/strncat.c (strncat): Improve performance by using strlen.
5341 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5343 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5345 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5347 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5348 Call libc_fetestexcept_aarch64.
5350 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5352 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5353 Call libc_feholdexcept_aarch64.
5355 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5357 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5358 Call get_rounding_mode.
5360 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5362 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5365 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5367 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5370 2014-10-24 Joseph Myers <joseph@codesourcery.com>
5373 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5374 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5375 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5376 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5377 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5378 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5379 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5380 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5381 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5382 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5383 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5384 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5385 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5386 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5387 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5388 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5389 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5390 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5391 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5392 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5393 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5394 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5395 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5396 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5397 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5398 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5399 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5400 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5401 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5402 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5403 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5404 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5405 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5406 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5407 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5408 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5409 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5410 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5411 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5412 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5413 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5415 (geteuid): Likewise.
5418 (getresgid): Likewise.
5419 (getresuid): Likewise.
5420 (getgroups): Likewise.
5421 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5422 (geteuid): Likewise.
5425 (getresgid): Likewise.
5426 (getresuid): Likewise.
5427 (getgroups): Likewise.
5428 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5429 (geteuid): Likewise.
5432 (getresgid): Likewise.
5433 (getresuid): Likewise.
5434 (getgroups): Likewise.
5435 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5437 (geteuid): Likewise.
5440 (getresgid): Likewise.
5441 (getresuid): Likewise.
5442 (getgroups): Likewise.
5443 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5444 (geteuid): Likewise.
5447 (getresgid): Likewise.
5448 (getresuid): Likewise.
5449 (getgroups): Likewise.
5450 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5452 (geteuid): Likewise.
5455 (getgroups): Likewise.
5458 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5459 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5460 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5461 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5462 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5463 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5464 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5465 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5466 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5467 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5468 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5469 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5470 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5472 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5475 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5479 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5482 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5487 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5489 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5492 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5494 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5497 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5499 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5500 Remove unused include.
5502 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5504 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5505 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5506 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5507 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5509 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5510 Helge Deller <deller@gmx.de>
5513 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5514 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5515 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5517 2014-10-23 Joseph Myers <joseph@codesourcery.com>
5520 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5521 Remove macro definition.
5522 (__ashrdi3_v_glibc20): Likewise.
5523 (__lshrdi3_v_glibc20): Likewise.
5524 (__cmpdi2_v_glibc20): Likewise.
5525 (__ucmpdi2_v_glibc20): Likewise.
5526 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5527 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5528 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5529 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5530 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5531 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5533 2014-10-22 Roland McGrath <roland@hack.frob.com>
5535 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5536 old GNU extension [0] syntax.
5537 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5538 alloca rather than an array member with variable length.
5539 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5540 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5541 (parse_opt): ... here. Likewise use alloca there.
5542 Validate the -i argument before checking for rootness.
5543 (send_shutdown): New function, broken out of ...
5544 (parse_opt): ... here.
5546 2014-10-22 Roland McGrath <roland@hack.frob.com>
5548 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5549 macro to get at the _rt_local_ro field.
5550 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5551 ([PIC] case) or _dl_hwcap ([!PIC] case).
5552 * sysdeps/arm/setjmp.S: Likewise.
5554 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5555 * sysdeps/arm/configure.ac: New check to define it.
5556 * sysdeps/arm/configure: Regenerated.
5557 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5558 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5559 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5560 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5561 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5562 Use move/movt pair instead of a load.
5563 (LDST_GLOBAL): Macro removed.
5564 (LDR_GLOBAL): New macro replaces it.
5565 (LDR_HIDDEN): New macro.
5566 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5567 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5569 * setjmp/tst-setjmp-static.c: New file.
5570 * setjmp/Makefile (tests): Add it.
5571 (tests-static): New variable.
5573 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5576 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5578 2014-10-21 Joseph Myers <joseph@codesourcery.com>
5581 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5583 2014-10-21 Roland McGrath <roland@hack.frob.com>
5585 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5587 2014-10-20 Roland McGrath <roland@hack.frob.com>
5589 * io/fts.c (dirent_not_directory): New function.
5590 (fts_build): Call it.
5592 2014-10-20 Roland McGrath <roland@hack.frob.com>
5594 * nptl/version.c (__nptl_main): Use normal __write rather than
5596 (banner): Update copyright years.
5598 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5600 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5601 * nptl/pthread_cond_timedwait.c: Likewise.
5602 * nptl/pthread_mutex_timedlock.c: Likewise.
5603 * nptl/sem_timedwait.c: Likewise.
5605 * sysdeps/nptl/bits/libc-lock.h
5606 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5607 (__libc_lock_init_recursive): Return void, not 0.
5608 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5609 (__libc_rwlock_init): Likewise.
5610 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5612 2014-10-20 Torvald Riegel <triegel@redhat.com>
5615 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5616 (__pthread_once_slow): ... here.
5617 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5618 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5620 2014-10-20 Torvald Riegel <triegel@redhat.com>
5623 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5624 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5625 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5626 * nptl/pthread_once.c (__pthread_once): Likewise.
5629 2014-10-20 Joseph Myers <joseph@codesourcery.com>
5632 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5634 (writev): Use __libc_writev as strong name.
5635 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5636 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5638 2014-10-17 Roland McGrath <roland@hack.frob.com>
5640 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5642 * sysdeps/i386/nptl/tls.h
5643 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5644 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5646 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5647 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5648 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5649 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5650 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5651 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5653 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5654 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5656 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5658 (__pthread_mutex_init): ... here. Call it.
5659 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5660 Conditionalize PI cases on [__NR_futex].
5661 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5662 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5663 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5665 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5666 conditional on [SIGSETXID].
5667 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5668 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5669 is defined. Likewise for SIGSETXID.
5670 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5671 Conditionalize definitions on [SIGSETXID].
5672 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5673 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5674 unblocking on [SIGCANCEL].
5676 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5677 [__NR_set_robust_list].
5679 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5681 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5682 (do_compare): Likewise.
5684 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
5687 * string/strcoll_l.c: Don't include stdio.h.
5688 (coll_seq): Remove members idxarr and rulearr.
5689 (get_next_seq_cached): Remove function.
5690 (get_next_seq): Likewise.
5691 (get_next_seq_nocache): Rename to get_next_seq.
5692 (do_compare): Remove function.
5693 (do_compare_nocache): Rename to do_compare.
5694 (STRCOLL): Remove weight and rules cache.
5696 2014-10-16 Roland McGrath <roland@hack.frob.com>
5698 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5699 * sysdeps/arm/sfp-machine.h: ... to here.
5700 * sysdeps/arm/Implies: Remove arm/soft-fp.
5702 2014-10-14 Joseph Myers <joseph@codesourcery.com>
5704 * conform/data/sys/utsname.h-data (*_t): Allow.
5705 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5706 [POSIX] (WEXITED): Do not expect constant.
5707 [POSIX] (WSTOPPED): Likewise.
5708 [POSIX] (WNOHANG): Likewise.
5709 [POSIX] (WNOWAIT): Likewise.
5710 [POSIX] (siginfo_t): Do not expect type or elements.
5711 [POSIX] (pid_t): Do not expect type.
5712 [POSIX] (signal.h): Do not allow header.
5713 [POSIX] (sys/resource.h): Likewise.
5714 [POSIX] (si_*): Do not allow pattern.
5715 [POSIX] (W*): Likewise.
5716 [POSIX] (P_*): Likewise.
5717 [POSIX] (BUS_*): Likewise.
5718 [POSIX] (CLD_*): Likewise.
5719 [POSIX] (FPE_*): Likewise.
5720 [POSIX] (ILL_*): Likewise.
5721 [POSIX] (POLL_*): Likewise.
5722 [POSIX] (SEGV_*): Likewise.
5723 [POSIX] (SI_*): Likewise.
5724 [POSIX] (TRAP_*): Likewise.
5725 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5728 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5731 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5732 infinite loop when __recvmsg returns 0.
5734 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5736 * CANCEL-FCT-WAIVE: Remove file.
5737 * CANCEL-FILE-WAIVE: Likewise.
5740 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5741 instead of INTVARDEF.
5742 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5743 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5744 rtld_hidden_data_def instead of INTVARDEF.
5745 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5746 * elf/dl-deps.c (expand_dst): Likewise.
5747 * elf/dl-load.c (_dl_dst_count): Likewise.
5748 (_dl_dst_substitute): Likewise.
5749 (decompose_rpath): Likewise.
5750 (_dl_init_paths): Likewise.
5751 (open_path): Likewise.
5752 (_dl_map_object): Likewise.
5753 * elf/rtld.c (dl_main): Likewise.
5754 (process_dl_audit): Likewise.
5755 (process_envvars): Likewise.
5756 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5758 (__libc_enable_secure): Use rtld_hidden_proto.
5760 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5763 (add_path): New function broken out of _dl_rtld_di_serinfo.
5764 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5766 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5768 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5769 parentheses around macro arguments.
5770 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5771 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5772 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5773 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5774 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5775 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5776 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5777 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5778 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5779 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5780 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5781 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5782 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5783 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5784 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5785 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5786 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5787 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5788 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5789 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5790 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5791 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5792 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5793 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5794 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5795 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5796 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5797 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5798 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5799 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5800 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5801 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5802 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5803 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5804 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5805 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5807 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5808 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5809 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5810 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5811 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5812 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5813 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5814 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5815 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5816 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5817 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5818 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5819 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5820 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5821 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5822 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5823 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5824 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5825 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5826 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5827 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5828 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5829 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5830 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5831 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5832 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5833 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5834 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5835 (_FP_FRAC_SRS_1): Likewise.
5836 (_FP_FRAC_CLZ_1): Likewise.
5837 (_FP_MUL_MEAT_1_imm): Likewise.
5838 (_FP_MUL_MEAT_1_wide): Likewise.
5839 (_FP_MUL_MEAT_1_hard): Likewise.
5840 (_FP_SQRT_MEAT_1): Likewise.
5841 (_FP_FRAC_ASSEMBLE_1): Likewise.
5842 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5843 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5844 (__FP_CLZ_2): Likewise.
5845 (_FP_MUL_MEAT_2_wide): Likewise.
5846 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5847 (_FP_MUL_MEAT_2_gmp): Likewise.
5848 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5849 (_FP_SQRT_MEAT_2): Likewise.
5850 (_FP_FRAC_ASSEMBLE_2): Likewise.
5851 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5852 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5853 (_FP_FRAC_CLZ_4): Likewise.
5854 (_FP_MUL_MEAT_4_wide): Likewise.
5855 (_FP_MUL_MEAT_4_gmp): Likewise.
5856 (_FP_SQRT_MEAT_4): Likewise.
5857 (_FP_FRAC_ASSEMBLE_4): Likewise.
5858 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5859 * soft-fp/op-common.h (_FP_CMP): Likewise.
5860 (_FP_CMP_EQ): Likewise.
5861 (_FP_CMP_UNORD): Likewise.
5862 (_FP_TO_INT): Likewise.
5863 (_FP_FROM_INT): Likewise.
5864 [!__FP_CLZ] (__FP_CLZ): Likewise.
5865 (_FP_DIV_HELP_imm): Likewise.
5866 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5868 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5869 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5870 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5871 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5872 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5873 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5874 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5875 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5876 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5877 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5878 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5879 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5880 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5881 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5882 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5883 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5884 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5885 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5886 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5887 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5888 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5889 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5890 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5891 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5892 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5893 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5894 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5895 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5896 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5897 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5898 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5899 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5900 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5901 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5902 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5903 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5904 (FP_UNPACK_RAW_SP): Likewise.
5905 (FP_PACK_RAW_S): Likewise.
5906 (FP_PACK_RAW_SP): Likewise.
5907 (FP_UNPACK_S): Likewise.
5908 (FP_UNPACK_SP): Likewise.
5909 (FP_UNPACK_SEMIRAW_S): Likewise.
5910 (FP_UNPACK_SEMIRAW_SP): Likewise.
5911 (FP_PACK_S): Likewise.
5912 (FP_PACK_SP): Likewise.
5913 (FP_PACK_SEMIRAW_S): Likewise.
5914 (FP_PACK_SEMIRAW_SP): Likewise.
5915 (_FP_SQRT_MEAT_S): Likewise.
5916 (FP_CMP_S): Likewise.
5917 (FP_CMP_EQ_S): Likewise.
5918 (FP_CMP_UNORD_S): Likewise.
5919 (FP_TO_INT_S): Likewise.
5920 (FP_FROM_INT_S): Likewise.
5922 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5924 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5925 (FP_EX_INVALID_IMZ): Likewise.
5926 (FP_EX_INVALID_IMZ_FMA): Likewise.
5927 (FP_EX_INVALID_ISI): Likewise.
5928 (FP_EX_INVALID_ZDZ): Likewise.
5929 (FP_EX_INVALID_IDI): Likewise.
5930 (FP_EX_INVALID_SQRT): Likewise.
5931 (FP_EX_INVALID_CVI): Likewise.
5932 (FP_EX_INVALID_VC): Likewise.
5933 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5934 "invalid" exceptions.
5935 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5936 (_FP_ADD_INTERNAL): Likewise.
5937 (_FP_MUL): Likewise.
5938 (_FP_FMA): Likewise.
5939 (_FP_DIV): Likewise.
5940 (_FP_CMP_CHECK_NAN): Likewise.
5941 (_FP_SQRT): Likewise.
5942 (_FP_TO_INT): Likewise.
5943 (FP_EXTEND): Likewise.
5945 2014-10-09 Allan McRae <allan@archlinux.org>
5947 * po/fr.po: Update French translation from translation project.
5949 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5952 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5954 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5955 (__cxa_atexit): Use libc_hidden_proto.
5956 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5959 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5961 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5962 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5963 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5964 [!_ISOMAC] (__iswctype_internal): Likewise.
5965 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5966 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5968 (fcntl): Remove __fcntl_internal alias.
5969 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5970 __connect_internal alias.
5971 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5974 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5975 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5977 (_FP_CHECK_FLUSH_ZERO): New macro.
5978 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5979 (_FP_CMP): Likewise.
5980 (_FP_CMP_EQ): Likewise.
5981 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5983 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5984 (FP_TRUNC): Likewise.
5986 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5987 treated as invalid conversion, not as normal exponent.
5989 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5990 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5991 (_FP_CMP_EQ): Likewise.
5992 (_FP_CMP_UNORD): Likewise.
5993 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5994 (FP_CMP_EQ_D): Likewise.
5995 (FP_CMP_UNORD_D): Likewise.
5996 * soft-fp/extended.h (FP_CMP_E): Likewise.
5997 (FP_CMP_EQ_E): Likewise.
5998 (FP_CMP_UNORD_E): Likewise.
5999 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6000 (FP_CMP_EQ_Q): Likewise.
6001 (FP_CMP_UNORD_Q): Likewise.
6002 * soft-fp/single.h (FP_CMP_S): Likewise.
6003 (FP_CMP_EQ_S): Likewise.
6004 (FP_CMP_UNORD_S): Likewise.
6005 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6006 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6007 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6008 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6009 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6010 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6011 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6012 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6013 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6014 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6015 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6016 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6017 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6019 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6021 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6022 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6024 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6026 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6027 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6028 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6029 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6031 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6033 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6034 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6036 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6038 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6039 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6040 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6041 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6044 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6045 a subnormal result, set the underflow exception if trapping on
6046 underflow is enabled.
6047 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6048 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6049 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6051 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6052 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6053 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6054 * soft-fp/extendxftf2.c (__extendxftf2): Use
6055 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6057 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6058 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6059 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6060 FP_HANDLE_EXCEPTIONS.
6061 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6062 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6063 FP_HANDLE_EXCEPTIONS.
6064 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6065 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6066 FP_HANDLE_EXCEPTIONS.
6067 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6068 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6069 FP_HANDLE_EXCEPTIONS.
6071 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6074 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6075 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6077 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6078 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6080 (__adjtimex): Define using libc_hidden_ver.
6081 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6083 (ntp_gettime): Call __adjtimex directly.
6084 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6086 (ntp_gettimex): Call __adjtimex directly.
6087 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6088 __adjtimex_internal alias.
6090 2014-10-08 Roland McGrath <roland@hack.frob.com>
6093 * nscd/nscd.c (more_help): Rewrite list of tables collection
6094 using xstrdup and asprintf.
6096 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6098 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6099 Roland McGrath <roland@hack.frob.com>
6101 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6102 (do_lookup_unique): ... local function 'enter' here; update callers.
6104 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6106 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6107 compat_symbol calls on [SHARED].
6108 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6109 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6111 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6112 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6113 (oldsetrlimit): Remove.
6114 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6116 (lchown): New syscall entry.
6117 (oldsetrlimit): Remove.
6118 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6119 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6120 (oldsetrlimit): Remove.
6121 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6124 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6125 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6126 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6127 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6128 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6129 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6131 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6136 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6138 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6139 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6140 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6141 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6142 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6144 (__old_sem_post): Likewise.
6146 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6148 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6149 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6150 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6151 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6152 Use INLINE_VSYSCALL macro.
6153 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6154 __vdso_clock_gettime.
6155 * sysdeps/unix/sysv/linux/tile/init-first.c
6156 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6157 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6158 __vdso_clock_gettime.
6160 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6161 to set up frame more cleanly.
6163 * sysdeps/tile/memcmp.c: New file.
6165 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6167 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6168 * sysdeps/tile/tilegx/strcasestr.c: New file.
6169 * sysdeps/tile/tilegx/strnlen.c: New file.
6170 * sysdeps/tile/tilegx/strstr.c: New file.
6172 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6174 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
6176 * nptl/tst-setuid3.c: Write errors to stdout.
6178 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6181 (preload): New functions broken out of _dl_map_object_deps.
6182 (_dl_map_object_deps): Remove a nested function. Update call sites.
6184 2014-10-01 Joseph Myers <joseph@codesourcery.com>
6187 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6188 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6190 2014-10-01 Steve Ellcey <sellcey@mips.com>
6192 * sysdeps/mips/strcmp.S: New.
6194 2014-09-30 Joseph Myers <joseph@codesourcery.com>
6197 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6199 (mkdirat): Likewise.
6200 (readlinkat): Likewise.
6201 (renameat): Likewise.
6202 (symlinkat): Likewise.
6203 (unlinkat): Likewise.
6204 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6205 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6206 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6207 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6208 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6209 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6210 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6212 2014-09-30 Will Newton <will.newton@linaro.org>
6214 * math/math.h: Define long double math functions if
6215 _LIBC_TEST is defined.
6216 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6218 * localedata/Makefile: Move assignment to tests-special
6219 into an ifdef testing run-built-tests.
6220 * timezone/Makefile: Likewise.
6222 2014-09-29 Joseph Myers <joseph@codesourcery.com>
6224 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6225 with $(BASH) not $(SHELL).
6227 2014-09-29 Carlos O'Donell <carlos@redhat.com>
6228 Matthew LeGendre <legendre1@llnl.gov>
6231 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6234 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6236 * stdio-common/printf_fp.c
6237 (hack_digit): New function, broken out of ...
6238 (__printf_fp): ... local function here. Update call sites.
6239 hack_digit now takes an additional parameter that is a pointer
6240 to a struct of the referenced locals. Those locals moved inside
6241 the struct and references updated.
6243 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6245 * aclocal.m4: Require autoconf 2.69.
6246 * configure: Regenerated.
6247 * sysdeps/aarch64/configure: Likewise.
6248 * sysdeps/alpha/configure: Likewise.
6249 * sysdeps/arm/armv7/configure: Likewise.
6250 * sysdeps/arm/configure: Likewise.
6251 * sysdeps/ia64/configure: Likewise.
6252 * sysdeps/mach/configure: Likewise.
6253 * sysdeps/mips/configure: Likewise.
6254 * sysdeps/s390/configure: Likewise.
6255 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6258 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6260 * sysdeps/ia64/configure.ac: Likewise.
6262 2014-09-26 Joseph Myers <joseph@codesourcery.com>
6264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6265 specify symbol version for ld.so. Do not include entry for
6267 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6268 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6269 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6272 * Makeconfig [$(build-shared) = yes]
6273 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6275 [$(build-shared) = yes && $(soversions.mk-done) = t]
6276 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6277 [$(build-shared) = yes && $(soversions.mk-done) = t]
6278 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6280 [$(build-shared) = yes && $(soversions.mk-done) = t]
6281 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6283 [$(build-shared) = yes && $(soversions.mk-done) = t]
6284 (common-generated): Don't append gnu/lib-names.h and
6285 gnu/lib-names.stmp here.
6286 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6287 (lib-names-h-abi): New variable.
6288 [$(build-shared) = yes && $(soversions.mk-done) = t]
6289 (lib-names-stmp-abi): Likewise.
6290 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6291 abi-variants] (before-compile): Append
6292 $(common-objpfx)$(lib-names-h-abi).
6293 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6294 abi-variants] (common-generated): Append gnu/lib-names.h.
6295 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6296 abi-variants] (install-others-nosubdir): Depend on
6297 $(inst_includedir)/$(lib-names-h-abi).
6298 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6299 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6300 [$(build-shared) = yes && $(soversions.mk-done) = t]
6301 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6302 [$(build-shared) = yes && $(soversions.mk-done) = t]
6303 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6304 [$(build-shared) = yes && $(soversions.mk-done) = t]
6305 (common-generated): Append $(lib-names-h-abi) and
6306 $(lib-names-stmp-abi).
6307 * scripts/lib-names.awk: Do not handle multi being set.
6308 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6310 (abi-lp64_be-ld-soname): Likewise.
6311 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6313 (abi-hard-ld-soname): Likewise.
6314 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6315 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6317 (abi-o32_hard-ld-soname): Likewise.
6318 (abi-o32_soft_2008-ld-soname): Likewise.
6319 (abi-o32_hard_2008-ld-soname): Likewise.
6320 (abi-n32_soft-ld-soname): Likewise.
6321 (abi-n32_hard-ld-soname): Likewise.
6322 (abi-n32_soft_2008-ld-soname): Likewise.
6323 (abi-n32_hard_2008-ld-soname): Likewise.
6324 (abi-n64_soft-ld-soname): Likewise.
6325 (abi-n64_hard-ld-soname): Likewise.
6326 (abi-n64_soft_2008-ld-soname): Likewise.
6327 (abi-n64_hard_2008-ld-soname): Likewise.
6328 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6330 (abi-64-v2-ld-soname): Likewise.
6331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6333 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6335 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6337 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6339 (abi-64-ld-soname): Likewise.
6340 (abi-x32-ld-soname): Likewise.
6341 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6343 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6345 2014-09-23 Joseph Myers <joseph@codesourcery.com>
6348 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6349 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6350 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6351 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6352 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6353 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6354 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6355 syscall entry for GLIBC_2.2 symbol version.
6356 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6359 (setrlimit): Likewise.
6360 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6363 2014-09-23 Will Newton <will.newton@linaro.org>
6365 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6366 _LINUX_ARM_SYSDEP_H include guard too.
6367 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6370 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6372 * sysdeps/unix/sysv/linux/eventfd.c:
6373 Make first argument unsigned.
6374 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6375 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6377 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
6379 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6380 * socket/sys/socket.h: Likewise
6381 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6383 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6385 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6387 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
6389 * time/tst-ftime.c: New test.
6390 * time/Makefile (tests): Add tst-ftime.
6392 2014-09-17 Joseph Myers <joseph@codesourcery.com>
6394 * soft-fp/extended.h: Fix comment formatting.
6395 * soft-fp/op-1.h: Likewise.
6396 * soft-fp/op-2.h: Likewise.
6397 * soft-fp/op-4.h: Likewise.
6398 * soft-fp/op-8.h: Likewise.
6399 * soft-fp/op-common.h: Likewise.
6400 * soft-fp/soft-fp.h: Likewise.
6402 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6404 2014-09-16 Joseph Myers <joseph@codesourcery.com>
6407 * Makeconfig (soversions-default-setname): Remove variable.
6408 ($(common-objpfx)soversions.i): Don't pass default_setname to
6410 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6411 oldest_abi to abi-versions.awk.
6412 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6413 * config.make.in (oldest-abi): Remove variable.
6414 * configure.ac (--enable-oldest-abi): Remove configure option.
6415 * configure: Regenerated.
6416 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6418 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6419 * scripts/soversions.awk: Do not handle default_setname variable.
6420 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6422 * sysdeps/mach/hurd/configure: Regenerated.
6423 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6425 * sysdeps/unix/sysv/linux/configure: Regenerated.
6427 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6429 * elf/Makefile (CFLAGS-interp.c): Remove.
6430 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6432 * elf/interp.c: Include generated runtime-linker.h
6434 * Makerules (lib%.so): Don't include $(+interp) in
6436 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6437 * dlfcn/eval.c: Remove file.
6439 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6443 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6447 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6449 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6450 Jakub Jelinek <jakub@redhat.com>
6453 * libio/stdio.h: Check definition of __fortify_function
6454 instead of __extern_always_inline to include bits/stdio2.h.
6455 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6456 check if __extern_always_inline is defined.
6457 [__USE_MISC || __USE_XOPEN]: Likewise.
6458 [__USE_ISOC99] Likewise.
6459 * misc/sys/cdefs.h (__fortify_function): Define only if
6460 __extern_always_inline is defined.
6461 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6462 __extern_always_inline and __extern_inline only for g++-4.3
6463 and newer or a compatible gcc.
6465 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6468 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6469 last change to handle zero prefix length.
6471 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6473 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6476 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6479 2014-09-13 Allan McRae <allan@archlinux.org>
6481 * po/ru.po: Update Russian translation from translation project.
6483 2014-09-12 Roland McGrath <roland@hack.frob.com>
6485 * locale/programs/locale.c (show_locale_vars): Inline local function
6486 into its sole call site. Clean up some style nits.
6487 (print_item): New function, broken out of ...
6488 (show_info): ... local function here. Clean up style nits.
6490 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6492 (set_class_defaults): ... local function set_default here.
6493 Define set_default as a macro locally to pass constant parameters.
6494 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6495 rather than a shared local.
6497 * stdlib/rpmatch.c (try): New function, broken out of ...
6498 (rpmatch): ... local function here. Also, prototypify definition.
6500 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6502 * scripts/soversions.awk: Do not handle configuration names.
6503 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6504 vendor and os variables to soversions.awk.
6505 * configure.ac: Do not modify gnu-* host_os.
6506 * configure: Regenerated
6507 * shlib-versions: Remove first column with configuration names.
6508 * nptl/shlib-versions: Likewise.
6509 * nptl_db/shlib-versions: Likewise.
6510 * sysdeps/hppa/shlib-versions: Likewise.
6511 * sysdeps/m68k/shlib-versions: Likewise.
6512 * sysdeps/mach/hurd/shlib-versions: Likewise.
6513 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6514 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6515 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6516 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6517 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6518 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6519 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6520 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6523 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6524 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6525 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6526 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6527 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6528 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6529 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6530 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6533 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6536 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6538 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6540 * shlib-versions: Remove OS-specific entries. Moved to files in
6542 * sysdeps/mach/hurd/shlib-versions: New file.
6543 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6545 * nptl/shlib-versions: Remove architecture-specific entries.
6546 Moved to files in sysdeps.
6547 * shlib-versions: Likewise.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6550 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6551 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6552 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6553 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6555 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6556 (UDP_NO_CHECK6_RX): Likewise.
6558 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6560 * sysdeps/posix/sysconf.c (__sysconf): Spell
6561 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6563 2014-08-12 Florian Weimer <fweimer@redhat.com>
6565 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6567 * iconv/Versions (__gconv_transliterate): Export for use from
6569 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6570 (struct __gconv_trans_data, __gconv_trans_fct,
6571 __gconv_trans_context_fct, __gconv_trans_query_fct,
6572 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6574 (struct __gconv_step_data): Remove __trans member.
6575 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6576 longer hidden. Remove unused trans_data argument.
6577 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6578 (__gconv_translit_find): Remove declaration.
6579 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6581 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6582 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6583 trans_data argument. Add hidden definition.
6584 (__gconv_translit_find): Remove.
6585 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6586 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6587 * iconv/skeleton.c: Remove transliteration initialization.
6588 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6589 __gconv_step_data initialization.
6590 * libio/iofwide.c (__libio_translit_): Remove.
6591 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6592 * wcsmbs/btowc.c (__btowc): Likewise.
6593 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6594 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6595 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6596 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6597 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6598 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6599 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6600 * wcsmbs/wctob.c (wctob): Likewise.
6602 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6605 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6606 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6608 * sysdeps/x86/Makefile: Adjust.
6610 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6611 Roland McGrath <roland@hack.frob.com>
6613 * locale/weight.h: Add include guard.
6614 (findidx): Make static rather than auto; take new parameters
6615 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6616 * locale/weightwc.h: Likewise.
6617 * posix/fnmatch_loop.c
6618 (FCT): Change type of EXTRA from int32_t to wint_t.
6619 Don't include either header inside the function.
6620 Call FINDIDX rather than findidx, and pass new arguments.
6621 #undef FINDIDX at the end of the file.
6622 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6623 FINDIDX before including fnmatch_loop.c for the non-wide version.
6624 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6625 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6626 for the wide version.
6627 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6628 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6629 Pass new arguments to findidx.
6630 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6631 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6632 Don't #include it inside the function. Pass new arguments to findidx.
6633 * posix/regex_internal.h
6634 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6635 (re_string_elem_size_at): Don't #include it inside the function.
6636 Pass new arguments to findidx.
6637 * string/strcoll_l.c: #include WEIGHT_H at top level.
6638 (get_next_seq): Don't #include it inside the function.
6639 Pass new arguments to findidx.
6640 (get_next_seq_nocache): Likewise.
6641 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6642 (STRXFRM): Don't #include it inside the function.
6643 Pass new arguments to findidx.
6645 2014-09-11 Florian Weimer <fweimer@redhat.com>
6648 * malloc/malloc.c (unlink): Turn asserts into a call to
6651 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
6654 * libio/wfileops (do_ftell_wide): Free OUT.
6656 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6658 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6660 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6663 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6664 group if the current group is empty.
6666 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6668 * benchtests/bench-memset.c (test_main): Add more test from size
6669 from 32 to 512 bytes.
6670 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6671 Add POWER8 memset object.
6672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6673 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6674 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6676 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6678 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6679 multiarch POWER8 memset optimization.
6680 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6681 POWER8 memset optimization.
6683 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6684 Remove bzero multiarch objects.
6685 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6686 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6687 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6688 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6690 [__bzero]: Redefine to specific name.
6691 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6692 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6693 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6695 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6696 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6698 2014-09-10 Florian Weimer <fweimer@redhat.com>
6700 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6701 warnings into errors.
6703 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6704 __cxa_thread_atexit_impl prototype.
6706 2014-09-09 Steve Ellcey <sellcey@mips.com>
6708 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6709 Fix capitalization of error message.
6711 2014-09-09 Steve Ellcey <sellcey@mips.com>
6713 * sysdeps/mips/preconfigure: Modify ABI tests.
6715 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6717 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6719 2014-09-07 Roland McGrath <roland@hack.frob.com>
6720 Carlos O'Donell <carlos@systemhalted.org>
6722 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6723 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6724 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6725 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6726 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6727 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6728 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6729 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6730 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6731 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6732 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6733 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6734 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6735 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6736 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6737 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6738 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6739 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6740 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6741 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6742 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6743 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6744 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6745 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6746 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6747 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6748 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6749 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6750 Deconditionalize the code that was previously under [RESET_PID].
6751 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6752 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6753 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6754 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6757 2014-09-08 Allan McRae <allan@archlinux.org>
6759 * version.h (RELEASE): Set to "development".
6760 (VERSION): Set to "2.20.90"
6762 2014-09-07 Allan McRae <allan@archlinux.org
6764 * version.h (RELEASE): Set to "stable".
6765 (VERSION): Set to "2.20"
6766 * include/features.h (__GLIBC_MINOR__): Set to 20.
6768 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6771 * po/ko.po: Update Korean translation from translation project.
6773 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6776 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6777 macro for handling signed relocations.
6779 2014-09-03 Florian Weimer <fweimer@redhat.com>
6782 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6783 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6785 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6786 * iconvdata/ibm935.c (BODY): Likewise.
6787 * iconvdata/ibm937.c (BODY): Likewise.
6788 * iconvdata/ibm939.c (BODY): Likewise.
6789 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6791 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6793 * iconvdata/run-iconv-test.sh: New test loop for checking for
6796 2014-09-02 Khem Raj <raj.khem@gmail.com>
6798 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6801 2014-09-01 Allan McRae <allan@archlinux.org>
6803 * po/eo.po: Update Esperanto translation from translation project.
6805 * po/ca.po: Update Catalan translation from translation project.
6807 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6809 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6812 2014-08-27 Mark Wielaard <mjw@redhat.com>
6815 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6816 to call set_thread_area instead of hand written asm.
6817 (__NR_set_thread_area): Removed define.
6818 (TLS_FLAG_WRITABLE): Likewise.
6819 (__ASSUME_SET_THREAD_AREA): Remove check.
6820 (TLS_EBX_ARG): Remove define.
6821 (TLS_LOAD_EBX): Likewise.
6823 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6825 Simplify atomicity of socket creation in bind.
6827 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6828 looking up the name after linking the file.
6830 2014-08-27 Allan McRae <allan@archlinux.org>
6832 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6834 2014-08-26 Florian Weimer <fweimer@redhat.com>
6837 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6838 trans_compare, open_translit, __gconv_translit_find):
6839 Remove module loading code.
6841 2014-08-26 Allan McRae <allan@archlinux.org>
6843 * po/vi.po: Update Vietnamese translation from translation project.
6845 * po/uk.po: Update Ukrainian translation from translation project.
6847 * po/fr.po: Update French translation from translation project.
6849 * po/ru.po: Update Russian translation from translation project.
6851 * po/pl.po: Update Polish translation from translation project.
6853 * po/cs.po: Update Czech translation from translation project.
6855 * po/de.po: Update German translation from translation project.
6857 * po/bg.po: Update Bulgarian translation from translation project.
6859 * po/sv.po: Update Sweedish translation from translation project.
6861 * po/nl.po: Update Dutch translation from translation project.
6863 * po/es.po: Update Spanish translation from translation project.
6865 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6867 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6869 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6870 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6871 (CPPFLAGS-iconvconfig): Likewise.
6872 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6874 * include/libc-symbols.h: Remove unnecessary check for
6876 * nptl/pthreadP.h: Likewise.
6877 * sysdeps/aarch64/setjmp.S: Likewise.
6878 * sysdeps/alpha/setjmp.S: Likewise.
6879 * sysdeps/arm/sysdep.h: Likewise.
6880 * sysdeps/i386/setjmp.S: Likewise.
6881 * sysdeps/m68k/setjmp.c: Likewise.
6882 * sysdeps/posix/getcwd.c: Likewise.
6883 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6884 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6885 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6886 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6887 * sysdeps/sh/sh3/setjmp.S: Likewise.
6888 * sysdeps/sh/sh4/setjmp.S: Likewise.
6889 * sysdeps/unix/alpha/sysdep.h: Likewise.
6890 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6891 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6892 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6893 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6896 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6898 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6901 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6903 * sysdeps/x86_64/setjmp.S: Likewise.
6905 2014-08-13 Joseph Myers <joseph@codesourcery.com>
6908 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6910 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6911 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6913 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6915 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6918 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6919 and __x86_64__ when disabling x87 inline functions.
6921 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6924 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6925 asm statement with __cpuid_count.
6927 2014-08-12 Mike Frysinger <vapier@gentoo.org>
6929 * configure.ac: Change __ehdr_start code to dereference the struct.
6930 Run readelf on the output to look for relocations.
6931 * configure: Regenerated.
6933 2014-08-12 Joseph Myers <joseph@codesourcery.com>
6936 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6938 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6940 2014-08-12 Roland McGrath <roland@hack.frob.com>
6942 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6944 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6947 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6948 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6950 2014-08-12 Sean Anderson <seanga2@gmail.com>
6952 * malloc/malloc.c: Fix typo in comment.
6954 2014-08-09 Allan McRae <allan@archlinux.org>
6956 * Regenerate libc.po.
6958 2014-08-08 Mike Frysinger <vapier@gentoo.org>
6960 * intl/tst-gettext2.sh: Check every lang file for creation.
6962 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6964 * sysdeps/aarch64/fpu/math_private.h
6965 (libc_feholdsetround_noex_aarch64_ctx): New function.
6967 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6969 * sysdeps/arm/armv6/strcpy.S (strcpy):
6970 Fix performance issue in misaligned cases.
6972 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6974 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6975 Move definition from termios.h.
6976 (struct termio): Likewise.
6977 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6978 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6979 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6980 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6982 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6983 Move definition to ioctl-types.h
6984 (struct termio): Likewise.
6985 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6986 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6987 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6988 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6991 2014-08-05 Richard Henderson <rth@redhat.com>
6993 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6995 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6997 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6998 Use __feraiseexcept.
6999 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7000 Protect libm symbols with IS_IN_libm.
7002 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7004 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7006 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7008 2014-08-04 Will Newton <will.newton@linaro.org>
7010 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7013 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7015 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7016 variants for each function.
7018 2014-08-04 Roland McGrath <roland@hack.frob.com>
7020 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7022 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7023 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7025 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7026 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7027 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7028 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7029 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7030 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7031 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7032 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7033 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7034 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7035 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7036 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7037 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7038 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7039 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7040 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7041 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7042 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7043 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7044 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7045 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7046 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7047 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7048 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7049 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7050 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7051 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7052 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7053 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7054 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7055 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7056 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7057 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7058 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7059 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7060 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7061 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7062 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7063 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7064 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7065 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7066 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7067 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7068 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7069 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7070 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7071 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7072 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7073 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7074 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7075 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7076 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7077 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7079 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7080 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7082 2014-08-04 Roland McGrath <roland@hack.frob.com>
7084 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7085 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7086 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7087 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7088 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7089 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7091 2014-08-04 Roland McGrath <roland@hack.frob.com>
7093 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7094 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7095 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7096 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7098 2014-08-04 Roland McGrath <roland@hack.frob.com>
7100 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7101 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7102 (__libc_vfork): Define function under this name.
7103 (__vfork): Define as an alias.
7104 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7105 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7107 2014-08-04 Roland McGrath <roland@hack.frob.com>
7109 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7110 that was previously under [RESET_PID].
7111 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7113 2014-08-04 Andreas Schwab <schwab@suse.de>
7115 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7117 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7119 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7122 2014-08-01 Roland McGrath <roland@hack.frob.com>
7124 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7126 2014-08-01 Richard Henderon <rth@redhat.com>
7128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7129 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7130 typo in exact zero test.
7131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7132 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7135 2014-08-01 Roland McGrath <roland@hack.frob.com>
7137 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7138 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7139 * sysdeps/arm/sysdep.h: ... here.
7140 [!__ASSEMBLER__]: Include <stdint.h>.
7142 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7144 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7145 (HAVE_WCTYPE_H): Likewise.
7146 (HAVE_ISWCTYPE): Likewise.
7147 (ENABLE_NLS): Likewise.
7148 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7149 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7151 * posix/regex_internal.c: Check if DEBUG is defined and is
7154 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7155 (HAVE_MBSRTOWCS): Likewise.
7156 * posix/fnmatch.c: Include string.h unconditionally.
7158 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7160 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7163 2014-07-31 Roland McGrath <roland@hack.frob.com>
7165 * sysdeps/generic/safe-fatal.h: New file.
7166 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7167 * nptl/forward.c: Include it.
7168 (__pthread_unwind): Use __safe_fatal as default action, rather
7169 than a bogus use of INTERNAL_SYSCALL that could never work.
7171 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7172 * configure.ac (libc_cv_builtin_trap): New test.
7173 * configure: Regenerated.
7174 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7175 (ABORT_INSTRUCTION): Define using __builtin_trap.
7177 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7178 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7179 * sysdeps/nptl/nptl-signals.h: New file.
7180 * nptl/pthreadP.h: Include <nptl-signals.h>.
7182 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7184 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7185 (ONE_DIRECTION): Define.
7186 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7187 (ONE_DIRECTION): Define.
7188 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7189 (ONE_DIRECTION): Define.
7191 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7193 * sysdeps/s390/Makefile: Delete file.
7194 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7195 * sysdeps/s390/__longjmp.c: Delete file.
7196 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7197 Remove fields __flags and __reserved.
7198 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7200 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7201 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7202 * sysdeps/s390/rtld-setjmp.S: Likewise.
7203 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7204 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7205 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7206 * sysdeps/s390/s390-32/setjmp.S: ... here.
7208 (__sigsetjmp): Remove setting __flags field.
7209 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7210 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7211 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7212 * sysdeps/s390/s390-64/setjmp.S: ... here.
7214 (__sigsetjmp): Remove setting __flags field.
7215 * sysdeps/s390/setjmp.S: Delete file.
7216 * sysdeps/s390/sigjmp.c: Likewise.
7217 * sysdeps/s390/v1-longjmp.c: Likewise.
7218 * sysdeps/s390/v1-setjmp.h: Likewise.
7219 * sysdeps/s390/v1-sigjmp.c: Likewise.
7220 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7221 Remove v1-longjmp_chk.
7222 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7223 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7224 Include debug/longjmp_chk.c and add versioning.
7225 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7226 Include nptl/pt-longjmp.c and add versioning.
7227 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7228 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7229 Include __longjmp.c.
7230 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7232 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7233 (__getcontext): Remove setting __flags field.
7235 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7236 Don't restore upper high grps.
7237 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7239 (__swapcontext): Remove setting uc_flags field.
7240 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7242 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7243 Include __longjmp.c.
7244 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7246 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7247 (__getcontext): Remove setting __flags field.
7249 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7250 (__swapcontext): Remove setting uc_flags field.
7251 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7252 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7253 Remove fields uc_high_gprs and __reserved.
7254 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7255 New file with reverted content.
7256 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7257 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7259 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7262 2014-07-31 Andreas Schwab <schwab@suse.de>
7264 * config.h.in (HAVE_IFUNC): Define to 0.
7265 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7268 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7271 memmove-avx-unaligned, memcpy-avx-unaligned and
7272 mempcpy-avx-unaligned.
7273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7274 Add tests for AVX memcpy functions.
7275 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7276 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7278 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7279 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7281 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7282 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7284 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7285 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7286 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7288 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7291 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7294 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
7297 * manual/llio.texi: Add section about open file description locks.
7298 * manual/examples/ofdlocks.c: Example of open file description
7300 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7301 F_OFD_SETLK, and F_OFD_SETLKW.
7303 2014-07-23 Allan McRae <allan@archlinux.org>
7305 * po/es.po: Update Spanish translation from translation project.
7307 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7309 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7311 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7314 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7315 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7316 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7318 2014-07-17 Joseph Myers <joseph@codesourcery.com>
7321 * math/fesetenv.c (__fesetenv)
7322 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7323 * math/feupdateenv.c (__feupdateenv)
7324 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7326 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7327 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7328 (__ASSUME_SOCKETCALL): Do not define.
7330 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7331 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7332 (__ASSUME_SOCKETCALL): Do not define.
7333 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7334 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7335 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7336 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7337 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7338 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7339 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7340 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7342 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7343 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7344 (__ASSUME_SOCKETCALL): Do not define.
7345 (__ASSUME_IPC64): Define unconditionally.
7346 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7347 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7348 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7349 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7350 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7351 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7352 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7355 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7356 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7357 (__ASSUME_SOCKETCALL): Do not define.
7358 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7359 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7360 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7361 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7362 (__ASSUME_REQUEUE_PI): Define unconditionally.
7363 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7364 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7365 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7366 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7367 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7368 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7370 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7371 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7372 (__ASSUME_SOCKETCALL): Do not define.
7373 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7374 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7375 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7376 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7377 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7378 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7380 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7381 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7382 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7383 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7384 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7385 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7386 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7387 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7388 (__ASSUME_GETCPU_SYSCALL): Likewise.
7390 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7391 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7392 cases for individual architectures.
7393 * sysdeps/gnu/configure: Regenerated.
7394 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7395 LIBC_SLIBDIR_RTLDDIR.
7396 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7397 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7398 LIBC_SLIBDIR_RTLDDIR.
7399 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7401 LIBC_SLIBDIR_RTLDDIR.
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7404 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7405 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7407 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7408 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7410 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7411 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7412 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7413 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7415 * sysdeps/aarch64/shlib-versions: Move to ...
7416 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7417 * sysdeps/alpha/shlib-versions: Move to ...
7418 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7419 * sysdeps/arm/shlib-versions: Move to ...
7420 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7421 * sysdeps/hppa/shlib-versions: Move all contents except for
7422 libgcc_s entry to ...
7423 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7425 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7426 * sysdeps/ia64/shlib-versions: Move to ...
7427 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7429 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7430 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7431 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7432 * sysdeps/microblaze/shlib-versions: Move to ...
7433 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7434 * sysdeps/mips/shlib-versions: Move to ...
7435 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7437 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7438 * sysdeps/tile/shlib-versions: Move to ...
7439 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7440 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7442 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7443 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7445 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7447 2014-07-17 Will Newton <will.newton@linaro.org>
7449 * sysdeps/arm/bits/atomic.h
7450 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7451 (__arch_compare_and_exchange_bool_16_int): Likewise.
7452 (__arch_compare_and_exchange_bool_64_int): Likewise.
7454 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7455 into an #else block.
7457 2014-07-16 Roland McGrath <roland@hack.frob.com>
7459 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7460 just Linux configurations. Test empirically that the compiler sets
7461 __ARM_EABI__, rather than using the tuple to decide.
7462 * sysdeps/arm/preconfigure: Regenerated.
7463 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7464 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7465 contents appended ...
7466 * sysdeps/arm/configure.ac: ... here.
7467 * sysdeps/arm/configure: Regenerated.
7469 2014-07-15 Roland McGrath <roland@hack.frob.com>
7471 * nptl/pthread_kill.c: New file.
7472 * nptl/pthread_sigmask.c: New file.
7473 * nptl/pthread_sigqueue.c: New file.
7475 * sysdeps/nptl/lowlevellock.h: New file.
7476 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7477 * sysdeps/nptl/lowlevellock-futex.h: New file.
7479 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7480 Remove dead declarations.
7482 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7484 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7485 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7487 * sysdeps/x86_64/configure.ac: Likewise.
7488 * sysdeps/i386/configure: Regenerated.
7489 * sysdeps/x86_64/configure: Likewise.
7490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7491 memset-avx2 only if config-cflags-avx2 is yes.
7492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7493 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7495 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7496 only if HAVE_AVX2_SUPPORT is defined.
7497 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7499 2014-07-14 Alan Modra <amodra@gmail.com>
7502 * elf/elf.h (DT_PPC64_NUM): Correct value.
7503 * NEWS: Add to fixed bug list.
7505 2014-07-13 Jim Meyering <meyering@fb.com>
7508 regex: don't deref NULL upon heap allocation failure
7509 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7510 failure in one more place.
7511 To trigger the segfault, configure grep -with-included-regex,
7512 build it, and run these commands:
7513 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7515 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7517 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7519 2014-07-11 Richard Henderson <rth@redhat.com>
7521 * sysdeps/aarch64/libm-test-ulps: Update.
7523 2014-07-10 Florian Weimer <fweimer@redhat.com>
7526 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7527 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7528 (__nptl_setxid): Initialize error member. Call
7529 __nptl_setxid_error.
7530 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7531 * nptl/descr.h (struct xid_command): Add error member.
7532 * nptl/tst-setuid3.c: New file.
7533 * nptl/Makefile (tests): Add it.
7535 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7537 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7539 (__lll_trylock): Use __lll_base_trylock.
7540 (__lll_cond_trylock): Likewise.
7542 2014-07-10 Roland McGrath <roland@hack.frob.com>
7544 * nptl/pthread_create.c (start_thread): Use atomic_or and
7545 lll_futex_wake directly rather than lll_robust_dead.
7546 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7547 (lll_robust_dead): Macro removed.
7548 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7549 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7550 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7551 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7552 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7553 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7554 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7555 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7556 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7557 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7558 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7559 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7560 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7561 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7562 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7564 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7565 Use atomic_compare_and_exchange_val_acq directly rather than
7567 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7568 (__lll_robust_trylock, lll_robust_trylock): Removed.
7569 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7570 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7571 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7572 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7573 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7574 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7575 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7576 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7577 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7578 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7579 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7580 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7581 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7582 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7584 2014-07-02 Florian Weimer <fweimer@redhat.com>
7586 * manual/locale.texi (Locale Names): New section documenting
7587 locale name syntax. Adjust menu and node chaining accordingly.
7588 (Choosing Locale): Reference Locale Names, Locale Categories.
7589 Mention setting LC_ALL=C. Reflect that name syntax is now
7591 (Locale Categories): New section title. Reference Locale Names.
7592 LC_ALL is an environment variable, but not a category.
7593 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7594 description, now in Locale Name. Reference that section. Locale
7595 name syntax is now documented.
7597 2014-07-02 Florian Weimer <fweimer@redhat.com>
7600 * locale/findlocale.c (name_present, valid_locale_name): New
7602 (_nl_find_locale): Use the loc_name variable to store name
7603 candidates. Call name_present and valid_locale_name to check and
7604 validate locale names. Return an error if the locale is invalid.
7606 2014-07-02 Florian Weimer <fweimer@redhat.com>
7608 * locale/setlocale.c (setlocale): Use strdup for allocating
7609 composite name copy.
7611 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7613 Sync up with gnulib.
7614 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7615 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7616 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7617 and _GL_ARG_NONNULL.
7618 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7619 [!_LIBC]: Include code for Windows and Cygwin.
7620 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7621 Include prototype for int strerror_r.
7622 [!_LIBC] (is_open): New function.
7623 (flush_stdout): New function.
7624 (print_errno_message): Use it.
7626 (error_at_line): Likewise.
7627 (error_tail) Add function attribute macros. Use
7630 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7632 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7634 * io/ftw.c: Include sys/param.h unconditionally.
7636 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7639 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7641 (freecache): New function to free CACHE on exit.
7643 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7646 2014-07-09 David S. Miller <davem@davemloft.net>
7648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7650 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7651 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7652 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7653 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7654 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7655 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7656 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7657 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7658 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7659 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7660 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7661 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7662 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7664 2014-07-09 Andreas Schwab <schwab@suse.de>
7666 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7668 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7669 (do_test): Likewise.
7671 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7673 2014-07-09 Will Newton <will.newton@linaro.org>
7675 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7676 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7677 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7678 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7679 * sysdeps/hppa/start.S (_start): Likewise.
7681 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7683 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7685 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7688 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7690 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7691 after checking that it is non-NULL.
7693 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7695 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7697 * sysdeps/powerpc/memmove.c: Remove file.
7698 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7699 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7700 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7701 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7702 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7703 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7704 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7705 string memmove instead of removed powerpc one.
7707 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7708 [weak_alias]: Fix compiler warning due trailing data.
7709 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7710 [weak_alias]: Likewise.
7711 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7712 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7715 (__libc_ifunc_impl_list): Add memmove functions.
7717 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7719 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7721 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7723 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7725 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7727 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7729 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7731 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7733 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7735 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7737 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7739 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7741 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7743 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7745 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7747 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7749 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7751 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7754 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7756 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7757 to avoid alignment traps in non-cacheable memory.
7758 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7762 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7763 file: multiarch power7 memmove.
7764 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7765 multiarch default memmove.
7766 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7767 multiarch memove for powerpc32/power4.
7769 * string/bcopy.c: Use full path to include memmove.c.
7770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7772 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7773 bcopy for powerpc64.
7774 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7775 bcopy for powerpc64.
7776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7777 and memmove implementations.
7778 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7779 optimized multiarch memmove for POWER7/powerpc64.
7780 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7781 default multiarch memmove for powerpc64.
7782 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7783 multiarch for powerpc64.
7784 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7785 for POWER7/powerpc64.
7786 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7787 memmove for POWER7/powerpc64.
7789 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7792 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7793 __ELF_NATIVE_CLASS equal to 64.
7795 2014-07-07 Roland McGrath <roland@hack.frob.com>
7797 * sysdeps/nptl/lowlevellock.h: File removed.
7799 * NEWS: NPTL is no longer an add-on!
7800 * nptl/internaltypes.h: Moved ...
7801 * sysdeps/nptl/internaltypes.h: ... here.
7802 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7803 * sysdeps/nptl/fork.c: Likewise.
7804 * sysdeps/nptl/gai_misc.h: Likewise.
7805 * sysdeps/nptl/librt-cancellation.c: Likewise.
7806 * sysdeps/nptl/jmp-unwind.c: Likewise.
7807 * sysdeps/nptl/setxid.h: Likewise.
7808 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7809 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7810 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7811 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7812 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7813 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7814 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7815 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7816 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7817 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7818 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7819 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7820 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7821 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7822 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7823 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7824 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7825 * nptl/Makeconfig: Moved ...
7826 * sysdeps/nptl/Makeconfig: ... here.
7827 * nptl/configure: File removed.
7828 * nptl/ANNOUNCE: File removed.
7829 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7830 * sysdeps/unix/sysv/linux/configure: Regenerated.
7832 * nptl/Makefile (routines): Add libc_pthread_init,
7833 libc_multiple_threads, register-atfork and unregister-atfork.
7834 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7835 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7836 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7837 pthread-pi-defines.sym, structsem.sym.
7838 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7839 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7840 [$(subdir) = nptl] (tests): Add tst-setgetname.
7841 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7842 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7843 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7844 [!LIBC_SIGACTION]: Remove aliases.
7845 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7846 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7847 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7848 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7849 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7850 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7851 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7852 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7853 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7854 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7855 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7856 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7857 __libc_allocate_rtsig_private.
7858 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7859 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7860 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7861 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7862 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7863 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7864 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7865 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7866 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7867 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7868 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7869 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7870 * nptl/internaltypes.h: ... here.
7871 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7872 * sysdeps/nptl/jmp-unwind.c: ... here.
7873 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7874 * nptl/libc-lowlevellock.c: ... here.
7875 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7876 * nptl/libc_multiple_threads.c: ... here.
7877 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7878 * nptl/libc_pthread_init.c: ... here.
7879 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7880 * nptl/lowlevelbarrier.sym: ... here.
7881 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7882 * nptl/lowlevelcond.sym: ... here.
7883 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7884 * nptl/lowlevellock.c: ... here.
7885 * nptl/lowlevellock.h: Moved ...
7886 * sysdeps/nptl/lowlevellock.h: ... here.
7887 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7888 * nptl/lowlevelrobustlock.c: ... here.
7889 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7890 * nptl/lowlevelrobustlock.sym: ... here.
7891 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7892 * nptl/lowlevelrwlock.sym: ... here.
7893 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7894 * nptl/pt-fork.c: ... here.
7895 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7896 * nptl/pthread-pi-defines.sym: ... here.
7897 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7898 * nptl/pthread_attr_getaffinity.c: ... here.
7899 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7900 * nptl/pthread_attr_setaffinity.c: ... here.
7901 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7902 * nptl/pthread_mutex_cond_lock.c: ... here.
7903 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7905 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7906 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7907 * nptl/pthread_once.c: ... here, replacing old file.
7908 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7909 * nptl/pthread_yield.c: ... here.
7910 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7911 * nptl/register-atfork.c: ... here.
7912 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7913 * nptl/sem_post.c: ... here.
7914 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7915 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7916 * nptl/sem_timedwait.c: ... here.
7917 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7918 * nptl/sem_trywait.c: ... here.
7919 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7920 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7921 * nptl/sem_wait.c: ... here.
7922 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7923 * nptl/structsem.sym: ... here.
7924 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7925 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7926 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7927 * nptl/unregister-atfork.c: ... here.
7928 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7929 * nptl/unwindbuf.sym: ... here.
7930 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7931 * sysdeps/nptl/fork.c: ... here.
7932 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7933 * sysdeps/nptl/fork.h: ... here.
7934 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7935 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7936 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7937 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7938 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7939 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7940 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7941 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7942 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7943 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7944 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7945 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7946 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7947 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7948 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7949 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7950 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7951 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7952 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7953 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7954 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7955 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7956 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7957 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7958 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7959 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7960 * sysdeps/unix/sysv/linux/raise.c: ... here.
7961 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7962 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7963 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7964 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7965 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7966 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7967 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7968 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7969 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7970 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7971 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7972 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7973 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7974 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7975 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7977 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7979 * sysdeps/generic/memcopy.h: Add comment for
7980 MEMCPY_OK_FOR_FWD_MEMMOVE.
7982 2014-07-04 Will Newton <will.newton@linaro.org>
7984 * string/memchr.c: Merge from gnulib.
7985 [_LIBC]: Remove conditionals.
7986 (__ptr_t): Remove define.
7987 (LONG_MAX_32_BITS): Likewise.
7988 (LONG_MAX): Likewise.
7989 (MEMCHR): Use ANSI prototype and optimize algorithm.
7991 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7993 2014-07-03 Roland McGrath <roland@hack.frob.com>
7995 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7996 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7998 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7999 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8000 in a bare environment with no <stdlib.h> installed.
8001 * sysdeps/nptl/configure: Regenerated.
8003 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8005 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8006 AC_EGREP_CPP for kernel header checks, so they only succeed if
8007 including <linux/version.h> actually works right.
8008 * sysdeps/unix/sysv/linux/configure: Regenerated.
8010 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8011 value so it's not diagnosed as unused.
8013 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8014 thing) with "ifeq ($(subdir),rt)".
8016 2014-07-03 Richard Henderson <rth@redhat.com>
8018 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8019 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8020 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8022 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8023 (math_force_eval): New.
8025 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8026 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8028 * sysdeps/alpha/fpu/s_round.c: Remove file.
8029 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8031 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8032 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8033 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8034 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8035 (_dl_start, print_statistics): Likewise.
8036 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8037 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8039 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8040 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8041 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8042 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8043 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8044 (HP_SMALL_TIMING_AVAIL): Define.
8045 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8046 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8047 (HP_SMALL_TIMING_AVAIL): Define.
8048 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8049 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8051 * sysdeps/aarch64/hp-timing.h: New file.
8053 * sysdeps/generic/hp-timing.h: Remove dead comment.
8054 * sysdeps/generic/hp-timing-common.h: New file.
8055 * sysdeps/alpha/hp-timing.h: Include it.
8056 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8057 * sysdeps/i386/i686/hp-timing.h: Likewise.
8058 * sysdeps/ia64/hp-timing.h: Likewise.
8059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8060 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8061 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8062 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8063 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8064 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8067 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8068 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8069 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8070 * elf/rtld.c (_dl_start_final): Likewise.
8071 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8072 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8073 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8074 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8075 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8076 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8077 (HP_TIMING_DIFF_INIT): Remove.
8078 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8079 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8080 (HP_TIMING_DIFF_INIT): Remove.
8081 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8082 * sysdeps/i386/i686/hp-timing.c: Remove file.
8083 * sysdeps/x86_64/hp-timing.c: Remove file.
8084 * sysdeps/ia64/hp-timing.c: Remove file.
8085 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8086 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8087 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8088 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8090 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8091 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8092 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8093 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8094 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8095 (HP_TIMING_ACCUM): Remove.
8096 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8097 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8098 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8100 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8101 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8102 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8103 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8104 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8105 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8106 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8107 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8109 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8111 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8113 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8115 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8117 Sync up with gettext.
8118 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8119 [_MSC_VER]: Include malloc.h
8120 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8121 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8122 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8123 TEMP_FAILURE_RETRY. Cast return of alloca.
8124 [!_LIBC] Call gl_rwlock_init.
8125 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8127 2014-07-02 Roland McGrath <roland@hack.frob.com>
8129 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8130 before checking its value.
8132 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8134 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8136 * debug/memcpy_chk.c: Don't include pagecopy.h.
8137 * debug/mempcpy_chk.c: Likewise.
8138 * string/memcpy.c: Likewise.
8139 * string/memmove.c: Likewise.
8140 * sysdeps/powerpc/memmove.c: Likewise.
8141 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8142 definition of PAGE_COPY_FWD_MAYBE here...
8143 * sysdeps/generic/pagecopy.h: ... from here.
8144 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8146 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8147 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8149 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8153 (__libc_ifunc_impl_list): Likewise.
8154 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8155 multiarch strcat for PPC64.
8156 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8157 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8159 2014-07-02 Roland McGrath <roland@hack.frob.com>
8161 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8163 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8165 * intl/loadmsgcat.c: Remove declaration of
8166 get_sysdep_segment_value.
8167 (get_sysdep_segment_value): Use ISO C style.
8168 (_nl_load_domain): Use ISO C style. Get rid of redundant
8169 semicolon. Fix typo and formatting in comment.
8170 (_nl_unload_domain): Use ISO C style.
8172 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8174 2014-07-02 Will Newton <will.newton@linaro.org>
8176 * malloc/obstack.c: Merge from gnulib master.
8177 [HAVE_CONFIG_H]: Remove conditional code.
8178 [!_LIBC]: Include config.h.
8179 [!ELIDE_CODE]: Don't include inttypes.h, include
8180 stdint.h unconditionally.
8181 (print_and_abort): Mark as _Noreturn.
8182 (_obstack_allocated_p): Mark as __attribute_pure__.
8183 (obstack_free): Rename to __obstack_free.
8184 [!__attribute__]: Remove conditional code.
8185 * malloc/obstack.h: Merge from gnulib master.
8186 [__cplusplus]: Move conditional down.
8187 [!__attribute_pure__]: Define __attribute_pure__ here
8188 if it is not already defined.
8189 (_obstack_memory_used): Mark as __attribute_pure__.
8190 [!__obstack_free]: Define as obstack_free.
8191 [__GNUC__]: Remove check for ancient NeXT gcc.
8193 2014-07-02 Will Newton <will.newton@linaro.org>
8194 Paul Eggert <eggert@cs.ucla.edu>
8196 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8198 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8200 * resolv/gethnamaddr.c: Add comment warning that the file is
8203 2014-07-01 Carlos O'Donell <carlos@redhat.com>
8205 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8208 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8209 entry for aio_cancel and aio_cancel64.
8210 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8211 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8212 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8213 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8214 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8215 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8216 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8217 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8218 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8219 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8220 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8221 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8222 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8224 2014-07-01 Roland McGrath <roland@hack.frob.com>
8226 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8227 * nptl/pthread_mutex_lock.c: Likewise.
8228 * nptl/pthread_mutex_timedlock.c: Likewise.
8229 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8231 2014-07-01 Richard henderson <rth@redhat.com>
8233 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8234 (__isnan, __isnanl): Remove.
8235 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8237 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8239 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8241 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8243 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8245 * resolv/nss_dns/dns-host.c (getanswer_r)
8246 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8248 2014-07-01 Joseph Myers <joseph@codesourcery.com>
8250 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8251 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8253 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8254 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8256 2014-07-01 Roland McGrath <roland@hack.frob.com>
8258 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8259 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8261 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8262 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8264 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8265 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8267 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8268 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8270 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8271 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8272 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8273 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8275 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8276 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8277 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8278 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8279 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8281 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8283 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8284 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8285 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8286 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8287 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8288 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8289 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8290 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8291 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8292 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8293 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8294 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8295 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8296 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8297 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8298 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8299 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8300 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8301 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8302 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8304 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8305 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8306 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8307 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8308 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8309 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8310 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8311 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8313 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8315 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8316 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8317 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8320 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8324 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8326 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8327 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8329 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8331 * sysdeps/arm/libm-test-ulps: Regenerated.
8333 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8334 Roland McGrath <roland@hack.frob.com>
8336 * test-skeleton.c (signal_handler): Kill the whole process group
8337 before killing the child individually.
8338 (main): Report any failure on `setpgid'.
8340 2014-06-30 Roland McGrath <roland@hack.frob.com>
8342 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8343 from _TLS_H to _ARM_NPTL_TLS_H.
8344 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8345 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8347 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8350 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8351 (__expm1l): Return argument unchanged when small but not
8354 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8356 (_FP_UNPACK_RAW_1_P): Likewise.
8357 (_FP_PACK_RAW_1): Likewise.
8358 (_FP_PACK_RAW_1_P): Likewise.
8359 (_FP_MUL_MEAT_1_wide): Likewise.
8360 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8361 (_FP_MUL_MEAT_1_hard): Likewise.
8362 (_FP_DIV_MEAT_1_imm): Likewise.
8363 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8364 (_FP_DIV_MEAT_1_udiv): Likewise.
8365 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8366 (_FP_UNPACK_RAW_2): Likewise.
8367 (_FP_UNPACK_RAW_2_P): Likewise.
8368 (_FP_PACK_RAW_2): Likewise.
8369 (_FP_PACK_RAW_2_P): Likewise.
8370 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8371 (_FP_MUL_MEAT_2_wide): Likewise.
8372 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8373 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8374 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8375 (_FP_MUL_MEAT_2_gmp): Likewise.
8376 (_FP_DIV_MEAT_2_udiv): Likewise.
8377 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8378 (_FP_FRAC_SRL_4): Likewise.
8379 (_FP_FRAC_SRST_4): Likewise.
8380 (_FP_FRAC_SRS_4): Likewise.
8381 (_FP_UNPACK_RAW_4): Likewise.
8382 (_FP_UNPACK_RAW_4_P): Likewise.
8383 (_FP_PACK_RAW_4): Likewise.
8384 (_FP_PACK_RAW_4_P): Likewise.
8385 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8386 (_FP_MUL_MEAT_4_wide): Likewise.
8387 (_FP_MUL_MEAT_4_gmp): Likewise.
8388 (umul_ppppmnnn): Likewise.
8389 (_FP_DIV_MEAT_4_udiv): Likewise.
8390 (__FP_FRAC_ADD_4): Likewise.
8391 (__FP_FRAC_SUB_3): Likewise.
8392 (__FP_FRAC_SUB_4): Likewise.
8393 (__FP_FRAC_DEC_3): Likewise.
8394 (__FP_FRAC_DEC_4): Likewise.
8395 (__FP_FRAC_ADDI_4): Likewise.
8396 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8397 (_FP_FRAC_SRL_8): Likewise.
8398 (_FP_FRAC_SRS_8): Likewise.
8400 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8402 (FP_UNPACK_RAW_EP): Likewise.
8403 (FP_PACK_RAW_E): Likewise.
8404 (FP_PACK_RAW_EP): Likewise.
8405 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8406 (_FP_ISSIGNAN): Likewise.
8407 (_FP_ADD_INTERNAL): Likewise.
8408 (_FP_FMA): Likewise.
8409 (_FP_CMP): Likewise.
8410 (_FP_SQRT): Likewise.
8411 (_FP_TO_INT): Likewise.
8412 (_FP_FROM_INT): Likewise.
8413 (FP_EXTEND): Likewise.
8414 (_FP_DIV_MEAT_N_loop): Likewise.
8416 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8418 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8421 2014-06-29 Joseph Myers <joseph@codesourcery.com>
8424 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8425 result with correct sign in case of exponents that produce
8426 overflow except for X very close to 1.
8428 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8430 mktime: merge #if/#ifdef usage from glibc
8431 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8432 as that works with both Glibc's and Gnulib's style.
8433 See thread starting at Siddhesh Poyarekar's bug report at:
8434 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8436 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8438 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8439 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8440 * sysdeps/tile/tilegx/memmove.c: Remove file.
8442 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8444 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8445 abi-name definition.
8446 * scripts/soversions.awk: Do not handle or generate ABI lines.
8447 * shlib-versions: Remove ABI entries.
8448 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8449 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8451 2014-06-27 Roland McGrath <roland@hack.frob.com>
8453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8454 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8455 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8456 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8458 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8459 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8461 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8464 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8466 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8468 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8469 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8470 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8472 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8474 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8479 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8481 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8484 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8487 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8489 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8492 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8494 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8496 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8497 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8498 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8499 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8501 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8503 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8506 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8509 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8510 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8511 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8512 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8514 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8516 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8517 Identical file removed.
8518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8520 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8521 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8522 Identical file removed.
8523 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8524 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8525 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8527 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8528 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8529 Identical file removed.
8530 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8531 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8532 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8533 Identical file removed.
8534 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8535 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8537 Identical file removed.
8538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8539 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8541 Identical file removed.
8542 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8544 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8545 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8546 Identical file removed.
8547 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8549 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8550 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8551 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8552 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8553 Identical file removed.
8554 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8556 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8558 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8559 Identical file removed.
8560 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8562 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8563 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8564 Identical file removed.
8565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8567 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8568 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8569 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8570 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8571 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8572 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8574 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8576 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8578 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8579 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8580 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8581 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8582 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8584 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
8587 * nscd/nscd.c (monitor_child): Return exit status of child
8588 instead of return value from wait syscall.
8590 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8592 * configure.ac (libc_commonpagesize): Remove variable.
8593 (libc_relro_required): Likewise.
8594 (libc_cv_z_relro): Remove configure test.
8595 * configure: Regenerated.
8596 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8598 (libc_relro_required): Likewise.
8599 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8600 (libc_relro_required): Likewise.
8601 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8602 (libc_relro_required): Likewise.
8603 * sysdeps/arm/preconfigure: Regenerated.
8604 * sysdeps/ia64/preconfigure: Remove file.
8605 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8607 (libc_relro_required): Likewise.
8611 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8612 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8613 recompute overflowing results in original rounding mode.
8614 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8615 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8616 recompute overflowing results in original rounding mode.
8617 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8618 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8619 recompute overflowing results in original rounding mode.
8620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8621 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8622 recompute overflowing results in original rounding mode.
8623 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8624 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8625 recompute overflowing results in original rounding mode.
8626 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8627 (libc_feholdsetround_ctx): New macro.
8628 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8629 * sysdeps/i386/fpu/libm-test-ulps: Update.
8630 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8632 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8634 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8635 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8636 corresponding .cpsetup call.
8638 2014-06-26 Roland McGrath <roland@hack.frob.com>
8640 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8641 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8642 * sysdeps/arm/Makefile [$(subdir) = csu]
8643 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8644 (static-only-routines): Add aeabi_read_tp here.
8645 (shared-only-routines): Add libc-aeabi_read_tp here.
8646 (CFLAGS-libc-start.c): Add -fexceptions here.
8647 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8648 (sysdep_routines, static-only-routines, shared-only-routines):
8649 Don't add to these here.
8650 (CFLAGS-libc-start.c): Likewise.
8652 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8653 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8654 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8655 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8656 * sysdeps/arm/Makefile [$(subdir) = rt]
8657 (librt-sysdep_routines, librt-shared-only-routines):
8658 Append rt-aeabi_unwind_cpp_pr1 here.
8659 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8660 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8661 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8662 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8663 Append nptl-aeabi_unwind_cpp_pr1 here.
8664 (tests): Filter out tst-cleanupx4 here.
8665 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8666 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8667 Don't do those here.
8669 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8671 * scripts/list-sources.sh: Do not handle ports specially.
8673 2014-06-26 Roland McGrath <roland@hack.frob.com>
8675 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8676 * sysdeps/arm/feupdateenv.c: Likewise.
8678 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8680 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8682 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8683 trailing whitespace removed.
8684 * scripts/config.guess: Update to version 2014-03-23.
8685 * scripts/config.sub: Update to version 2014-05-01
8686 * scripts/install-sh: Update to version 2013-12-25.23.
8687 * scripts/move-if-change: Update from gnulib.
8689 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8691 * debug/memmove_chk.c: Remove pagecopy.h include.
8693 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8695 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8696 identical to gnulib mktime.
8698 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8700 * configure.ac: Do not test for machine being rs6000. Do not test
8702 * configure: Regenerated.
8704 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8706 * configure: Regenerated.
8707 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8708 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8709 Remove configure test.
8710 * sysdeps/arm/configure: Regenerated.
8711 * sysdeps/nptl/configure.ac: Do not check
8712 libc_cv_asm_cfi_directives.
8713 * sysdeps/nptl/configure: Regenerated.
8714 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8715 * sysdeps/x86_64/nptl/configure: Remove generated file.
8716 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8718 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8720 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8722 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8723 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8724 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8727 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8728 instead of whether it is defined.
8729 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8730 * sysdeps/hppa/dl-machine.h: Likewise.
8731 * sysdeps/ia64/dl-machine.h: Likewise.
8732 * sysdeps/m68k/dl-machine.h: Likewise.
8733 * sysdeps/microblaze/dl-machine.h: Likewise.
8734 * sysdeps/mips/dl-machine.: Likewise.
8735 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8736 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8737 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8738 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8739 * sysdeps/sh/dl-machine.h: Likewise.
8740 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8741 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8742 * sysdeps/tile/dl-machine.h: Likewise.
8743 * sysdeps/x86_64/dl-machine.h: Likewise.
8745 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8747 (verify_persistent_db): Likewise.
8749 2014-06-26 Roland McGrath <roland@hack.frob.com>
8751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8752 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8754 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8757 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8760 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8762 Identical file removed.
8763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8764 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8766 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8768 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8770 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8772 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8775 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8777 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8779 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8782 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8784 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8786 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8788 Identical file removed.
8789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8790 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8792 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8795 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8798 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8800 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8802 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8804 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8806 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8809 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8812 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8814 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8817 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8819 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8821 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8823 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8824 * sysdeps/unix/sysv/linux/s390/Versions
8825 (libpthread: GLIBC_2.19): New version set.
8826 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8827 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8828 (librt: GLIBC_2.3.3): New version set.
8829 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8830 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8831 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8832 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8833 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8834 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8835 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8836 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8837 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8838 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8839 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8840 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8841 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8842 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8843 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8844 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8845 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8846 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8847 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8848 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8849 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8850 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8851 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8852 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8853 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8854 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8855 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8856 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8857 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8858 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8859 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8860 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8865 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8867 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8869 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8870 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8871 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8873 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8875 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8876 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8877 (__libc_vfork): Define the function under this name.
8878 [!NOT_IN_libc] (__vfork): Make this an alias.
8879 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8881 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8882 (__libc_vfork): Define the function under this name.
8883 [!NOT_IN_libc] (__vfork): Make this an alias.
8884 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8885 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8886 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8888 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8889 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8891 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8892 code that was previously under [RESET_PID].
8893 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8894 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8897 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8898 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8899 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8900 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8901 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8902 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8903 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8904 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8905 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8906 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8907 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8909 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8910 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8911 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8912 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8913 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8914 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8915 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8916 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8917 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8918 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8919 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8920 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8921 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8922 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8923 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8924 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8925 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8926 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8927 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8928 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8929 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8930 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8931 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8932 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8933 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8934 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8935 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8936 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8937 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8939 2014-06-25 Roland McGrath <roland@hack.frob.com>
8941 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8942 that was previously under [RESET_PID].
8943 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8945 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8947 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8948 not undefine and redefine.
8949 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8950 [O_CLOEXEC]: Make code unconditional.
8951 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8952 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8953 <kernel-features.h>.
8954 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8955 conditional variable definition.
8956 (shm_open) [O_CLOEXEC]: Make code unconditional.
8957 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8960 * configure.ac (USE_REGPARMS): Don't define here.
8961 * configure: Regenerated.
8962 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8963 * sysdeps/i386/configure: Regenerated.
8965 * nptl/createthread.c: Don't include kernel-features.h.
8966 * nptl/pthread_cancel.c: Likewise.
8967 * nptl/pthread_condattr_setclock.c: Likewise.
8968 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8969 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8970 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8971 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8972 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8973 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8974 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8975 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8976 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8977 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8978 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8979 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8980 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8981 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8982 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8983 * nscd/gai.c: Likewise.
8984 * nss/nss_db/db-open.c: Likewise.
8985 * sysdeps/generic/ldsodefs.h: Likewise.
8986 * sysdeps/sh/nptl/tls.h: Likewise.
8987 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8988 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8989 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8990 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8991 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8992 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8993 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8994 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8995 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8996 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8997 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8998 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8999 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9000 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9001 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9002 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9003 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9004 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9005 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9006 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9007 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9008 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9009 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9010 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9011 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9012 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9013 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9014 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9015 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9016 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9017 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9018 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9019 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9020 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9021 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9022 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9023 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9024 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9025 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9026 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9027 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9028 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9029 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9030 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9031 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9032 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9033 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9034 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9035 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9036 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9037 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9038 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9039 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9040 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9041 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9042 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9043 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9044 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9067 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9068 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9069 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9070 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9071 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9072 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9073 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9074 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9075 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9076 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9077 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9078 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9079 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9080 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9081 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9082 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9083 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9084 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9085 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9086 * sysdeps/unix/sysv/linux/system.c: Likewise.
9087 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9088 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9089 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9090 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9091 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9092 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9093 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9095 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9096 * configure: Regenerated.
9097 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9099 * configure.ac (base_machine): Do not set specially for particular
9101 * configure: Regenerated.
9102 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9103 settings from configure.ac.
9104 * sysdeps/i386/preconfigure: New file.
9105 * sysdeps/s390/preconfigure: Likewise.
9106 * sysdeps/sh/preconfigure: Likewise.
9107 * sysdeps/sparc/preconfigure: Likewise.
9109 2014-06-25 Roland McGrath <roland@hack.frob.com>
9111 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9112 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9113 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9114 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9115 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9116 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9117 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9118 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9119 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9120 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9121 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9122 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9123 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9124 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9125 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9126 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9127 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9128 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9129 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9131 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9132 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9133 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9134 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9135 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9136 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9137 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9138 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9139 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9140 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9141 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9142 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9143 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9144 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9145 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9146 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9147 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9148 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9149 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9150 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9152 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9153 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9154 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9155 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9156 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9157 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9158 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9159 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9160 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9161 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9162 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9164 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9165 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9166 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9167 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9168 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9171 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9173 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9176 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9179 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9181 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9184 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9186 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9188 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9190 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9193 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9196 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9198 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9201 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9203 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9205 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9207 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9209 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9212 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9215 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9217 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9220 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9222 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9224 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9226 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9229 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9232 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9234 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9237 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9239 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9241 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9243 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9245 * timezone/checktab.awk: Update from tzcode 2014e.
9246 * timezone/private.h: Likewise.
9247 * timezone/tzfile.h: Likewise.
9248 * timezone/zdump.c: Likewise.
9249 * timezone/zic.c: Likewise.
9251 * sysdeps/unix/sysv/linux/kernel-features.h
9252 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9253 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9254 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9255 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9256 Remove conditional code.
9258 2014-06-25 Will Newton <will.newton@linaro.org>
9260 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9261 (_dl_arm_cap_flags): Add HWCAP2 values.
9262 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9263 (_DL_HWCAP_COUNT): Increase to 37.
9264 (_DL_HWCAP_LAST): New define.
9265 (_DL_HWCAP2_LAST): New define.
9266 (_dl_procinfo): Add support for printing
9268 (_dl_string_hwcap): Use _dl_hwcap_string.
9270 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9274 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9276 * README: Do not mention ports directory.
9278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9280 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9281 <kernel-features.h>.
9282 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9283 conditional variable definition.
9284 (__futimes): Update comment.
9285 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9286 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9289 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9290 arguments close to 0.
9291 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9293 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9295 * math/auto-libm-test-in: Add more tests of exp10.
9296 * math/auto-libm-test-out: Regenerated.
9297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9299 * sysdeps/unix/sysv/linux/kernel-features.h
9300 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9301 * sysdeps/unix/sysv/linux/readv.c: Do not include
9302 <kernel-features.h>.
9303 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9304 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9305 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9307 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9309 * sysdeps/unix/sysv/linux/writev.c: Do not include
9310 <kernel-features.h>.
9311 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9312 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9313 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9315 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9318 2014-06-25 Will Newton <will.newton@linaro.org>
9320 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9321 comment changes throughout the file. Remove checks
9322 for HAVE_*_H definitions that are not required.
9323 (__gen_tempname): Call abort if an unknown kind value is
9326 2014-06-25 Andreas Schwab <schwab@suse.de>
9329 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9330 scalbln, scalblnf, scalblnl in libc.
9332 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9335 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9336 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9337 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9339 2014-06-24 Roland McGrath <roland@hack.frob.com>
9341 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9342 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9343 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9344 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9346 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9347 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9349 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9350 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9351 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9352 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9353 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9354 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9355 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9356 * sysdeps/x86/bits/semaphore.h: ... here.
9357 * sysdeps/x86/nptl/elide.h: Moved ...
9358 * sysdeps/x86/elide.h: ... here.
9359 * sysdeps/x86_64/nptl/Implies: File removed.
9360 * sysdeps/i386/nptl/Implies: File removed.
9362 2014-06-24 Joseph Myers <joseph@codesourcery.com>
9365 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9366 return the argument for normal arguments with exponent below -64.
9367 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9369 * math/auto-libm-test-in: Add another test of expm1.
9370 * math/auto-libm-test-out: Regenerated.
9373 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9374 calling __erfcl for arguments at least 16.
9375 * math/auto-libm-test-in: Add more tests of erf.
9376 * math/auto-libm-test-out: Regenerated.
9378 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9379 individual architectures.
9380 * sysdeps/unix/sysv/linux/configure: Regenerated.
9381 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9382 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9383 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9384 (ldd_rewrite_script): Define variable.
9385 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9390 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9391 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9392 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9393 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9394 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9395 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9396 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9397 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9399 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9402 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9403 Rename member __data.d to __data.__elision_data.
9405 2014-06-24 Wilco <wdijkstr@arm.com>
9407 * NEWS: Add 16918 to fixed bug list.
9409 2014-06-24 Wilco <wdijkstr@arm.com>
9411 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9413 2014-06-24 Wilco <wdijkstr@arm.com>
9415 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9416 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9417 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9418 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9419 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9420 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9421 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9424 2014-06-24 Wilco <wdijkstr@arm.com>
9426 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9428 2014-06-24 Wilco <wdijkstr@arm.com>
9430 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9431 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9432 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9433 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9435 2014-06-24 Wilco <wdijkstr@arm.com>
9438 * sysdeps/arm/feupdateenv.c (feupdateenv):
9439 Rewrite to reduce FPSCR accesses and fix return value.
9441 2014-06-24 Wilco <wdijkstr@arm.com>
9443 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9444 Optimize to avoid unnecessary FPSCR writes.
9445 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9446 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9447 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9448 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9450 2014-06-24 Wilco <wdijkstr@arm.com>
9452 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9453 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9454 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9455 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9456 Call libc_fetestexcept_vfp.
9457 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9458 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9459 __SOFTFP__ ifdef so that they can be built for softfp.
9461 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9463 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9464 argument type signed char.
9466 * Makerules (check-abi): Dump diff of symlist if the test
9469 2014-06-23 Roland McGrath <roland@hack.frob.com>
9471 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9474 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9475 Remove unused variable ST.
9477 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9481 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9482 small arguments before calling __expm1.
9483 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9484 small arguments before calling __expm1f.
9485 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9486 small arguments before calling __expm1l.
9487 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9489 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9490 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9491 spurious underflow for some cosh tests.
9492 * math/auto-libm-test-out: Regenerated.
9493 * sysdeps/i386/fpu/libm-test-ulps: Update.
9496 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9497 (__ieee754_y1): Set errno if return value overflows.
9498 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9499 (__ieee754_y1f): Set errno if return value overflows.
9500 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9501 (__ieee754_y1l): Set errno if return value overflows.
9502 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9503 (__ieee754_y1l): Set errno if return value overflows.
9504 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9505 * math/auto-libm-test-out: Regenerated.
9507 * math/gen-auto-libm-tests.c: Document use of
9508 ignore-zero-inf-sign.
9509 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9510 (input_flags): Add ignore-zero-inf-sign.
9511 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9512 * math/gen-libm-test.pl (generate_testfile): Handle
9513 ignore-zero-inf-sign.
9514 * math/auto-libm-test-in: Mark some cpow tests with
9515 ignore-zero-inf-sign and some with xfail-rounding.
9516 * math/auto-libm-test-out: Regenerated.
9517 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9518 * sysdeps/i386/fpu/libm-test-ulps: Update.
9519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9522 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9523 overflowing or underflowing operations take place with sign of
9525 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9526 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9527 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9528 (__ieee754_pow): Recompute overflowing and underflowing results in
9529 original rounding mode.
9530 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9531 (__powl_helper): Allow negative argument X and scale negated value
9532 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9533 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9534 overflowing or underflowing operations take place with sign of
9536 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9538 * math/auto-libm-test-in: Add more tests of pow.
9539 * math/auto-libm-test-out: Regenerated.
9540 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9541 (pow_tonearest_test_data): Remove.
9542 (pow_test_tonearest): Likewise.
9543 (pow_towardzero_test_data): Likewise.
9544 (pow_test_towardzero): Likewise.
9545 (pow_downward_test_data): Likewise.
9546 (pow_test_downward): Likewise.
9547 (pow_upward_test_data): Likewise.
9548 (pow_test_upward): Likewise.
9549 (main): Don't call removed functions.
9550 * sysdeps/i386/fpu/libm-test-ulps: Update.
9551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9553 2014-06-23 Roland McGrath <roland@hack.frob.com>
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9729 2014-06-23 Will Newton <will.newton@linaro.org>
9730 Wilco <wdijkstr@arm.com>
9732 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9733 implementation. Include get-rounding-mode.h.
9734 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9735 [!libc_feholdsetround_noex_ctx]: Define
9736 libc_feholdsetround_noex_ctx.
9737 [!libc_feholdsetround_noexf_ctx]: Define
9738 libc_feholdsetround_noexf_ctx.
9739 [!libc_feholdsetround_noexl_ctx]: Define
9740 libc_feholdsetround_noexl_ctx.
9741 (libc_feholdsetround_ctx): New function.
9742 (libc_feresetround_ctx): New function.
9743 (libc_feholdsetround_noex_ctx): New function.
9744 (libc_feresetround_noex_ctx): New function.
9746 2014-06-23 Roland McGrath <roland@hack.frob.com>
9748 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9749 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9750 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9751 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9752 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9753 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9755 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9756 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9757 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9758 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9759 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9760 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9762 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9764 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9767 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9770 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9772 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9775 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9777 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9779 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9780 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9781 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9782 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9784 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9785 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9787 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9789 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9792 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9793 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9794 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9795 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9796 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9797 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9798 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9799 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9800 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9801 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9803 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9806 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9808 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9810 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9812 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9814 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9815 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9816 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9819 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9820 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9821 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9823 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9826 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9828 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9830 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9832 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9833 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9834 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9835 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9837 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9838 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9839 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9841 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9843 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9845 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9846 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9847 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9849 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9851 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9855 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9857 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9858 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9859 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9861 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9863 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9864 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9865 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9866 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9867 (IPV6_PMTUDISC_INTERFACE): Likewise.
9868 (IPV6_PMTUDISC_OMIT): Likewise.
9870 2014-06-23 Andreas Schwab <schwab@suse.de>
9872 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9873 Remove unused errout label.
9875 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9877 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9878 macro: hardware supports Vector Crypto instructions.
9880 2014-06-23 Will Newton <will.newton@linaro.org>
9882 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9883 rather than __builtin_expect.
9885 * elf/dl-lookup.c (undefined_msg): Remove variable.
9886 (_dl_lookup_symbol_x): Replace undefined_msg with string
9889 * elf/dl-lookup.c (do_lookup_unique): New function.
9890 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9891 to a separate function.
9893 2014-06-23 Andreas Schwab <schwab@suse.de>
9896 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9897 before reading the next line.
9899 2014-06-23 Will Newton <will.newton@linaro.org>
9901 * test-skeleton.c (signal_handler): Use printf and %m
9902 rather than perror. Use printf rather than fprintf to
9903 stderr. Use puts rather than fputs to stderr.
9906 2014-06-22 Ludovic Courtès <ludo@gnu.org>
9908 * nscd/nscd.c (thread_info_t): Remove typedef.
9909 (thread_info): Remove variable.
9911 2014-06-21 Allan McRae <allan@archlinux.org>
9913 * NEWS: Mention CVE-2014-4043.
9915 2014-06-20 Roland McGrath <roland@hack.frob.com>
9917 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9918 * nptl/smp.h: ... here.
9920 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9922 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9923 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9924 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9925 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9927 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9928 * nptl/stack-aliasing.h: New file.
9929 * sysdeps/i386/i686/stack-aliasing.h: New file.
9930 * sysdeps/i386/i686/nptl/Makefile: File removed.
9931 * sysdeps/x86_64/stack-aliasing.h: New file.
9932 * sysdeps/x86_64/nptl/Makefile
9933 (CFLAGS-pthread_create.c): Variable removed.
9935 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9936 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9938 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9939 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9942 2014-06-21 Joseph Myers <joseph@codesourcery.com>
9944 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9945 (__ASSUME_SIGFRAME_V2): Remove macro.
9946 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9947 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9948 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9949 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9950 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9951 Declare as function. Remove conditional macro definitions.
9952 (__default_rt_sa_restorer): Likewise.
9953 (__default_sa_restorer_v1): Remove declaration.
9954 (__default_sa_restorer_v2): Likewise.
9955 (__default_rt_sa_restorer_v1): Likewise.
9956 (__default_rt_sa_restorer_v2): Likewise.
9957 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9958 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9959 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9961 2014-06-20 Roland McGrath <roland@hack.frob.com>
9963 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9964 (libpthread-routines): Add sysdep.
9965 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9966 * sysdeps/unix/sysv/linux/sparc/Versions
9967 (libpthread: GLIBC_2.3.3): New version set.
9968 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9969 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9970 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9971 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9972 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9973 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9975 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9976 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9977 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9978 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9979 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9980 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9981 * sysdeps/sparc/nptl/sem_init.c: ... here.
9982 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9983 * sysdeps/sparc/nptl/sem_post.c: ... here.
9984 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9985 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9986 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9987 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9988 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9989 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9990 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9991 (libpthread-routines): Add cpu_relax.
9992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9994 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9995 (librt: GLIBC_2.3.3): New version set.
9996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9997 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9998 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9999 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10002 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10005 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10007 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10009 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10010 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10011 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10013 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10016 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10024 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10028 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10032 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10036 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10039 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10041 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10043 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10045 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10047 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10050 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10052 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10054 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10056 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10058 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10059 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10060 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10061 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10062 * nscd/nscd.c: Likewise.
10063 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10064 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10065 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10066 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10068 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10069 <kernel-features.h>.
10070 (init_mq_netlink): Remove conditional have_sock_cloexec
10071 definitions. Remove code conditional on have_sock_cloexec < 0.
10072 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10073 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10074 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10075 <kernel-features.h>.
10076 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10077 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10079 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10082 Add tests for memset_chk and memset.
10084 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10087 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10090 * elf/tst-dl-iter-static.c: New file.
10091 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10093 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10096 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10098 * sysdeps/unix/sysv/linux/kernel-features.h
10099 (__ASSUME_F_GETOWN_EX): Remove macro.
10100 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10101 <kernel-features.h>.
10102 (miss_F_GETOWN_EX): Remove variable or macro.
10103 (do_fcntl): Do not check miss_F_GETOWN_EX.
10104 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10106 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10109 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10110 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10112 * sysdeps/unix/sysv/linux/kernel-features.h
10113 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10114 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10115 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10116 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10118 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10121 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10122 Fix calculation of the symbol's value.
10123 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10124 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10125 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10126 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10127 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10128 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10129 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10130 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10131 (modules-names): Add `tst-armtlsdescmod',
10132 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10133 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10134 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10135 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10136 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10137 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10138 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10139 ($(objpfx)tst-armtlsdescloc): New dependency.
10140 ($(objpfx)tst-armtlsdescextnow): Likewise.
10141 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10142 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10143 TLS scheme support.
10144 * sysdeps/arm/configure: Regenerate.
10146 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10148 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10149 (__atfct_seterrno_2): Likewise.
10150 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10151 <kernel-features.h>.
10152 (__ASSUME_ATFCTS): Do not undefine and redefine.
10153 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10154 (__have_atfcts): Remove conditional definition.
10155 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10156 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10157 unreachable if [__ASSUME_ATFCTS].
10158 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10159 not undefine and redefine.
10160 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10161 <kernel-features.h>.
10162 (faccessat) [__NR_faccessat]: Make code unconditional.
10163 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10164 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10165 <kernel-features.h>.
10166 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10167 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10168 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10169 <kernel-features.h>.
10170 (fchownat) [__NR_fchownat]: Make code unconditional.
10171 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10172 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10173 <kernel-features.h>.
10174 (futimesat) [__NR_futimesat]: Make code unconditional.
10175 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10176 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10177 <kernel-features.h>.
10178 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10179 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10180 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10181 <kernel-features.h>.
10182 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10183 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10184 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10185 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10186 <kernel-features.h>.
10187 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10188 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10189 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10190 <kernel-features.h>.
10191 (linkat) [__NR_linkat]: Make code unconditional.
10192 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10193 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10194 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10195 <kernel-features.h>.
10196 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10197 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10198 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10199 <kernel-features.h>.
10200 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10201 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10202 * sysdeps/unix/sysv/linux/openat.c: Do not include
10203 <kernel-features.h>.
10204 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10205 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10206 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10207 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10208 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10209 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10210 <kernel-features.h>.
10211 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10212 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10213 result of INLINE_SYSCALL directly, not via int variable.
10214 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10215 <kernel-features.h>.
10216 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10217 (renameat) [__NR_renameat]: Make code unconditional.
10218 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10219 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10220 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10221 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10222 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10223 (__ASSUME_ATFCTS): Do not undefine and redefine.
10224 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10225 <kernel-features.h>.
10226 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10227 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10228 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10229 <kernel-features.h>.
10230 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10231 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10232 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10233 (__ASSUME_ATFCTS): Do not undefine and redefine.
10234 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10235 <kernel-features.h>.
10236 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10237 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10238 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10239 <kernel-features.h>.
10240 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10241 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10243 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10245 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10247 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10250 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10251 constructed tree before returning error.
10252 * posix/bug-regexp36.c: Expand test case.
10254 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10257 * math/libm-test.inc (scalbln_test_date):
10258 Add errno expectations.
10259 * math/w_scalblnf.c: New File.
10260 Add wrapper which checks for setting errno to ERANGE.
10261 Add weak_alias for corresponding scalbln function.
10262 * math/w_scalbln.c: Likewise.
10263 * math/w_scalblnl.c: Likewise.
10264 * math/Makefile (libm-calls): Add w_scalbln.
10265 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10266 Remove weak_alias for corresponding scalbln function.
10267 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10271 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10272 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10273 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10274 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10275 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10276 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10277 Remove long_double_symbol for scalblnl function in libm, libc.
10278 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10279 Add wrapper which checks for setting errno to ERANGE.
10280 Add long_double_symbol for scalblnl function in libm, libc.
10281 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10282 Remove long_double_symbol for scalblnl in libm.
10283 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10284 Add wrapper which checks for setting errno to ERANGE.
10285 Add long_double_symbol for scalblnl function in libm.
10286 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10287 Do not use wrapper because of own implementation.
10289 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10291 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10292 3 bytes for __pad1 for x32.
10293 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10295 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10296 H.J. Lu <hongjiu.lu@intel.com>
10298 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10299 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10300 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10301 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10302 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10304 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10307 * posix/regcomp.c (parse_expression): Deallocate partially
10308 constructed tree before returning error.
10309 * posix/Makefile.c (tests): Add bug-regex36.
10310 (generated): Add bug-regex36.mtrace.
10311 (tests-special): Add $(objpfx)bug-regex36-mem.out
10312 (bug-regex36-ENV): New variable.
10313 ($(objpfx)bug-regex36-mem.out): New rule.
10314 * posix/bug-regex36.c: New file.
10316 2014-06-19 Will Newton <will.newton@linaro.org>
10318 * malloc/malloc.c (systrim): If extra is zero then return
10321 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10323 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10325 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
10327 * sysdeps/aarch64/strchr.S: New file.
10329 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10332 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10333 from arguments -2 or below.
10334 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10335 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10337 2014-06-18 Andreas Schwab <schwab@suse.de>
10340 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10341 of a bracket expr not to run off the end of the string.
10342 * posix/Makefile (tests): Add tst-fnmatch3.
10343 * posix/tst-fnmatch3.c: New file.
10345 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10347 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10348 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10349 [$(cross-compiling) = no]: Likewise.
10350 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10351 [$(cross-compiling) = no]: Likewise.
10353 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10356 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10357 double, adjusted for any remainder from the high double.
10358 * math/libm-test.inc (nearbyint): Add tests.
10361 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10363 * nptl/sysdeps/powerpc/Makefile: Moved ...
10364 * sysdeps/powerpc/nptl/Makefile: ... here.
10365 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10366 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10367 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10368 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10369 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10370 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10371 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10372 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10373 * nptl/sysdeps/powerpc/tls.h: Moved ...
10374 * sysdeps/powerpc/nptl/tls.h: ... here.
10376 2014-06-16 Joseph Myers <joseph@codesourcery.com>
10379 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10380 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10381 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10382 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10383 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10384 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10385 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10386 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10387 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10389 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10391 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10393 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10395 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10398 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10401 2014-06-16 Florian Weimer <fweimer@redhat.com>
10404 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10405 non-executed part of the test.
10407 2014-06-16 Andreas Schwab <schwab@suse.de>
10409 * string/bits/string2.h (strdup, strndup): Update feature guard.
10411 2014-06-14 David S. Miller <davem@davemloft.net>
10413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10415 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10417 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10418 that was previously under [RESET_PID].
10419 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10421 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10422 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10423 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10424 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10425 (__libc_vfork): New strong alias.
10426 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10428 2014-06-14 Andi Kleen <ak@linux.intel.com>
10430 * sysdeps/generic/elide.h: New file.
10432 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10434 * Makefile (installed-headers): Adjust path of pthread.h header.
10436 2014-06-13 Roland McGrath <roland@hack.frob.com>
10438 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10439 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10440 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10441 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10443 * nptl/sysdeps/s390/Makefile: Moved ...
10444 * sysdeps/s390/nptl/Makefile: ... here.
10445 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10446 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10447 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10448 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10449 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10450 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10451 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10452 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10453 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10454 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10455 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10456 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10457 * nptl/sysdeps/s390/tls.h: Moved ...
10458 * sysdeps/s390/nptl/tls.h: ... here.
10460 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10461 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10463 2014-06-13 David S. Miller <davem@davemloft.net>
10465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10468 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10472 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10473 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10474 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10475 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10476 Remove RESET_PID cpp guards.
10477 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10478 Remove RESET_PID cpp guards.
10479 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10481 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10483 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10486 2014-06-13 Andi Kleen <ak@linux.intel.com>
10488 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10489 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10490 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10491 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10492 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10495 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10496 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10497 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10498 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10499 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10501 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10502 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10503 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10505 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10506 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10507 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10509 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10510 (pthread_rwlock_rdlock): Add elision.
10511 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10512 (pthread_rwlock_wrlock): Add elision.
10513 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10514 (pthread_rwlock_trywrlock): Add elision.
10515 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10516 (pthread_rwlock_tryrdlock): Add elision.
10517 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10518 (pthread_rwlock_tryrdlock): Add elision unlock.
10519 * nptl/sysdeps/pthread/pthread.h:
10520 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10521 (PTHREAD_RWLOCK_INITIALIZER,
10522 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10523 Handle new elision field.
10524 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10525 * sysdeps/arm/nptl/bits/pthreadtypes.h
10526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10527 * sysdeps/sh/nptl/bits/pthreadtypes.h
10528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10529 * sysdeps/tile/nptl/bits/pthreadtypes.h
10530 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10531 * sysdeps/a/nptl/bits/pthreadtypes.h
10532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10533 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10535 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10537 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10539 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10541 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10543 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10545 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10547 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10549 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10550 (elision_init): Set try_xbegin to zero when no RTM.
10551 * sysdeps/x86/nptl/bits/pthreadtypes.h
10552 (pthread_rwlock_t): Change __pad1 to __rwelision.
10553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10555 2014-06-13 Andi Kleen <ak@linux.intel.com>
10557 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10558 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10559 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10560 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10562 2014-06-13 Meador Inge <meadori@codesourcery.com>
10565 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10566 that the cached result has been set before returning it.
10568 2014-06-12 Roland McGrath <roland@hack.frob.com>
10570 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10571 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10572 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10573 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10574 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10575 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10577 * nptl/sysdeps/sparc/Makefile: Moved ...
10578 * sysdeps/sparc/nptl/Makefile: ... here.
10579 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10580 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10581 * nptl/sysdeps/sparc/tls.h: Moved ...
10582 * sysdeps/sparc/nptl/tls.h: ... here.
10583 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10584 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10585 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10586 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10587 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10588 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10589 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10590 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10591 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10592 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10593 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10594 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10595 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10596 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10597 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10598 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10599 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10600 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10602 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10605 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10606 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10608 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10609 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10612 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10614 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10615 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10617 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10618 (struct list_links): Type removed.
10619 (struct thread_node, struct timer_node): Replace struct list_links
10620 with struct list_head.
10621 (list_unlink_ip): Likewise.
10622 * sysdeps/pthread/timer_routines.c
10623 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10624 (list_append, list_insbefore): Likewise.
10625 (list_init): Function removed.
10626 (thread_init, init_module): Use INIT_LIST_HEAD instead.
10627 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10628 * sysdeps/pthread/Makefile: ... here, new file.
10630 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10631 * sysdeps/nptl/Implies: ... here.
10632 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10633 * nptl/sysdeps/pthread/list.h: Moved ...
10634 * include/list.h: ... here.
10635 * nptl/sysdeps/pthread/createthread.c: Moved ...
10636 * nptl/createthread.c: ... here.
10637 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10638 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10639 * nptl/pt-longjmp.c: ... here.
10640 * nptl/sysdeps/pthread/Makefile: Moved ...
10641 * sysdeps/nptl/Makefile: ... here.
10642 * nptl/sysdeps/pthread/Subdirs: Moved ...
10643 * sysdeps/nptl/Subdirs: ... here.
10644 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10645 * sysdeps/nptl/aio_misc.h: ... here.
10646 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10647 * sysdeps/nptl/bits/libc-lock.h: ... here.
10648 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10649 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10650 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10651 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10652 * nptl/sysdeps/pthread/configure: Moved ...
10653 * sysdeps/nptl/configure: ... here.
10654 * nptl/sysdeps/pthread/configure.ac: Moved ...
10655 * sysdeps/nptl/configure.ac: ... here.
10656 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10657 * sysdeps/nptl/gai_misc.h: ... here.
10658 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10659 * sysdeps/nptl/librt-cancellation.c: ... here.
10660 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10661 * sysdeps/nptl/malloc-machine.h: ... here.
10662 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10663 * sysdeps/nptl/pthread-functions.h: ... here.
10664 * nptl/sysdeps/pthread/pthread.h: Moved ...
10665 * sysdeps/nptl/pthread.h: ... here.
10666 * nptl/sysdeps/pthread/setxid.h: Moved ...
10667 * sysdeps/nptl/setxid.h: ... here.
10668 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10669 * sysdeps/nptl/sigfillset.c: ... here.
10670 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10671 * sysdeps/nptl/tcb-offsets.h: ... here.
10672 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10673 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10674 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10675 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10676 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10677 * sysdeps/pthread/allocalim.h: ... here.
10678 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10679 * sysdeps/pthread/bits/sigthread.h: ... here.
10680 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10681 * sysdeps/pthread/flockfile.c: ... here.
10682 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10683 * sysdeps/pthread/ftrylockfile.c: ... here.
10684 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10685 * sysdeps/pthread/funlockfile.c: ... here.
10686 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10687 * sysdeps/pthread/posix-timer.h: ... here.
10688 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10689 * sysdeps/pthread/timer_create.c: ... here.
10690 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10691 * sysdeps/pthread/timer_delete.c: ... here.
10692 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10693 * sysdeps/pthread/timer_getoverr.c: ... here.
10694 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10695 * sysdeps/pthread/timer_gettime.c: ... here.
10696 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10697 * sysdeps/pthread/timer_routines.c: ... here.
10698 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10699 * sysdeps/pthread/timer_settime.c: ... here.
10700 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10701 * sysdeps/pthread/tst-timer.c: ... here.
10702 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10703 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10705 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10706 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10708 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10709 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10710 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10711 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10712 Update #include target.
10713 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10714 * sysdeps/i386/i686/nptl/Makefile: ... here.
10715 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10716 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10717 Update #include target.
10718 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10719 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10720 * nptl/sysdeps/i386/Makefile: Moved ...
10721 * sysdeps/i386/nptl/Makefile: ... here.
10722 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10723 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10724 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10725 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10726 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10727 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10728 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10729 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10730 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10731 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10732 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10733 * nptl/sysdeps/i386/tls.h: Moved ...
10734 * sysdeps/i386/nptl/tls.h: ... here.
10736 * sysdeps/sh/Makefile [$(subdir) = csu]
10737 (gen-as-const-headers): Add tcb-offsets.sym.
10738 * nptl/sysdeps/sh/Makefile: File removed.
10739 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10740 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10741 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10742 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10743 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10744 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10745 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10746 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10747 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10748 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10749 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10750 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10751 * nptl/sysdeps/sh/tls.h: Moved ...
10752 * sysdeps/sh/nptl/tls.h: ... here.
10753 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10754 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10755 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10756 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10757 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10758 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10759 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10760 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10761 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10762 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10764 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10765 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10766 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10767 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10768 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10769 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10770 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10771 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10772 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10774 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10776 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10777 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10779 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10780 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10782 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10784 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10785 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10786 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10787 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10788 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10789 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10790 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10791 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10792 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10793 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10794 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10795 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10796 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10797 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10798 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10799 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10800 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10802 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10804 * posix/spawn_faction_addopen.c: Include string.h.
10806 2014-06-11 Roland McGrath <roland@hack.frob.com>
10808 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10809 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10810 * nptl/sysdeps/x86_64/Makefile: Moved ...
10811 * sysdeps/x86_64/nptl/Makefile: ... here.
10812 * nptl/sysdeps/x86_64/configure: Moved ...
10813 * sysdeps/x86_64/nptl/configure: ... here.
10814 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10815 * sysdeps/x86_64/nptl/configure.ac: ... here.
10816 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10817 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10818 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10819 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10820 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10821 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10822 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10823 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10824 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10825 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10826 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10827 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10828 * nptl/sysdeps/x86_64/tls.h: Moved ...
10829 * sysdeps/x86_64/nptl/tls.h: ... here.
10830 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10831 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10832 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10833 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10835 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10837 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10841 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10843 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10845 [POSIX] (off_t): Likewise.
10846 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10847 [POSIX] (S_ISBLK): Require macro.
10848 [POSIX] (S_ISCHR): Likewise.
10849 [POSIX] (S_ISDIR): Likewise.
10850 [POSIX] (S_ISFIFO): Likewise.
10851 [POSIX] (S_ISREG): Likewise.
10852 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10854 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10856 [POSIX] (time_t): Likewise.
10857 [POSIX] (timer_t): Likewise.
10859 2014-06-11 Florian Weimer <fweimer@redhat.com>
10862 * posix/spawn_int.h (struct __spawn_action): Make the path string
10863 non-const to support deallocation.
10864 * posix/spawn_faction_addopen.c
10865 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10866 * posix/spawn_faction_destroy.c
10867 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10868 path in all spawn_do_open actions.
10869 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10870 posix_spawn_file_actions_addopen.
10872 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10874 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10875 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10876 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10877 conditional code always true.
10878 (__libc_vfork): New alias.
10880 2014-06-11 Roland McGrath <roland@hack.frob.com>
10882 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10883 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10885 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10887 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10888 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10890 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10891 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10893 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10894 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10896 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10898 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10899 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10900 multiarch strcmp for PPC64.
10901 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10902 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10904 multiarch optimizations.
10905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10906 (__libc_ifunc_impl_list): Likewise.
10908 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10910 * benchtests/scripts/validate_benchout.py: New script.
10911 * benchtests/Makefile (bench-func): Call it.
10912 * benchtests/scripts/benchout.schema.json: New file.
10914 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10916 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10917 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10918 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10919 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10920 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10921 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10922 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10923 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10924 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10925 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10926 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10927 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10928 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10929 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10930 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10931 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11035 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11036 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11037 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11038 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11039 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11041 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11044 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11046 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11048 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11050 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11052 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11054 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11057 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11060 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11062 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11065 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11067 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11068 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11069 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11070 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11071 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11073 2014-06-10 Wilco <wdijkstr@arm.com>
11075 * math/test-fenv-return.c: New file.
11076 * math/Makefile: Add new test test-fenv-return.
11078 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11081 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11082 when x - 1 is zero.
11083 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11084 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11085 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11086 0.0L for an argument of 1.0L.
11087 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11089 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11090 value when x - 1 is zero.
11091 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11092 * sysdeps/i386/fpu/libm-test-ulps: Update.
11093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11095 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11098 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11100 2014-06-09 Roland McGrath <roland@hack.frob.com>
11102 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11103 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11105 2014-06-09 Roland McGrath <roland@hack.frob.com>
11107 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11108 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11110 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11111 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11113 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11114 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11116 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11117 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11119 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11120 if not already defined.
11121 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11122 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11123 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11124 (TLS_INIT_TP): Use it.
11125 (TLS_DEFINE_INIT_TP): New macro.
11126 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11128 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11130 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11132 [POSIX] (IXANY): Likewise.
11133 [POSIX] (OLCUC): Likewise.
11134 [POSIX || POSIX2008] (CBAUD): Do not allow.
11135 [POSIX || POSIX2008] (DEFECHO): Likewise.
11136 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11137 [POSIX || POSIX2008] (ECHOKE): Likewise.
11138 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11139 [POSIX || POSIX2008] (EXTA): Likewise.
11140 [POSIX || POSIX2008] (EXTB): Likewise.
11141 [POSIX || POSIX2008] (FLUSHO): Likewise.
11142 [POSIX || POSIX2008] (LOBLK): Likewise.
11143 [POSIX || POSIX2008] (PENDIN): Likewise.
11144 [POSIX || POSIX2008] (SWTCH): Likewise.
11145 [POSIX || POSIX2008] (VDISCARD): Likewise.
11146 [POSIX || POSIX2008] (VDSUSP): Likewise.
11147 [POSIX || POSIX2008] (VLNEXT): Likewise.
11148 [POSIX || POSIX2008] (VREPRINT): Likewise.
11149 [POSIX || POSIX2008] (VSTATUS): Likewise.
11150 [POSIX || POSIX2008] (VWERASE): Likewise.
11151 (B*): Change to B[0123456789]*.
11152 * conform/data/time.h-data [POSIX || UNIX98]
11153 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11154 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11155 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11156 [POSIX] (tm_*): Do not allow.
11158 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11160 * Makefile (install): Don't set LANGUAGE.
11161 * Makefile.in (install): Likewise.
11162 * assert/Makefile (test-assert-ENV): Remove variable.
11163 (test-assert-perr-ENV): Likewise.
11164 * elf/Makefile (neededtest4-ENV): Likewise.
11165 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11166 [$(cross-compiling) = no]: Don't set LANGUAGE.
11167 * io/ftwtest-sh (LANG): Remove variable.
11168 * libio/Makefile (tst-widetext-ENV): Likewise.
11169 * manual/install.texi (Running make install): Don't refer to
11170 environment settings for make install.
11171 * INSTALL: Regenerated.
11172 * nptl/tst-tls6.sh: Don't set LANG.
11173 * posix/globtest.sh (LANG): Remove variable.
11174 * string/Makefile (tester-ENV): Likewise.
11175 (inl-tester-ENV): Likewise.
11176 (noinl-tester-ENV): Likewise.
11177 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11178 [$(cross-compiling) = no]: Don't set LANGUAGE.
11179 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11180 without explicit environment settings.
11182 2014-06-06 Roland McGrath <roland@hack.frob.com>
11184 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11185 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11186 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11187 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11189 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11191 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11192 other files in the crypt directory.
11193 * crypt/crypt.c: Remove duplicate includes.
11194 * crypt/crypt-entry.c: Likewise.
11195 * crypt/crypt_util.c: Likewise.
11197 2014-06-06 Joseph Myers <joseph@codesourcery.com>
11199 * Makeconfig (run-program-env): New variable.
11200 (run-program-prefix-before-env): Likewise.
11201 (run-program-prefix-after-env): Likewise.
11202 (run-program-prefix): Define in terms of new variables.
11203 (built-program-cmd-before-env): New variable.
11204 (built-program-cmd-after-env): Likewise.
11205 (built-program-cmd): Define in terms of new variables.
11206 (test-program-prefix-before-env): New variable.
11207 (test-program-prefix-after-env): Likewise.
11208 (test-program-prefix): Define in terms of new variables.
11209 (test-program-cmd-before-env): New variable.
11210 (test-program-cmd-after-env): Likewise.
11211 (test-program-cmd): Define in terms of new variables.
11212 * Rules (make-test-out): Use $(run-program-env).
11213 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11214 (help): Do not mention environment variables. Mention
11215 --timeoutfactor option.
11216 (timeoutfactor): New variable.
11217 (blacklist_exports): Remove function.
11218 (exports): Remove variable.
11219 (command): Do not include ${exports}.
11220 * manual/install.texi (Configuring and compiling): Do not mention
11221 test wrappers preserving environment variables. Mention that last
11222 assignment to a variable must take precedence.
11223 * INSTALL: Regenerated.
11224 * benchtests/Makefile (run-bench): Use $(run-program-env).
11225 * catgets/Makefile ($(objpfx)test1.cat): Use
11226 $(built-program-cmd-before-env), $(run-program-env) and
11227 $(built-program-cmd-after-env).
11228 ($(objpfx)test2.cat): Do not specify environment variables
11230 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11231 $(run-program-env) and $(built-program-cmd-after-env).
11232 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11233 $(run-program-env) and $(test-program-cmd-after-env).
11234 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11236 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11237 run_program_env and test_program_cmd_after_env arguments.
11238 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11239 * elf/tst-pathopt.sh: Use run_program_env argument.
11240 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11241 $(test-wrapper-env) and $(run-program-env).
11242 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11243 run_program_env arguments.
11244 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11245 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11246 $(test-program-prefix-before-env), $(run-program-env) and
11247 $(test-program-prefix-after-env).
11248 ($(objpfx)tst-gettext2.out): Likewise.
11249 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11250 run_program_env and test_program_prefix_after_env arguments.
11251 * intl/tst-gettext2.sh: Likewise.
11252 * intl/tst-gettext4.sh: Do not set environment variables
11254 * intl/tst-gettext6.sh: Likewise.
11255 * intl/tst-translit.sh: Likewise.
11256 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11257 $(test-program-prefix-before-env), $(run-program-env) and
11258 $(test-program-prefix-after-env).
11259 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11260 run_program_env and test_program_prefix_after_env arguments.
11261 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11262 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11263 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11264 explicitly with each use of ${test_wrapper_env}.
11265 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11266 $(test-program-prefix-before-env), $(run-program-env) and
11267 $(test-program-prefix-after-env).
11268 * posix/tst-getconf.sh: Do not set environment variables
11270 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11271 run_program_env and test_program_prefix_after_env arguments.
11272 * stdio-common/tst-printf.sh: Do not set environment variables
11274 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11275 $(test-program-prefix-before-env), $(run-program-env) and
11276 $(test-program-prefix-after-env).
11277 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11278 run_program_env and test_program_prefix_after_env arguments.
11279 Split $test calls into $test_pre and $test.
11280 * timezone/Makefile (build-testdata): Use
11281 $(built-program-cmd-before-env), $(run-program-env) and
11282 $(built-program-cmd-after-env).
11284 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11286 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11287 strlen for non SHARED builds.
11289 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11291 * nptl/allocatestack.c (check_list): Inlined function...
11292 (__reclaim_stacks): ... here.
11294 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11297 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11300 2014-06-05 Joseph Myers <joseph@codesourcery.com>
11302 * Rules (make-test-out): Include
11303 LOCPATH=$(common-objpfx)localedata in default environment.
11304 * debug/Makefile (tst-chk1-ENV): Remove variable.
11305 (tst-chk2-ENV): Likewise.
11306 (tst-chk3-ENV): Likewise.
11307 (tst-chk4-ENV): Likewise.
11308 (tst-chk5-ENV): Likewise.
11309 (tst-chk6-ENV): Likewise.
11310 (tst-lfschk1-ENV): Likewise.
11311 (tst-lfschk2-ENV): Likewise.
11312 (tst-lfschk3-ENV): Likewise.
11313 (tst-lfschk4-ENV): Likewise.
11314 (tst-lfschk5-ENV): Likewise.
11315 (tst-lfschk6-ENV): Likewise.
11316 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11317 (tst-iconv7-ENV): Likewise.
11318 * intl/Makefile (LOCPATH-ENV): Likewise.
11319 (tst-codeset-ENV): Likewise.
11320 (tst-gettext3-ENV): Likewise.
11321 (tst-gettext5-ENV): Likewise.
11322 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11323 (tst-fopenloc-ENV): Likewise.
11324 (tst-fgetws-ENV): Remove variable.
11325 (tst-ungetwc1-ENV): Likewise.
11326 (tst-ungetwc2-ENV): Likewise.
11327 (bug-ungetwc2-ENV): Likewise.
11328 (tst-swscanf-ENV): Likewise.
11329 (bug-ftell-ENV): Likewise.
11330 (tst-fgetwc-ENV): Likewise.
11331 (tst-fseek-ENV): Likewise.
11332 (tst-ftell-partial-wide-ENV): Likewise.
11333 (tst-ftell-active-handler-ENV): Likewise.
11334 (tst-ftell-append-ENV): Likewise.
11335 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11336 (tst-regexloc-ENV): Likewise.
11337 (bug-regex1-ENV): Likewise.
11338 (tst-regex-ENV): Likewise.
11339 (tst-regex2-ENV): Likewise.
11340 (bug-regex5-ENV): Likewise.
11341 (bug-regex6-ENV): Likewise.
11342 (bug-regex17-ENV): Likewise.
11343 (bug-regex18-ENV): Likewise.
11344 (bug-regex19-ENV): Likewise.
11345 (bug-regex20-ENV): Likewise.
11346 (bug-regex22-ENV): Likewise.
11347 (bug-regex23-ENV): Likewise.
11348 (bug-regex25-ENV): Likewise.
11349 (bug-regex26-ENV): Likewise.
11350 (bug-regex30-ENV): Likewise.
11351 (bug-regex32-ENV): Likewise.
11352 (bug-regex33-ENV): Likewise.
11353 (bug-regex34-ENV): Likewise.
11354 (bug-regex35-ENV): Likewise.
11355 (tst-rxspencer-ENV): Likewise.
11356 (tst-rxspencer-no-utf8-ENV): Likewise.
11357 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11358 (tst-sscanf-ENV): Likewise.
11359 (tst-swprintf-ENV): Likewise.
11360 (tst-swscanf-ENV): Likewise.
11361 (test-vfprintf-ENV): Likewise.
11362 (scanf13-ENV): Likewise.
11363 (bug14-ENV): Likewise.
11364 (tst-grouping-ENV): Likewise.
11365 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11366 (tst-strtod3-ENV): Likewise.
11367 (tst-strtod4-ENV): Likewise.
11368 (tst-strtod5-ENV): Likewise.
11369 (testmb2-ENV): Likewise./
11370 * string/Makefile (tst-strxfrm-ENV): Likewise.
11371 (tst-strxfrm2-ENV): Likewise.
11372 (bug-strcoll1-ENV): Likewise.
11373 (test-strcasecmp-ENV): Likewise.
11374 (test-strncasecmp-ENV): Likewise.
11375 * time/Makefile (tst-strptime-ENV): Likewise.
11376 (tst-ftime_l-ENV): Likewise.
11377 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11378 (tst-mbrtowc-ENV): Likewise.
11379 (tst-wcrtomb-ENV): Likewise.
11380 (tst-mbrtowc2-ENV): Likewise.
11381 (tst-c16c32-1-ENV): Likewise.
11382 (tst-mbsnrtowcs-ENV): Likewise.
11384 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11386 * manual/resource.texi (How to get information about the memory
11387 subsystem?): Fix typo.
11388 Reported by Peon de la Parra Ivan <peon@keba.com>
11390 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11393 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11394 (pthread_spin_lock): Branch out of spin loop to proper location.
11395 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11396 (pthread_spin_lock): Likewise.
11398 * nptl/tst-spin4.c: New test.
11399 * nptl/Makefile (tests): Add tst-spin4.
11401 2014-06-03 Andreas Schwab <schwab@suse.de>
11404 * resolv/res_send.c (send_dg): Reload file descriptor after
11407 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11409 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11411 2014-06-03 Richard Henderson <rth@redhat.com>
11413 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11414 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11415 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11416 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11417 in the SAVE_PID block.
11418 (__libc_vfork): New alias.
11419 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11421 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11422 child in registers, not on the stack. Remove RESET_PID conditionals.
11423 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11425 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11427 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11429 2014-06-03 Wilco <wdijkstr@arm.com>
11431 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11432 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11433 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11434 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11435 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11438 2014-06-03 Wilco <wdijkstr@arm.com>
11440 * sysdeps/aarch64/fpu/math_private.h
11441 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11442 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11443 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11444 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11447 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11449 * crypt/crypt-private.h: Include ufc-crypt.h.
11450 (__b64_from_24bit): Declare extern.
11451 * crypt/crypt_util.c(__b64_from_24bit): New function.
11452 (b64t): New static const variable.
11453 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11454 (b64t): Remove variable.
11455 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11456 * crypt/sha256-crypt.c: Include crypt-private.h.
11457 (b64t): Remove variable.
11458 (__sha256_crypt_r): Remove b64_from_24bit and replace
11459 with __b64_from_24bit.
11460 * crypt/sha512-crypt.c: Likewise.
11462 2014-06-02 Roland McGrath <roland@hack.frob.com>
11464 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11465 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11466 Label the code __libc_vfork rather than __vfork.
11467 [!NOT_IN_libc] (vfork): Define as weak alias.
11468 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11469 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11470 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11472 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11474 * malloc/malloc.c (malloc_info): Fix format specifier for
11477 2014-06-02 Wilco <wdijkstr@arm.com>
11479 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11482 2014-06-02 Wilco <wdijkstr@arm.com>
11485 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11486 Rewrite to reduce FPCR/FPSR accesses.
11488 2014-06-01 David S. Miller <davem@davemloft.net>
11490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11492 2014-05-31 David S. Miller <davem@davemloft.net>
11494 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11495 to occur in round to nearest mode when |x| >= 2.0
11497 2014-05-30 Richard Henderson <rth@twiddle.net>
11499 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11500 (PSEUDO_RET_NOERRNO): Remove.
11501 (ret): Don't redefine.
11502 (ret_NOERRNO): Define in terms of ret.
11503 (ret_ERRVAL): Likewise.
11505 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11506 use of PSEUDO_RET; perform the error check directly.
11508 2014-05-30 Marko Myllynen <myllynen@redhat.com>
11510 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11513 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11515 * malloc/malloc (malloc_info): Fix formatting.
11517 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11518 Roland McGrath <roland@hack.frob.com>
11520 * malloc/malloc (malloc_info): Also print mmapped statistics.
11522 2014-05-30 Roland McGrath <roland@hack.frob.com>
11524 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11525 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11527 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
11529 * malloc/malloc.c (malloc_info): Inline mi_arena.
11531 2014-05-29 Richard Henderson <rth@twiddle.net>
11533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11534 Remove comma before expanding ASM_ARGS_##nr.
11535 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11536 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11538 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11539 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11540 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11541 (ASM_ARGS_1): Add leading comma.
11543 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11544 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11545 to __errno_location.
11546 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11547 Remove the expected plt for __errno_location.
11549 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11550 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11554 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11555 it and break it down.
11556 (DOCARGS_0, DOCARGS_1): Do nothing.
11557 (DOCARGS_2): Update to store into the new stack frame.
11558 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11559 (UNDOCARGS_1): Update to restore from the new stack frame.
11560 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11561 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11563 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11564 (SINGLE_THREAD_P): New parameter for result regno.
11565 (PSEUDO): Update to match; use cbz instead of beq.
11567 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11568 Use ENTRY to define the _nocancel entry point. Share the syscall
11569 and syscall error check paths with the cancel path.
11572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11573 whitespace; tabs before and after asm mnemonics.
11575 2014-05-29 Eric Wong <normalperson@yhbt.net>
11578 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11579 Call fstat64 or stat64 internally, depending on arguments passed.
11580 Replace stat buffer argument with file descriptor argument.
11581 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11582 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11583 Pass fd to __internal_statvfs instead of calling fstat64.
11584 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11585 Pass fd to __internal_statvfs64 instead of calling fstat64.
11586 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11587 Pass -1 to __internal_statvfs instead of calling stat64.
11588 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11589 Pass -1 to __internal_statvfs64 instead of calling stat64.
11591 2014-05-28 Roland McGrath <roland@hack.frob.com>
11593 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11594 that was previously under [RESET_PID].
11595 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11597 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11598 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11600 2014-05-27 Roland McGrath <roland@hack.frob.com>
11602 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11604 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11605 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11607 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
11609 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11611 2014-05-27 Andreas Schwab <schwab@suse.de>
11613 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11615 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11616 * elf/rtld.c (init_tls, dl_main): Likewise.
11617 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11618 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11619 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11620 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11621 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11622 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11623 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11624 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11625 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11626 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11627 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11628 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11629 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11630 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11631 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11632 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11633 * sysdeps/generic/tls.h: Update description.
11635 2014-05-27 Will Newton <will.newton@linaro.org>
11638 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11639 and restore r2 rather than just restoring.
11641 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11644 * libio/tst-ftell-append.c: New test case.
11645 * libio/Makefile (tests): Add test case.
11646 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11648 * libio/wfileops.c (do_ftell_wide): Likewise.
11650 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11654 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11658 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11659 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11660 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11661 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11662 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11663 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11667 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11670 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11671 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11672 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11673 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11674 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11676 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11677 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11679 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11681 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11683 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11684 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11685 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11687 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11688 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11689 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11690 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11692 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11713 conditional [RESET_PID].
11714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11717 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11722 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11723 (__libc_vfork): New strong alias.
11724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11731 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11732 (__libc_vfork): New strong alias.
11733 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11738 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11740 * malloc/malloc.c (mi_arena): New function.
11741 (malloc_info): Remove nested function mi_arena. Call non-nosted
11744 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11746 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11748 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11749 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11750 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11751 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11752 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11753 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11754 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11756 2014-05-26 Andreas Schwab <schwab@suse.de>
11759 * locale/programs/repertoire.c (repertoire_read): Add slash
11760 between I18NPATH element and file name.
11761 * locale/programs/locfile.c (locfile_read): Likewise.
11763 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11765 * nptl/pthread_mutexattr_settype.c
11766 (__pthread_mutexattr_settype):
11767 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11769 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11771 * nptl/tst-mutex5 (do_test):
11772 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11774 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11776 * benchtests/README: Document 'init' directive.
11777 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11779 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11780 (parse_file): Recognize 'init' directive.
11782 2014-05-26 Kyle McMartin <kyle@redhat.com>
11785 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11786 alignment of struct pthread.
11788 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11791 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11792 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11793 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11794 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11796 2014-05-25 Richard Henderson <rth@twiddle.net>
11798 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11799 (SINGLE_THREAD_P_PIC): Remove.
11800 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11801 (SINGLE_THREAD_P_PIC): Remove.
11803 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11804 branch to syscall error ...
11805 (PSEUDO): ... here.
11806 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11807 from __local_syscall_error to .Lsyscall_error.
11808 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11809 (SYSCALL_ERROR): Update label name.
11811 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11812 Do not use DOARGS/UNDOARGS.
11813 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11814 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11815 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11816 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11817 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11819 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11822 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11823 define if !NOT_IN_libc.
11824 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11825 define with non-default symbol versions.
11827 2014-05-23 Richard Henderson <rth@twiddle.net>
11829 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11830 (vfork, __vfork): Define via compat_symbol.
11832 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11833 [!HAVE_IFUNC] (vfork_compat): Remove.
11834 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11836 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11839 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11840 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11843 2014-05-23 Richard Henderson <rth@twiddle.net>
11845 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11846 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11847 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11848 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11850 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11851 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11852 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11853 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11854 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11855 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11856 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11857 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11858 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11859 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11860 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11861 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11862 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11863 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11864 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11865 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11866 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11867 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11868 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11869 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11870 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11871 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11872 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11873 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11874 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11876 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11877 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11878 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11879 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11880 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11881 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11882 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11883 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11884 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11885 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11886 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11887 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11888 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11889 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11890 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11891 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11892 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11893 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11894 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11895 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11896 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11897 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11898 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11899 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11900 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11901 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11902 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11903 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11904 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11905 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11907 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11908 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11909 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11910 before exiting on error.
11911 (__libc_vfork): New strong alias.
11912 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11913 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11915 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11916 that was previously under [RESET_PID].
11917 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11919 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11921 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11924 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11925 value when x - 1 is zero.
11926 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11927 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11928 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11929 0.0L for an argument of 1.0L.
11930 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11932 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11933 value when x - 1 is zero.
11934 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11935 * sysdeps/i386/fpu/libm-test-ulps: Update.
11936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11938 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11940 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11941 alphasort and versionsort.
11943 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11945 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11947 [copysignf]: Likewise.
11949 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11951 * crypt/md5-crypt.c: Fix formatting.
11953 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11955 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11956 (b64_from_24bit): New function.
11958 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11960 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11961 libc_hidden_builtin_def to ifunc.
11962 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11963 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11965 2014-05-21 Roland McGrath <roland@hack.frob.com>
11967 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11968 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11970 2014-05-21 Joseph Myers <joseph@codesourcery.com>
11972 * nscd/Depend (linuxthreads): Remove.
11974 * resolv/Depend (linuxthreads): Remove.
11975 * rt/Depend (linuxthreads): Remove.
11977 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11978 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11979 $(common-objpfx)elf/.
11980 (link-libc-before-gnulib): Likewise.
11981 (elfobjdir): Remove variable.
11982 * Makefile (install): Use $(elf-objpfx) instead of
11983 $(common-objpfx)elf/.
11984 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11986 (link-libc-deps): Likewise.
11987 ($(common-objpfx)libc.so): Likewise.
11988 ($(common-objpfx)linkobj/libc.so): Likewise.
11989 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11990 instead of $(common-objpfx)elf/.
11991 (symbolic-link-list): Likewise.
11992 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11993 [$(cross-compiling) = no]: Likewise.
11994 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11996 (static-gnulib-arch): Likewise.
11997 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11998 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11999 $(common-objpfx)elf/.
12001 2014-05-21 Richard Henderson <rth@redhat.com>
12003 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12004 (SINGLE_THREAD_P): Use the correct width load. Fold
12005 into the ldr offset.
12007 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12008 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12010 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12012 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12013 (libgcc_s_resume): Use __attribute_used__.
12014 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12017 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12019 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12020 optimization when used with float constants.
12022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12024 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12027 * locale/nl_langinfo_l.c: Make direct reference to every
12028 _nl_current_CATEGORY symbol.
12029 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12030 (tests-static): Add tst-langinfo-static.
12031 (tests-special): Add tst-langinfo-static.out.
12032 ($(objpfx)tst-langinfo.out): Redirect output.
12033 ($(objpfx)tst-langinfo-static.out): New.
12034 * localedata/tst-langinfo.sh: Send output to stdout.
12035 * localedata/tst-langinfo-static.c: New file.
12038 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12039 when the shift amount is modulo the limb size.
12041 2014-05-20 Richard Henderson <rth@redhat.com>
12044 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12045 Change type of sa_flags from unsigned int to int.
12048 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12050 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12052 2014-05-20 Will Newton <will.newton@linaro.org>
12054 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12055 Test the return value of the system call in the nocancel case.
12057 2014-05-20 Will Newton <will.newton@linaro.org>
12058 Yvan Roux <yvan.roux@linaro.org>
12060 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12061 #include of asm/ptrace.h.
12062 (PTRACE_GET_THREAD_AREA): Remove #undef.
12063 (PTRACE_GETHBPREGS): Likewise.
12064 (PTRACE_SETHBPREGS): Likewise.
12065 (struct user_regs_struct): New structure.
12066 (struct user_fpsimd_struct): New structure.
12067 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12068 #include of asm/ptrace.h and second #include of sys/user.h.
12069 (PTRACE_GET_THREAD_AREA): Remove #undef.
12070 (PTRACE_GETHBPREGS): Likewise.
12071 (PTRACE_SETHBPREGS): Likewise.
12072 (ELF_NGREG): Use new struct user_regs_struct.
12073 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12075 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12078 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12080 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12084 membar to avoid block loads/stores to overlap previous stores.
12086 2014-05-17 Richard Henderson <rth@redhat.com>
12088 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12089 Create the __##syscall_name##_nocancel entry point.
12090 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12091 Remove; let the sysdep-cancel.h code create it.
12093 2014-05-17 David S. Miller <davem@davemloft.net>
12095 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12096 Protect with __USE_GNU.
12097 (TIOCSET_TEMPT): Likewise.
12098 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12099 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12100 these are already provided in bits/ioctl-types.h
12102 2014-05-16 Roland McGrath <roland@hack.frob.com>
12104 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12105 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12107 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12108 Use wait4 regardless of [__NR_waitpid].
12110 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12113 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12114 (_FP_NANSIGN_Q): Set the quiet bit.
12116 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12118 * benchtests/Makefile
12119 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12120 not $(common-objpfx)math/libm.so.
12121 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12122 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12123 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12124 $(common-objpfx)dlfcn/libdl.so.
12125 ($(objpfx)tst-audit8): Depend on $(libm), not
12126 $(common-objpfx)math/libm.so.
12127 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12128 not $(common-objpfx)dlfcn/libdl.so.
12130 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12131 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12132 [$(build-shared) = yes].
12133 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12134 $(common-objpfx)nptl/libpthread.so.
12135 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12136 $(common-objpfx)math/libm.so$(libm.so-version) or
12137 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12138 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12139 $(common-objpfx)dlfcn/libdl.so.
12140 * setjmp/Makefile (link-libm): Remove variable.
12141 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12142 * stdio-common/Makefile (link-libm): Remove variable.
12143 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12144 * stdlib/Makefile (link-libm): Remove variable.
12145 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12146 ($(objpfx)tst-strtod-round): Likewise.
12147 ($(objpfx)tst-tininess): Likewise.
12148 ($(objpfx)tst-strtod-underflow): Likewise.
12149 ($(objpfx)tst-strtod6): Likewise.
12150 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12151 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12152 $(common-objpfx)dlfcn/libdl.so.
12154 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12156 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12157 BSD terminal modes definitions.
12159 2014-05-16 Roland McGrath <roland@hack.frob.com>
12161 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12162 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12164 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12165 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12166 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12167 Don't do #include_next.
12168 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12169 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12170 Don't do #include_next.
12171 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12172 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12173 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12174 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12176 2014-05-16 Allan McRae <allan@archlinux.org>
12178 * po/sv.po: Update Swedish translation from translation project.
12180 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12183 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12186 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12187 errno if the TIOCGPTN ioctl fails with an error different than
12189 * login/tst-ptsname.c: New file.
12190 * login/Makefile (tests): Add tst-ptsname.
12193 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12196 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12200 herrno to return EAI_AGAIN.
12202 2014-05-14 Roland McGrath <roland@hack.frob.com>
12204 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12205 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12206 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12207 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12208 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12209 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12210 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12211 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12212 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12213 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12214 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12215 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12216 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12217 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12218 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12219 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12220 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12221 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12222 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12223 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12224 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12225 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12226 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12227 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12228 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12229 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12230 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12231 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12232 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12233 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12235 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12237 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12240 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12242 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12244 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12246 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12248 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12250 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12252 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12254 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12256 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12258 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12260 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12262 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12264 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12266 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12269 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12271 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12273 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12275 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12277 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12279 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12281 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12283 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12285 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12287 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12290 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12292 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12294 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12295 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12296 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12297 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12298 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12299 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12300 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12301 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12302 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12303 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12304 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12305 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12306 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12307 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12308 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12309 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12310 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12311 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12312 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12313 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12314 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12315 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12316 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12317 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12318 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12319 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12320 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12321 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12322 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12323 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12324 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12326 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12327 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12329 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12330 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12331 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12332 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12333 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12334 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12336 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12337 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12339 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12340 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12342 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12343 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12345 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12346 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12347 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12348 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12350 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12351 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12352 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12353 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12354 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12355 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12356 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12359 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12360 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12362 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12364 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12365 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12366 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12367 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12368 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12370 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12372 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12374 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12375 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12376 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12377 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12378 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12379 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12381 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12384 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12385 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12387 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12388 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12390 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12391 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12392 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12393 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12395 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12396 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12397 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12398 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12399 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12400 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12401 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12404 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12405 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12407 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12409 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12410 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12411 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12412 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12413 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12415 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12417 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12419 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12420 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12421 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12422 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12423 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12424 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12425 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12426 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12427 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12428 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12430 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12431 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12433 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12434 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12436 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12437 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12439 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12440 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12441 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12442 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12443 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12444 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12446 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12448 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12450 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12451 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12452 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12453 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12455 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12456 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12458 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12460 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12461 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12462 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12463 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12464 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12466 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12470 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12471 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12472 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12473 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12474 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12475 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12476 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12477 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12478 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12479 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12480 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12482 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12483 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12485 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12486 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12488 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12489 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12490 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12491 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12492 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12493 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12494 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12495 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12496 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12497 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12498 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12499 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12500 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12501 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12502 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12504 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12507 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12509 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12512 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12514 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12516 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12517 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12518 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12519 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12521 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12522 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12524 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12529 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12530 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12531 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12532 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12533 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12534 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12535 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12536 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12537 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12538 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12539 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12540 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12542 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12543 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12544 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12545 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12546 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12548 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12549 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12550 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12551 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12552 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12553 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12554 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12555 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12556 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12557 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12560 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12562 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12563 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12564 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12565 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12566 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12567 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12568 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12569 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12570 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12571 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12572 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12573 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12574 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12575 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12580 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12598 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12599 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12600 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12601 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12602 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12603 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12604 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12605 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12606 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12607 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12608 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12609 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12610 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
12612 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12613 that was previously under [RESET_PID].
12614 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12615 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12616 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12618 * sysdeps/i386/nptl/Implies: New file.
12619 * sysdeps/x86_64/nptl/Implies: New file.
12620 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12621 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12622 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12623 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12625 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12626 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12627 (__libc_vfork): New strong alias.
12628 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12629 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12631 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12632 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12633 (__libc_vfork): New strong alias.
12634 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12635 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12637 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12638 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12639 (__libc_vfork): New strong alias.
12640 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12641 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12642 * nptl/pt-vfork.c: New file.
12643 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12644 (libpthread: GLIBC_2.20): New version set (empty).
12646 2014-05-14 Will Newton <will.newton@linaro.org>
12648 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12651 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12654 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12655 arguments with exponent 65 or above.
12656 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12657 arguments 0x1p113L or above.
12658 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12659 to arguments 0x1p107L or above.
12660 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12661 positive arguments with exponent 65 or above.
12662 * math/auto-libm-test-in: Add more tests of log1p.
12663 * math/auto-libm-test-out: Regenerated.
12666 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12667 non-finite arguments is +0.
12668 * math/s_cacosf.c (__cacosf): Likewise.
12669 * math/s_cacosl.c (__cacosl): Likewise.
12670 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12671 * sysdeps/i386/fpu/libm-test-ulps: Update.
12672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12675 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12677 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12678 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12679 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12680 for explicit high bit of mantissa when testing for argument equal
12682 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12683 * sysdeps/i386/fpu/libm-test-ulps: Update.
12684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12687 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12688 (__erf): Scale by 16 instead of 8 in potentially underflowing
12689 case. Ensure exception if result actually underflows.
12690 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12691 (__erff): Scale by 16 instead of 8 in potentially underflowing
12692 case. Ensure exception if result actually underflows.
12693 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12694 (efx8): Remove variable.
12695 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12696 case. Ensure exception if result actually underflows.
12697 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12698 (efx8): Remove variable.
12699 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12700 case. Ensure exception if result actually underflows.
12701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12702 (efx8): Remove variable.
12703 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12704 case. Ensure exception if result actually underflows.
12705 * math/auto-libm-test-in: Add more tests of erf.
12706 * math/auto-libm-test-out: Regenerated.
12708 2014-05-14 Andreas Schwab <schwab@suse.de>
12710 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12711 Remove code conditionalized on USE___THREAD.
12713 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12714 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12717 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12720 Define unconditionally.
12721 (__ASSUME_O_CLOEXEC): Likewise.
12722 (__ASSUME_SOCK_CLOEXEC): Likewise.
12723 (__ASSUME_IN_NONBLOCK): Likewise.
12724 (__ASSUME_PIPE2): Likewise.
12725 (__ASSUME_EVENTFD2): Likewise.
12726 (__ASSUME_SIGNALFD4): Likewise.
12727 (__ASSUME_DUP3): Likewise.
12728 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12729 (__ASSUME_DUP3): Do not define.
12730 (__ASSUME_EVENTFD2): Likewise.
12731 (__ASSUME_IN_NONBLOCK): Likewise.
12732 (__ASSUME_O_CLOEXEC): Likewise.
12733 (__ASSUME_PIPE2): Likewise.
12734 (__ASSUME_SIGNALFD4): Likewise.
12735 (__ASSUME_SOCK_CLOEXEC): Likewise.
12736 (__ASSUME_UTIMES): Undefine.
12737 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12738 (__ASSUME_UTIMES): Do not define.
12739 (__ASSUME_O_CLOEXEC): Likewise.
12740 (__ASSUME_SOCK_CLOEXEC): Likewise.
12741 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12742 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12744 (__ASSUME_PIPE2): Likewise.
12745 (__ASSUME_EVENTFD2): Likewise.
12746 (__ASSUME_SIGNALFD4): Likewise.
12747 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12748 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12750 (__ASSUME_EVENTFD2): Likewise.
12751 (__ASSUME_SIGNALFD4): Likewise.
12752 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12753 (__ASSUME_32BITUIDS): Likewise.
12754 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12755 (__ASSUME_IPC64): Likewise.
12756 (__ASSUME_ST_INO_64_BIT): Likewise.
12757 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12758 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12759 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12760 (__ASSUME_UTIMES): Do not define.
12761 (__ASSUME_PSELECT): Likewise.
12762 (__ASSUME_PPOLL): Likewise.
12763 (__ASSUME_O_CLOEXEC): Likewise.
12764 (__ASSUME_SOCK_CLOEXEC): Likewise.
12765 (__ASSUME_IN_NONBLOCK): Likewise.
12766 (__ASSUME_PIPE2): Likewise.
12767 (__ASSUME_EVENTFD2): Likewise.
12768 (__ASSUME_SIGNALFD4): Likewise.
12769 (__ASSUME_DUP3): Likewise.
12770 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12771 (__ASSUME_UTIMES): Likewise.
12772 (__ASSUME_O_CLOEXEC): Likewise.
12773 (__ASSUME_SOCK_CLOEXEC): Likewise.
12774 (__ASSUME_IN_NONBLOCK): Likewise.
12775 (__ASSUME_PIPE2): Likewise.
12776 (__ASSUME_EVENTFD2): Likewise.
12777 (__ASSUME_SIGNALFD4): Likewise.
12778 (__ASSUME_DUP3): Likewise.
12779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12780 (__ASSUME_UTIMES): Likewise.
12781 (__ASSUME_O_CLOEXEC): Likewise.
12782 (__ASSUME_SOCK_CLOEXEC): Likewise.
12783 (__ASSUME_IN_NONBLOCK): Likewise.
12784 (__ASSUME_PIPE2): Likewise.
12785 (__ASSUME_EVENTFD2): Likewise.
12786 (__ASSUME_SIGNALFD4): Likewise.
12787 (__ASSUME_DUP3): Likewise.
12788 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12790 (__ASSUME_UTIMES): Likewise.
12791 (__ASSUME_EVENTFD2): Likewise.
12792 (__ASSUME_SIGNALFD4): Likewise.
12793 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12794 (__ASSUME_O_CLOEXEC): Likewise.
12795 (__ASSUME_SOCK_CLOEXEC): Likewise.
12796 (__ASSUME_IN_NONBLOCK): Likewise.
12797 (__ASSUME_PIPE2): Likewise.
12798 (__ASSUME_EVENTFD2): Likewise.
12799 (__ASSUME_SIGNALFD4): Likewise.
12800 (__ASSUME_DUP3): Likewise.
12801 (__ASSUME_UTIMES): Undefine.
12803 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12804 feclearexcept. Remove symbol versioning code.
12805 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12806 symbol versioning code.
12807 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12808 symbol versioning code.
12809 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12810 feupdateenv. Remove symbol versioning code.
12811 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12812 fegetexceptflag. Remove symbol versioning code.
12813 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12814 fesetexceptflag. Remove symbol versioning code.
12815 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12816 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12817 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12818 (__posix_fadvise64_l32): Remove prototype.
12819 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12822 2014-05-13 Roland McGrath <roland@hack.frob.com>
12824 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12825 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12826 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12827 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12829 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12831 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12832 current working directory
12834 2014-05-13 Roland McGrath <roland@hack.frob.com>
12836 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12837 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12838 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12839 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12840 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12841 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12842 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12843 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12844 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12845 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12846 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12847 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12848 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12849 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12850 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12851 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12852 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12853 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12854 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12855 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12856 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12857 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12858 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12859 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12860 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12861 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12862 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12863 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12864 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12865 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12866 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12867 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12868 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12869 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12870 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12871 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12872 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12873 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12874 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12875 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12876 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12877 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12879 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12880 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12882 * sysdeps/unix/sysv/linux/arm/Makefile
12883 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12884 Add rt-aeabi_unwind_cpp_pr1.
12885 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12886 Add nptl-aeabi_unwind_cpp_pr1.
12887 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12888 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12889 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12890 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12891 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12892 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12894 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12895 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12896 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12897 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12899 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12900 Deconditionalize the code that was previously under [RESET_PID].
12901 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12903 * sysdeps/generic/exit-thread.h: New file.
12904 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12905 * include/unistd.h (__exit_thread): Remove declaration.
12906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12907 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12908 * csu/libc-start.c: Include <exit-thread.h>.
12909 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12910 * nptl/pthread_create.c: Include <exit-thread.h>.
12911 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12912 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12913 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12914 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12915 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12916 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12917 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12918 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12919 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12920 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12921 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12922 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12923 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12924 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12925 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12926 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12927 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12929 2014-05-13 Andreas Schwab <schwab@suse.de>
12931 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12933 2014-05-12 Joseph Myers <joseph@codesourcery.com>
12935 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12936 (__ASSUME_UTIMES): Do not condition on kernel version.
12937 (__ASSUME_PSELECT): Define unconditionally.
12938 (__ASSUME_PPOLL): Likewise.
12939 (__ASSUME_ATFCTS): Likewise.
12940 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12941 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12942 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12943 (__ASSUME_UTIMENSAT): Define unconditionally.
12944 (__ASSUME_PRIVATE_FUTEX): Likewise.
12945 (__ASSUME_FALLOCATE): Likewise.
12946 (__ASSUME_O_CLOEXEC): Likewise.
12947 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12948 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12949 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12950 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12951 (__ASSUME_IN_NONBLOCK): Likewise.
12952 (__ASSUME_PIPE2): Likewise.
12953 (__ASSUME_EVENTFD2): Likewise.
12954 (__ASSUME_SIGNALFD4): Likewise.
12955 (__ASSUME_DUP3): Likewise.
12956 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12957 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12958 (__ASSUME_AT_RANDOM): Likewise.
12959 (__ASSUME_PREADV): Likewise.
12960 (__ASSUME_PWRITEV): Likewise.
12961 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12962 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12963 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12964 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12965 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12966 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12967 (__ASSUME_O_CLOEXEC): Define unconditionally.
12968 (__ASSUME_PSELECT): Do not undefine conditionally.
12969 (__ASSUME_PPOLL): Likewise.
12970 (__ASSUME_ATFCTS): Likewise.
12971 (__ASSUME_SET_ROBUST_LIST): Likewise.
12972 (__ASSUME_UTIMENSAT): Likewise.
12973 (__ASSUME_FDATASYNC): Define unconditionally.
12974 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12975 (__ASSUME_SIGFRAME_V2): Likewise.
12976 )__ASSUME_EVENTFD2): Likewise.
12977 (__ASSUME_SIGNALFD4): Likewise.
12978 (__ASSUME_PSELECT): Do not undefine conditionally.
12979 (__ASSUME_PPOLL): Likewise.
12980 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12981 (__ASSUME_PSELECT): Define unconditionally.
12982 (__ASSUME_PPOLL): Likewise.
12983 (__ASSUME_O_CLOEXEC): Likewise.
12984 (__ASSUME_SOCK_CLOEXEC): Likewise.
12985 (__ASSUME_IN_NONBLOCK): Likewise.
12986 (__ASSUME_PIPE2): Likewise.
12987 (__ASSUME_EVENTFD2): Likewise.
12988 (__ASSUME_SIGNALFD4): Likewise.
12989 (__ASSUME_DUP3): Likewise.
12990 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12991 (__ASSUME_O_CLOEXEC): Likewise.
12992 (__ASSUME_SOCK_CLOEXEC): Likewise.
12993 (__ASSUME_IN_NONBLOCK): Likewise.
12994 (__ASSUME_PIPE2): Likewise.
12995 (__ASSUME_EVENTFD2): Likewise.
12996 (__ASSUME_SIGNALFD4): Likewise.
12997 (__ASSUME_DUP3): Likewise.
12998 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12999 (__ASSUME_EVENTFD2): Likewise.
13000 (__ASSUME_SIGNALFD4): Likewise.
13001 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13003 2014-05-12 Andreas Schwab <schwab@suse.de>
13006 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13007 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13008 than maximum RPC packet size.
13009 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13010 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13011 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13012 (_nss_nis_getservbyport_r): Likewise.
13014 2014-05-12 Will Newton <will.newton@linaro.org>
13016 * malloc/Makefile (tests): Add tst-mallopt.
13017 * malloc/tst-mallopt.c: New file.
13019 2014-05-09 Roland McGrath <roland@hack.frob.com>
13021 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13022 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13024 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13026 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13027 (tst-tlsmod6.so): Likewise.
13029 2014-05-09 Roland McGrath <roland@hack.frob.com>
13031 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13033 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13036 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13037 and <dl-procinfo.h>.
13038 (__fegetenv): Save SSE state in envp->__eip if supported.
13039 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13040 envp->__eip if supported.
13041 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13042 and <dl-procinfo.h>.
13043 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13044 __data_offset and __data_selector in environment to 0. Set SSE
13045 state if supported.
13046 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13048 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13050 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13052 2014-05-09 Will Newton <will.newton@linaro.org>
13054 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13055 and libc_relro_required for ARM.
13056 * sysdeps/arm/preconfigure: Regenerate.
13058 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13059 Stefan Liebler <stli@linux.vnet.ibm.com>
13061 * config.make.in (enable-lock-elision): New Makefile variable.
13062 * configure.ac: Likewise.
13063 * configure: Regenerate.
13064 * sysdeps/s390/configure.ac:
13065 Add check for gcc transactions support.
13066 * sysdeps/s390/configure: Regenerate.
13067 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13068 Build elision files if enabled.
13069 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13070 Add lock elision support for s390.
13071 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13072 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13073 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13074 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13075 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13076 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13077 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13079 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13081 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13083 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13085 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13086 (__lll_timedlock_elision, __lll_lock_elision)
13087 (__lll_unlock_elision, __lll_trylock_elision)
13088 (lll_timedlock_elision, lll_lock_elision)
13089 (lll_unlock_elision, lll_trylock_elision): Add.
13090 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13091 (pthread_mutex_t): Add lock elision support for s390.
13093 2014-05-14 Wilco <wdijkstr@arm.com>
13095 * sysdeps/arm/fclrexcpt.c: Cleanup.
13096 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13097 * sysdeps/arm/feenablxcpt.c: Cleanup.
13098 * sysdeps/arm/fegetenv.c: Cleanup.
13099 * sysdeps/arm/fegetexcept.c: Cleanup.
13100 * sysdeps/arm/fegetround.c: Cleanup.
13101 * sysdeps/arm/feholdexcpt.c: Cleanup.
13102 * sysdeps/arm/fesetenv.c: Cleanup.
13103 * sysdeps/arm/fesetround.c: Cleanup.
13104 * sysdeps/arm/feupdateenv.c: Cleanup.
13105 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13106 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13107 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13108 * sysdeps/arm/ftestexcept.c: Cleanup.
13109 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13110 * sysdeps/arm/setfpucw.c: Cleanup.
13112 2014-05-09 Will Newton <will.newton@linaro.org>
13114 * sysdeps/arm/armv7/strcmp.S: New file.
13115 * NEWS: Mention addition of ARMv7 optimized strcmp.
13117 2014-05-08 Roland McGrath <roland@hack.frob.com>
13119 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13120 look for %.ac rather than %.in.
13122 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13123 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13124 * sysdeps/mach/hurd/configure: Regenerated.
13125 * sysdeps/unix/sysv/linux/configure: Regenerated.
13127 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13129 2014-05-07 Steve Ellcey <sellcey@mips.com>
13132 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13136 2014-05-07 Andreas Schwab <schwab@suse.de>
13138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13139 when skipping over non-matching result from nscd.
13141 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13144 * nptl/sockperf.c (client): Check socket return value.
13147 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13148 nscd security class.
13150 2014-05-06 Roland McGrath <roland@hack.frob.com>
13152 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13153 * sysdeps/arm/unwind.h: ... here.
13155 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13158 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13161 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13163 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13164 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13165 multiarch strncpy for PPC64.
13166 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13167 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13169 multiarch optimizations.
13170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13171 (__libc_ifunc_impl_list): Likewise.
13172 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13173 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13174 multiarch stpncpy for PPC64.
13175 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13176 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13178 2014-05-06 Andreas Schwab <schwab@suse.de>
13181 * gmon/mcount.c (_MCOUNT_DECL): Use
13182 atomic_compare_and_exchange_bool_acq instead of
13183 catomic_compare_and_exchange_bool_acq.
13185 2014-05-05 Roland McGrath <roland@hack.frob.com>
13187 * elf/Makefile (others, install-bin): Remove pldd.
13188 (pldd-modules): Variable removed.
13189 ($(objpfx)pldd): Target removed.
13190 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13191 (others, install-bin): Append pldd here.
13192 ($(objpfx)pldd): New target.
13194 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13195 to 0, so the first #if test emitted later doesn't see it undefined.
13196 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13197 * sysdeps/gnu/errlist.c: Regenerated.
13199 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13201 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13202 [libc_hidden_builtin_def]: Define to empty value.
13203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13204 [libc_hidden_builtin_def]: Likewise.
13205 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13206 [libc_hidden_builtin_def]: Likewise.
13207 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13208 [libc_hidden_builtin_def]: Likewise.
13209 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13210 __redirect_memcpy and define ifunc as default hidden symbol.
13211 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13212 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13214 2014-05-04 Adam Conrad <adconrad@0c3.net>
13216 * locale/iso-4217.def: Reintroduce XDR currency.
13218 2014-05-04 Allan McRae <allan@archlinux.org>
13220 * po/eo.po: Update Esperanto translation from translation project.
13222 2014-05-02 Carlos O'Donell <carlos@redhat.com>
13224 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13225 and FEATURE_INDEX_MAX to 1.
13226 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13228 2014-05-01 Steve Ellcey <sellcey@mips.com>
13230 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13231 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13232 * iconvdata/big5.c (ONE_DIRECTION): Define.
13233 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13234 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13235 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13236 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13237 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13238 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13239 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13240 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13241 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13242 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13243 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13244 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13245 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13246 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13247 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13248 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13249 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13250 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13251 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13252 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13253 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13254 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13255 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13256 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13257 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13258 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13259 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13260 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13261 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13262 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13263 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13264 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13265 * iconvdata/johab.c (ONE_DIRECTION): Define.
13266 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13267 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13268 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13269 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13270 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13271 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13272 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13273 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13274 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13275 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13277 2014-05-01 Roland McGrath <roland@hack.frob.com>
13279 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13280 (_IO_JUMPS_OFFSET): Define to 0.
13282 * nptl/sysdeps/pthread/bits/libc-lock.h
13283 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13284 (__libc_lock_define_initialized_recursive): Always define using
13285 initializer. Modern compilers treat uninitialized (implicit zero) and
13286 explicit zero initializers the same (i.e. put the datum in bss).
13288 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13290 * nscd/nscd-client.h: Include <string.h>.
13292 2014-05-01 David S. Miller <davem@davemloft.net>
13295 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13296 multiple zero bytes exist at the end of a string.
13297 Reported by Aurelien Jarno <aurelien@aurel32.net>
13299 * string/test-strcmp.c (check): Add explicit test for situations where
13300 there are multiple zero bytes after the first.
13302 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13305 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13306 when compiling wprintf.
13307 * stdio-common/tstdiomisc.c (t3): New function.
13310 2014-05-01 Steve Ellcey <sellcey@mips.com>
13312 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13313 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13314 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13315 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13317 2014-05-01 Steve Ellcey <sellcey@mips.com>
13319 * stdlib/longlong.h: Updated from GCC.
13321 2014-05-01 Will Newton <will.newton@linaro.org>
13322 Bernard Ogden <bernie.ogden@linaro.org>
13324 * NEWS: Update fixed bug list.
13327 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13329 2014-04-30 David S. Miller <davem@davemloft.net>
13331 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13332 (libc_feholdexcept_setround_sparc_ctx): New function.
13333 (libc_fesetenv_sparc_ctx): Likewise.
13334 (libc_feupdateenv_sparc_ctx): Likewise.
13335 (libc_feholdsetround_sparc_ctx): Likewise.
13336 (libc_feholdexcept_setround_ctx): Define.
13337 (libc_feholdexcept_setroundf_ctx): Likewise.
13338 (libc_feholdexcept_setroundl_ctx): Likewise.
13339 (libc_fesetenv_ctx): Likewise.
13340 (libc_fesetenvf_ctx): Likewise.
13341 (libc_fesetenvl_ctx): Likewise.
13342 (libc_feupdateenv_ctx): Likewise.
13343 (libc_feupdateenvf_ctx): Likewise.
13344 (libc_feupdateenvl_ctx): Likewise.
13345 (libc_feresetround_ctx): Likewise.
13346 (libc_feresetroundf_ctx): Likewise.
13347 (libc_feresetroundl_ctx): Likewise.
13348 (libc_feholdsetround_ctx): Likewise.
13349 (libc_feholdsetroundf_ctx): Likewise.
13350 (libc_feholdsetroundl_ctx): Likewise.
13352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13353 with __USE_GNU instead of XOPEN cpp guards.
13355 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13359 with XOPEN cpp guards.
13361 2014-04-30 Julian Brown <julian@codesourcery.com>
13364 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13367 2014-04-30 Joseph Myers <joseph@codesourcery.com>
13370 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13372 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13373 * sysdeps/unix/sysv/linux/configure: Regenerated.
13374 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13375 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13376 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13377 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13378 * README: Update reference to required Linux kernel version.
13379 * manual/install.texi (Linux): Update reference to required Linux
13380 kernel headers version.
13381 * INSTALL: Regenerated.
13383 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13385 [POSIX] (limits.h): Likewise.
13386 [POSIX] (math.h): Likewise.
13387 [POSIX] (sys/wait.h): Likewise.
13388 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13390 [POSIX] (stddef.h): Do not allow header inclusion.
13392 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13394 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13396 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13398 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13399 Return immediately after lll_futex_wake.
13401 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13404 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13406 (datahead_init_pos): Call datahead_init_common early.
13407 (datahead_init_neg): Likewise.
13409 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13410 datahead_init_neg): New functions.
13411 * nscd/aicache.c (addhstaiX): Use them.
13412 * nscd/grpcache.c (cache_addgr): Likewise.
13413 * nscd/hstcache.c (cache_addhst): Likewise.
13414 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13415 * nscd/netgroupcache.c (do_notfound): Likewise.
13416 (addgetnetgrentX): Likewise.
13417 (addinnetgrX): Likewise.
13418 * nscd/pwdcache.c (cache_addpw): Likewise.
13419 * nscd/servicescache.c (cache_addserv): Likewise.
13421 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13422 Atsushi Onoe <atsushi@onoe.org>
13427 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13428 one response is valid.
13429 * resolv/res_send.c (send_dg): Check for validity of other
13430 response if the current response is a referral.
13432 2014-04-29 Steve Ellcey <sellcey@mips.com>
13434 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13436 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13439 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13440 Always divide by positive zero when computing -Inf result.
13441 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13442 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13444 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13446 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13447 FPSCR if value do not change.
13448 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13449 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13450 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13451 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13452 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13453 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13456 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13458 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13459 * sysdeps/unix/sysv/linux/hppa: Move directory from
13460 ports/systeps/unix/sysv/linux/hppa.
13461 * README: Update listing for hppa-*-linux-gnu.
13463 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
13466 * manual/stdio.texi (Hook functions): Fix types of stream hook
13469 * socket/sys/socket.h: Fix typo in comment.
13471 2014-04-28 Wilco <wdijkstr@arm.com>
13473 * sysdeps/arm/fenv_private.h: New file.
13474 * sysdeps/arm/math_private.h: New file.
13475 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13477 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13479 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13481 (La_x86_64_retval): Likewise.
13483 2014-04-24 Ian Bolton <ian.bolton@arm.com>
13485 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13486 fpsr if value didn't change.
13487 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13488 to fpcr if value didn't change.
13489 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13490 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13491 fpsr or fpcr if value didn't change.
13492 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13493 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13494 fpcr if value didn't change.
13495 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13496 to fpsr if value didn't change.
13498 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13500 * nptl/tst-sem3.c: Use test-skeleton.c
13501 (main): Rename to do_test. Use return instead of
13503 * nptl/tst-sem4.c: Use test-skeleton.c
13504 (main): Rename to do_test.
13506 2014-04-22 David S. Miller <davem@davemloft.net>
13508 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13509 (struct sigaction): New struct member __glibc_reserved0, change
13510 type of sa_flags to int.
13512 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13514 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13515 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13517 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13519 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13520 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13522 2014-04-22 Will Newton <will.newton@linaro.org>
13523 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13525 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13526 (__longjmp): Add longjmp and longjmp_target SystemTap
13528 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13529 (__sigsetjmp): Add setjmp SystemTap probe.
13531 2014-04-17 Carlos O'Donell <carlos@redhat.com>
13533 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13534 match manual order.
13536 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13538 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13540 * sysdeps/powerpc/fpu/fenv_private.h
13541 (libc_feholdexcept_setroundl_ctx): Define to
13542 libc_feholdexcept_setround_ppc_ctx.
13543 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13544 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13545 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13546 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13548 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13550 * sysdeps/aarch64/math-tests.h: New file.
13552 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13554 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13557 Check and set bit_AVX2_Usable.
13558 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13560 (bit_AVX2): Likewise.
13561 (index_AVX2_Usable): Likewise.
13562 (CPUID_AVX2): Likewise.
13563 (HAS_AVX2): Likewise.
13565 2014-04-17 Will Newton <will.newton@linaro.org>
13567 * manual/setjmp.texi (System V contexts): Add note that
13568 calling setcontext on a context created by a call to a
13569 signal handler is undefined. Update text to note that
13570 setcontext from a signal handler is possible but not
13574 * stdlib/tst-setcontext.c: Include signal.h.
13575 (main): Check that the signal stack before and
13576 after swapcontext is the same.
13578 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13579 Re-implement to restore registers in user code and avoid
13580 rt_sigreturn system call.
13582 2014-04-17 Wilco <wdijkstr@arm.com>
13584 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13585 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13586 * math/test-fenv.c: Skip exception trap tests on targets which only
13587 support non-stop mode.
13589 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13590 Wilco Dijkstra <wilco.dijkstra@arm.com>
13592 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13593 (libc_feholdsetround_aarch64_ctx)
13594 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13595 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13596 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13597 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13598 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13599 (libc_feresetround_noexl_ctx): Define.
13601 2014-04-16 Richard Henderson <rth@redhat.com>
13603 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13605 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13608 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13609 const from the non-libc, non-ldso copy.
13611 * sysdeps/alpha/libm-test-ulps: Regenerate.
13613 2014-04-16 Ian Bolton <ian.bolton@arm.com>
13614 Wilco Dijkstra <wilco.dijkstra@arm.com>
13616 * sysdeps/aarch64/fpu/math_private.h: New file.
13618 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13620 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13622 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13625 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13626 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13627 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13628 Intel MPX bound registers before _dl_profile_fixup.
13629 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13630 registers after _dl_profile_fixup. Save and restore bound
13631 registers bnd0/bnd1 when calling _dl_call_pltexit.
13632 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13633 (LR_BND_OFFSET): Likewise.
13634 (LRV_BND0_OFFSET): Likewise.
13635 (LRV_BND1_OFFSET): Likewise.
13637 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13639 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13641 * sysdeps/mach/hurd/i386/tls.h: ... here.
13642 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13643 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13646 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13648 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13650 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13652 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13654 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13657 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13658 * sysdeps/s390/configure: Regenerate.
13661 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13662 Set round-to-nearest internally to reduce error accumulation.
13664 2014-04-16 Alan Modra <amodra@gmail.com>
13668 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13669 * math/libm-test.inc (frexp_test_data): Add tests.
13670 * NEWS: Update fixed bug list.
13672 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13674 * benchtests/Makefile: Depend on libraries in build directory.
13675 (bench-math): Separate out math tests.
13676 (bench-pthread): Separate out pthread tests.
13677 (bench): Include math and pthread tests.
13679 2014-04-14 Carlos O'Donell <carlos@redhat.com>
13682 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13683 _dl_debug_initialize.
13685 * configure.ac: Remove SELinux header check.
13686 * configure: Regenerate.
13687 * nscd/selinux.c (perms): Array of const char* to permission names.
13688 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13689 default policy. Call string_to_security_class and string_to_av_perm to
13690 translate strings. Enforce default policy and call avs_has_perm with
13691 results of translated strings.
13693 2014-04-13 David S. Miller <davem@davemloft.net>
13695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13697 2014-04-12 Allan McRae <allan@archlinux.org>
13700 * manual/string.texi (Collation Functions): Fix qsort argument
13702 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13704 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13706 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13707 Make the test a no-op if there are no exceptions defined.
13709 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13711 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13712 enable-hardcoded-path-in-tests
13714 2014-04-11 Will Newton <will.newton@linaro.org>
13716 * benchtests/Makefile (extra-objs): Add json-lib.o.
13717 (bench-func): Tidy up JSON output.
13718 * benchtests/bench-skeleton.c: Include json-lib.h.
13719 (main): Use JSON library functions to do output of
13721 * benchtests/bench-timing-type.c (main): Output the
13722 timing type simply, leaving formatting to the user.
13723 * benchtests/json-lib.c: New file.
13724 * benchtests/json-lib.h: Likewise.
13726 2014-04-11 Torvald Riegel <triegel@redhat.com>
13729 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13730 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13731 memory barriers. Add comments.
13732 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13733 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13734 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13735 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13736 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13737 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13739 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13741 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13742 * sysdeps/s390/s390-64/configure.ac: ... this ...
13743 * sysdeps/s390/configure.ac: ... to here.
13744 * sysdeps/s390/s390-32/configure: Delete file.
13745 * sysdeps/s390/s390-64/configure: Delete file.
13746 * sysdeps/s390/configure: Regenerate.
13748 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13750 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13752 2014-04-11 Will Newton <will.newton@linaro.org>
13754 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13755 to zero if it is not defined elsewhere. (mtrim): Test
13756 the value of MALLOC_DEBUG with #if rather than #ifdef.
13758 2014-04-10 Torvald Riegel <triegel@redhat.com>
13760 * benchtests/pthread_once-inputs: New file.
13761 * benchtests/pthread_once-source.c: New file.
13762 * benchtests/README: Update documentation.
13764 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13765 H.J. Lu <hongjiu.lu@intel.com>
13768 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13769 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13770 * sysdeps/x86_64/configure: Regenerated.
13771 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13773 (REGISTER_SAVE_RAX): Likewise.
13774 (REGISTER_SAVE_RCX): Likewise.
13775 (REGISTER_SAVE_RDX): Likewise.
13776 (REGISTER_SAVE_RSI): Likewise.
13777 (REGISTER_SAVE_RDI): Likewise.
13778 (REGISTER_SAVE_R8): Likewise.
13779 (REGISTER_SAVE_R9): Likewise.
13780 (REGISTER_SAVE_BND0): Likewise.
13781 (REGISTER_SAVE_BND1): Likewise.
13782 (REGISTER_SAVE_BND2): Likewise.
13783 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13784 bound registers when calling _dl_fixup.
13786 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13788 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13789 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13791 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13792 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13793 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13794 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13795 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13796 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13797 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13799 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13802 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13803 pathconf(_PC_NAME_MAX).
13805 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13807 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13808 Remove macro usage.
13809 (__PTHREAD_SPINS): Move definition to ...
13810 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13811 (__PTHREAD_SPINS): ... here.
13812 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13813 (__PTHREAD_SPIN): Likewise.
13814 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13815 (__PTHREAD_SPIN): Likewise.
13816 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13817 (__PTHREAD_SPIN): Likewise.
13818 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13819 (__PTHREAD_SPIN): Likewise.
13820 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13821 (__PTHREAD_SPIN): Likewise.
13822 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13823 (__PTHREAD_SPIN): Likewise.
13824 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13825 (__PTHREAD_SPIN): Likewise.
13826 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13827 (__PTHREAD_SPIN): Likewise.
13828 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13829 (__PTHREAD_SPIN): Likewise.
13830 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13831 (__PTHREAD_SPIN): Likewise.
13832 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13833 (__PTHREAD_SPIN): Likewise.
13834 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13835 (__PTHREAD_SPIN): Likewise.
13837 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13838 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13839 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13840 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13842 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13843 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13844 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13845 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13846 correct imply path.
13847 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13848 strlen symbol for non multi-arch builds.
13849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13850 missing hidden_def and weak_alias.
13852 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13854 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13856 2014-04-07 Will Newton <will.newton@linaro.org>
13858 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13859 and contents. [!_LIBC] Remove #ifndef and contents.
13860 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13861 * string/memccpy.c (__memccpy): Use ANSI prototype.
13862 * string/memfrob.c (memfrob): Likewise.
13863 * string/strcoll.c (STRCOLL): Likewise.
13864 * string/strlen.c (strlen): Likewise.
13865 * string/strtok.c (STRTOK): Likewise.
13866 * string/strcat.c: Remove unused #include of memcopy.h.
13867 (strcat): Use ANSI prototype.
13868 * string/strchr.c: Remove unused #include of memcopy.h.
13869 (strchr): Use ANSI prototype.
13870 * string/strcmp.c: Remove unused #include of memcopy.h.
13871 (strcmp): Use ANSI prototype.
13872 * string/strcpy.c: Remove unused #include of memcopy.h.
13873 (strcpy): Use ANSI prototype.
13875 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13877 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13878 * config.make.in (config-extra-cppflags): Set it from
13879 libc_extra_cppflags.
13880 * configure.ac (libc_extra_cflags): Make it accumulate over
13881 configure fragments.
13882 (libc_extra_cppflags): New flag.
13883 * configure. Regenerate.
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13885 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13886 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13890 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13891 result for FE_DOWNWARD rounding mode.
13892 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13896 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13898 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13899 in function argument name.
13901 2014-04-03 David Svoboda <svoboda@cert.org>
13904 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13907 2014-04-03 Roland McGrath <roland@hack.frob.com>
13909 * elf/dl-unmap-segments.h: New file.
13910 * sysdeps/generic/ldsodefs.h
13911 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13912 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13913 * elf/dl-fptr.c: Likewise.
13914 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13915 * sysdeps/aarch64/tlsdesc.c: Likewise.
13916 * sysdeps/arm/tlsdesc.c: Likewise.
13917 * sysdeps/i386/tlsdesc.c: Likewise.
13918 * sysdeps/tile/dl-runtime.c: Likewise.
13919 * sysdeps/x86_64/tlsdesc.c: Likewise.
13920 * elf/dl-load.h: New file.
13921 * elf/dl-load.c: Include it.
13922 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13923 Macros moved to dl-load.h.
13924 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13925 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13926 Use _dl_unmap_segments in place of __munmap.
13927 Break out segment-mapping loop into ...
13928 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13930 2014-04-03 Will Newton <will.newton@linaro.org>
13932 * elf/dl-lookup.c (do_lookup_x): Remove comment
13933 referring to nested function and move variable
13934 declarations down to before first use.
13936 2014-04-02 Joseph Myers <joseph@codesourcery.com>
13940 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13942 * math/s_catanf.c (__catanf): Likewise.
13943 * math/s_catanh.c (__catanh): Likewise.
13944 * math/s_catanhf.c (__catanhf): Likewise.
13945 * math/s_catanhl.c (__catanhl): Likewise.
13946 * math/s_catanl.c (__catanl): Likewise.
13947 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13948 by positive zero when computing -Inf result.
13949 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13950 (catanh_test): Likewise.
13951 * sysdeps/i386/fpu/libm-test-ulps: Update.
13952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13955 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13956 instead of using underflowing value in computing result.
13957 * math/s_clog10.c (__clog10): Likewise.
13958 * math/s_clog10f.c (__clog10f): Likewise.
13959 * math/s_clog10l.c (__clog10l): Likewise.
13960 * math/s_clogf.c (__clogf): Likewise.
13961 * math/s_clogl.c (__clogl): Likewise.
13962 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13963 (clog10_test): Likewise.
13964 * sysdeps/i386/fpu/libm-test-ulps: Update.
13965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13967 2014-04-02 Alan Modra <amodra@gmail.com>
13970 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13971 output when value is near a power of two. Use int64_t for lx and
13972 remove casts. Use decimal rather than hex exponent constants.
13973 Don't use long double multiplication when double will suffice.
13974 * math/libm-test.inc (nextafter_test_data): Add tests.
13975 * NEWS: Add 16739 and 16786 to bug list.
13977 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13979 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13981 2014-04-01 Will Newton <will.newton@linaro.org>
13983 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13984 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13986 2014-04-01 Florian Weimer <fweimer@redhat.com>
13989 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13990 * nptl/tst-setuid2.c: New file.
13991 * nptl/Makefile (xtests): Add tst-setuid2.
13993 2014-04-01 Alan Modra <amodra@gmail.com>
13996 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13998 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14002 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14003 set errno as appropriate.
14004 * math/w_scalbf.c (__scalbf): Likewise.
14005 * math/w_scalbl.c (__scalbl): Likewise.
14006 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14007 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14008 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14009 Add more NaN tests.
14012 * math/w_atan2.c: Include <errno.h>.
14013 (__atan2): Set errno for result underflowing to zero.
14014 * math/w_atan2f.c: Include <errno.h>.
14015 (__atan2f): Set errno for result underflowing to zero.
14016 * math/w_atan2l.c: Include <errno.h>.
14017 (__atan2l): Set errno for result underflowing to zero.
14018 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14020 * math/auto-libm-test-out: Regenerated.
14022 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14024 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14025 Encode instruction correctly in little endian.
14026 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14028 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14030 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14032 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14035 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14038 * sysdeps/unix/sysv/linux/kernel-features.h
14039 [__sparc__ && !__arch64__ && !__sparc_v9__]
14040 (__ASSUME_SET_ROBUST_LIST): Do not define.
14041 [__sparc__ && !__arch64__ && !__sparc_v9__]
14042 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14043 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14045 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14046 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14047 (__ASSUME_REQUEUE_PI): Likewise.
14048 (__ASSUME_SET_ROBUST_LIST): Likewise.
14049 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14050 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14052 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14053 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14055 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14057 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14059 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14060 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14062 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14063 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14067 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14068 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14069 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14071 2014-03-31 Will Newton <will.newton@linaro.org>
14073 * benchtests/Makefile (bench): Add ffs and ffsll to list
14075 * benchtests/ffs-inputs: New file.
14076 * benchtests/ffsll-inputs: Likewise.
14078 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14081 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14082 too large before casting to int.
14083 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14084 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14085 * math/libm-test.inc (scalb_test_data): Add more tests.
14087 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14089 * benchtests/Makefile (DETAILED_OPT): New make option.
14090 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14092 * benchtests/bench-skeleton.c: Include stdbool.h.
14093 (main): Store and print timings per input.
14094 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14095 member to each argument value.
14096 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14097 (_print_arg_data): Initialize per-input timing to 0.
14099 * benchtests/Makefile (timing-type): New binary.
14100 (bench-clean): Also remove bench-timing-type.
14101 (bench): New target for timing-type.
14102 (bench-func): Print output in JSON format.
14103 * benchtests/bench-skeleton.c (main): Print output in JSON
14105 * benchtests/bench-timing-type.c: New file.
14106 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14107 (TIMING_PRINT_STATS): Remove.
14108 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14111 * benchtests/bench-modf.c: Remove.
14112 * benchtests/modf-inputs: New inputs file.
14114 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14117 * math/s_clog10.c (M_PI_LOG10E): New macro.
14118 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14119 imaginary parts are 0.
14120 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14121 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14122 imaginary parts are 0.
14123 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14124 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14125 imaginary parts are 0.
14126 * math/libm-test.inc (clog10_test_data): Update expected results
14127 for when real and imaginary parts are 0.
14129 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14131 * elf/dl-load.c: Finish conversion of __builtin_expect into
14132 __glibc_{un}likely.
14134 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14137 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14138 1+x for argument with exponent below -67.
14139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14141 * math/auto-libm-test-in: Add more tests of exp.
14142 * math/auto-libm-test-out: Regenerated.
14144 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14147 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14148 (nscd_getnetgrent): Use it.
14151 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14154 2014-03-27 Andi Kleen <ak@linux.intel.com>
14156 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14157 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14158 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14159 (lll_robust_unlock): Remove out of line section. Use cfi
14161 (LLL_STUB_UNWIND_INFO*): Remove.
14162 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14163 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14164 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14165 (lll_robust_unlock): Remove out of line section. Use cfi
14167 (LLL_STUB_UNWIND_INFO*): Remove.
14169 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14172 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14175 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14177 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14179 2014-03-26 Joseph Myers <joseph@codesourcery.com>
14182 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14184 * math/test-fenv-preserve.c: New file.
14185 * math/Makefile (tests): Add test-fenv-preserve.
14187 2014-03-26 Will Newton <will.newton@linaro.org>
14189 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14191 2014-03-25 Roland McGrath <roland@hack.frob.com>
14193 * scripts/versionlist.awk: Partition the version sets and emit all
14194 GLIBC_* (sorted) before all others (sorted).
14196 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14198 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14199 GLIBC_2.2.5 version.
14201 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14203 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14206 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14211 2014-03-25 Andreas Schwab <schwab@suse.de>
14213 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14214 label to be used after in6ailist is initialized.
14216 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14218 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14219 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14221 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14225 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14227 (fp_formats): Update initializers.
14228 (init_fp_formats): Initialize new field.
14229 (output_for_one_input_case): Allow underflow for results up to
14231 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14232 * math/auto-libm-test-in: Don't mark some underflows from asin and
14234 * math/auto-libm-test-out: Regenerated.
14235 * sysdeps/i386/fpu/libm-test-ulps: Update.
14236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14238 2014-03-25 Andreas Schwab <schwab@suse.de>
14240 * libio/Makefile (tst-ftell-partial-wide-ENV)
14241 (tst-ftell-active-handler-ENV): Define.
14243 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14245 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14247 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14249 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14251 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14253 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14254 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14255 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14257 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14260 * elf/dl-load.c (open_verify): Add mode parameter.
14261 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14262 (open_path): Change from boolean 'secure' to complete flag 'mode'
14263 (_dl_map_object): Adjust.
14264 * elf/Makefile (tests): Add tst-dlopen-aout.
14265 * elf/tst-dlopen-aout.c: New test.
14267 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14270 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14271 (struct stat): Rename member pad0 to __glibc_reserved0.
14274 * sysdeps/s390/s390-32/bits/wordsize.h
14275 (__WORDSIZE32_SIZE_ULONG): New define.
14276 * sysdeps/s390/s390-64/bits/wordsize.h
14277 (__WORDSIZE32_SIZE_ULONG): Likewise.
14278 * sysdeps/generic/stdint.h (SIZE_MAX):
14279 Define as UL if __WORDSIZE32_SIZE_ULONG.
14282 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14283 (__glibc_reserved0): New variable.
14284 (sa_flags): Change type to int.
14286 * posix/Makefile (before-compile): Use += before-compile instead
14289 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14290 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14292 2014-03-20 Andreas Schwab <schwab@suse.de>
14295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14296 non-matching result from nscd.
14298 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14300 * scripts/bench.py: Moved to ...
14301 * benchtests/scripts/bench.py: ... here.
14302 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14304 2014-03-24 Andreas Schwab <schwab@suse.de>
14307 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14308 alloca_account and account alloca use for struct in6ailist.
14310 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14313 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14314 rounding mode to recompute results that overflow to infinity or
14316 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14318 * math/auto-libm-test-out: Regenerated.
14319 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14320 (ccosh_test): Likewise.
14321 (csin_test_data): Use plus_oflow.
14322 (csin_test): Use ALL_RM_TEST.
14323 (csinh_test_data): Use plus_oflow.
14324 (csinh_test): Use ALL_RM_TEST.
14325 * sysdeps/i386/fpu/libm-test-ulps: Update.
14326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14328 2014-03-21 Joseph Myers <joseph@codesourcery.com>
14330 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14331 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14332 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14335 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14336 when x - 1 is zero.
14337 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14338 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14339 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14340 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14342 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14343 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14345 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14346 * sysdeps/i386/fpu/libm-test-ulps: Update.
14347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14349 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14351 * scripts/bench.pl: Remove file.
14352 * scripts/bench.py: New benchmark script.
14353 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14354 * benchtests/README: Mention python dependency.
14355 * scripts/pylintrc: New file.
14356 * scripts/pylint: New file.
14358 * bits/mathdef.h: Use #ifdef instead of #if.
14359 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14360 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14361 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14362 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14363 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14364 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14366 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14367 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14369 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14371 and strpbrk-ppc64 objects.
14372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14373 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14374 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14375 multiarch strpbrk for POWER7.
14376 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14377 multiarch strpbrk for PPC64.
14378 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14380 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14381 strpbrk for POWER7.
14383 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14385 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14386 (atan_test): Likewise.
14387 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14388 (atanh_test): Use ALL_RM_TEST.
14389 (atan2_test_data): Likewise.
14390 (cabs_test): Likewise.
14391 (cacosh_test): Likewise.
14392 (carg_test): Likewise.
14393 (casin_test): Likewise.
14394 (casinh_test): Likewise.
14395 (cbrt_test): Likewise.
14396 (csqrt_test): Likewise.
14397 (erf_test): Likewise.
14398 (erfc_test): Likewise.
14399 (pow10_test): Likewise.
14400 (exp2_test): Likewise.
14401 (hypot_test): Likewise.
14402 (j0_test): Likewise.
14403 (j1_test): Likewise.
14404 (lgamma_test): Likewise.
14405 (gamma_test): Likewise.
14406 (sincos_test): Likewise.
14407 (tanh_test): Likewise.
14408 (y0_test): Likewise.
14409 (y1_test): Likewise.
14410 * sysdeps/i386/fpu/libm-test-ulps: Update.
14411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14413 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14415 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14417 and strcspn-ppc64 objects.
14418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14419 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14420 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14421 multiarch strcspn for POWER7.
14422 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14423 multiarch strcspn for PPC64.
14424 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14426 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14427 strcspn for POWER7.
14429 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14431 * math/gen-libm-test.pl (generate_testfile): Expect only function
14432 name as argument to AUTO_TESTS_* and pass results for all rounding
14433 modes to parse_args.
14434 (parse_auto_input): Separate inputs of automatic tests from
14435 outputs before storing in %auto_tests.
14436 * math/libm-test.inc (acos_test_data): Update call to
14438 (acos_test): Use ALL_RM_TEST.
14439 (acos_tonearest_test_data): Remove.
14440 (acos_test_tonearest): Likewise.
14441 (acos_towardzero_test_data): Likewise.
14442 (acos_test_towardzero): Likewise.
14443 (acos_downward_test_data): Likewise.
14444 (acos_test_downward): Likewise.
14445 (acos_upward_test_data): Likewise.
14446 (acos_test_upward): Likewise.
14447 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14448 (asin_test_data): Likewise.
14449 (asin_test): Use ALL_RM_TEST.
14450 (asin_tonearest_test_data): Remove.
14451 (asin_test_tonearest): Likewise.
14452 (asin_towardzero_test_data): Likewise.
14453 (asin_test_towardzero): Likewise.
14454 (asin_downward_test_data): Likewise.
14455 (asin_test_downward): Likewise.
14456 (asin_upward_test_data): Likewise.
14457 (asin_test_upward): Likewise.
14458 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14459 (atan_test_data): Likewise.
14460 (atanh_test_data): Likewise.
14461 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14462 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14463 (carg_test_data): Likewise.
14464 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14465 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14466 (ccosh_test_data): Likewise.
14467 (cexp_test_data): Likewise.
14468 (clog_test_data): Likewise.
14469 (clog10_test_data): Likewise.
14470 (cos_test_data): Update call to AUTO_TESTS_f_f.
14471 (cos_test): Use ALL_RM_TEST.
14472 (cos_tonearest_test_data): Remove.
14473 (cos_test_tonearest): Likewise.
14474 (cos_towardzero_test_data): Likewise.
14475 (cos_test_towardzero): Likewise.
14476 (cos_downward_test_data): Likewise.
14477 (cos_test_downward): Likewise.
14478 (cos_upward_test_data): Likewise.
14479 (cos_test_upward): Likewise.
14480 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14481 (cosh_test): Use ALL_RM_TEST.
14482 (cosh_tonearest_test_data): Remove.
14483 (cosh_test_tonearest): Likewise.
14484 (cosh_towardzero_test_data): Likewise.
14485 (cosh_test_towardzero): Likewise.
14486 (cosh_downward_test_data): Likewise.
14487 (cosh_test_downward): Likewise.
14488 (cosh_upward_test_data): Likewise.
14489 (cosh_test_upward): Likewise.
14490 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14491 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14492 (ctan_test_data): Likewise.
14493 (ctan_test): Use ALL_RM_TEST.
14494 (ctan_tonearest_test_data): Remove.
14495 (ctan_test_tonearest): Likewise.
14496 (ctan_towardzero_test_data): Likewise.
14497 (ctan_test_towardzero): Likewise.
14498 (ctan_downward_test_data): Likewise.
14499 (ctan_test_downward): Likewise.
14500 (ctan_upward_test_data): Likewise.
14501 (ctan_test_upward): Likewise.
14502 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14503 (ctanh_test): Use ALL_RM_TEST.
14504 (ctanh_tonearest_test_data): Remove.
14505 (ctanh_test_tonearest): Likewise.
14506 (ctanh_towardzero_test_data): Likewise.
14507 (ctanh_test_towardzero): Likewise.
14508 (ctanh_downward_test_data): Likewise.
14509 (ctanh_test_downward): Likewise.
14510 (ctanh_upward_test_data): Likewise.
14511 (ctanh_test_upward): Likewise.
14512 (erf_test_data): Update call to AUTO_TESTS_f_f.
14513 (erfc_test_data): Likewise.
14514 (exp_test_data): Likewise.
14515 (exp_test): Use ALL_RM_TEST.
14516 (exp_tonearest_test_data): Remove.
14517 (exp_test_tonearest): Likewise.
14518 (exp_towardzero_test_data): Likewise.
14519 (exp_test_towardzero): Likewise.
14520 (exp_downward_test_data): Likewise.
14521 (exp_test_downward): Likewise.
14522 (exp_upward_test_data): Likewise.
14523 (exp_test_upward): Likewise.
14524 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14525 (exp10_test): Use ALL_RM_TEST.
14526 (exp10_tonearest_test_data): Remove.
14527 (exp10_test_tonearest): Likewise.
14528 (exp10_towardzero_test_data): Likewise.
14529 (exp10_test_towardzero): Likewise.
14530 (exp10_downward_test_data): Likewise.
14531 (exp10_test_downward): Likewise.
14532 (exp10_upward_test_data): Likewise.
14533 (exp10_test_upward): Likewise.
14534 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14535 (expm1_test_data): Likewise.
14536 (expm1_test): Use ALL_RM_TEST.
14537 (expm1_tonearest_test_data): Remove.
14538 (expm1_test_tonearest): Likewise.
14539 (expm1_towardzero_test_data): Likewise.
14540 (expm1_test_towardzero): Likewise.
14541 (expm1_downward_test_data): Likewise.
14542 (expm1_test_downward): Likewise.
14543 (expm1_upward_test_data): Likewise.
14544 (expm1_test_upward): Likewise.
14545 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14546 (fma_test): Use ALL_RM_TEST.
14547 (fma_towardzero_test_data): Remove.
14548 (fma_test_towardzero): Likewise.
14549 (fma_downward_test_data): Likewise.
14550 (fma_test_downward): Likewise.
14551 (fma_upward_test_data): Likewise.
14552 (fma_test_upward): Likewise.
14553 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14554 (j0_test_data): Update call to AUTO_TESTS_f_f.
14555 (j1_test_data): Likewise.
14556 (jn_test_data): Update call to AUTO_TESTS_if_f.
14557 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14558 (log_test_data): Update call to AUTO_TESTS_f_f.
14559 (log10_test_data): Likewise.
14560 (log1p_test_data): Likewise.
14561 (log2_test_data): Likewise.
14562 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14563 (pow_tonearest_test_data): Likewise.
14564 (sin_test_data): Update call to AUTO_TESTS_f_f.
14565 (sin_test): Use ALL_RM_TEST.
14566 (sin_tonearest_test_data): Remove.
14567 (sin_test_tonearest): Likewise.
14568 (sin_towardzero_test_data): Likewise.
14569 (sin_test_towardzero): Likewise.
14570 (sin_downward_test_data): Likewise.
14571 (sin_test_downward): Likewise.
14572 (sin_upward_test_data): Likewise.
14573 (sin_test_upward): Likewise.
14574 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14575 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14576 (sinh_test): Use ALL_RM_TEST.
14577 (sinh_tonearest_test_data): Remove.
14578 (sinh_test_tonearest): Likewise.
14579 (sinh_towardzero_test_data): Likewise.
14580 (sinh_test_towardzero): Likewise.
14581 (sinh_downward_test_data): Likewise.
14582 (sinh_test_downward): Likewise.
14583 (sinh_upward_test_data): Likewise.
14584 (sinh_test_upward): Likewise.
14585 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14586 (sqrt_test): Use ALL_RM_TEST.
14587 (sqrt_tonearest_test_data): Remove.
14588 (sqrt_test_tonearest): Likewise.
14589 (sqrt_towardzero_test_data): Likewise.
14590 (sqrt_test_towardzero): Likewise.
14591 (sqrt_downward_test_data): Likewise.
14592 (sqrt_test_downward): Likewise.
14593 (sqrt_upward_test_data): Likewise.
14594 (sqrt_test_upward): Likewise.
14595 (tan_test_data): Update call to AUTO_TESTS_f_f.
14596 (tan_test): Use ALL_RM_TEST.
14597 (tan_tonearest_test_data): Remove.
14598 (tan_test_tonearest): Likewise.
14599 (tan_towardzero_test_data): Likewise.
14600 (tan_test_towardzero): Likewise.
14601 (tan_downward_test_data): Likewise.
14602 (tan_test_downward): Likewise.
14603 (tan_upward_test_data): Likewise.
14604 (tan_test_upward): Likewise.
14605 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14606 (tgamma_test_data): Likewise.
14607 (y0_test_data): Likewise.
14608 (y1_test_data): Likewise.
14609 (yn_test_data): Update call to AUTO_TESTS_if_f.
14610 (main): Do not call removed functions.
14612 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14614 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14615 (ldexp_test_data): Remove.
14616 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14618 (scalb_test): Use ALL_RM_TEST.
14620 2014-03-19 Andreas Schwab <schwab@suse.de>
14622 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14624 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14627 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14628 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14629 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14631 (__ASSUME_PREADV): Undefine.
14632 (__ASSUME_PWRITEV): Likewise.
14634 2014-03-18 Roland McGrath <roland@hack.frob.com>
14636 * bits/mman-linux.h: Add comment about non-Linux use.
14637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14638 bits/mman-linux.h resting place.
14640 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14641 * bits/mman-linux.h: ... here.
14643 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14645 * conform/conformtest.pl: Add standard definition when calling C
14646 preprocessor on data files.
14647 (checknamespace): Remove unused variable.
14649 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14651 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14652 minus_oflow, plus_uflow and minus_uflow in expected results.
14653 * math/libm-test.inc (scalbn_test_data): Add more tests of
14654 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14656 (scalbn_test): Use ALL_RM_TEST.
14657 (scalbln_test_data): Add more tests of negative arguments. Use
14658 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14659 (scalbln_test): Use ALL_RM_TEST.
14661 2014-03-18 Roland McGrath <roland@hack.frob.com>
14663 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14665 2014-03-18 Will Newton <will.newton@linaro.org>
14667 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14668 inaccurate comment.
14670 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14672 * Makerules [!subdir] (check-abi): Exit with error status if a
14675 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14677 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14678 for rint. Include results for all rounding modes.
14679 (nearbyint_test): Use ALL_RM_TEST.
14680 (rint_test_data): Include all tests used for nearbyint.
14682 2014-03-17 Will Newton <will.newton@linaro.org>
14684 * nptl/sysdeps/pthread/pthread.h: Revert previous
14687 * sysdeps/generic/ldsodefs.h: Revert previous
14690 * libio/genops.c: Revert previous change.
14691 * libio/libioP.h: Likewise.
14692 * stdio-common/vfprintf.c: Likewise.
14694 * sysdeps/generic/math_private.h: Revert previous
14697 * sysdeps/generic/math_private.h: Check whether
14698 HAVE_RM_CTX is defined with #ifdef rather
14701 * argp/argp-fmtstream.h: Check whether
14702 __STRICT_ANSI__ is defined with #ifdef rather
14704 * argp/argp.h: Likewise.
14706 * libio/genops.c: Check whether
14707 _IO_JUMPS_OFFSET is defined with #ifdef rather
14709 * libio/libioP.h: Likewise.
14710 * stdio-common/vfprintf.c: Likewise.
14712 * sysdeps/generic/ldsodefs.h: Check whether
14713 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14716 * nptl/sysdeps/pthread/pthread.h: Check
14717 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14720 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14722 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14724 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14728 * libio/fileops.c (_IO_file_open): Seek to end of file but
14729 don't cache the offset.
14730 (get_file_offset): Remove function.
14731 (do_ftell): Use cached offset when available.
14732 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14733 don't cache the offset.
14734 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14736 (do_one_test): Call it.
14737 (do_ftell_test): Fix up expected old offset for a+ mode.
14738 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14741 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14742 up test status with function return status.
14743 (do_write_test): Likewise.
14744 (do_append_test): Likewise.
14746 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14747 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14750 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14752 * math/gen-libm-test.pl (parse_args): Handle results specified for
14753 each rounding mode separately.
14754 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14755 tests and results from lrint_tonearest_test_data,
14756 lrint_towardzero_test_data, lrint_downward_test_data and
14757 lrint_upward_test_data.
14758 (lrint_test): Use ALL_RM_TEST.
14759 (lrint_tonearest_test_data): Remove.
14760 (lrint_test_tonearest): Likewise.
14761 (lrint_towardzero_test_data): Likewise.
14762 (lrint_test_towardzero): Likewise.
14763 (lrint_downward_test_data): Likewise.
14764 (lrint_test_downward): Likewise.
14765 (lrint_upward_test_data): Likewise.
14766 (lrint_test_upward): Likewise.
14767 (llrint_test_data): Merge in per-rounding-mode tests and results
14768 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14769 llrint_downward_test_data and llrint_upward_test_data.
14770 (llrint_test): Use ALL_RM_TEST.
14771 (llrint_tonearest_test_data): Remove.
14772 (llrint_test_tonearest): Likewise.
14773 (llrint_towardzero_test_data): Likewise.
14774 (llrint_test_towardzero): Likewise.
14775 (llrint_downward_test_data): Likewise.
14776 (llrint_test_downward): Likewise.
14777 (llrint_upward_test_data): Likewise.
14778 (llrint_test_upward): Likewise.
14779 (rint_test_data): Merge in per-rounding-mode tests and results
14780 from rint_tonearest_test_data, rint_towardzero_test_data,
14781 rint_downward_test_data and rint_upward_test_data. Add
14782 per-rounding-mode results for tests not in those arrays.
14783 (rint_test): Use ALL_RM_TEST.
14784 (rint_tonearest_test_data): Remove.
14785 (rint_test_tonearest): Likewise.
14786 (rint_towardzero_test_data): Likewise.
14787 (rint_test_towardzero): Likewise.
14788 (rint_downward_test_data): Likewise.
14789 (rint_test_downward): Likewise.
14790 (rint_upward_test_data): Likewise.
14791 (rint_test_upward): Likewise.
14792 (main): Don't call removed functions.
14794 2014-03-14 Roland McGrath <roland@hack.frob.com>
14796 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14797 "Compiled on ..." crapola. It is anti-useful.
14799 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14801 * scripts/evaluate-test.sh: Handle fourth argument to determine
14802 whether test run should stop on failure.
14803 * Makeconfig (stop-on-test-failure): New variable.
14804 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14805 $(stop-on-test-failure).
14806 * Makefile (tests): Give a summary of results from testing and
14807 exit with failure status if they include an ERROR or FAIL.
14808 (xtests): Likewise.
14809 * manual/install.texi (Configuring and compiling): Mention
14810 stop-on-test-failure=y.
14811 * INSTALL: Regenerated.
14813 2014-03-14 Roland McGrath <roland@hack.frob.com>
14815 * scripts/versionlist.awk: New file.
14816 * Makerules [$(build-shared) = yes]
14817 (postclean-generated): Add Versions.def, not Versions.def.v and
14819 ($(common-objpfx)Versions.def.v.i): Target removed.
14820 ($(common-objpfx)Versions.def): New target.
14821 ($(common-objpfx)Versions.all): Depend on that rather that
14822 $(common-objpfx)Versions.def.v.
14823 * Versions.def: File removed.
14825 * Makeconfig (+gccwarn): Add -Wundef.
14826 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14827 a dl-sysdep.h breaking its contract.
14828 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14829 * include/stackinfo.h: New file.
14830 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14831 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14832 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14833 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14834 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14835 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14836 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14837 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14838 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14839 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14840 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14841 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14842 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14843 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14844 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14846 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14849 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14851 * math/libm-test.inc (round_test_data): Add more tests.
14854 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14856 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14859 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14861 * math/libm-test.inc (ceil_test_data): Add more tests.
14863 * math/libm-test.inc (trunc_test_data): Add more tests related to
14866 2014-03-14 Roland McGrath <roland@hack.frob.com>
14868 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14869 with #if rather than #ifdef.
14870 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14872 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14874 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14875 first. Disable AVX-512 GCC support if assembler doesn't support
14877 * sysdeps/x86_64/configure: Regenerated.
14879 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14881 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14882 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14883 (__old_pthread_attr_setstack): Likewise.
14884 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14885 [!_STACK_GROWS_DOWN]: Likewise.
14887 2014-03-13 Mike Frysinger <vapier@gentoo.org>
14889 * config.make.in (have-bash2): Delete.
14890 * configure.ac (libc_cv_have_bash2): Delete.
14891 * configure: Regenerate.
14892 * elf/Makefile (common-ldd-rewrite): Rename to ...
14893 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14894 (sh-ldd-rewrite): Delete.
14895 (bash-ldd-rewrite): Delete.
14896 (have-bash2): Delete checks.
14897 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14900 * config.make.in (have-ksh): Delete.
14902 * configure.ac (libc_cv_have_ksh): Delete.
14903 * configure: Regenerate.
14905 * elf/Makefile: Delete $(have-ksh) check.
14906 ($(objpfx)sotruss): Change KSH to BASH.
14907 * elf/sotruss.ksh: Rename to ...
14908 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14909 function style to match POSIX. Drop ksh vim mode setting.
14911 * manual/time.texi (Specifying the Time Zone with TZ): Change
14912 Tuesday to Thursday.
14914 * debug/tst-longjmp_chk2.c: Update header comment.
14915 (stackoverflow_handler): Add comment. Call assert on pass value.
14917 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14920 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14921 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14922 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14923 (La_x86_64_vector): Add zmm.
14924 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14925 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14926 ($(objpfx)tst-audit10): New target.
14927 ($(objpfx)tst-audit10.out): Likewise.
14928 (tst-audit10-ENV): New.
14929 (AVX512-CFLAGS): Likewise.
14930 (CFLAGS-tst-audit10.c): Likewise.
14931 (CFLAGS-tst-auditmod10a.c): Likewise.
14932 (CFLAGS-tst-auditmod10b.c): Likewise.
14933 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14934 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14935 * sysdeps/x86_64/configure: Regenerated.
14936 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14937 AVX-512 zmm register support.
14938 (_dl_x86_64_save_sse): Likewise.
14939 (_dl_x86_64_restore_sse): Likewise.
14940 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14941 size vector registers.
14942 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14943 (ZMM_SIZE): Likewise.
14944 * sysdeps/x86_64/tst-audit10.c: New file.
14945 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14946 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14948 2014-03-13 Roland McGrath <roland@hack.frob.com>
14950 * configure.ac (HAVE_EHDR_START): New check.
14951 * configure: Regenerated.
14952 * config.h.in (HAVE_EHDR_START): New #undef.
14953 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14954 assuming the lowest-addressed segment maps the start of the file.
14956 2014-03-13 Joseph Myers <joseph@codesourcery.com>
14958 * INSTALL: Regenerated.
14960 2014-03-13 Will Newton <will.newton@linaro.org>
14962 * manual/setjmp.texi (System V contexts): Improve
14963 clarity and grammar of documentation.
14965 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14968 * elf/Makefile (tests): Add tst-pie2.
14969 (tests-pie): Add tst-pie2.
14970 * elf/tst-pie2.c: New file.
14971 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14973 * elf/rtld.c (map_doit): Load executable as lt_executable.
14974 (dl_main): Likewise.
14976 2014-03-12 Joseph Myers <joseph@codesourcery.com>
14979 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14980 (__ASSUME_PSELECT): Undefine.
14982 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14985 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14986 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14988 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14989 selector for static builds.
14991 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14994 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14997 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14999 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15000 IFUNC selector for static builds.
15002 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15004 * sysdeps/mips/math_private.h [__mips_hard_float]
15005 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15006 libc_feresetround_mips_ctx.
15007 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15008 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15009 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15012 * math/s_nextafter.c (__nextafter): Do not return value from
15013 overflowing computation.
15014 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15015 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15016 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15018 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15020 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15021 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15023 2014-03-11 Roland McGrath <roland@hack.frob.com>
15025 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15026 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15027 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15028 the new mov targetting sp.
15030 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15033 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15034 Define it for static builds as well.
15035 (NO_BZERO_IMPL): Likewise.
15037 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15039 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15040 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15041 multiarch strspn for PPC64.
15042 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15043 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15045 (__libc_ifunc_impl_list): Likewise.
15046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15047 multiarch optimizations
15048 * string/strspn.c (strspn): Using macro to redefine symbol name.
15050 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15051 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15053 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15054 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15055 multiarch strncat for PPC64.
15056 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15057 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15059 (__libc_ifunc_impl_list): Likewise.
15060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15061 multiarch optimizations
15063 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15066 * nscd/nscd.service: Make service type forking.
15068 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15070 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15071 sign in non default rounding modes.
15072 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15074 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15076 * math/libm-test.inc (ALL_RM_TEST): New macro.
15077 (ceil_test): Use ALL_RM_TEST.
15078 (cimag_test): Likewise.
15079 (conj_test): Likewise.
15080 (copysign_test): Likewise.
15081 (cproj_test): Likewise.
15082 (creal_test): Likewise.
15083 (fabs_test): Likewise.
15084 (floor_test): Likewise.
15085 (fmax_test): Likewise.
15086 (fmin_test): Likewise.
15087 (fmod_test): Likewise.
15088 (fpclassify_test): Likewise.
15089 (frexp_test): Likewise.
15090 (ilogb_test): Likewise.
15091 (isfinite_test): Likewise.
15092 (finite_test): Likewise.
15093 (isgreater_test): Likewise.
15094 (isgreaterequal_test): Likewise.
15095 (isinf_test): Likewise.
15096 (isless_test): Likewise.
15097 (islessequal_test): Likewise.
15098 (islessgreater_test): Likewise.
15099 (isnan_test): Likewise.
15100 (isnormal_test): Likewise.
15101 (issignaling_test): Likewise.
15102 (isunordered_test): Likewise.
15103 (logb_test): Likewise.
15104 (logb_downward_test_data): Remove.
15105 (logb_test_downward): Likewise.
15106 (lround_test): Use ALL_RM_TEST.
15107 (llround_test): Likewise.
15108 (modf_test): Likewise.
15109 (nexttoward_test): Likewise.
15110 (remainder_test): Likewise.
15111 (drem_test): Likewise.
15112 (remainder_tonearest_test_data): Likewise.
15113 (remainder_test_tonearest): Likewise.
15114 (drem_test_tonearest): Likewise.
15115 (remainder_towardzero_test_data): Likewise.
15116 (remainder_test_towardzero): Likewise.
15117 (drem_test_towardzero): Likewise.
15118 (remainder_downward_test_data): Likewise.
15119 (remainder_test_downward): Likewise.
15120 (drem_test_downward): Likewise.
15121 (remainder_upward_test_data): Likewise.
15122 (remainder_test_upward): Likewise.
15123 (drem_test_upward): Likewise.
15124 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15125 (round_test): Use ALL_RM_TEST.
15126 (signbit_test): Likewise.
15127 (trunc_test): Likewise.
15128 (significand_test): Likewise.
15129 (main): Don't call removed functions.
15131 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15134 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15135 || __USE_XOPEN2K8].
15136 (ILL_ILLOPN): Likewise.
15137 (ILL_ILLADR): Likewise.
15138 (ILL_ILLTRP): Likewise.
15139 (ILL_PRVOPC): Likewise.
15140 (ILL_PRVREG): Likewise.
15141 (ILL_COPROC): Likewise.
15142 (ILL_BADSTK): Likewise.
15143 (FPE_INTDIV): Likewise.
15144 (FPE_INTOVF): Likewise.
15145 (FPE_FLTDIV): Likewise.
15146 (FPE_FLTOVF): Likewise.
15147 (FPE_FLTUND): Likewise.
15148 (FPE_FLTRES): Likewise.
15149 (FPE_FLTINV): Likewise.
15150 (FPE_FLTSUB): Likewise.
15151 (SEGV_MAPERR): Likewise.
15152 (SEGV_ACCERR): Likewise.
15153 (BUS_ADRALN): Likewise.
15154 (BUS_ADRERR): Likewise.
15155 (BUS_OBJERR): Likewise.
15156 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15157 (TRAP_TRACE): Likewise.
15158 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15160 (CLD_KILLED): Likewise.
15161 (CLD_DUMPED): Likewise.
15162 (CLD_TRAPPED): Likewise.
15163 (CLD_STOPPED): Likewise.
15164 (CLD_CONTINUED): Likewise.
15165 (POLL_IN): Likewise.
15166 (POLL_OUT): Likewise.
15167 (POLL_MSG): Likewise.
15168 (POLL_ERR): Likewise.
15169 (POLL_PRI): Likewise.
15170 (POLL_HUP): Likewise.
15171 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15173 (ILL_ILLOPN): Likewise.
15174 (ILL_ILLADR): Likewise.
15175 (ILL_ILLTRP): Likewise.
15176 (ILL_PRVOPC): Likewise.
15177 (ILL_PRVREG): Likewise.
15178 (ILL_COPROC): Likewise.
15179 (ILL_BADSTK): Likewise.
15180 (FPE_INTDIV): Likewise.
15181 (FPE_INTOVF): Likewise.
15182 (FPE_FLTDIV): Likewise.
15183 (FPE_FLTOVF): Likewise.
15184 (FPE_FLTUND): Likewise.
15185 (FPE_FLTRES): Likewise.
15186 (FPE_FLTINV): Likewise.
15187 (FPE_FLTSUB): Likewise.
15188 (SEGV_MAPERR): Likewise.
15189 (SEGV_ACCERR): Likewise.
15190 (BUS_ADRALN): Likewise.
15191 (BUS_ADRERR): Likewise.
15192 (BUS_OBJERR): Likewise.
15193 (BUS_MCEERR_AR): Likewise.
15194 (BUS_MCEERR_AO): 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/bits/siginfo.h (ILL_ILLOPC): Likewise.
15211 (ILL_ILLOPN): Likewise.
15212 (ILL_ILLADR): Likewise.
15213 (ILL_ILLTRP): Likewise.
15214 (ILL_PRVOPC): Likewise.
15215 (ILL_PRVREG): Likewise.
15216 (ILL_COPROC): Likewise.
15217 (ILL_BADSTK): Likewise.
15218 (FPE_INTDIV): Likewise.
15219 (FPE_INTOVF): Likewise.
15220 (FPE_FLTDIV): Likewise.
15221 (FPE_FLTOVF): Likewise.
15222 (FPE_FLTUND): Likewise.
15223 (FPE_FLTRES): Likewise.
15224 (FPE_FLTINV): Likewise.
15225 (FPE_FLTSUB): Likewise.
15226 (SEGV_MAPERR): Likewise.
15227 (SEGV_ACCERR): Likewise.
15228 (BUS_ADRALN): Likewise.
15229 (BUS_ADRERR): Likewise.
15230 (BUS_OBJERR): Likewise.
15231 (BUS_MCEERR_AR): Likewise.
15232 (BUS_MCEERR_AO): Likewise.
15233 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15234 (TRAP_TRACE): Likewise.
15235 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15237 (CLD_KILLED): Likewise.
15238 (CLD_DUMPED): Likewise.
15239 (CLD_TRAPPED): Likewise.
15240 (CLD_STOPPED): Likewise.
15241 (CLD_CONTINUED): Likewise.
15242 (POLL_IN): Likewise.
15243 (POLL_OUT): Likewise.
15244 (POLL_MSG): Likewise.
15245 (POLL_ERR): Likewise.
15246 (POLL_PRI): Likewise.
15247 (POLL_HUP): Likewise.
15248 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
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 (ILL_BADIADDR): Likewise.
15258 (ILL_BREAK): Likewise.
15259 (FPE_INTDIV): Likewise.
15260 (FPE_INTOVF): Likewise.
15261 (FPE_FLTDIV): Likewise.
15262 (FPE_FLTOVF): Likewise.
15263 (FPE_FLTUND): Likewise.
15264 (FPE_FLTRES): Likewise.
15265 (FPE_FLTINV): Likewise.
15266 (FPE_FLTSUB): Likewise.
15267 (FPE_DECOVF): Likewise.
15268 (FPE_DECDIV): Likewise.
15269 (FPE_DECERR): Likewise.
15270 (FPE_INVASC): Likewise.
15271 (FPE_INVDEC): Likewise.
15272 (SEGV_MAPERR): Likewise.
15273 (SEGV_ACCERR): Likewise.
15274 (SEGV_PSTKOVF): Likewise.
15275 (BUS_ADRALN): Likewise.
15276 (BUS_ADRERR): Likewise.
15277 (BUS_OBJERR): Likewise.
15278 (BUS_MCEERR_AR): Likewise.
15279 (BUS_MCEERR_AO): Likewise.
15280 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15281 (TRAP_TRACE): Likewise.
15282 (TRAP_BRANCH): Likewise.
15283 (TRAP_HWBKPT): Likewise.
15284 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15286 (CLD_KILLED): Likewise.
15287 (CLD_DUMPED): Likewise.
15288 (CLD_TRAPPED): Likewise.
15289 (CLD_STOPPED): Likewise.
15290 (CLD_CONTINUED): Likewise.
15291 (POLL_IN): Likewise.
15292 (POLL_OUT): Likewise.
15293 (POLL_MSG): Likewise.
15294 (POLL_ERR): Likewise.
15295 (POLL_PRI): Likewise.
15296 (POLL_HUP): Likewise.
15297 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15298 (ILL_ILLOPN): Likewise.
15299 (ILL_ILLADR): Likewise.
15300 (ILL_ILLTRP): Likewise.
15301 (ILL_PRVOPC): Likewise.
15302 (ILL_PRVREG): Likewise.
15303 (ILL_COPROC): Likewise.
15304 (ILL_BADSTK): Likewise.
15305 (FPE_INTDIV): Likewise.
15306 (FPE_INTOVF): Likewise.
15307 (FPE_FLTDIV): Likewise.
15308 (FPE_FLTOVF): Likewise.
15309 (FPE_FLTUND): Likewise.
15310 (FPE_FLTRES): Likewise.
15311 (FPE_FLTINV): Likewise.
15312 (FPE_FLTSUB): Likewise.
15313 (SEGV_MAPERR): Likewise.
15314 (SEGV_ACCERR): Likewise.
15315 (BUS_ADRALN): Likewise.
15316 (BUS_ADRERR): Likewise.
15317 (BUS_OBJERR): Likewise.
15318 (BUS_MCEERR_AR): Likewise.
15319 (BUS_MCEERR_AO): Likewise.
15320 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15321 (TRAP_TRACE): Likewise.
15322 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15324 (CLD_KILLED): Likewise.
15325 (CLD_DUMPED): Likewise.
15326 (CLD_TRAPPED): Likewise.
15327 (CLD_STOPPED): Likewise.
15328 (CLD_CONTINUED): Likewise.
15329 (POLL_IN): Likewise.
15330 (POLL_OUT): Likewise.
15331 (POLL_MSG): Likewise.
15332 (POLL_ERR): Likewise.
15333 (POLL_PRI): Likewise.
15334 (POLL_HUP): Likewise.
15335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15336 (ILL_ILLOPN): Likewise.
15337 (ILL_ILLADR): Likewise.
15338 (ILL_ILLTRP): Likewise.
15339 (ILL_PRVOPC): Likewise.
15340 (ILL_PRVREG): Likewise.
15341 (ILL_COPROC): Likewise.
15342 (ILL_BADSTK): Likewise.
15343 (FPE_INTDIV): Likewise.
15344 (FPE_INTOVF): Likewise.
15345 (FPE_FLTDIV): Likewise.
15346 (FPE_FLTOVF): Likewise.
15347 (FPE_FLTUND): Likewise.
15348 (FPE_FLTRES): Likewise.
15349 (FPE_FLTINV): Likewise.
15350 (FPE_FLTSUB): Likewise.
15351 (SEGV_MAPERR): Likewise.
15352 (SEGV_ACCERR): Likewise.
15353 (BUS_ADRALN): Likewise.
15354 (BUS_ADRERR): Likewise.
15355 (BUS_OBJERR): Likewise.
15356 (BUS_MCEERR_AR): Likewise.
15357 (BUS_MCEERR_AO): Likewise.
15358 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15359 (TRAP_TRACE): Likewise.
15360 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15362 (CLD_KILLED): Likewise.
15363 (CLD_DUMPED): Likewise.
15364 (CLD_TRAPPED): Likewise.
15365 (CLD_STOPPED): Likewise.
15366 (CLD_CONTINUED): Likewise.
15367 (POLL_IN): Likewise.
15368 (POLL_OUT): Likewise.
15369 (POLL_MSG): Likewise.
15370 (POLL_ERR): Likewise.
15371 (POLL_PRI): Likewise.
15372 (POLL_HUP): Likewise.
15373 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15374 (ILL_ILLOPN): Likewise.
15375 (ILL_ILLADR): Likewise.
15376 (ILL_ILLTRP): Likewise.
15377 (ILL_PRVOPC): Likewise.
15378 (ILL_PRVREG): Likewise.
15379 (ILL_COPROC): Likewise.
15380 (ILL_BADSTK): Likewise.
15381 (FPE_INTDIV): Likewise.
15382 (FPE_INTOVF): Likewise.
15383 (FPE_FLTDIV): Likewise.
15384 (FPE_FLTOVF): Likewise.
15385 (FPE_FLTUND): Likewise.
15386 (FPE_FLTRES): Likewise.
15387 (FPE_FLTINV): Likewise.
15388 (FPE_FLTSUB): Likewise.
15389 (SEGV_MAPERR): Likewise.
15390 (SEGV_ACCERR): Likewise.
15391 (BUS_ADRALN): Likewise.
15392 (BUS_ADRERR): Likewise.
15393 (BUS_OBJERR): Likewise.
15394 (BUS_MCEERR_AR): Likewise.
15395 (BUS_MCEERR_AO): Likewise.
15396 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15397 (TRAP_TRACE): Likewise.
15398 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15400 (CLD_KILLED): Likewise.
15401 (CLD_DUMPED): Likewise.
15402 (CLD_TRAPPED): Likewise.
15403 (CLD_STOPPED): Likewise.
15404 (CLD_CONTINUED): Likewise.
15405 (POLL_IN): Likewise.
15406 (POLL_OUT): Likewise.
15407 (POLL_MSG): Likewise.
15408 (POLL_ERR): Likewise.
15409 (POLL_PRI): Likewise.
15410 (POLL_HUP): Likewise.
15411 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15412 (ILL_ILLOPN): Likewise.
15413 (ILL_ILLADR): Likewise.
15414 (ILL_ILLTRP): Likewise.
15415 (ILL_PRVOPC): Likewise.
15416 (ILL_PRVREG): Likewise.
15417 (ILL_COPROC): Likewise.
15418 (ILL_BADSTK): Likewise.
15419 (ILL_DBLFLT): Likewise.
15420 (ILL_HARDWALL): Likewise.
15421 (FPE_INTDIV): Likewise.
15422 (FPE_INTOVF): Likewise.
15423 (FPE_FLTDIV): Likewise.
15424 (FPE_FLTOVF): Likewise.
15425 (FPE_FLTUND): Likewise.
15426 (FPE_FLTRES): Likewise.
15427 (FPE_FLTINV): Likewise.
15428 (FPE_FLTSUB): Likewise.
15429 (SEGV_MAPERR): Likewise.
15430 (SEGV_ACCERR): Likewise.
15431 (BUS_ADRALN): Likewise.
15432 (BUS_ADRERR): Likewise.
15433 (BUS_OBJERR): Likewise.
15434 (BUS_MCEERR_AR): Likewise.
15435 (BUS_MCEERR_AO): Likewise.
15436 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15437 (TRAP_TRACE): Likewise.
15438 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15440 (CLD_KILLED): Likewise.
15441 (CLD_DUMPED): Likewise.
15442 (CLD_TRAPPED): Likewise.
15443 (CLD_STOPPED): Likewise.
15444 (CLD_CONTINUED): Likewise.
15445 (POLL_IN): Likewise.
15446 (POLL_OUT): Likewise.
15447 (POLL_MSG): Likewise.
15448 (POLL_ERR): Likewise.
15449 (POLL_PRI): Likewise.
15450 (POLL_HUP): Likewise.
15451 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15452 (ILL_ILLOPN): Likewise.
15453 (ILL_ILLADR): Likewise.
15454 (ILL_ILLTRP): Likewise.
15455 (ILL_PRVOPC): Likewise.
15456 (ILL_PRVREG): Likewise.
15457 (ILL_COPROC): Likewise.
15458 (ILL_BADSTK): Likewise.
15459 (FPE_INTDIV): Likewise.
15460 (FPE_INTOVF): Likewise.
15461 (FPE_FLTDIV): Likewise.
15462 (FPE_FLTOVF): Likewise.
15463 (FPE_FLTUND): Likewise.
15464 (FPE_FLTRES): Likewise.
15465 (FPE_FLTINV): Likewise.
15466 (FPE_FLTSUB): Likewise.
15467 (SEGV_MAPERR): Likewise.
15468 (SEGV_ACCERR): Likewise.
15469 (BUS_ADRALN): Likewise.
15470 (BUS_ADRERR): Likewise.
15471 (BUS_OBJERR): Likewise.
15472 (BUS_MCEERR_AR): Likewise.
15473 (BUS_MCEERR_AO): Likewise.
15474 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15475 (TRAP_TRACE): Likewise.
15476 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15478 (CLD_KILLED): Likewise.
15479 (CLD_DUMPED): Likewise.
15480 (CLD_TRAPPED): Likewise.
15481 (CLD_STOPPED): Likewise.
15482 (CLD_CONTINUED): Likewise.
15483 (POLL_IN): Likewise.
15484 (POLL_OUT): Likewise.
15485 (POLL_MSG): Likewise.
15486 (POLL_ERR): Likewise.
15487 (POLL_PRI): Likewise.
15488 (POLL_HUP): Likewise.
15489 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15490 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15493 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15494 before #include of <time.h>.
15495 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15496 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15497 (test-xfail-UNIX98/sched.h/conform): Likewise.
15499 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15501 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15502 error absence of trapping exception support.
15503 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15505 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15507 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15508 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15509 * timezone/Makefile (testdata): Move definition above include of
15511 (test-zones): New variable.
15512 (tests-special): Add zone files.
15513 (build-testdata): Use $(evaluate-test).
15515 * elf/Makefile (tests-special): Rename tests to end with .out.
15516 ($(objpfx)noload-mem): Likewise.
15517 ($(objpfx)tst-leaks1-mem): Likewise.
15518 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15519 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15520 $(objpfx)test-iconvconfig.out.
15521 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15522 set -e inside subshell and redirect output to file.
15523 * iconvdata/Makefile (generated): Rename tests to end with .out.
15525 (tests-special): Rename tests to end with .out.
15526 ($(objpfx)mtrace-tst-loading): Likewise.
15527 * intl/Makefile (generated): Likewise.
15528 (tests-special): Likewise.
15529 ($(objpfx)mtrace-tst-gettext): Likewise.
15530 * misc/Makefile (generated): Likewise.
15531 (tests-special): Likewise.
15532 ($(objpfx)tst-error1-mem): Likewise.
15533 * nptl/Makefile (tests-special): Likewise.
15534 ($(objpfx)tst-stack3-mem): Likewise.
15535 (generated): Likewise.
15536 * posix/Makefile (generated): Likewise.
15537 (tests-special): Likewise.
15538 (xtests-special): Likewise.
15539 ($(objpfx)tst-fnmatch-mem): Likewise.
15540 ($(objpfx)bug-regex2-mem): Likewise.
15541 ($(objpfx)bug-regex14-mem): Likewise.
15542 ($(objpfx)bug-regex21-mem): Likewise.
15543 ($(objpfx)bug-regex31-mem): Likewise.
15544 ($(objpfx)tst-vfork3-mem): Likewise.
15545 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15546 ($(objpfx)tst-pcre-mem): Likewise.
15547 ($(objpfx)tst-boost-mem): Likewise.
15548 ($(objpfx)bug-ga2-mem): Likewise.
15549 ($(objpfx)bug-glob2-mem): Likewise.
15550 * resolv/Makefile (generate): Likewise.
15551 (tests-special): Likewise.
15552 (xtests-special): Likewise.
15553 (generated): Likewise.
15554 ($(objpfx)mtrace-tst-leaks): Likewise.
15555 ($(objpfx)mtrace-tst-leaks2): Likewise.
15557 * scripts/merge-test-results.sh: New file.
15558 * Makefile (tests-special-notdir): New variable.
15559 (tests): Run merge-test-results.sh.
15560 (xtests): Likewise.
15561 * Rules (tests-special-notdir): New variable.
15562 (xtests-special-notdir): Likewise.
15563 (tests): Run merge-test-results.sh
15564 (xtests): Likewise.
15566 * Makeconfig (test-xfail-name): New variable.
15567 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15568 compute variable name for expected failures.
15569 * conform/Makefile (conformtest-headers-data): New variable.
15570 (conformtest-standards): Likewise.
15571 (conformtest-headers-ISO): Likewise.
15572 (conformtest-headers-ISO99): Likewise.
15573 (conformtest-headers-ISO11): Likewise.
15574 (conformtest-headers-POSIX): Likewise.
15575 (conformtest-headers-XPG3): Likewise.
15576 (conformtest-headers-XPG4): Likewise.
15577 (conformtest-headers-UNIX98): Likewise.
15578 (conformtest-headers-XOPEN2K): Likewise.
15579 (conformtest-headers-POSIX2008): Likewise.
15580 (conformtest-headers-XOPEN2K8): Likewise.
15581 (conformtest-header-list-base): Likewise.
15582 (conformtest-header-list-tests): Likewise.
15583 (conformtest-header-base): Likewise.
15584 (conformtest-header-tests): Likewise.
15585 (tests-special): Add $(conformtest-header-list-tests). If
15586 [$(fast-check) && !$(cross-compiling)], add
15587 $(conformtest-header-tests) instead of
15588 $(objpfx)run-conformtest.out.
15589 (generated): Add $(conformtest-header-list-base). If
15590 [$(fast-check) && !$(cross-compiling)], add
15591 $(conformtest-header-base). Remove previous setting.
15592 ($(conformtest-header-list-tests)): New target.
15593 (test-xfail-run-conformtest): Remove variable.
15594 ($(objpfx)run-conformtest.out): Remove target.
15595 (test-xfail-ISO11/complex.h/conform): New variable.
15596 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15597 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15598 (test-xfail-XPG3/varargs.h/conform): Likewise.
15599 (test-xfail-XPG4/varargs.h/conform): Likewise.
15600 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15601 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15602 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15603 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15604 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15605 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15606 (test-xfail-XPG3/ftw.h/conform): Likewise.
15607 (test-xfail-XPG3/grp.h/conform): Likewise.
15608 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15609 (test-xfail-XPG3/limits.h/conform): Likewise.
15610 (test-xfail-XPG3/pwd.h/conform): Likewise.
15611 (test-xfail-XPG3/search.h/conform): Likewise.
15612 (test-xfail-XPG3/signal.h/conform): Likewise.
15613 (test-xfail-XPG3/stdio.h/conform): Likewise.
15614 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15615 (test-xfail-XPG3/string.h/conform): Likewise.
15616 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15617 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15618 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15619 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15620 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15621 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15622 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15623 (test-xfail-XPG3/termios.h/conform): Likewise.
15624 (test-xfail-XPG3/time.h/conform): Likewise.
15625 (test-xfail-XPG3/unistd.h/conform): Likewise.
15626 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15627 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15628 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15629 (test-xfail-XPG4/netdb.h/conform): Likewise.
15630 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15631 (test-xfail-XPG4/signal.h/conform): Likewise.
15632 (test-xfail-XPG4/stdio.h/conform): Likewise.
15633 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15634 (test-xfail-XPG4/stropts.h/conform): Likewise.
15635 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15636 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15637 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15638 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15639 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15640 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15641 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15642 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15643 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15644 (test-xfail-XPG4/termios.h/conform): Likewise.
15645 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15646 (test-xfail-XPG4/unistd.h/conform): Likewise.
15647 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15648 (test-xfail-POSIX/sched.h/conform): Likewise.
15649 (test-xfail-POSIX/signal.h/conform): Likewise.
15650 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15651 (test-xfail-POSIX/tar.h/conform): Likewise.
15652 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15653 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15654 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15655 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15656 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15657 (test-xfail-UNIX98/sched.h/conform): Likewise.
15658 (test-xfail-UNIX98/signal.h/conform): Likewise.
15659 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15660 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15661 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15662 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15663 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15664 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15665 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15666 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15667 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15668 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15669 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15670 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15671 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15672 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15673 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15674 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15675 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15676 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15677 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15678 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15679 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15680 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15681 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15682 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15683 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15684 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15685 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15686 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15687 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15688 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15689 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15690 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15691 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15692 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15693 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15694 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15695 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15696 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15697 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15698 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15699 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15700 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15701 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15702 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15703 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15704 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15705 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15706 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15707 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15708 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15709 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15710 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15711 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15712 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15713 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15714 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15715 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15716 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15717 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15718 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15719 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15720 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15721 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15722 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15723 (conformtest-cc-flags): Likewise.
15724 ($(conformtest-header-tests): New target.
15725 * conform/check-header-lists.sh: New file.
15726 * conform/run-conformtest.sh: Remove.
15728 * conform/conformtest.pl: Allow ' and \ in values given for
15730 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15732 [POSIX] (sys/types.h): Likewise.
15733 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15735 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15737 * conform/data/signal.h-data (SIGIO): Remove expectation.
15738 [XPG3] (SIGBUS): Do not expect.
15739 [POSIX || XPG3] (SIGPOLL): Likewise.
15740 [POSIX || XPG3] (SIGPROF): Likewise.
15741 [POSIX || XPG3] (SIGSYS): Likewise.
15742 [XPG3] (SIGTRAP): Likewise.
15743 [POSIX || XPG3] (SIGURG): Likewise.
15744 [POSIX || XPG3] (SIGVTALRM): Likewise.
15745 [POSIX || XPG3] (SIGXCPU): Likewise.
15746 [POSIX || XPG3] (SIGXFSZ): Likewise.
15747 [POSIX] (SA_SIGINFO): Expect.
15748 [XPG3] (siginfo_t): Do not expect type or contents.
15749 [POSIX] (si_pid): Do not expect element.
15750 [POSIX] (si_uid): Likewise.
15751 [POSIX] (si_addr): Likewise.
15752 [POSIX] (si_status): Likewise.
15753 [POSIX] (si_band): Likewise.
15754 [XPG4] (si_value): Likewise.
15755 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15756 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15757 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15758 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15759 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15760 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15761 [POSIX || XPG3] (ILL_COPROC): Likewise.
15762 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15763 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15764 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15765 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15766 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15767 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15768 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15769 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15770 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15771 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15772 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15773 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15774 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15775 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15776 [POSIX || XPG3] (CLD_EXITED): Likewise.
15777 [POSIX || XPG3] (CLD_KILLED): Likewise.
15778 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15779 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15780 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15781 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15782 [POSIX || XPG3] (POLL_IN): Likewise.
15783 [POSIX || XPG3] (POLL_OUT): Likewise.
15784 [POSIX || XPG3] (POLL_MSG): Likewise.
15785 [POSIX || XPG3] (POLL_ERR): Likewise.
15786 [POSIX || XPG3] (POLL_PRI): Likewise.
15787 [POSIX || XPG3] (POLL_HUP): Likewise.
15788 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15789 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15790 (SIG*): Do not allow.
15791 [XPG3] (si_*): Likewise.
15792 [XPG3] (SI_*): Likewise.
15793 [XPG3 || XPG4] (sigev_*): Likewise.
15794 [XPG3 || XPG4] (SIGEV_*): Likewise.
15795 [XPG3 || XPG4] (sival_*): Likewise.
15796 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15797 [POSIX || XPG3] (BUS_*): Likewise.
15798 [POSIX || XPG3] (CLD_*): Likewise.
15799 [POSIX || XPG3] (FPE_*): Likewise.
15800 [POSIX || XPG3] (ILL_*): Likewise.
15801 [POSIX || XPG3] (POLL_*): Likewise.
15802 [POSIX || XPG3] (SEGV_*): Likewise.
15803 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15804 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15805 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15806 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15807 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15808 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15809 Specify type and value.
15810 (TVERSLEN): Likewise.
15811 (REGTYPE): Likewise.
15812 (AREGTYPE): Likewise.
15813 (LNKTYPE): Likewise.
15814 (SYMTYPE): Likewise.
15815 (CHRTYPE): Likewise.
15816 (BLKTYPE): Likewise.
15817 (DIRTYPE): Likewise.
15818 (FIFOTYPE): Likewise.
15819 (CONTTYPE): Likewise.
15823 (TUREAD): Likewise.
15824 (TUWRITE): Likewise.
15825 (TUEXEC): Likewise.
15826 (TGREAD): Likewise.
15827 (TGWRITE): Likewise.
15828 (TGEXEC): Likewise.
15829 (TOREAD): Likewise.
15830 (TOWRITE): Likewise.
15831 (TOEXEC): Likewise.
15832 [POSIX] (TSVTX): Expect constant.
15834 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15836 * Makefile (tests): Change dependencies to ....
15837 (tests-special): ... additions to this variable.
15838 (tests): Depend on $(tests-special).
15839 * Makerules (check-abi-list): New variable.
15840 (check-abi): Depend on $(check-abi-list).
15841 [$(subdir) = elf] (tests-special): Add
15842 $(objpfx)check-abi-libc.out.
15843 [$(build-shared) = yes && subdir] (tests-special): Add
15845 [$(build-shared) = yes && subdir] (tests): Do not depend on
15847 * Rules (tests): Depend on $(tests-special).
15848 (xtests): Depend on $(xtests-special).
15849 * catgets/Makefile (tests): Change dependencies to ....
15850 (tests-special): ... additions to this variable.
15851 * conform/Makefile (tests): Change dependencies to ....
15852 (tests-special): ... additions to this variable.
15853 * elf/Makefile (tests): Change dependencies to ....
15854 (tests-special): ... additions to this variable.
15855 * grp/Makefile (tests): Change dependencies to ....
15856 (tests-special): ... additions to this variable.
15857 * iconv/Makefile (xtests): Change dependencies to ....
15858 (xtests-special): ... additions to this variable.
15859 * iconvdata/Makefile (tests): Change dependencies to ....
15860 (tests-special): ... additions to this variable.
15861 * intl/Makefile (tests): Change dependencies to ....
15862 (tests-special): ... additions to this variable. Also add
15863 $(objpfx)tst-gettext.out.
15864 * io/Makefile (tests): Change dependencies to ....
15865 (tests-special): ... additions to this variable.
15866 * libio/Makefile (tests): Change dependencies to ....
15867 (tests-special): ... additions to this variable.
15868 * malloc/Makefile (tests): Change dependencies to ....
15869 (tests-special): ... additions to this variable.
15870 * misc/Makefile (tests): Change dependencies to ....
15871 (tests-special): ... additions to this variable.
15872 * nptl/Makefile (tests): Change dependencies to ....
15873 (tests-special): ... additions to this variable.
15874 * nptl_db/Makefile (tests): Change dependencies to ....
15875 (tests-special): ... additions to this variable.
15876 * posix/Makefile (tests): Change dependencies to ....
15877 (tests-special): ... additions to this variable.
15878 (xtests): Change dependencies to ....
15879 (xtests-special): ... additions to this variable.
15880 * resolv/Makefile (tests): Change dependencies to ....
15881 (tests-special): ... additions to this variable.
15882 (xtests): Change dependencies to ....
15883 (xtests-special): ... additions to this variable.
15884 * stdio-common/Makefile (tests): Change dependencies to ....
15885 (tests-special): ... additions to this variable.
15886 (do-tst-unbputc): Remove target.
15887 (do-tst-printf): Likewise.
15888 * stdlib/Makefile (tests): Change dependencies to ....
15889 (tests-special): ... additions to this variable.
15890 * string/Makefile (tests): Change dependencies to ....
15891 (tests-special): ... additions to this variable.
15892 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15893 (tests-special): ... additions to this variable.
15895 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15897 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15899 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15900 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15902 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15903 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15904 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15905 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15906 * conform/data/libgen.h-data [XPG3]: Likewise.
15907 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15908 * conform/data/ndbm.h-data [XPG3]: Likewise.
15909 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15910 * conform/data/netdb.h-data [XPG3]: Likewise.
15911 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15912 * conform/data/poll.h-data [XPG3]: Likewise.
15913 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15914 * conform/data/strings.h-data [XPG3]: Likewise.
15915 * conform/data/stropts.h-data [XPG3]: Likewise.
15916 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15917 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15918 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15920 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15921 * conform/data/sys/time.h-data [XPG3]: Likewise.
15922 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15923 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15924 * conform/data/sys/un.h-data [XPG3]: Likewise.
15925 * conform/data/syslog.h-data [XPG3]: Likewise.
15926 * conform/data/ucontext.h-data [XPG3]: Likewise.
15927 * conform/data/utmpx.h-data [XPG3]: Likewise.
15928 * conform/data/varargs.h-data [UNIX98]: Enable file.
15930 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15932 * math/libm-test.inc (struct test_f_f_data): Move expected results
15933 into structure for each rounding mode.
15934 (struct test_ff_f_data): Likewise.
15935 (struct test_ff_f_data_nexttoward): Likewise.
15936 (struct test_fi_f_data): Likewise.
15937 (struct test_fl_f_data): Likewise.
15938 (struct test_if_f_data): Likewise.
15939 (struct test_fff_f_data): Likewise.
15940 (struct test_c_f_data): Likewise.
15941 (struct test_f_f1_data): Likewise.
15942 (struct test_fF_f1_data): Likewise.
15943 (struct test_ffI_f1_data): Likewise.
15944 (struct test_c_c_data): Likewise.
15945 (struct test_cc_c_data): Likewise.
15946 (struct test_f_i_data): Likewise.
15947 (struct test_ff_i_data): Likewise.
15948 (struct test_f_l_data): Likewise.
15949 (struct test_f_L_data): Likewise.
15950 (struct test_fFF_11_data): Likewise.
15952 (RM_FE_DOWNWARD): Likewise.
15953 (RM_FE_TONEAREST): Likewise.
15954 (RM_FE_TOWARDZERO): Likewise.
15955 (RM_FE_UPWARD): Likewise.
15956 (RUN_TEST_LOOP_f_f): Update references to expected results.
15957 (RUN_TEST_LOOP_2_f): Likewise.
15958 (RUN_TEST_LOOP_fff_f): Likewise.
15959 (RUN_TEST_LOOP_c_f): Likewise.
15960 (RUN_TEST_LOOP_f_f1): Likewise.
15961 (RUN_TEST_LOOP_fF_f1): Likewise.
15962 (RUN_TEST_LOOP_fI_f1): Likewise.
15963 (RUN_TEST_LOOP_ffI_f1): Likewise.
15964 (RUN_TEST_LOOP_c_c): Likewise.
15965 (RUN_TEST_LOOP_cc_c): Likewise.
15966 (RUN_TEST_LOOP_f_i): Likewise.
15967 (RUN_TEST_LOOP_f_i_tg): Likewise.
15968 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15969 (RUN_TEST_LOOP_f_b): Likewise.
15970 (RUN_TEST_LOOP_f_b_tg): Likewise.
15971 (RUN_TEST_LOOP_f_l): Likewise.
15972 (RUN_TEST_LOOP_f_L): Likewise.
15973 (RUN_TEST_LOOP_fFF_11): Likewise.
15974 * math/gen-libm-test.pl (parse_args): Output four copies of
15975 expected results for each test.
15977 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15978 (__ASSUME_UTIMES): Remove.
15979 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15980 (__ASSUME_UTIMES): Likewise.
15982 * math/gen-auto-libm-tests.c: Update comment on output format.
15983 (output_for_one_input_case): Generate before-rounding and
15984 after-rounding information as conditions on output flags not
15985 floating-point format.
15986 * math/auto-libm-test-out: Regenerated.
15987 * math/gen-libm-test.pl (cond_value): New function.
15988 (or_cond_value): Use cond_value.
15989 (generate_testfile): Handle conditional exceptions.
15991 2014-03-05 Joseph Myers <joseph@codesourcery.com>
15993 * math/libm-test.inc (max_valid_error): New variable.
15994 (init_max_error): Take new argument specifying whether function
15995 results are exactly determined. Set max_valid_error and bound
15996 other variables for errors based on this argument.
15997 (set_max_error): Do not record results above max_valid_error.
15998 (check_float_internal): Only accept errors of up to 0.5ulps if
15999 also at most max_valid_error.
16000 (START): Take new argument EXACT and pass it to init_max_error.
16001 (acos_test): Update call to START.
16002 (acos_test_tonearest): Likewise.
16003 (acos_test_towardzero): Likewise.
16004 (acos_test_downward): Likewise.
16005 (acos_test_upward): Likewise.
16006 (acosh_test): Likewise.
16007 (asin_test): Likewise.
16008 (asin_test_tonearest): Likewise.
16009 (asin_test_towardzero): Likewise.
16010 (asin_test_downward): Likewise.
16011 (asin_test_upward): Likewise.
16012 (asinh_test): Likewise.
16013 (atan_test): Likewise.
16014 (atanh_test): Likewise.
16015 (atan2_test): Likewise.
16016 (cabs_test): Likewise.
16017 (cacos_test): Likewise.
16018 (cacosh_test): Likewise.
16019 (carg_test): Likewise.
16020 (casin_test): Likewise.
16021 (casinh_test): Likewise.
16022 (catan_test): Likewise.
16023 (catanh_test): Likewise.
16024 (cbrt_test): Likewise.
16025 (ccos_test): Likewise.
16026 (ccosh_test): Likewise.
16027 (ceil_test): Likewise.
16028 (cexp_test): Likewise.
16029 (cimag_test): Likewise.
16030 (clog_test): Likewise.
16031 (clog10_test): Likewise.
16032 (conj_test): Likewise.
16033 (copysign_test): Likewise.
16034 (cos_test): Likewise.
16035 (cos_test_tonearest): Likewise.
16036 (cos_test_towardzero): Likewise.
16037 (cos_test_downward): Likewise.
16038 (cos_test_upward): Likewise.
16039 (cosh_test): Likewise.
16040 (cosh_test_tonearest): Likewise.
16041 (cosh_test_towardzero): Likewise.
16042 (cosh_test_downward): Likewise.
16043 (cosh_test_upward): Likewise.
16044 (cpow_test): Likewise.
16045 (cproj_test): Likewise.
16046 (creal_test): Likewise.
16047 (csin_test): Likewise.
16048 (csinh_test): Likewise.
16049 (csqrt_test): Likewise.
16050 (ctan_test): Likewise.
16051 (ctan_test_tonearest): Likewise.
16052 (ctan_test_towardzero): Likewise.
16053 (ctan_test_downward): Likewise.
16054 (ctan_test_upward): Likewise.
16055 (ctanh_test): Likewise.
16056 (ctanh_test_tonearest): Likewise.
16057 (ctanh_test_towardzero): Likewise.
16058 (ctanh_test_downward): Likewise.
16059 (ctanh_test_upward): Likewise.
16060 (erf_test): Likewise.
16061 (erfc_test): Likewise.
16062 (exp_test): Likewise.
16063 (exp_test_tonearest): Likewise.
16064 (exp_test_towardzero): Likewise.
16065 (exp_test_downward): Likewise.
16066 (exp_test_upward): Likewise.
16067 (exp10_test): Likewise.
16068 (exp10_test_tonearest): Likewise.
16069 (exp10_test_towardzero): Likewise.
16070 (exp10_test_downward): Likewise.
16071 (exp10_test_upward): Likewise.
16072 (pow10_test): Likewise.
16073 (exp2_test): Likewise.
16074 (expm1_test): Likewise.
16075 (expm1_test_tonearest): Likewise.
16076 (expm1_test_towardzero): Likewise.
16077 (expm1_test_downward): Likewise.
16078 (expm1_test_upward): Likewise.
16079 (fabs_test): Likewise.
16080 (fdim_test): Likewise.
16081 (floor_test): Likewise.
16082 (fma_test): Likewise.
16083 (fma_test_towardzero): Likewise.
16084 (fma_test_downward): Likewise.
16085 (fma_test_upward): Likewise.
16086 (fmax_test): Likewise.
16087 (fmin_test): Likewise.
16088 (fmod_test): Likewise.
16089 (fpclassify_test): Likewise.
16090 (frexp_test): Likewise.
16091 (hypot_test): Likewise.
16092 (ilogb_test): Likewise.
16093 (isfinite_test): Likewise.
16094 (finite_test): Likewise.
16095 (isgreater_test): Likewise.
16096 (isgreaterequal_test): Likewise.
16097 (isinf_test): Likewise.
16098 (isless_test): Likewise.
16099 (islessequal_test): Likewise.
16100 (islessgreater_test): Likewise.
16101 (isnan_test): Likewise.
16102 (isnormal_test): Likewise.
16103 (issignaling_test): Likewise.
16104 (isunordered_test): Likewise.
16105 (j0_test): Likewise.
16106 (j1_test): Likewise.
16107 (jn_test): Likewise.
16108 (ldexp_test): Likewise.
16109 (lgamma_test): Likewise.
16110 (gamma_test): Likewise.
16111 (lrint_test): Likewise.
16112 (lrint_test_tonearest): Likewise.
16113 (lrint_test_towardzero): Likewise.
16114 (lrint_test_downward): Likewise.
16115 (lrint_test_upward): Likewise.
16116 (llrint_test): Likewise.
16117 (llrint_test_tonearest): Likewise.
16118 (llrint_test_towardzero): Likewise.
16119 (llrint_test_downward): Likewise.
16120 (llrint_test_upward): Likewise.
16121 (log_test): Likewise.
16122 (log10_test): Likewise.
16123 (log1p_test): Likewise.
16124 (log2_test): Likewise.
16125 (logb_test): Likewise.
16126 (logb_test_downward): Likewise.
16127 (lround_test): Likewise.
16128 (llround_test): Likewise.
16129 (modf_test): Likewise.
16130 (nearbyint_test): Likewise.
16131 (nextafter_test): Likewise.
16132 (nexttoward_test): Likewise.
16133 (pow_test): Likewise.
16134 (pow_test_tonearest): Likewise.
16135 (pow_test_towardzero): Likewise.
16136 (pow_test_downward): Likewise.
16137 (pow_test_upward): Likewise.
16138 (remainder_test): Likewise.
16139 (drem_test): Likewise.
16140 (remainder_test_tonearest): Likewise.
16141 (drem_test_tonearest): Likewise.
16142 (remainder_test_towardzero): Likewise.
16143 (drem_test_towardzero): Likewise.
16144 (remainder_test_downward): Likewise.
16145 (drem_test_downward): Likewise.
16146 (remainder_test_upward): Likewise.
16147 (drem_test_upward): Likewise.
16148 (remquo_test): Likewise.
16149 (rint_test): Likewise.
16150 (rint_test_tonearest): Likewise.
16151 (rint_test_towardzero): Likewise.
16152 (rint_test_downward): Likewise.
16153 (rint_test_upward): Likewise.
16154 (round_test): Likewise.
16155 (scalb_test): Likewise.
16156 (scalbn_test): Likewise.
16157 (scalbln_test): Likewise.
16158 (signbit_test): Likewise.
16159 (sin_test): Likewise.
16160 (sin_test_tonearest): Likewise.
16161 (sin_test_towardzero): Likewise.
16162 (sin_test_downward): Likewise.
16163 (sin_test_upward): Likewise.
16164 (sincos_test): Likewise.
16165 (sinh_test): Likewise.
16166 (sinh_test_tonearest): Likewise.
16167 (sinh_test_towardzero): Likewise.
16168 (sinh_test_downward): Likewise.
16169 (sinh_test_upward): Likewise.
16170 (sqrt_test): Likewise.
16171 (sqrt_test_tonearest): Likewise.
16172 (sqrt_test_towardzero): Likewise.
16173 (sqrt_test_downward): Likewise.
16174 (sqrt_test_upward): Likewise.
16175 (tan_test): Likewise.
16176 (tan_test_tonearest): Likewise.
16177 (tan_test_towardzero): Likewise.
16178 (tan_test_downward): Likewise.
16179 (tan_test_upward): Likewise.
16180 (tanh_test): Likewise.
16181 (tgamma_test): Likewise.
16182 (trunc_test): Likewise.
16183 (y0_test): Likewise.
16184 (y1_test): Likewise.
16185 (yn_test): Likewise.
16186 (significand_test): Likewise.
16188 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16189 individual tests in comment.
16190 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16191 (prev_max_error): New variable.
16192 (prev_real_max_error): Likewise.
16193 (prev_imag_max_error): Likewise.
16194 (compare_ulp_data): Don't refer to test names in comment.
16195 (find_test_ulps): Remove function.
16196 (find_function_ulps): Likewise.
16197 (find_complex_function_ulps): Likewise.
16198 (init_max_error): Take function name as argument. Look up ulps
16200 (print_ulps): Remove function.
16201 (print_max_error): Use prev_max_error instead of calling
16202 find_function_ulps.
16203 (print_complex_max_error): Use prev_real_max_error and
16204 prev_imag_max_error instead of calling find_complex_function_ulps.
16205 (check_float_internal): Take max_ulp parameter instead of calling
16206 find_test_ulps. Don't call print_ulps.
16207 (check_float): Update call to check_float_internal.
16208 (check_complex): Update calls to check_float_internal.
16209 (START): Pass argument to init_max_error.
16210 * math/gen-libm-test.pl (%results): Don't include "kind"
16212 (parse_ulps): Don't handle ulps of individual tests.
16213 (print_ulps_file): Likewise.
16214 (output_ulps): Likewise.
16215 * math/README.libm-test: Update.
16216 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16218 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16219 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16220 * sysdeps/arm/libm-test-ulps: Likewise.
16221 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16222 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16223 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16224 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16225 * sysdeps/microblaze/libm-test-ulps: Likewise.
16226 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16227 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16228 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16229 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16230 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16231 * sysdeps/sh/libm-test-ulps: Likewise.
16232 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16233 * sysdeps/tile/libm-test-ulps: Likewise.
16234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16236 2014-03-04 Joseph Myers <joseph@codesourcery.com>
16238 * math/libm-test.inc (print_complex_max_error): Check separately
16239 whether real and imaginary errors are within allowed range and
16240 pass 0 to print_complex_function_ulps instead of value within
16243 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16245 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16247 (get_handles_fopen): Likewise.
16248 (do_write_test): Likewise.
16250 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16252 * libio/fileops.c (do_ftell): Use cached offset when
16254 * libio/iofwide.c (do_ftell_wide): Likewise.
16255 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16257 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16260 * libio/libioP.h (get_file_offset): New function.
16261 * libio/fileops.c (get_file_offset): Likewise.
16262 (do_ftell): Likewise.
16263 (_IO_new_file_seekoff): Split out ftell logic.
16264 * libio/wfileops.c (do_ftell_wide): Likewise.
16265 (_IO_wfile_seekoff): Split out ftell logic.
16266 * libio/tst-ftell-active-handler.c: New test case.
16267 * libio/Makefile (tests): Add it.
16269 2014-03-03 Roland McGrath <roland@hack.frob.com>
16271 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16272 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16274 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16277 * nscd/connections.c (nscd_init): Call do_exit.
16278 (start_threads): Call do_exit and notify_parent.
16279 (begin_drop_privileges): Call do_exit.
16280 (finish_drop_privileges): Likewise.
16281 * nscd/selinux.c (preserve_capabilities): Likewise.
16282 (install_real_capabilities): Likewise.
16283 (nscd_selinux_enabled): Likewise.
16284 (avc_create_thread): Likewise.
16285 (avc_alloc_lock): Likewise.
16286 (nscd_avc_init): Likewise.
16287 * nscd/nscd.c (parent_fd): New static variable.
16288 (main): Create a pipe between parent and child processes.
16289 Skip closing parent_fd.
16290 (monitor_child): New function.
16291 (do_exit): Likewise.
16292 (notify_parent): Likewise.
16293 * nscd/nscd.h (notify_parent): Likewise.
16294 (do_exit): Likewise.
16296 2014-03-03 Carlos O'Donell <carlos@redhat.com>
16298 * malloc/malloc.c (__libc_calloc): Revert last change.
16300 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16304 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16306 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16310 (__libc_ifunc_impl_list): Likewise.
16311 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16312 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16313 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16314 * string/strrchr.c: Define STRRCHR.
16316 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
16318 * benchtest/bench-strtok.c (simple_strtok): Delete.
16319 (strtok_string): Use as benchmark.
16320 * string/strtok (STRTOK): New macro.
16322 2014-02-28 Carlos O'Donell <carlos@redhat.com>
16324 * manual/threads.texi: Add header and standard comments to all
16327 * elf/dl-lookup.c (check_match): New function.
16328 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16329 (do_lookup_x): Remove nested function check_match. Use non-nested
16330 function check_match.
16332 2014-02-28 Roland McGrath <roland@hack.frob.com>
16334 * csu/Makefile (generated, before-compile): Use += rather than =.
16335 * catgets/Makefile (generated, generated-dirs): Likewise.
16336 * debug/Makefile (generated): Likewise.
16337 * dlfcn/Makefile (generated): Likewise.
16338 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16339 * iconvdata/Makefile (before-compile, generated): Likewise.
16340 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16341 * libio/Makefile (generated): Likewise.
16342 * malloc/Makefile (generated): Likewise.
16343 * manual/Makefile (generated, generated-dirs): Likewise.
16344 * misc/Makefile (generated): Likewise.
16345 * posix/Makefile (generated): Likewise.
16346 * resolv/Makefile (generated): Likewise.
16347 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16348 * timezone/Makefile (generated, generated-dirs): Likewise.
16350 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16352 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16355 power8 implementation.
16356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16357 file: POWER8 llround ifunc implementation.
16358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16359 (__lllround): Add POWER8 implementation.
16360 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16361 POWER8 llround implementation.
16363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16364 power8 implementation.
16365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16366 file: POWER8 llrint ifunc implementation.
16367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16368 Add POWER8 implementation.
16369 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16370 POWER8 llrint implementation.
16372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16373 power8 implementation.
16374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16375 file: POWER8 finite ifunc implementation.
16376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16377 Add POWER8 implementation.
16378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16380 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16381 POWER8 finite implementation.
16382 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16385 power8 implementation.
16386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16387 file: POWER8 isinf ifunc implementation.
16388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16389 POWER8 implementation.
16390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16392 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16393 isinf implementation.
16394 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16396 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16397 (INIT_ARCH): Add hwcap2 initialization.
16398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16399 power8 implementation.
16400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16401 file: POWER8 isnan ifunc implementation.
16402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16403 POWER8 implementation.
16404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16406 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16407 isnan implementation.
16408 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16410 2014-02-27 Joey Ye <joey.ye@arm.com>
16412 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16413 (_FP_NANFRAC_Q): Set to zero.
16415 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16418 * math/auto-libm-test-in: New test inputs.
16419 * math/auto-libm-test-out: Regenerate.
16420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16423 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16425 2014-02-27 Joseph Myers <joseph@codesourcery.com>
16427 * scripts/evaluate-test.sh: Take new argument indicating whether
16428 failure is expected.
16429 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16430 indicating whether failure is expected.
16431 * conform/Makefile (test-xfail-run-conformtest): New variable.
16432 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16434 * posix/Makefile (test-xfail-annexc): New variable.
16435 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16437 2014-02-26 Joseph Myers <joseph@codesourcery.com>
16439 * argp/Makefile: Include Makeconfig immediately after defining
16441 * assert/Makefile: Likewise.
16442 * benchtests/Makefile: Likewise.
16443 * catgets/Makefile: Likewise.
16444 * conform/Makefile: Likewise.
16445 * crypt/Makefile: Likewise.
16446 * csu/Makefile: Likewise.
16447 (all): Remove target.
16448 * ctype/Makefile: Include Makeconfig immediately after defining
16450 * debug/Makefile: Likewise.
16451 * dirent/Makefile: Likewise.
16452 * dlfcn/Makefile: Likewise.
16453 * gmon/Makefile: Likewise.
16454 * gnulib/Makefile: Likewise.
16455 * grp/Makefile: Likewise.
16456 * gshadow/Makefile: Likewise.
16457 * hesiod/Makefile: Likewise.
16458 * hurd/Makefile: Likewise.
16459 (all): Remove target.
16460 * iconvdata/Makefile: Include Makeconfig immediately after
16462 * inet/Makefile: Likewise.
16463 * intl/Makefile: Likewise.
16464 * io/Makefile: Likewise.
16465 * libio/Makefile: Likewise.
16466 (all): Remove target.
16467 * locale/Makefile: Include Makeconfig immediately after defining
16469 * login/Makefile: Likewise.
16470 * mach/Makefile: Likewise.
16471 (all): Remove target.
16472 * malloc/Makefile: Include Makeconfig immediately after defining
16474 (all): Remove target.
16475 * manual/Makefile: Include Makeconfig immediately after defining
16477 * math/Makefile: Likewise.
16478 * misc/Makefile: Likewise.
16479 * nis/Makefile: Likewise.
16480 * nss/Makefile: Likewise.
16481 * po/Makefile: Likewise.
16482 (all): Remove target.
16483 * posix/Makefile: Include Makeconfig immediately after defining
16485 * pwd/Makefile: Likewise.
16486 * resolv/Makefile: Likewise.
16487 * resource/Makefile: Likewise.
16488 * rt/Makefile: Likewise.
16489 * setjmp/Makefile: Likewise.
16490 * shadow/Makefile: Likewise.
16491 * signal/Makefile: Likewise.
16492 * socket/Makefile: Likewise.
16493 * soft-fp/Makefile: Likewise.
16494 * stdio-common/Makefile: Likewise.
16495 * stdlib/Makefile: Likewise.
16496 * streams/Makefile: Likewise.
16497 * string/Makefile: Likewise.
16498 * sunrpc/Makefile: Likewise.
16499 (all): Remove target.
16500 * sysvipc/Makefile: Include Makeconfig immediately after defining
16502 * termios/Makefile: Likewise.
16503 * time/Makefile: Likewise.
16504 * timezone/Makefile: Likewise.
16505 (all): Remove target.
16506 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16508 * wctype/Makefile: Likewise.
16510 2014-02-26 Steve Ellcey <sellcey@mips.com>
16512 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16513 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16514 (libc_feholdexcept_setround_mips): Ditto.
16515 (libc_feholdsetround): New.
16516 (libc_feholdsetroundf): New.
16517 (libc_feholdsetroundl): New.
16518 (libc_feupdateenv_test_mips): New.
16519 (libc_feupdateenv_test): New.
16520 (libc_feupdateenv_testf): New.
16521 (libc_feupdateenv_testl): New.
16522 (libc_feresetround): New.
16523 (libc_feresetroundf): New.
16524 (libc_feresetroundl): New.
16525 (libc_fetestexcept_mips): New.
16526 (libc_fetestexcept): New.
16527 (libc_fetestexceptf): New.
16528 (libc_fetestexceptl): New.
16529 (HAVE_RM_CTX): New.
16530 (libc_feholdexcept_setround_mips_ctx): New.
16531 (libc_feholdexcept_setround_ctx): New.
16532 (libc_feholdexcept_setroundf_ctx): New.
16533 (libc_feholdexcept_setroundl_ctx): New.
16534 (libc_fesetenv_mips_ctx): New.
16535 (libc_fesetenv_ctx): New.
16536 (libc_fesetenv_ctxf): New.
16537 (libc_fesetenv_ctxl): New.
16538 (libc_feupdateenv_mips_ctx): New.
16539 (libc_feupdateenv_ctx): New.
16540 (libc_feupdateenvf_ctx): New.
16541 (libc_feupdateenvl_ctx): New.
16542 (libc_feholdsetround_mips_ctx): New.
16543 (libc_feholdsetround_ctx): New.
16544 (libc_feholdsetroundf_ctx): New.
16545 (libc_feholdsetroundl_ctx): New.
16546 (libc_feresetround_mips_ctx): New.
16547 (libc_feresetround_ctx): New.
16548 (libc_feresetroundf_ctx): New.
16549 (libc_feresetroundl_ctx): New.
16551 2014-02-26 Carlos O'Donell <carlos@redhat.com>
16553 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16555 * manual/ipc.texi: New file.
16556 * manual/Makefile (chapters): Add ipc.
16557 * manual/job.texi: Add "Inter-Process Communication" to next.
16558 * manual/process.texi: Add "Inter-Process Communication" to prev.
16560 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16564 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
16566 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16568 * manual/arith.texi: Fix spaces after sentences.
16569 * manual/charset.texi: Likewise.
16570 * manual/errno.texi: Likewise.
16571 * manual/install.texi: Likewise.
16572 * manual/llio.texi: Likewise.
16573 * manual/locale.texi: Likewise.
16574 * manual/maint.texi: Likewise.
16575 * manual/math.texi: Likewise.
16576 * manual/memory.texi: Likewise.
16577 * manual/message.texi: Likewise.
16578 * manual/probes.texi: Likewise.
16579 * manual/resource.texi: Likewise.
16580 * manual/signal.texi: Likewise.
16581 * manual/socket.texi: Likewise.
16582 * manual/stdio.texi: Likewise.
16583 * manual/string.texi: Likewise.
16584 * manual/time.texi: Likewise.
16585 * manual/users.texi: Likewise.
16587 2014-02-25 Carlos O'Donell <carlos@redhat.com>
16590 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16591 _DEFAULT_SOURCE is defined.
16593 2014-02-25 Ulrich Drepper <drepper@gmail.com>
16594 Carlos O'Donell <carlos@redhat.com>
16597 * elf/dl-tls.c (_dl_count_modids): New function.
16598 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16599 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16600 audit library and increment generation counter.
16601 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16602 * elf/tst-audit9.c: New file.
16603 * elf/tst-auditmod9a.c: New file.
16604 * elf/tst-auditmod9b.c: New file.
16605 * elf/Makefile: Add rules to build and run tst-audit9.
16607 2014-02-25 Florian Weimer <fweimer@redhat.com>
16610 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16612 2014-02-25 Will Newton <will.newton@linaro.org>
16614 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16615 (__longjmp): Restore sp and lr before restoring callee
16616 saved registers. Add longjmp and longjmp_target
16617 SystemTap probe point.
16618 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16619 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16620 Define to zero to match jmpbuf layout.
16621 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16622 (__sigsetjmp): Save sp and lr before saving callee
16623 saved registers. Add setjmp SystemTap probe point.
16625 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16627 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16629 2014-02-24 Andreas Schwab <schwab@suse.de>
16632 * elf/pldd.c (wait_for_ptrace_stop): New function.
16633 (main): Call it after attaching.
16635 2014-02-22 Roland McGrath <roland@hack.frob.com>
16637 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16638 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16639 Versions files is now verboten.
16640 * hurd/Versions (libc: GLIBC_2.0):
16641 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16642 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16643 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16644 * mach/Versions: Likewise.
16646 * csu/Versions: Remove unused %include.
16647 * resolv/Versions: Likewise.
16649 2014-02-21 Joseph Myers <joseph@codesourcery.com>
16651 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16652 ($(objpfx)check-local-headers.out): Likewise.
16653 ($(objpfx)begin-end-check.out): Likewise.
16654 * Makerules (check-abi-%.out): Likewise.
16655 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16656 ($(objpfx)test2.cat): Likewise.
16657 ($(objpfx)de/libc.cat): Likewise.
16658 ($(objpfx)test-gencat.out): Likewise.
16659 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16660 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16661 ($(objpfx)noload-mem): Likewise.
16662 ($(objpfx)tst-pathopt.out): Likewise.
16663 ($(objpfx)tst-rtld-load-self.out): Likewise.
16664 ($(objpfx)tst-array1-cmp.out): Likewise.
16665 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16666 ($(objpfx)tst-array2-cmp.out): Likewise.
16667 ($(objpfx)tst-array3-cmp.out): Likewise.
16668 ($(objpfx)tst-array4-cmp.out): Likewise.
16669 ($(objpfx)tst-array5-cmp.out): Likewise.
16670 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16671 ($(objpfx)check-textrel.out): Likewise.
16672 ($(objpfx)check-execstack.out): Likewise.
16673 ($(objpfx)check-localplt.out): Likewise.
16674 ($(objpfx)order2-cmp.out): Likewise.
16675 ($(objpfx)tst-leaks1-mem): Likewise.
16676 ($(objpfx)tst-leaks1-static-mem): Likewise.
16677 ($(objpfx)tst-initorder-cmp.out): Likewise.
16678 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16679 ($(objpfx)tst-unused-dep.out): Likewise.
16680 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16681 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16682 * iconv/Makefile (test-iconvconfig): Likewise.
16683 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16684 ($(objpfx)iconv-test.out): Likewise.
16685 ($(objpfx)tst-tables.out): Likewise.
16686 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16687 ($(objpfx)tst-gettext.out): Likewise.
16688 ($(objpfx)tst-translit.out): Likewise.
16689 ($(objpfx)tst-gettext2.out): Likewise.
16690 ($(objpfx)tst-gettext4.out): Likewise.
16691 ($(objpfx)tst-gettext6.out): Likewise.
16692 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16693 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16694 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16695 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16696 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16697 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16698 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16699 ($(objpfx)wordexp-tst.out): Likewise.
16700 ($(objpfx)annexc.out): Likewise.
16701 ($(objpfx)tst-fnmatch-mem): Likewise.
16702 ($(objpfx)bug-regex2-mem): Likewise.
16703 ($(objpfx)bug-regex14-mem): Likewise.
16704 ($(objpfx)bug-regex21-mem): Likewise.
16705 ($(objpfx)bug-regex31-mem): Likewise.
16706 ($(objpfx)tst-vfork3-mem): Likewise.
16707 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16708 ($(objpfx)tst-pcre-mem): Likewise.
16709 ($(objpfx)tst-boost-mem): Likewise.
16710 ($(objpfx)tst-getconf.out): Likewise.
16711 ($(objpfx)bug-ga2-mem): Likewise.
16712 ($(objpfx)bug-glob2-mem): Likewise.
16713 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16714 ($(objpfx)mtrace-tst-leaks2): Likewise.
16715 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16716 ($(objpfx)tst-printf.out): Likewise.
16717 ($(objpfx)tst-setvbuf1.out): Likewise.
16718 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16719 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16720 ($(objpfx)tst-fmtmsg.out): Likewise.
16721 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16722 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16724 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16725 * bits/sigaction.h [__USE_MISC]: Likewise.
16726 * bits/waitstatus.h: Update #endif comments.
16727 * ctype/ctype.h: Likewise.
16728 * dirent/dirent.h: Likewise.
16729 [__USE_MISC]: Remove redundant conditionals.
16730 * grp/grp.h: Update #endif comments.
16731 [__USE_GNU]: Remove redundant conditionals.
16732 [__USE_MISC]: Likewise.
16733 * inet/netinet/in.h [__USE_GNU]: Likewise.
16734 * io/sys/stat.h [__USE_MISC]: Likewise.
16735 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16736 * libio/bits/stdio.h: Update #endif comments.
16737 [__USE_MISC]: Remove redundant conditionals.
16738 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16739 * libio/stdio.h: Update #endif comments.
16740 [__USE_MISC]: Remove redundant conditionals.
16741 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16742 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16743 * math/math.h: Update #else and #endif comments.
16744 [__USE_MISC]: Remove redundant conditionals.
16745 * misc/sys/uio.h: Update #endif comments.
16746 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16747 * posix/glob.h [__USE_MISC]: Likewise.
16748 * posix/sys/types.h: Update #endif comments.
16749 [__USE_MISC]: Remove redundant conditionals.
16750 * posix/sys/wait.h: Update #endif comments.
16751 [__USE_MISC]: Remove redundant conditionals.
16752 * posix/unistd.h: Update #endif comments.
16753 [__USE_MISC]: Remove redundant conditionals.
16754 * pwd/pwd.h [__USE_GNU]: Likewise.
16755 [__USE_MISC]: Likewise.
16756 * resolv/netdb.h [__USE_GNU]: Likewise.
16757 * signal/signal.h: Update #endif comments.
16758 [__USE_MISC]: Remove redundant conditionals.
16759 * stdlib/stdlib.h: Update #else and #endif comments.
16760 [__USE_MISC]: Remove redundant conditionals.
16761 [__USE_GNU]: Likewise.
16762 * string/bits/string2.h [__USE_MISC]: Likewise.
16763 * string/string.h: Update #endif comments.
16764 [__USE_MISC]: Remove redundant conditionals.
16765 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16767 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16768 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16769 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16771 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16775 [__USE_MISC]: Remove redundant conditionals.
16776 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16777 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16778 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16779 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16780 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16782 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16783 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16785 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16786 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16788 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16790 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16791 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16793 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16795 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16796 * sysdeps/x86/bits/string.h: Update #endif comments.
16797 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16799 * time/sys/time.h: Update #endif comments.
16800 * time/time.h: Likewise.
16801 [__USE_MISC]: Remove redundant conditionals.
16803 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16806 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16808 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16810 * Versions.def (librt): Add GLIBC_2.17.
16812 2014-02-21 Adam Conrad <adconrad@0c3.net>
16814 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16815 synonym for _SYS_AUXV_H to allow direct inclusion.
16816 * sysdeps/sparc/bits/hwcap.h: Likewise.
16817 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16818 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16819 * sysdeps/sparc/sysdep.h: Likewise.
16821 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16823 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16825 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16827 * benchtests/bench-strrchr.c: Print length instead of position.
16829 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16832 * sysdeps/unix/sysv/linux/kernel-features.h
16833 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16834 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16835 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16836 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16838 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16839 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16840 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16841 (__ASSUME_SENDMMSG): Define instead of using previous
16842 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16843 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16844 (__ASSUME_SENDMMSG_SYSCALL): Define.
16845 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16846 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16848 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16849 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16851 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16852 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16854 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16855 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16856 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16857 [__ASSUME_SENDMMSG]: Change conditionals to
16858 [__ASSUME_SENDMMSG_SOCKETCALL].
16859 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16860 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16862 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16863 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16865 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16866 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16867 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16868 [!__ASSUME_SENDMMSG]: Change conditional to
16869 [!__ASSUME_SENDMMSG_SOCKETCALL].
16870 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16871 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16875 * sysdeps/unix/sysv/linux/kernel-features.h
16876 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16877 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16878 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16879 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16880 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16881 [__i386__ || __sparc__]
16882 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16883 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16884 (__ASSUME_RECVMMSG): Define instead of using previous
16885 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16887 (__ASSUME_RECVMMSG_SYSCALL): Define.
16888 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16889 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16891 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16892 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16894 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16895 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16897 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16898 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16899 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16900 [__ASSUME_RECVMMSG]: Change condition to
16901 [__ASSUME_RECVMMSG_SOCKETCALL].
16902 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16903 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16905 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16906 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16907 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16909 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16910 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16911 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16912 [!__ASSUME_RECVMMSG]: Change condition to
16913 [!__ASSUME_RECVMMSG_SOCKETCALL].
16914 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16915 (__ASSUME_RECVMMSG_SYSCALL): Define.
16918 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16919 __powerpc__ || __s390__ || __sh__ || __sparc__]
16920 (__ASSUME_SOCKETCALL): Define.
16921 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16922 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16923 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16924 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16925 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16926 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16927 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16928 (__ASSUME_ACCEPT4): Define instead of using previous
16929 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16930 __powerpc__ || __sparc__ || __s390__)] condition.
16931 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16932 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16933 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16934 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16935 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16936 [!__ASSUME_ACCEPT4]: Change condition to
16937 [!__ASSUME_ACCEPT4_SOCKETCALL].
16938 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16939 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16940 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16941 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16942 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16943 __ASSUME_ACCEPT4_SYSCALL.
16944 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16945 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16946 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16947 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16948 __ASSUME_ACCEPT4_SYSCALL.
16949 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16950 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16951 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16952 [__ASSUME_ACCEPT4]: Change condition to
16953 [__ASSUME_ACCEPT4_SOCKETCALL].
16954 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16955 (__ASSUME_SOCKETCALL): Define.
16956 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16957 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16958 (__ASSUME_SOCKETCALL): Define.
16959 (__ASSUME_ACCEPT4): Remove.
16960 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16962 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16963 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16965 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16966 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16968 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16970 (HWCAP_ARM_LPAE): Likewise.
16971 (HWCAP_ARM_EVTSTRM): Likewise.
16972 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16973 Add vpfd32, lpae and evtstrm.
16974 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16977 2014-02-19 Joseph Myers <joseph@codesourcery.com>
16979 * math/auto-libm-test-in: Add tests of clog10.
16980 * math/auto-libm-test-out: Regenerated.
16981 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16982 * sysdeps/i386/fpu/libm-test-ulps: Update.
16983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16985 2014-02-18 Andreas Schwab <schwab@suse.de>
16988 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16989 Store non-zero if the second buffer was newly allocated.
16990 (send_dg): Likewise.
16991 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16992 to send_vc and send_dg.
16993 (res_nsend): Pass NULL for ansp2_malloced.
16994 * resolv/res_query.c (__libc_res_nquery): Add parameter
16995 answerp2_malloced and pass it down to __libc_res_nsend.
16996 (res_nquery): Pass additional NULL to __libc_res_nquery.
16997 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16998 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16999 second answer buffer if answerp2_malloced was set.
17000 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17001 (__libc_res_nquerydomain): Add parameter
17002 answerp2_malloced and pass it down to __libc_res_nquery.
17003 (res_nquerydomain): Pass additional NULL to
17004 __libc_res_nquerydomain.
17005 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17006 additional NULL to __libc_res_nsend and __libc_res_nquery.
17007 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17008 additional NULL to __libc_res_nsearch.
17009 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17010 parameter of __libc_res_nsearch to check for separately allocated
17012 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17014 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17015 additional NULL to __libc_res_nquery.
17016 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17017 __libc_res_nsearch.
17018 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17019 * include/resolv.h: Update prototypes of __libc_res_nquery,
17020 __libc_res_nsearch, __libc_res_nsend.
17022 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17024 * math/auto-libm-test-in: Add tests of fma.
17025 * math/auto-libm-test-out: Regenerated.
17026 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17027 (fma_towardzero_test_data): Likewise.
17028 (fma_downward_test_data): Likewise.
17029 (fma_upward_test_data): Likewise.
17030 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17032 (rounding_modes): Add values for new field.
17033 (func_calc_method): Add value mpfr_fff_f.
17034 (func_calc_desc): Add mpfr_fff_f union field.
17035 (test_function): Add field exact_args.
17036 (FUNC): Add macro argument EXACT_ARGS.
17037 (FUNC_mpfr_f_f): Update call to FUNC.
17038 (FUNC_mpfr_f_f): Likewise.
17039 (FUNC_mpfr_ff_f): Likewise.
17040 (FUNC_mpfr_if_f): Likewise.
17041 (FUNC_mpc_c_f): Likewise.
17042 (FUNC_mpc_c_c): Likewise.
17043 (test_functions): Add fma. Update calls to FUNC.
17044 (handle_input_arg): Add argument exact_args.
17045 (add_test): Update call to handle_input_arg.
17046 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17047 (output_for_one_input_case): Update call to calc_generic_results.
17048 Recalculate exact zero results in each rounding mode.
17050 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17051 non-negative before setting low bit.
17052 * math/auto-libm-test-in: Mark one asin test possibly having
17053 spurious underflow.
17054 * math/auto-libm-test-out: Regenerated.
17055 * sysdeps/i386/fpu/libm-test-ulps: Update.
17056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17058 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17060 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17061 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17062 ports/sysdeps/unix/sysv/linux/microblaze.
17063 * README: Add missing listing for microblaze*-*-linux-gnu.
17065 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17067 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17070 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17072 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17073 * sysdeps/unix/sysv/linux/ia64: Move directory from
17074 ports/sysdeps/unix/sysv/linux/ia64.
17075 * README: Update listing for ia64-*-linux-gnu.
17077 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17078 Joseph Myers <joseph@codesourcery.com>
17080 * Makeconfig (test-name): New variable.
17081 (evaluate-test): Likewise.
17082 * Makerules (do-test-clean): Remove .test-result files.
17083 (common-mostlyclean): Likewise.
17084 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17085 * scripts/evaluate-test.sh: New file.
17087 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17089 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17090 separate $(objpfx)tst-fopenloc-cmp.out and
17091 $(objpfx)tst-fopenloc-mem.out targets.
17092 (tests): Update dependencies.
17093 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17094 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17095 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17096 (tst-rxspencer-no-utf8-ARGS): New variable.
17097 (tst-rxspencer-no-utf8-ENV): Likewise.
17098 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17099 instead of $(objpfx)tst-rxspencer-mem.
17100 ($(objpfx)tst-rxspencer-mem): Change target to
17101 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17102 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17103 * posix/tst-rxspencer-no-utf8.c: New file.
17105 * elf/Makefile ($(objpfx)order.out): Remove rule.
17106 [$(run-built-tests) = yes] (tests): Depend on
17107 $(objpfx)order-cmp.out.
17108 ($(objpfx)order-cmp.out): New rule.
17109 [$(run-built-tests) = yes] (tests): Depend on
17110 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17111 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17112 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17113 $(objpfx)tst-array5-static-cmp.out.
17114 ($(objpfx)tst-array1.out): Remove rule.
17115 ($(objpfx)tst-array1-cmp.out): New rule.
17116 ($(objpfx)tst-array1-static.out): Remove rule.
17117 ($(objpfx)tst-array1-static-cmp.out): New rule.
17118 ($(objpfx)tst-array2.out): Remove rule.
17119 ($(objpfx)tst-array2-cmp.out): New rule.
17120 ($(objpfx)tst-array3.out): Remove rule.
17121 ($(objpfx)tst-array3-cmp.out): New rule.
17122 ($(objpfx)tst-array4.out): Remove rule.
17123 ($(objpfx)tst-array4-cmp.out): New rule.
17124 ($(objpfx)tst-array5.out): Remove rule.
17125 ($(objpfx)tst-array5-cmp.out): New rule.
17126 ($(objpfx)tst-array5-static.out): Remove rule.
17127 ($(objpfx)tst-array5-static-cmp.out): New rule.
17128 [$(run-built-tests) = yes] (tests): Depend on
17129 $(objpfx)order2-cmp.out.
17130 ($(objpfx)order2.out): Remove rule.
17131 ($(objpfx)order2-cmp.out): New rule.
17132 ($(objpfx)tst-initorder.out): Remove rule.
17133 [$(run-built-tests) = yes] (tests): Depend on
17134 $(objpfx)tst-initorder-cmp.out.
17135 ($(objpfx)tst-initorder-cmp.out): New rule.
17136 ($(objpfx)tst-initorder2.out): Remove rule.
17137 [$(run-built-tests) = yes] (tests): Depend on
17138 $(objpfx)tst-initorder2-cmp.out.
17139 ($(objpfx)tst-initorder2-cmp.out): New rule.
17140 [$(run-built-tests) = yes] (tests): Depend on
17141 $(objpfx)tst-unused-dep-cmp.out.
17142 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17143 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17144 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17145 on $(objpfx)tst-setvbuf1-cmp.out.
17146 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17147 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17148 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17149 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17150 ($(objpfx)tst-svc.out): Remove rule.
17151 ($(objpfx)tst-svc-cmp.out): New rule.
17153 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17155 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17156 * ctype/ctype.h [__USE_MISC]: Likewise.
17157 * dirent/dirent.h [__USE_MISC]: Likewise.
17158 * grp/grp.h [__USE_MISC]: Likewise.
17159 * io/fcntl.h [__USE_MISC]: Likewise.
17160 * io/sys/stat.h [__USE_MISC]: Likewise.
17161 * libio/stdio.h [__USE_MISC]: Likewise.
17162 * posix/unistd.h [__USE_MISC]: Likewise.
17163 * pwd/pwd.h [__USE_MISC]: Likewise.
17164 * stdlib.h [__USE_MISC]: Likewise.
17165 * string/bits/string2.h [__USE_MISC]: Likewise.
17166 * string/string.h [__USE_MISC]: Likewise.
17167 * time/time.h [__USE_MISC]: Likewise.
17169 2014-02-13 Andreas Schwab <schwab@suse.de>
17172 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17173 second answer buffer if it was separately allocated.
17175 2014-02-12 Joseph Myers <joseph@codesourcery.com>
17177 * sysdeps/mips/math-tests.h: Include <features.h>.
17178 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17179 (ROUNDING_TESTS_long_double): Do not define.
17180 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17181 (EXCEPTION_TESTS_long_double): Likewise.
17182 * sysdeps/mips/mips64/libm-test-ulps: Update.
17184 * include/features.h (__USE_BSD): Remove macro definitions.
17185 (__USE_SVID): Likewise.
17186 (_BSD_SOURCE): Likewise.
17187 (_SVID_SOURCE): Likewise.
17188 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17189 from definition of _DEFAULT_SOURCE.
17190 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17192 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17193 * bits/mman.h [__USE_BSD]: Likewise.
17194 * bits/termios.h [__USE_BSD]: Likewise.
17195 * bits/waitstatus.h [__USE_BSD]: Likewise.
17196 * ctype/ctype.h [__USE_SVID]: Likewise.
17197 * dirent/dirent.h [__USE_BSD]: Likewise.
17198 * grp/grp.h [__USE_SVID]: Likewise.
17199 [__USE_BSD]: Likewise.
17200 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17201 * io/fcntl.h [__USE_BSD]: Likewise.
17202 * io/ftw.h [__USE_BSD]: Likewise.
17203 * io/sys/stat.h [__USE_BSD]: Likewise.
17204 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17205 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17206 * libio/stdio.h [__USE_SVID]: Likewise.
17207 [__USE_BSD]: Likewise.
17208 * math/math.h [__USE_SVID]: Likewise.
17209 [__USE_BSD]: Likewise.
17210 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17211 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17212 * misc/search.h [__USE_SVID]: Likewise.
17213 * misc/sys/mman.h [__USE_BSD]: Likewise.
17214 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17215 * misc/sys/uio.h [__USE_BSD]: Likewise.
17216 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17217 * posix/glob.h [__USE_BSD]: Likewise.
17218 * posix/regex.h [__USE_BSD]: Likewise.
17219 * posix/sys/types.h [__USE_BSD]: Likewise.
17220 [__USE_SVID]: Likewise.
17221 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17222 * posix/sys/wait.h [__USE_BSD]: Likewise.
17223 [__USE_SVID]: Likewise.
17224 * posix/unistd.h [__USE_BSD]: Likewise.
17225 [__USE_SVID]: Likewise.
17226 * pwd/pwd.h [__USE_SVID]: Likewise.
17227 * resolv/netdb.h [__USE_BSD]: Likewise.
17228 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17229 * signal/signal.h [__USE_BSD]: Likewise.
17230 [__USE_SVID]: Likewise.
17231 * socket/sys/socket.h [__USE_BSD]: Likewise.
17232 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17233 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17234 [__USE_SVID]: Likewise.
17235 * string/bits/string2.h [__USE_BSD]: Likewise.
17236 [__USE_SVID]: Likewise.
17237 * string/bits/string3.h [__USE_BSD]: Likewise.
17238 * string/endian.h [__USE_BSD]: Likewise.
17239 * string/string.h [__USE_SVID]: Likewise.
17240 [__USE_BSD]: Likewise.
17241 * string/strings.h [__USE_BSD]: Likewise.
17242 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17243 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17244 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17245 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17246 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17247 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17251 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17252 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17254 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17255 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17257 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17259 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17260 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17261 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17263 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17265 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17266 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17267 * termios/termios.h [__USE_BSD]: Likewise.
17268 * time/sys/time.h [__USE_BSD]: Likewise.
17269 * time/time.h [__USE_BSD]: Likewise.
17270 [__USE_SVID]: Likewise.
17272 * Makefile (subdir_targets): Remove subdir_lint.out.
17274 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17275 (do-tst-printf): Likewise.
17276 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17277 $(objpfx)tst-printf.out.
17279 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17281 * Makerules (check-abi-%): Change target to
17282 $(objpfx)check-abi-%.out.
17283 (check-abi target): Update dependencies.
17284 (check-abi-pattern variable): Redirect output of diff to $@.
17285 (check-abi variable): Likewise.
17286 * elf/Makefile (check-abi): Update dependencies.
17288 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17290 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17291 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17293 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17294 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17295 value has largest subnormal exponent.
17296 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17297 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17298 * sysdeps/aarch64/soft-fp/sfp-machine.h
17299 (_FP_TININESS_AFTER_ROUNDING): New macro.
17300 * sysdeps/alpha/soft-fp/sfp-machine.h
17301 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17302 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17304 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17305 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17306 * sysdeps/mips/soft-fp/sfp-machine.h
17307 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17308 * sysdeps/powerpc/soft-fp/sfp-machine.h
17309 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17310 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17312 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17313 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17315 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17316 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17319 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
17322 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17325 2014-02-12 Richard Henderson <rth@redhat.com>
17327 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17328 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17329 * sysdeps/unix/sysv/linux/alpha: Move directory from
17330 ports/sysdeps/unix/sysv/linux/alpha.
17331 * README: Update listing for alpha-*-linux-gnu.
17333 2014-02-11 Joseph Myers <joseph@codesourcery.com>
17335 * include/features.h: Update comment documenting feature test
17337 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17339 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17340 (_SVID_SOURCE): Likewise.
17341 (_DEFAULT_SOURCE): Update description of default features.
17342 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17344 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17345 (S_ISVTX): Likewise.
17346 * manual/math.texi (Mathematical Constants): Likewise.
17347 * manual/signal.texi (Interrupted Primitives): Likewise.
17348 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17349 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17350 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17351 Don't refer to _SVID_SOURCE in warning text.
17353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17355 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17357 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17358 * sysdeps/mips/dl-lookup.c: Remove.
17359 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17361 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17364 * math/auto-libm-test-in: Add testcase for expl.
17365 * math/auto-libm-test-out: Regenerate.
17366 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17367 calculation of unsafe.
17368 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17370 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17372 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17373 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17374 ports/sysdeps/unix/sysv/linux/aarch64.
17375 * README: Update listing for aarch64*-*-linux-gnu.
17377 2014-02-11 Will Newton <will.newton@linaro.org>
17379 * manual/probes.texi (Mathematical Function Probes): Use
17380 "triggered" instead of "hit".
17382 * manual/probes.texi (Internal Probes): Add documentation
17383 of setjmp, longjmp and longjmp_target probes.
17385 * include/stap-probe.h: Add comment about probe argument
17388 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17389 definition. (tr_where, tr_freehook, tr_mallochook,
17390 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17392 2014-02-11 David S. Miller <davem@davemloft.net>
17394 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17395 processing int_tests.
17397 2014-02-10 Joseph Myers <joseph@codesourcery.com>
17399 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17400 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17401 * sysdeps/unix/sysv/linux/mips: Move directory from
17402 ports/sysdeps/unix/sysv/linux/mips.
17403 * README: Update listing for mips-*-linux-gnu and
17404 mips64-*-linux-gnu.
17406 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17408 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17409 * sysdeps/unix/sysv/linux/m68k: Move directory from
17410 ports/sysdeps/unix/sysv/linux/m68k.
17411 * README: Update listing for m68k-*-linux-gnu.
17413 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17415 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17416 * sysdeps/unix/sysv/linux/generic: Move directory from
17417 ports/sysdeps/unix/sysv/linux/generic.
17418 * sysdeps/unix/sysv/linux/tile: Move directory from
17419 ports/sysdeps/unix/sysv/linux/tile.
17420 * README: Update listing for tile*-*-linux-gnu.
17422 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
17424 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17426 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17427 * catgets/open_catalog.c (__open_catalog): Likewise.
17428 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17429 * debug/confstr_chk.c: Likewise.
17430 * debug/fread_chk.c (__fread_chk): Likewise.
17431 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17432 * debug/getgroups_chk.c: Likewise.
17433 * debug/mbsnrtowcs_chk.c: Likewise.
17434 * debug/mbsrtowcs_chk.c: Likewise.
17435 * debug/mbstowcs_chk.c: Likewise.
17436 * debug/memcpy_chk.c: Likewise.
17437 * debug/memmove_chk.c: Likewise.
17438 * debug/mempcpy_chk.c: Likewise.
17439 * debug/memset_chk.c: Likewise.
17440 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17441 * debug/strcat_chk.c (__strcat_chk): Likewise.
17442 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17443 * debug/strncat_chk.c (__strncat_chk): Likewise.
17444 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17445 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17446 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17447 * debug/wcpncpy_chk.c: Likewise.
17448 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17449 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17450 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17451 * debug/wcsncpy_chk.c: Likewise.
17452 * debug/wcsnrtombs_chk.c: Likewise.
17453 * debug/wcsrtombs_chk.c: Likewise.
17454 * debug/wcstombs_chk.c: Likewise.
17455 * debug/wmemcpy_chk.c: Likewise.
17456 * debug/wmemmove_chk.c: Likewise.
17457 * debug/wmempcpy_chk.c: Likewise.
17458 * debug/wmemset_chk.c: Likewise.
17459 * dirent/scandirat.c (SCANDIRAT): Likewise.
17460 * dlfcn/dladdr1.c (dladdr1): Likewise.
17461 * dlfcn/dladdr.c (dladdr): Likewise.
17462 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17463 * dlfcn/dlerror.c (__dlerror): Likewise.
17464 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17465 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17466 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17467 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17468 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17469 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17470 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17471 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17473 * elf/dl-conflict.c: Likewise.
17474 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17475 * elf/dl-dst.h: Likewise.
17476 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17477 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17478 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17479 * elf/dl-init.c (call_init, _dl_init): Likewise.
17480 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17481 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17482 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17484 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17486 * elf/dl-minimal.c (__libc_memalign): Likewise.
17487 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17488 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17489 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17490 * elf/dl-sym.c (do_sym): Likewise.
17491 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17492 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17493 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17494 * elf/dl-writev.h (_dl_writev): Likewise.
17495 * elf/ldconfig.c (search_dir): Likewise.
17496 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17497 (dl_main): Likewise.
17498 * elf/setup-vdso.h (setup_vdso): Likewise.
17499 * grp/compat-initgroups.c (compat_call): Likewise.
17500 * grp/fgetgrent.c (fgetgrent): Likewise.
17501 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17502 * grp/putgrent.c (putgrent): Likewise.
17503 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17505 * hurd/hurdinit.c: Likewise.
17506 * iconvdata/8bit-gap.c (struct): Likewise.
17507 * iconvdata/ansi_x3.110.c : Likewise.
17508 * iconvdata/big5.c : Likewise.
17509 * iconvdata/big5hkscs.c : Likewise.
17510 * iconvdata/cp1255.c: Likewise.
17511 * iconvdata/cp1258.c : Likewise.
17512 * iconvdata/cp932.c : Likewise.
17513 * iconvdata/euc-cn.c: Likewise.
17514 * iconvdata/euc-jisx0213.c : Likewise.
17515 * iconvdata/euc-jp.c: Likewise.
17516 * iconvdata/euc-jp-ms.c : Likewise.
17517 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17518 * iconvdata/gb18030.c : Likewise.
17519 * iconvdata/gbbig5.c (const): Likewise.
17520 * iconvdata/gbgbk.c: Likewise.
17521 * iconvdata/gbk.c : Likewise.
17522 * iconvdata/ibm1364.c : Likewise.
17523 * iconvdata/ibm930.c : Likewise.
17524 * iconvdata/ibm932.c: Likewise.
17525 * iconvdata/ibm933.c : Likewise.
17526 * iconvdata/ibm935.c : Likewise.
17527 * iconvdata/ibm937.c : Likewise.
17528 * iconvdata/ibm939.c : Likewise.
17529 * iconvdata/ibm943.c: Likewise.
17530 * iconvdata/iso_11548-1.c: Likewise.
17531 * iconvdata/iso-2022-cn.c : Likewise.
17532 * iconvdata/iso-2022-cn-ext.c : Likewise.
17533 * iconvdata/iso-2022-jp-3.c: Likewise.
17534 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17535 * iconvdata/iso-2022-kr.c : Likewise.
17536 * iconvdata/iso646.c (gconv_end): Likewise.
17537 * iconvdata/iso_6937-2.c : Likewise.
17538 * iconvdata/iso_6937.c : Likewise.
17539 * iconvdata/iso8859-1.c: Likewise.
17540 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17541 * iconvdata/shift_jisx0213.c : Likewise.
17542 * iconvdata/sjis.c : Likewise.
17543 * iconvdata/t.61.c : Likewise.
17544 * iconvdata/tcvn5712-1.c : Likewise.
17545 * iconvdata/tscii.c: Likewise.
17546 * iconvdata/uhc.c : Likewise.
17547 * iconvdata/unicode.c (gconv_end): Likewise.
17548 * iconvdata/utf-16.c (gconv_end): Likewise.
17549 * iconvdata/utf-32.c (gconv_end): Likewise.
17550 * iconvdata/utf-7.c (base64): Likewise.
17551 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17552 * iconv/gconv_close.c (__gconv_close): Likewise.
17553 * iconv/gconv_open.c (__gconv_open): Likewise.
17554 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17555 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17556 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17557 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17558 (ucs4le_internal_loop_single): Likewise.
17559 * iconv/iconv.c (iconv): Likewise.
17560 * iconv/iconv_close.c: Likewise.
17561 * iconv/loop.c (SINGLE): Likewise.
17562 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17563 * include/atomic.h: Likewise.
17564 * inet/inet6_option.c (option_alloc): Likewise.
17565 * intl/bindtextdom.c (set_binding_values): Likewise.
17566 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17567 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17568 * intl/localealias.c (read_alias_file): Likewise.
17569 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17570 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17571 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17572 * libio/fmemopen.c (fmemopen): Likewise.
17573 * libio/iofgets.c (_IO_fgets): Likewise.
17574 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17575 * libio/iofgetws.c (fgetws): Likewise.
17576 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17577 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17578 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17579 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17580 * locale/findlocale.c (_nl_find_locale): Likewise.
17581 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17582 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17584 * locale/setlocale.c (setlocale): Likewise.
17585 * login/programs/pt_chown.c (main): Likewise.
17586 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17587 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17588 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17589 (mmap, mmap64, mremap, munmap): Likewise.
17590 * math/e_exp2l.c: Likewise.
17591 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17592 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17593 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17594 * math/s_catan.c (__catan): Likewise.
17595 * math/s_catanf.c (__catanf): Likewise.
17596 * math/s_catanh.c (__catanh): Likewise.
17597 * math/s_catanhf.c (__catanhf): Likewise.
17598 * math/s_catanhl.c (__catanhl): Likewise.
17599 * math/s_catanl.c (__catanl): Likewise.
17600 * math/s_ccosh.c (__ccosh): Likewise.
17601 * math/s_ccoshf.c (__ccoshf): Likewise.
17602 * math/s_ccoshl.c (__ccoshl): Likewise.
17603 * math/s_cexp.c (__cexp): Likewise.
17604 * math/s_cexpf.c (__cexpf): Likewise.
17605 * math/s_cexpl.c (__cexpl): Likewise.
17606 * math/s_clog10.c (__clog10): Likewise.
17607 * math/s_clog10f.c (__clog10f): Likewise.
17608 * math/s_clog10l.c (__clog10l): Likewise.
17609 * math/s_clog.c (__clog): Likewise.
17610 * math/s_clogf.c (__clogf): Likewise.
17611 * math/s_clogl.c (__clogl): Likewise.
17612 * math/s_csin.c (__csin): Likewise.
17613 * math/s_csinf.c (__csinf): Likewise.
17614 * math/s_csinh.c (__csinh): Likewise.
17615 * math/s_csinhf.c (__csinhf): Likewise.
17616 * math/s_csinhl.c (__csinhl): Likewise.
17617 * math/s_csinl.c (__csinl): Likewise.
17618 * math/s_csqrt.c (__csqrt): Likewise.
17619 * math/s_csqrtf.c (__csqrtf): Likewise.
17620 * math/s_csqrtl.c (__csqrtl): Likewise.
17621 * math/s_ctan.c (__ctan): Likewise.
17622 * math/s_ctanf.c (__ctanf): Likewise.
17623 * math/s_ctanh.c (__ctanh): Likewise.
17624 * math/s_ctanhf.c (__ctanhf): Likewise.
17625 * math/s_ctanhl.c (__ctanhl): Likewise.
17626 * math/s_ctanl.c (__ctanl): Likewise.
17627 * math/w_pow.c: Likewise.
17628 * math/w_powf.c: Likewise.
17629 * math/w_powl.c: Likewise.
17630 * math/w_scalb.c (sysv_scalb): Likewise.
17631 * math/w_scalbf.c (sysv_scalbf): Likewise.
17632 * math/w_scalbl.c (sysv_scalbl): Likewise.
17633 * misc/error.c (error_tail): Likewise.
17634 * misc/pselect.c (__pselect): Likewise.
17635 * nis/nis_callback.c (__nis_create_callback): Likewise.
17636 * nis/nis_call.c (__nisfind_server): Likewise.
17637 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17638 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17639 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17640 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17641 * nis/nis_lookup.c (nis_lookup): Likewise.
17642 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17643 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17644 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17645 * nis/nis_xdr.c (xdr_endpoint): Likewise.
17646 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17647 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17648 * nis/nss_compat/compat-initgroups.c (add_group)
17649 (internal_getgrent_r): Likewise.
17650 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17651 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17652 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17653 (internal_getspnam_r): Likewise.
17654 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17655 (_nss_nis_getaliasbyname_r): Likewise.
17656 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17657 (_nss_nis_getntohost_r): Likewise.
17658 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17659 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17660 (_nss_nis_getgrgid_r): Likewise.
17661 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17662 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17663 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17664 (_nss_nis_gethostbyname4_r): Likewise.
17665 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17666 (initgroups_netid): Likewise.
17667 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17668 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17669 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17670 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17671 (_nss_nis_getprotobynumber_r): Likewise.
17672 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17673 (_nss_nis_getsecretkey): Likewise.
17674 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17675 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17676 (_nss_nis_getpwuid_r): Likewise.
17677 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17678 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17679 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17680 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17681 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17682 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17683 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17685 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17686 (_nss_nisplus_getntohost_r): Likewise.
17687 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17688 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17689 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17690 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17692 * nis/nss_nisplus/nisplus-initgroups.c
17693 (_nss_nisplus_initgroups_dyn): Likewise.
17694 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17695 (_nss_nisplus_getnetbyaddr_r): Likewise.
17696 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17697 (_nss_nisplus_getprotobynumber_r): Likewise.
17698 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17699 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17700 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17702 * nis/nss_nisplus/nisplus-service.c
17703 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17704 (_nss_nisplus_getservbyport_r): Likewise.
17705 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17706 (_nss_nisplus_getspnam_r): Likewise.
17707 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17709 * nscd/aicache.c (addhstaiX): Likewise.
17710 * nscd/cache.c (cache_search, prune_cache): Likewise.
17711 * nscd/connections.c (register_traced_file, send_ro_fd)
17712 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17713 (main_loop_epoll): Likewise.
17714 * nscd/grpcache.c (addgrbyX): Likewise.
17715 * nscd/hstcache.c (addhstbyX): Likewise.
17716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17717 * nscd/mem.c (gc, mempool_alloc): Likewise.
17718 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17719 (addinnetgrX): Likewise.
17720 * nscd/nscd-client.h (__nscd_acquire_maplock)
17721 (__nscd_drop_map_ref): Likewise.
17722 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17723 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17724 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17726 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17728 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17729 (__nscd_get_map_ref): Likewise.
17730 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17731 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17733 * nscd/pwdcache.c (addpwbyX): Likewise.
17734 * nscd/selinux.c (preserve_capabilities): Likewise.
17735 * nscd/servicescache.c (addservbyX): Likewise.
17736 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17737 * posix/fnmatch.c (fnmatch): Likewise.
17738 * posix/getopt.c (_getopt_internal_r): Likewise.
17739 * posix/glob.c (glob, glob_in_dir): Likewise.
17740 * posix/wordexp.c (exec_comm_child): Likewise.
17741 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17742 (getanswer_r, gaih_getanswer_slice): Likewise.
17743 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17744 * resolv/res_init.c: Likewise.
17745 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17746 * resolv/res_query.c (__libc_res_nquery): Likewise.
17747 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17749 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17750 * stdio-common/perror.c (perror): Likewise.
17751 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17752 * stdio-common/tmpnam.c (tmpnam): Likewise.
17753 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17754 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17755 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17757 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17758 * stdlib/putenv.c (putenv): Likewise.
17759 * stdlib/setenv.c (__add_to_environ): Likewise.
17760 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17761 * stdlib/strtol_l.c (INTERNAL): Likewise.
17762 * string/memmem.c (memmem): Likewise.
17763 * string/strerror.c (strerror): Likewise.
17764 * string/strnlen.c (__strnlen): Likewise.
17765 * string/test-memmem.c (simple_memmem): Likewise.
17766 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17767 * sunrpc/pm_getport.c (__get_socket): Likewise.
17768 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17769 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17770 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17771 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17773 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17774 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17775 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17776 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17777 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17778 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17780 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17782 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17783 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17784 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17785 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17786 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17788 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17789 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17790 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17791 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17792 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17793 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17795 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17797 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17799 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17800 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17801 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17802 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17803 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17804 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17805 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17808 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17809 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17810 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17811 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17812 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17814 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17816 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17818 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17820 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17822 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17824 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17826 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17827 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17828 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17829 * sysdeps/posix/sleep.c: Likewise.
17830 * sysdeps/posix/tempname.c: Likewise.
17831 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17832 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17834 * sysdeps/powerpc/powerpc32/dl-machine.h
17835 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17836 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17838 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17839 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17841 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17842 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17843 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17844 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17845 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17846 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17847 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17848 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17849 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17850 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17851 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17852 (elf_machine_lazy_rel): Likewise.
17853 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17854 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17855 (elf_machine_lazy_rel): Likewise.
17856 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17857 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17858 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17859 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17860 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17861 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17862 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17865 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17866 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17867 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17868 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17869 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17870 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17871 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17872 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17873 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17874 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17875 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17877 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17878 (__posix_fallocate64_l64): Likewise.
17879 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17880 (posix_fallocate): Likewise.
17881 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17883 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17884 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17885 (getifaddrs_internal): Likewise.
17886 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17887 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17888 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17889 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17890 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17891 (__posix_fallocate64_l64): Likewise.
17892 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17894 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17895 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17896 (__get_clockfreq): Likewise.
17897 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17898 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17899 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17902 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17903 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17904 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17906 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17907 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17908 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17909 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17910 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17911 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17912 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17914 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17915 (posix_fallocate): Likewise.
17916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17917 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17918 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17919 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17920 (elf_machine_rela, elf_machine_rela_relative)
17921 (elf_machine_lazy_rel): Likewise.
17922 * time/asctime.c (asctime_internal): Likewise.
17923 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17924 * time/tzset.c (__tzset_parse_tz): Likewise.
17925 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17926 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17927 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17928 * wcsmbs/wcsmbsload.h: Likewise.
17931 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17933 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17934 (arena_get2): Remove THREAD_STATS conditionals.
17935 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17936 (__malloc_stats, int): Likewise.
17938 2014-02-08 Mike Frysinger <vapier@gentoo.org>
17940 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17941 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17943 * manual/setjmp.texi: Fix typos/grammar errors.
17945 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17946 Only return early when n is <= 0. Delete unused return statement.
17948 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17949 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17950 * debug/tst-longjmp_chk3.c: New file.
17952 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17953 (test_main): Replace code with set_fortify_handler call.
17954 * debug/test-strcpy_chk.c: Likewise.
17955 * debug/tst-chk1.c: Likewise.
17956 * debug/tst-longjmp_chk.c: Likewise.
17957 * test-skeleton.c: Include fcntl.h & paths.h
17958 (set_fortify_handler): Define.
17960 * debug/tst-longjmp_chk.c: Add header comment and include
17961 ../test-skeleton.c.
17962 (do_test): Mark static.
17963 (TEST_FUNCTION): Define.
17965 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17966 (IP_PMTUDISC_INTERFACE): Likewise.
17967 (IP_MULTICAST_IF): Likewise.
17968 (IP_MULTICAST_TTL): Likewise.
17969 (IP_MULTICAST_LOOP): Likewise.
17970 (IP_ADD_MEMBERSHIP): Likewise.
17971 (IP_DROP_MEMBERSHIP): Likewise.
17972 (IP_UNBLOCK_SOURCE): Likewise.
17973 (IP_BLOCK_SOURCE): Likewise.
17974 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17975 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17976 (IP_MSFILTER): Likewise.
17977 (MCAST_JOIN_GROUP): Likewise.
17978 (MCAST_BLOCK_SOURCE): Likewise.
17979 (MCAST_UNBLOCK_SOURCE): Likewise.
17980 (MCAST_LEAVE_GROUP): Likewise.
17981 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17982 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17983 (MCAST_MSFILTER): Likewise.
17984 (IP_MULTICAST_ALL): Likewise.
17985 (IP_UNICAST_IF): Likewise.
17987 * timezone/Makefile: Delete $(have-ksh) check.
17988 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17989 * timezone/tzselect.ksh: Add +x mode bits.
17991 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17992 (ANON_INODE_FS_MAGIC): Likewise.
17993 (BDEVFS_MAGIC): Likewise.
17994 (BINFMTFS_MAGIC): Likewise.
17995 (BTRFS_TEST_MAGIC): Likewise.
17996 (CRAMFS_MAGIC_WEND): Likewise.
17997 (DEBUGFS_MAGIC): Likewise.
17998 (ECRYPTFS_SUPER_MAGIC): Likewise.
17999 (EXT3_SUPER_MAGIC): Likewise.
18000 (EXT4_SUPER_MAGIC): Likewise.
18001 (FUTEXFS_SUPER_MAGIC): Likewise.
18002 (HOSTFS_SUPER_MAGIC): Likewise.
18003 (HUGETLBFS_MAGIC): Likewise.
18004 (MINIX3_SUPER_MAGIC): Likewise.
18005 (MTD_INODE_FS_MAGIC): Likewise.
18006 (NILFS_SUPER_MAGIC): Likewise.
18007 (OPENPROM_SUPER_MAGIC): Likewise.
18008 (PIPEFS_MAGIC): Likewise.
18009 (PSTOREFS_MAGIC): Likewise.
18010 (QNX6_SUPER_MAGIC): Likewise.
18011 (RAMFS_MAGIC): Likewise.
18012 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18013 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18014 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18015 (SECURITYFS_MAGIC): Likewise.
18016 (SELINUX_MAGIC): Likewise.
18017 (SMACK_MAGIC): Likewise.
18018 (SOCKFS_MAGIC): Likewise.
18019 (SQUASHFS_MAGIC): Likewise.
18020 (STACK_END_MAGIC): Likewise.
18021 (TMPFS_MAGIC): Likewise.
18022 (USBDEVICE_SUPER_MAGIC): Likewise.
18023 (V9FS_MAGIC): Likewise.
18024 (XENFS_SUPER_MAGIC): Likewise.
18025 (CRAMFS_MAGIC): Fix typo in comment.
18026 (EXT2_SUPER_MAGIC): Update comment.
18027 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18029 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18031 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18032 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18033 * sysdeps/unix/sysv/linux/arm: Move directory from
18034 ports/sysdeps/unix/sysv/linux/arm.
18035 * README: Update listing for arm-*-linux-gnueabi.
18037 * README: Remove mention of am33.
18039 2014-02-07 Roland McGrath <roland@hack.frob.com>
18041 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18042 than the comma operator, to avoid "rhs of comma has no effect"
18044 (__sigfillset, __sigandset, __sigorset): Likewise.
18045 * include/signal.h (__sigemptyset): Likewise.
18046 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18048 2014-02-07 Allan McRae <allan@archlinux.org>
18050 * version.h (RELEASE): Set to "development".
18051 (VERSION): Set to "2.19.90"
18052 * NEWS: Add 2.20 section.
18054 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18057 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18059 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18061 * manual/contrib.texi: Update entry for Carlos O'Donell,
18062 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18064 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18066 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18068 * sysdeps/unix/sysv/linux/kernel-features.h
18069 [__LINUX_KERNEL_VERSION >= 0x020621]
18070 (__ASSUME_PROC_PID_TASK_COMM): Define.
18072 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18075 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18076 conversion when destination buffer does not have enough space.
18077 * libio/tst-ftell-partial-wide.c: New test case.
18078 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18080 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18081 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18082 Leonard and Allan McRae.
18084 2014-02-04 David S. Miller <davem@davemloft.net>
18086 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18089 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18118 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18120 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18121 * shlib-versions: Likewise.
18123 2014-02-04 Roland McGrath <roland@hack.frob.com>
18124 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18126 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18127 (abilist-pattern): New variable, set to %-le.abilist.
18129 * Makerules (abilist-pattern): New variable.
18130 (vpath): Use $(abilist-pattern) in place of %.abilist.
18131 (check-abi-% pattern rule): Likewise.
18132 (check-abi, update-abi): Likewise.
18134 2014-02-04 Eric Wong <normalperson@yhbt.net>
18136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18138 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18140 * manual/startup.texi: Add next, previous, and top entries for
18141 the `Program Arguments' and `Environment Variables' nodes.
18143 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18145 * manual/macros.texi: Add comments before MTASC-safety macros.
18147 * manual/users.texi: Document MTASC-safety properties.
18149 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18150 (pthread_getspecific, pthread_setspecific): Format with
18151 @deftypefun, and add @safety note.
18152 * manual/signal.texi: Move comments that analyze the above
18153 functions to their home place.
18155 2014-02-03 Allan McRae <allan@archlinux.org>
18157 * po/sl.po: Update Slovenian translation from translation project.
18159 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
18161 * manual/time.texi (timegm): Add missing blank after @c.
18162 Reported by Joseph Myers <joseph@codesourcery.com>.
18164 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
18166 * manual/check-safety.sh: New.
18167 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18169 * manual/terminal.texi: Document MTASC-safety properties.
18171 * manual/filesys.texi: Document MTASC-safety properties.
18173 * manual/errno.texi: Document MTASC-safety properties.
18175 * manual/intro.texi: Document safety identifiers and
18178 * manual/string.texi (wcstok): Fix prototype.
18179 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18181 * manual/time.texi: Document MTASC-safety properties.
18183 * manual/string.texi: Document MTASC-safety properties.
18185 * manual/threads.texi: Document MTASC-safety properties.
18187 * manual/stdio.texi: Document MTASC-safety properties.
18189 * manual/syslog.texi: Document MTASC-safety properties.
18191 * manual/sysinfo.texi: Document MTASC-safety properties.
18193 * manual/startup.texi: Document MTASC-safety properties.
18195 * manual/socket.texi: Document MTASC-safety properties.
18197 * manual/signal.texi: Document MTASC-safety properties.
18199 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18201 * manual/setjmp.texi: Document MTASC-safety properties.
18203 * manual/search.texi: Document MTASC-safety properties.
18205 * manual/resource.texi: Document MTASC-safety properties.
18207 * manual/process.texi: Document MTASC-safety properties.
18209 * manual/platform.texi: Document MTASC-safety properties.
18211 * manual/pipe.texi: Document MTASC-safety properties.
18213 * manual/pattern.texi: Document MTASC-safety properties.
18215 * manual/message.texi: Document MTASC-safety properties.
18218 * manual/memory.texi: Document MTASC-safety properties.
18220 * manual/math.texi: Document MTASC-safety properties.
18222 * manual/locale.texi: Document MTASC-safety properties.
18224 * manual/llio.texi: Document MTASC-safety properties.
18226 * manual/libdl.texi: New.
18228 * manual/lang.texi: Document MTASC-safety properties.
18230 * manual/job.texi: Document MTASC-safety properties.
18232 * manual/getopt.texi: Document MTASC-safety properties.
18234 * manual/ctype.texi: Document MTASC-safety properties.
18236 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18239 * csu/libc-tls.c (static_map): Remove variable.
18240 (__libc_setup_tls): Use main executable's link map for TLS data.
18241 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18242 casing for LM_ID_BASE and GL(dl_nns).
18243 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18244 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18245 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18246 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18247 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18249 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18252 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
18254 * manual/debug.texi: Document MTASC-safety properties.
18256 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18259 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18260 of __x86_64__ when disabling x87 inline functions.
18262 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
18264 * manual/charset.texi: Document MTASC-safety properties.
18266 * manual/crypt.texi: Document MTASC-safety properties.
18268 * manual/conf.texi: Document MTASC-safety properties.
18270 * manual/arith.texi: Document MTASC-safety properties.
18272 * manual/argp.texi: Document MTASC-safety properties.
18274 * manual/macros.texi: Introduce macros to document multi
18275 thread, asynchronous signal and asynchronous cancellation
18277 * manual/intro.texi: Introduce the properties themselves.
18279 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18281 * sysdeps/sh/sh4/Makefile: New file.
18283 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18285 * math/gen-libm-test.pl ($srcdir): New variable.
18286 ($auto_input): Use it.
18288 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18291 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18292 access beyond array bounds when parsing netgroups file.
18294 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18295 the old buffer before realloc.
18297 2014-01-27 Allan McRae <allan@archlinux.org>
18299 * po/fr.po: Update French translation from translation project.
18301 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18303 * sysdeps/sh/libm-test-ulps: Regenerate.
18305 2014-01-24 David S. Miller <davem@davemloft.net>
18307 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18309 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18311 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18312 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18314 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18317 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18318 string pointers after reallocation.
18320 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18322 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18323 __SH4A__ instead of __SH_FPU_ANY__.
18325 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18327 * sysdeps/sh/fpu_control.h: New file.
18328 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18329 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18330 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18331 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18332 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18333 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18334 * sysdeps/sh/sys/ucontext.h: Remove.
18335 * sysdeps/sh/sys: Remove directory.
18337 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18339 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18340 s390/sys/ucontext.h.
18341 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18342 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18344 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18347 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18349 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18352 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18353 Adjust the vDSO correctly for internal calls.
18354 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18356 2014-01-20 Allan McRae <allan@archlinux.org>
18358 * po/ca.po: Update Catalan translation from translation project.
18360 2014-01-16 Mike Frysinger <vapier@gentoo.org>
18362 * sysdeps/s390/sotruss-lib.c: New file.
18364 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18367 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18368 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18369 local calls issues by not having a PLT stub required for IFUNC calls.
18370 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18372 2014-01-16 Joseph Myers <joseph@codesourcery.com>
18374 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18375 * math/test-fpucw-static.c: Likewise.
18377 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18380 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18382 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18384 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18385 implementation for powerpc.
18387 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
18390 * sysdeps/posix/system.c (__libc_system): Do not enable
18391 asynchronous cancellation.
18393 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18396 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18397 handling only for numbers special also in the IEEE case.
18399 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18401 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18403 2014-01-11 Allan McRae <allan@archlinux.org>
18405 * po/bg.po: Update Bulgarian translation from translation project.
18407 * po/de.po: Update German translation from translation project.
18409 2014-01-10 Roland McGrath <roland@hack.frob.com>
18411 * sysdeps/generic/gcc-compat.h: New file.
18413 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18415 * benchtests/asin-inputs: Correct slow inputs.
18416 * benchtests/acos-inputs: Likewise.
18418 2014-01-10 Allan McRae <allan@archlinux.org>
18420 * po:sv.po: Update Swedish translation from translation project.
18422 * po/vi.po: Update Vietnamese translation from translation project.
18424 * po/eo.po: Update Esperanto translation from translation project.
18426 * po/cs.po: Update Czech translation from translation project.
18428 * po/nl.po: Update Dutch translation from translation project.
18430 * po/pl.po: Update Polish translation from translation project.
18432 * po/ru.po: Update Russian translation from translation project.
18434 * po/uk.po: Update Ukrainian translation from translation project.
18436 2014-01-08 Brooks Moses <bmoses@google.com>
18438 * elf/dl-load.c: Fix comment typo.
18440 2014-01-08 Carlos O'Donell <carlos@redhat.com>
18442 * po/header.pot: Rename to...
18443 * po/pot.header: ... this.
18444 * po/Makefile: Use pot.header.
18446 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18447 Maxim Kuvyrkov <maxim@kugelworks.com>
18450 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18451 SRC and DEST against LEN.
18453 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18456 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18458 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18460 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18464 2014-01-08 Joseph Myers <joseph@codesourcery.com>
18467 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18468 for large positive arguments.
18470 2014-01-07 Joseph Myers <joseph@codesourcery.com>
18472 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18474 * math/auto-libm-test-in: Mark various tests with
18475 xfail-rounding:ldbl-128ibm.
18476 * math/auto-libm-test-out: Regenerated.
18479 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18480 Increase overflow threshold.
18482 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
18485 * stdio-common/vfprintf.c: Check for integer overflow.
18487 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18489 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18490 the first argument and return value of __tls_get_addr_internal.
18492 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18494 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18495 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18497 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18499 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18500 * sysdeps/s390/rtld-global-offsets.sym: New file.
18501 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18503 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18504 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18505 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18507 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18508 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18514 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18515 halfs of GPRs for high_gprs contexts.
18516 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18517 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18519 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18521 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18523 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18524 for high GPRs (uc_high_gprs) and for future extensions
18526 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18527 for future extensions (__reserved).
18528 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18530 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18531 SC_HIGHGPRS offset definition.
18532 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18533 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18535 * Versions.def: Add GLIBC_2.19 for libpthread.
18536 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18537 siglongjmp for libpthread with GLIBC_2.19 symver.
18538 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18539 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18540 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18541 * sysdeps/s390/__longjmp.c: New file.
18542 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18543 * sysdeps/s390/longjmp.c: New file.
18544 * sysdeps/s390/setjmp.S: New file.
18545 * sysdeps/s390/sigjmp.S: New file.
18546 * sysdeps/s390/v1-longjmp.c: New file.
18547 * sysdeps/s390/v1-setjmp.h: New file.
18548 * sysdeps/s390/v1-sigjmp.c: New file.
18549 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18550 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18551 GLIBC_2.19 version.
18552 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18553 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18554 versioned symbols for ____longjmp_chk.
18555 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18565 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18566 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18567 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18568 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18569 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18570 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18571 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18572 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18573 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18574 * sysdeps/s390/rtld-__longjmp.c: New file.
18575 * sysdeps/s390/rtld-setjmp.S: New file.
18577 2014-01-06 Joseph Myers <joseph@codesourcery.com>
18580 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18581 Return -__logl (x) for small positive arguments without evaluating
18584 2014-01-06 Mike Frysinger <vapier@gentoo.org>
18586 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18588 (__ptrace_peeksiginfo_args): ... this.
18589 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18591 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18593 2014-01-06 Allan McRae <allan@archlinux.org>
18595 * inet/netinet/in.h: Fix typo in comment.
18597 2014-01-05 Andreas Jaeger <aj@suse.de>
18599 * sysdeps/i386/fpu/libm-test-ulps: Update.
18601 2014-01-05 Allan McRae <allan@archlinux.org>
18603 * po/libc.pot: Regenerated.
18605 * malloc/memusagestat.c: Fix gettext call formatting.
18607 2014-01-04 Sami Kerola <kerolasa@iki.fi>
18609 * nscd/nscd.c: Improve usage() output.
18611 2014-01-04 Mike Frysinger <vapier@gentoo.org>
18613 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18614 * sysdeps/unix/sysv/linux/configure: Regenerated.
18615 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18616 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18618 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18621 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18622 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18624 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18626 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18627 extra tokens at end of #undef directive.
18628 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18629 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18630 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18632 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18634 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18636 * math/auto-libm-test-in: Mark various tests with
18637 xfail-rounding:ldbl-128ibm.
18638 * math/auto-libm-test-out: Regenerated.
18640 2014-01-02 Joseph Myers <joseph@codesourcery.com>
18643 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18644 numbers with subnormal high part when calculating exponent.
18647 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18651 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18653 (__ieee754_acoshl): Use __log1pl not __log1p.
18655 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
18657 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18658 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18659 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18660 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18661 (reused_arena, arena_get2): Convert to GNU style.
18662 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18663 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18664 (memalign_check, __malloc_set_state): Likewise.
18665 * malloc/mallocbug.c (main): Likewise.
18666 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18667 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18668 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18669 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18670 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18671 (__posix_memalign, malloc_info): Likewise.
18672 * malloc/malloc.h: Likewise.
18673 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18674 (mallochook, memalignhook, reallochook, mabort): Likewise.
18675 * malloc/mcheck.h: Likewise.
18676 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18677 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18678 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18679 * malloc/morecore.c (__default_morecore): Likewise.
18680 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18681 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18682 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18683 (print_and_abort): Likewise.
18684 * malloc/obstack.h: Likewise.
18685 * malloc/set-freeres.c (__libc_freeres): Likewise.
18686 * malloc/tst-mallocstate.c (main): Likewise.
18687 * malloc/tst-mtrace.c (main): Likewise.
18688 * malloc/tst-realloc.c (do_test): Likewise.
18690 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18693 * nscd/netgroupcache.c (do_notfound): New function.
18694 (addgetnetgrentX): Use it.
18697 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18698 NSS_STATUS_NOTFOUND.
18700 2014-01-01 Joseph Myers <joseph@codesourcery.com>
18702 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18705 2014-01-01 Allan McRae <allan@archlinux.org>
18707 * scripts/update-copyrights: Update configure input file suffix.
18709 * NEWS: Update copyright year.
18710 * catgets/gencat.c: Likewise.
18711 * csu/version.c: Likewise.
18712 * debug/catchsegv.sh: Likewise.
18713 * debug/pcprofiledump.c: Likewise.
18714 * debug/xtrace.sh: Likewise.
18715 * elf/ldconfig.c: Likewise.
18716 * elf/ldd.bash.in: Likewise.
18717 * elf/pldd.c: Likewise.
18718 * elf/sotruss.ksh: Likewise.
18719 * elf/sprof.c: Likewise.
18720 * iconv/iconv_prog.c: Likewise.
18721 * iconv/iconvconfig.c: Likewise.
18722 * locale/programs/locale.c: Likewise.
18723 * locale/programs/localedef.c: Likewise.
18724 * login/programs/pt_chown.c: Likewise.
18725 * malloc/memusage.sh: Likewise.
18726 * malloc/memusagestat.c: Likewise.
18727 * malloc/mtrace.pl: Likewise.
18728 * manual/libc.texinfo: Likewise.
18729 * nscd/nscd.c: Likewise.
18730 * nss/getent.c: Likewise.
18731 * nss/makedb.c: Likewise.
18732 * posix/getconf.c: Likewise.
18733 * scripts/test-installation.pl: Likewise.
18735 * All files with FSF copyright notices: Update copyright dates
18736 using scripts/update-copyrights.
18737 * intl/plural.c: Regenerated.
18738 * locale/programs/charmap-kw.h: Likewise.
18739 * locale/programs/locfile-kw.h: Likewise.
18741 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18743 * sysdeps/unix/sysv/linux/configure: Regenerated.
18744 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18745 the linux/fanotify.h header.
18746 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18747 HAVE_LINUX_FANOTIFY_H is defined.
18749 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18751 * benchtests/cos-inputs: New inputs.
18752 * benchtests/sin-inputs: Likewise.
18754 * benchtests/atan-inputs: New inputs. Fix name of multiple
18755 precision fallback inputs.
18757 * benchtests/atanh-inputs: New inputs.
18758 * benchtests/tanh-inputs: Likewise.
18760 * benchtests/acosh-inputs: New inputs.
18761 * benchtests/asinh-inputs: Likewise.
18763 * benchtests/cosh-inputs: New inputs.
18764 * benchtests/sinh-inputs: Likewise.
18766 * benchtests/acos-inputs: Add more inputs.
18767 * benchtests/asin-inputs: Likewise.
18769 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18772 * manual/arith.texi: Fix spelling.
18773 * manual/charset.texi: Likewise.
18774 * manual/errno.texi: Likewise.
18775 * manual/filesys.texi: Likewise.
18776 * manual/lang.texi: Likewise.
18777 * manual/llio.texi: Likewise.
18778 * manual/locale.texi: Likewise.
18779 * manual/message.texi: Likewise.
18780 * manual/resource.texi: Likewise.
18781 * manual/search.texi: Likewise.
18782 * manual/setjmp.texi: Likewise.
18783 * manual/stdio.texi: Likewise.
18784 * manual/string.texi: Likewise.
18785 * manual/sysinfo.texi: Likewise.
18786 * manual/time.texi: Likewise.
18788 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18790 * po/sl.po: New file.
18792 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18794 * .gitignore: Add core/.gdbinit/.gdb_history.
18796 2013-12-27 Allan McRae <allan@archlinux.org>
18799 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18800 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18802 2013-12-24 Brooks Moses <bmoses@google.com>
18804 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18805 all compilers that claim C++98 compliance, not just GCC.
18806 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18809 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18811 * NEWS: Restore accidentally deleted bug-fix entries.
18813 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18814 Ondřej Bílka <neleai@seznam.cz>
18817 * malloc/malloc.c (_int_free): Perform sanity check only if we
18820 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18823 * manual/stdio.texi (String Input Conversions): Clarify that character
18824 classes are not supported.
18826 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18830 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18833 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18834 Calculate results for small negative arguments directly rather
18835 than using reflection formula with special underflow handling.
18837 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18838 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18839 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18840 (fchflags): Likewise.
18841 (revoke): Likewise.
18842 (setlogin): Likewise.
18843 (sigaltstack): Likewise.
18845 (sigblock): Remove.
18846 (sigsetmask): Likewise.
18848 (waitpid): Likewise.
18849 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18850 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18852 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18853 * sysdeps/unix/bsd/Makefile: ... here.
18854 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18855 * sysdeps/unix/bsd/Versions: ... here.
18856 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18857 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18858 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18859 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18860 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18861 * sysdeps/unix/bsd/sigblock.c: ... here.
18862 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18863 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18864 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18865 * sysdeps/unix/bsd/sigvec.c: ... here.
18866 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18867 * sysdeps/unix/bsd/tcdrain.c: ... here.
18868 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18869 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18870 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18871 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18872 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18873 * sysdeps/unix/bsd/wait.c: ... here.
18874 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18875 * sysdeps/unix/bsd/wait3.c: ... here.
18876 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18877 * sysdeps/unix/bsd/waitpid.c: ... here.
18879 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18882 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18883 round-to-nearest for [!USE_AS_EXPM1L].
18884 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18885 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18886 more tests of exp and exp10. Expect some exp10 tests to miss
18887 exceptions or fail in directed rounding modes.
18888 * math/auto-libm-test-out: Regenerated.
18889 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18890 (exp10_test_tonearest): New function.
18891 (exp10_towardzero_test_data): New array.
18892 (exp10_test_towardzero): New function.
18893 (exp10_downward_test_data): New array.
18894 (exp10_test_downward): New function.
18895 (exp10_upward_test_data): New array.
18896 (exp10_test_upward): New function.
18897 (main): Call the new functions.
18898 * sysdeps/i386/fpu/libm-test-ulps: Update.
18899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18901 2013-12-20 Joseph Myers <joseph@codesourcery.com>
18903 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18904 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18905 * math/auto-libm-test-out: Regenerated.
18906 * math/libm-test.inc (acosh_test_data): Add more tests.
18907 (atanh_test_data): Likewise.
18908 (ceil_test_data): Likewise.
18909 (copysign_test_data): Likewise.
18910 * sysdeps/i386/fpu/libm-test-ulps: Update.
18911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18913 * timezone/checktab.awk: Update from tzcode 2013i.
18914 * timezone/private.h: Likewise.
18915 * timezone/scheck.c: Likewise.
18916 * timezone/tzfile.h: Likewise.
18917 * timezone/tzselect.ksh: Likewise.
18918 * timezone/zdump.c: Likewise.
18919 * timezone/zic.c: Likewise.
18921 * math/auto-libm-test-in: Add tests of cpow.
18922 * math/auto-libm-test-out: Regenerated.
18923 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18924 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18926 (func_calc_desc): Add mpc_cc_c union field.
18927 (test_functions): Add cpow.
18928 (special_fill_2pi): New function.
18929 (special_real_inputs): Add 2pi.
18930 (calc_generic_results): Handle mpc_cc_c.
18931 * sysdeps/i386/fpu/libm-test-ulps: Update.
18932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18934 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18935 csqrt, ctan and ctanh.
18936 * math/auto-libm-test-out: Regenerated.
18937 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18938 (TEST_COND_x86): Likewise.
18939 (ccos_test_data): Use AUTO_TESTS_c_c.
18940 (ccosh_test_data): Likewise.
18941 (cexp_test_data): Likewise.
18942 (clog_test_data): Likewise.
18943 (csqrt_test_data): Likewise.
18944 (ctan_test_data): Likewise.
18945 (ctan_tonearest_test_data): Likewise.
18946 (ctan_towardzero_test_data): Likewise.
18947 (ctan_downward_test_data): Likewise.
18948 (ctan_upward_test_data): Likewise.
18949 (ctanh_test_data): Likewise.
18950 (ctanh_tonearest_test_data): Likewise.
18951 (ctanh_towardzero_test_data): Likewise.
18952 (ctanh_downward_test_data): Likewise.
18953 (ctanh_upward_test_data): Likewise.
18954 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18956 (func_calc_desc): Add mpc_c_c union field.
18957 (FUNC_mpc_c_c): New macro.
18958 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18959 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18961 (special_fill_min_subnorm_p120): New function.
18962 (special_real_inputs): Add min_subnorm_p120.
18963 (calc_generic_results): Handle mpc_c_c.
18964 * sysdeps/i386/fpu/libm-test-ulps: Update.
18965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18967 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18969 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18970 (do_sin_slow): New functions.
18971 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18972 (cslow2, csloww1, csloww2): Use the new functions.
18974 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18975 Use M to change sign of result instead of X. Assume X is
18977 (csloww1): Likewise.
18981 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18982 arguments A and DA.
18986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18988 (sloww1): Don't adjust sign of DX.
18989 (csloww1): Likewise.
18990 (sloww2): Use X directly and don't adjust sign of DX.
18991 (csloww2): Likewise.
18993 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18995 * math/auto-libm-test-in: Add tests of cabs and carg.
18996 * math/auto-libm-test-out: Regenerated.
18997 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18998 (carg_test_data): Likewise.
18999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19001 (func_calc_desc): Add mpc_c_f union field.
19002 (test_functions): Add cabs and carg.
19003 (calc_generic_results): Handle mpc_c_f.
19005 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19006 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19007 as a macro and a compat symbol.
19008 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19009 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19010 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19011 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19012 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19013 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19015 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19017 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19019 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19021 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19023 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19025 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19026 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19029 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19033 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19035 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19036 trailing whitespace removed.
19037 * scripts/config.guess: Update to version 2013-11-29.
19038 * scripts/config.sub: Update to version 2013-10-01.
19040 * math/auto-libm-test-in: Add tests of sincos.
19041 * math/auto-libm-test-out: Regenerated.
19042 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19043 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19045 (func_calc_desc): Add mpfr_f_11 union field.
19046 (test_functions): Add sincos.
19047 (calc_generic_results): Handle mpfr_f_11.
19048 * sysdeps/i386/fpu/libm-test-ulps: Update.
19049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19051 2013-12-19 Andreas Schwab <schwab@suse.de>
19053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19055 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19056 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19057 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19059 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19061 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19062 * sysdeps/i386/fpu/libm-test-ulps: Update.
19063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19066 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19067 round-to-nearest mode when using frndint.
19068 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19069 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19070 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19072 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19074 * math/auto-libm-test-out: Regenerated.
19075 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19076 (TEST_COND_x86): Likewise.
19077 (expm1_tonearest_test_data): New array.
19078 (expm1_test_tonearest): New function.
19079 (expm1_towardzero_test_data): New array.
19080 (expm1_test_towardzero): New function.
19081 (expm1_downward_test_data): New array.
19082 (expm1_test_downward): New function.
19083 (expm1_upward_test_data): New array.
19084 (expm1_test_upward): New function.
19085 (main): Run the new test functions.
19086 * sysdeps/i386/fpu/libm-test-ulps: Update.
19087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19089 * include/features.h: Update comment documenting feature test
19090 macros. Mention _DEFAULT_SOURCE in comment.
19091 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19092 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19093 _BSD_SOURCE and _SVID_SOURCE.
19094 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19095 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19096 !_SVID_SOURCE]: Likewise.
19097 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19098 (__USE_POSIX_IMPLICITLY): Define.
19099 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19100 (_POSIX_SOURCE): Undefine and redefine.
19101 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19102 (_POSIX_C_SOURCE): Likewise.
19103 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19104 (Feature Test Macros): Update documentation of default features.
19106 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19108 * benchtests/Makefile: Add bench-strtok.
19109 * benchtests/bench-strtok.c: New file: strtok benchtest.
19111 2013-12-19 Allan McRae <allan@archlinux.org>
19113 * manual/install.texi: Suppress menu for plain text output.
19114 * INSTALL: Regenerated.
19116 2013-12-18 Brooks Moses <bmoses@google.com>
19119 * misc/getauxval.c: Include errno.h.
19120 (__getauxval): Set errno to ENOENT if the requested type is not
19122 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19123 don't declare with __attribute_const__.
19124 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19125 * manual/startup.texi: Document that getauxval sets errno.
19127 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19129 * math/auto-libm-test-in: Add tests of jn and yn.
19130 * math/auto-libm-test-out: Regenerated.
19131 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19132 (yn_test_data): Likewise.
19133 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19135 (func_calc_desc): Add mpfr_if_f union field.
19136 (FUNC_mpfr_if_f): New macro.
19137 (test_functions): Add jn and yn.
19138 (calc_generic_results): Assert type of second input for
19139 mpfr_ff_f. Handle mpfr_if_f.
19140 (output_for_one_input_case): Disable all checking for arguments
19141 fitting floating-point types in case of an integer argument.
19142 * sysdeps/i386/fpu/libm-test-ulps: Update.
19143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19146 Don't expect fegetround reference in libm.so.
19148 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19150 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19151 $(config-cflags-nofma).
19153 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19155 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19156 * math/auto-libm-test-out: Regenerated.
19159 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19160 to determine exponent and adjust argument to have exponent of -1.
19161 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19163 * math/auto-libm-test-out: Regenerated.
19164 * sysdeps/i386/fpu/libm-test-ulps: Update.
19165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19167 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
19169 * manual/probes.texi: Remove cases when per-thread arenas are
19172 2013-12-18 Andreas Schwab <schwab@suse.de>
19174 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19175 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19176 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19177 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19178 * sysdeps/i386/i686/multiarch/Makefile: Update.
19179 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19181 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19183 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19184 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19186 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19189 Support TZ transition times < 00:00:00.
19190 This is needed for version-3 tz-format files; it supports time
19191 stamps past 2037 for America/Godthab (the only entry in the tz
19192 database for which this change is relevant).
19193 * manual/time.texi (TZ Variable): Document transition times
19194 from -167:59:59 through -00:00:01.
19195 * time/tzset.c (tz_rule): Time of day is now signed.
19196 (__tzset_parse_tz): Parse negative time of day.
19198 Document TZ transition times >= 25:00:00.
19199 * manual/time.texi (TZ Variable): Document transition times from
19200 25:00:00 through 167:59:59. These are already supported, and this
19201 support will help with version-3 tz-format files.
19203 * manual/time.texi (TZ Variable): Modernize North America example
19204 to reflect current (i.e., 2007-and-later) daylight saving rules.
19206 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19208 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19210 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19211 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19214 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19215 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19216 * sysdeps/unix/bsd/clock.c: Likewise.
19217 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19218 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19219 * sysdeps/unix/bsd/init-posix.c: Likewise.
19220 * sysdeps/unix/bsd/poll.c: Likewise.
19221 * sysdeps/unix/bsd/ptsname.c: Likewise.
19222 * sysdeps/unix/bsd/seekdir.c: Likewise.
19223 * sysdeps/unix/bsd/setegid.c: Likewise.
19224 * sysdeps/unix/bsd/seteuid.c: Likewise.
19225 * sysdeps/unix/bsd/setgid.c: Likewise.
19226 * sysdeps/unix/bsd/setrgid.c: Likewise.
19227 * sysdeps/unix/bsd/setruid.c: Likewise.
19228 * sysdeps/unix/bsd/setsid.c: Likewise.
19229 * sysdeps/unix/bsd/setuid.c: Likewise.
19230 * sysdeps/unix/bsd/sigaction.c: Likewise.
19231 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19232 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19233 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19234 * sysdeps/unix/bsd/telldir.c: Likewise.
19235 * sysdeps/unix/bsd/times.c: Likewise.
19236 * sysdeps/unix/bsd/usleep.c: Likewise.
19238 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19239 ($(objpfx)libbsd-compat.a): Remove rule.
19241 * include/features.h (__FAVOR_BSD): Do not define.
19242 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19243 features conflicting with POSIX.
19244 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19245 (_BSD_SOURCE): Remove description of not being a subset of other
19246 feature test macros.
19247 * manual/job.texi (getpgrp): Do not document BSD version.
19248 (getpgid): Do not document by reference to BSD getpgrp.
19249 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19250 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19251 * signal/signal.h [__FAVOR_BSD]: Likewise.
19252 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19253 instead of making contents conditional on [__FAVOR_BSD].
19254 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19256 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19260 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19263 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19264 values below 2**-450, not 2**-500.
19265 * math/auto-libm-test-in: Don't allow spurious underflow from
19267 * math/auto-libm-test-out: Regenerated.
19271 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19272 values of ha and hb and sort them after adjusting subnormal
19274 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19276 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19277 values of ea and eb and sort them after adjusting subnormal
19279 * math/auto-libm-test-in: Do not expect some hypot tests of
19280 subnormals to fail. Add more hypot tests.
19281 * math/auto-libm-test-out: Regenerated.
19283 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19286 * sysdeps/sh/s_fma.c: New file.
19287 * sysdeps/sh/s_fmaf.c: New file.
19288 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19290 * sysdeps/sh/Implies: Add sh/soft-fp.
19292 2013-12-16 Roland McGrath <roland@hack.frob.com>
19294 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19295 level of indirection to members `objname', `errstring', `malloced'.
19296 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19297 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19298 it as the __longjmp argument (just pass 1 instead).
19299 (_dl_catch_error): Initialize C with argument pointers and address of
19300 volatile local ERRCODE rather than copying values out of C at return.
19302 2013-12-16 Joseph Myers <joseph@codesourcery.com>
19304 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19305 * math/auto-libm-test-out: Regenerated.
19306 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19307 (hypot_test_data): Likewise.
19308 (pow_test_data): Likewise.
19309 (pow_tonearest_test_data): Likewise.
19310 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19312 (func_calc_desc): Add mpfr_ff_f union field.
19313 (FUNC_mpfr_ff_f): New macro.
19314 (test_functions): Add atan2, hypot and pow.
19315 (special_fill_min): New function.
19316 (special_fill_minus_min): Likewise.
19317 (special_fill_min_subnorm): Likewise.
19318 (special_fill_minus_min_subnorm): Likewise.
19319 (special_real_inputs): Add min, -min, min_subnorm and
19321 (calc_generic_results): Handle mpfr_ff_f.
19322 * sysdeps/i386/fpu/libm-test-ulps: Update.
19323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19325 2013-12-16 Will Newton <will.newton@linaro.org>
19327 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19328 (Aligned Memory Blocks): Add documentation for aligned_alloc
19329 and suggest it as an alternative to posix_memalign.
19330 (Hooks for Malloc): Document __memalign_hook is also called
19331 for aligned_alloc. (Summary of Malloc): Add summary for
19332 aligned alloc. Document __memalign_hook is also called
19335 2013-12-16 Will Newton <will.newton@linaro.org>
19337 * manual/memory.texi (Malloc Examples): Clarify default
19338 alignment documentation. Suggest posix_memalign rather
19339 than memalign or valloc.
19340 (Aligned Memory Blocks): Remove suggestion to use memalign
19341 or valloc. Remove obsolete comment about BSD.
19342 Document memalign errno values and mark the function obsolete.
19343 Document posix_memalign returned error codes. Mark valloc
19344 as obsolete. (Hooks for Malloc): __memalign_hook is also
19345 called for posix_memalign and valloc.
19346 (Summary of Malloc): Add posix_memalign to function summary.
19347 __memalign_hook is also called for posix_memalign and valloc.
19349 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19351 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19355 (sloww): Use mynumber union. Expand ternary operator into
19356 if-else statements.
19357 (cslow): use mynumber union.
19359 2013-12-16 Allan McRae <allan@archlinux.org>
19361 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19362 * configure: Regenerated.
19364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19367 * configure.ac: Added --enable-maintainer-mode. Check for
19368 autoconf when enabled.
19369 * configure: Regenerated.
19371 * nscd/nscd.service: New file.
19372 * nscd/nscd.tmpfiles: New file.
19374 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
19377 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19378 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19379 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19380 (strstr): Add __strstr_sse2_unaligned ifunc.
19381 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19382 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19383 (strcasestr): Remove __strcasestr_sse42 ifunc.
19384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19388 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19390 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19391 * sysdeps/sh/bits/fenv.h: ... here.
19392 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19394 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19396 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19399 hypotf multiarch implementations.
19400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19401 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19402 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19403 multiarch hypot for PPC64.
19404 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19407 multiarch hypotf for PPC64.
19409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19410 modff multiarch implementations.
19411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19414 multiarch modf for PPC64.
19415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19418 multiarch modff for PPC64.
19420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19421 and logl multiarch implementations.
19422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19425 multiarch logb for PPC64.
19426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19429 multiarch logb for PPC64.
19430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19433 multiarch logb for PPC64.
19435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19436 isinff multiarch implementation.
19437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19441 multiarch isinf for PPC64.
19442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19445 multiarch isinff for PPC64.
19447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19448 finitef multiarch implementation.
19449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19453 multiarch finite for PPC64.
19454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19457 multiarch finitef for PPC64.
19459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19460 lrint multiarch implementation.
19461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19465 multiarch llrint for PPC64.
19466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19467 multiarch lrint for PPC64.
19469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19470 copysignf multiarch implementation.
19471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19476 multiarch copysign for PPC64.
19477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19478 multiarch copysignf for PPC64.
19480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19481 multiarch implementation.
19482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19490 multiarch llround for PPC64.
19491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19492 multiarch trunc for PPC64.
19493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19494 multiarch truncf for PPC64.
19496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19497 multiarch implementation.
19498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19506 multiarch llround for PPC64.
19507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19508 multiarch round for PPC64.
19509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19510 multiarch roundf for PPC64.
19512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19513 multiarch implementation.
19514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19522 multiarch llround for PPC64.
19523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19524 multiarch floor for PPC64.
19525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19526 multiarch floorf for PPC64.
19528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19529 multiarch implementation.
19530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19538 multiarch llround for PPC64.
19539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19540 multiarch ceil for PPC64.
19541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19542 multiarch ceilf for PPC64.
19544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19545 multiarch implementation.
19546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19553 multiarch llround for PPC64.
19554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19555 multiarch lround for PPC64.
19557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19558 multiarch implementation.
19559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19566 multiarch isnan for PPC64.
19567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19568 multiarch isnanf for PPC64.
19570 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19571 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19572 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19573 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19574 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19577 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19578 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19583 multiarch implementations.
19584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19585 (__libc_ifunc_impl_list): Likewise.
19586 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19587 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19588 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19589 multiarch stpcpy for PPC64.
19591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19592 multiarch implementations.
19593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19594 (__libc_ifunc_impl_list): Likewise.
19595 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19596 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19597 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19598 multiarch strcpy for PPC64.
19600 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19601 redefine function name.
19602 (_wordcopy_fwd_dest_aligned): Likewise.
19603 (_wordcopy_bwd_aligned): Likewise.
19604 (_wordcopy_bwd_dest_aligned): Likewise.
19605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19606 multiarch implementations.
19607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19608 (__libc_ifunc_impl_list): Likewise.
19609 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19610 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19611 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19612 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19613 multiarch wcscpy for PPC64.
19615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19616 multiarch implementations.
19617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19618 (__libc_ifunc_impl_list): Likewise.
19619 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19620 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19621 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19622 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19623 multiarch wcscpy for PPC64.
19625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19626 multiarch implementations.
19627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19628 (__libc_ifunc_impl_list): Likewise.
19629 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19630 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19631 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19632 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19633 multiarch wcsrchr for PPC64.
19635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19636 multiarch implementations.
19637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19638 (__libc_ifunc_impl_list): Likewise.
19639 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19640 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19641 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19642 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19643 multiarch wcschr for PPC64.
19645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19646 multiarch implementations.
19647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19648 (__libc_ifunc_impl_list): Likewise.
19649 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19650 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19651 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19652 multiarch strchrnul for PPC64.
19654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19657 (__libc_ifunc_impl_list): Likewise.
19658 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19659 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19660 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19661 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19667 (__libc_ifunc_impl_list): Likewise.
19668 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19669 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19670 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19671 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19675 multiarch implementations.
19676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19677 (__libc_ifunc_impl_list): Likewise.
19678 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19679 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19680 strncasecmp for PPC64.
19681 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19682 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19683 multiarch strncasecmp_l for PPC64.
19685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19686 multiarch implementations.
19687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19688 (__libc_ifunc_impl_list): Likewise.
19689 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19690 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19691 multiarch strcasecmp for PPC64.
19692 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19694 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19695 multiarch strcasecmp_l for PPC64.
19697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19700 (__libc_ifunc_impl_list): Likewise.
19701 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19702 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19703 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19709 (__libc_ifunc_impl_list): Likewise.
19710 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19711 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19712 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19718 (__libc_ifunc_impl_list): Likewise.
19719 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19720 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19721 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19722 rawmemrchr for PPC64.
19724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19727 (__libc_ifunc_impl_list): Likewise.
19728 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19729 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19730 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19736 (__libc_ifunc_impl_list): Likewise.
19737 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19738 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19739 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19745 (__libc_ifunc_impl_list): Likewise.
19746 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19747 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19748 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19751 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19752 avoid cretion of __bzero symbol.
19753 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19755 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19757 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19760 multiarch implementations.
19761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19762 (__libc_ifunc_impl_list): Likewise.
19763 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19764 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19765 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19766 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19768 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19769 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19770 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19771 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19772 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19774 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19776 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19780 (__libc_ifunc_impl_list): Likewise.
19781 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19782 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19783 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19784 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19788 multiarch for POWER/PPC64.
19789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19790 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19791 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19792 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19793 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19794 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19795 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19796 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19797 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19800 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19801 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19802 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19803 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19804 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19805 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19806 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19807 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19808 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19809 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19810 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19811 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19812 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19813 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19814 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19823 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19825 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19827 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19829 * benchtests/Makefile (bench): Add exp2 and log2.
19830 (LDLIBS-bench-exp2): Add -lm.
19831 (LDLIBS-bench-log2): Likewise.
19832 * benchtests/exp2-inputs: New inputs file.
19833 * benchtests/log2-inputs: New inputs file.
19834 * benchtests/log-inputs: Add new inputs.
19835 * benchtests/tan-inputs: Likewise.
19837 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19839 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19841 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19842 (csloww2): ... from here.
19844 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19845 instead of structures.
19846 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19847 (POLYNOMIAL): Likewise.
19848 (TAYLOR_SLOW): Likewise.
19854 (sloww1); Likewise.
19855 (sloww2): Likewise.
19856 (bsloww1): Likewise.
19857 (bsloww2): Likewise.
19858 (cslow2): Likewise.
19859 (csloww): Likewise.
19860 (csloww1): Likewise.
19861 (csloww2): Likewise.
19863 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19865 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19866 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19867 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19868 * malloc/hooks.c (realloc_check): Likewise.
19870 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19871 * malloc/arena.c: Remove PER_THREAD conditional.
19872 [!PER_THREAD]: Remove code.
19873 (ptmalloc_unlock_all2): Likewise.
19874 (ptmalloc_init): Likewise.
19875 (_int_new_arena): Likewise.
19876 (arena_get2): Likewise.
19877 * malloc/hooks.c (__malloc_get_state): Likewise.
19878 (__malloc_set_state): Likewise.
19879 * malloc/malloc.c: Likewise.
19880 (struct malloc_state): Likewise.
19881 (struct malloc_par): Likewise.
19882 (__libc_realloc): Likewise.
19883 (__libc_mallopt): Likewise.
19885 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19887 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19889 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
19891 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19892 macro to a function. Check for zero perturb_byte.
19893 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19895 * malloc/malloc.c: (force_reg): Remove.
19896 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19897 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19898 force_reg by atomic_forced_read.
19899 * malloc/arena.c (ptmalloc_init): Likewise.
19900 * malloc/hooks.c (top_check): Likewise.
19902 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19906 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19910 2013-12-08 Joseph Myers <joseph@codesourcery.com>
19912 * math/auto-libm-test-in: Add tests of lgamma.
19913 * math/auto-libm-test-out: Regenerated.
19914 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19915 (M_LOG_2_SQRT_PIl): Likewise.
19916 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19917 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19919 (func_calc_desc): Add mpfr_f_f1 union field.
19920 (ARGS1): New macro.
19928 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19929 (test_functions): Add lgamma.
19930 (calc_generic_results): Handle mpfr_f_f1.
19931 * sysdeps/i386/fpu/libm-test-ulps: Update.
19932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19934 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19936 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19937 __mpn_add_n for PowerPC64/POWER7.
19938 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19939 __mpn_sub_n for PowerPC64/POWER7.
19941 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19942 __mpn_addmul_1 for PowerPC64.
19943 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19944 __mpn_submul_1 for PowerPC64.
19945 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19947 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19950 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19953 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19955 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19957 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19959 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19960 add multiarch folders.
19961 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19962 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19963 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19964 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19965 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19966 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19967 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19968 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19969 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19970 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19971 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19980 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19986 multiarch __ieee754_hypot for PowerPC32.
19987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19992 multiarch __ieee754_hypotf for PowerPC32.
19994 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19995 long_double_symbol only if __logbl is defined.
19996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19997 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19999 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20001 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20002 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20003 path for implementation.
20004 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20005 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20007 logb, and logbl multiarch implementations for PowerPC32.
20008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20013 multiarch logb for PowerPC32.
20014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20019 multiarch logbf for PowerPC32.
20020 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20024 multiarch logbl implementation for PowerPC32.
20026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20027 and modff multiarch implementations.
20028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20033 multiarch modf for PowerPC32.
20034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20039 multiarch modff for PowerPC32.
20041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20042 and lrintf multiarch implementations.
20043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20048 multiarch lrint for PowerPC32.
20049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20050 file: multiarch lrintf for PowerPC32.
20052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20053 and lroundf multiarch implementations.
20054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20061 multiarch lround for PowerPC32.
20062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20063 file: multiarch lroundf for PowerPC32.
20065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20066 copysign and copysignf multiarch implementations.
20067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20072 file: multiarch copysign for PowerPC32.
20073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20074 file: multiarch copysignf for PowerPC32.
20076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20077 and truncf multiarch implementations.
20078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20083 multiarch trunc for PowerPC32.
20084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20089 multiarch truncf for PowerPC32.
20091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20092 and roundf multiarch implementations.
20093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20098 multiarch round for PowerPC32.
20099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20104 multiarch roundf for PowerPC32.
20106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20107 and floorf multiarch implementations.
20108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20113 multiarch floor for PowerPC32.
20114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20119 multiarch floorf for PowerPC32.
20121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20122 and ceilf multiarch implementations.
20123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20128 multiarch ceil for PowerPC32.
20129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20134 multiarch ceilf for PowerPC32.
20136 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20138 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20139 FINITEF is defined.
20140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20141 and finitef multiarch implementations.
20142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20147 multiarch finite for PowerPC32.
20148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20151 file: multiarch finitef for PowerPC32.
20153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20154 and isinff multiarch implementations.
20155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20160 multiarch isinf for PowerPC32.
20161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20164 multiarch isinff for PowerPC32.
20166 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20167 alias when __isnan is defined.
20168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20169 and isnanf multiarch implementations.
20170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20179 multiarch isnan for PowerPC32.
20180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20185 multiarch isnanf for PowerPC32.
20187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20188 and sqrtf multiarch implementations.
20189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20194 multiarch sqrt for PowerPC32.
20195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20200 multiarch sqrtf for PowerPC32.
20202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20203 and llroundf multiarch implementations.
20204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20211 file: multiarch llround for PowerPC32.
20212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20213 file: multiarch llroundf for PowerPC32.
20215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20216 multiarch PowerPC32 fpu implementations.
20217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20222 multiarch llrint for PowerPC32.
20223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20232 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20234 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20236 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20238 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20239 multiarch wordcopy for PPC32.
20240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20243 (__libc_ifunc_impl_list): Likewise.
20244 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20245 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20246 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20247 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20248 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20249 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20251 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20254 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20259 multiarch wcscpy for PPC32.
20260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20263 (__libc_ifunc_impl_list): Likewise.
20264 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20265 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20266 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20267 sysdeps/powerpc/power6/wcscpy.c.
20269 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20274 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20277 multiarch wcsrchr for PPC32.
20278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20281 (__libc_ifunc_impl_list): Likewise.
20282 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20283 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20284 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20285 sysdeps/powerpc/power6/wcsrchr.c.
20287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20293 multiarch wcschr for PPc32.
20294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20297 (__libc_ifunc_impl_list): Likewise.
20298 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20299 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20300 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20301 sysdeps/powerpc/power6/wcschr.c.
20303 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20304 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20306 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20307 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20308 file: multiarch strchr for PPC32.
20309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20312 (__libc_ifunc_impl_list): Likewise.
20314 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20316 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20318 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20320 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20321 multiarch strchrnul for PPC32.
20322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20325 (__libc_ifunc_impl_list): Likewise.
20327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20329 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20330 multiarch strncasecmp for PPC32.
20331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20333 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20334 multiarch strncasecmp_l for PPC32.
20335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20336 strncasecmp multiarch objects.
20337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20338 (__libc_ifunc_impl_list): Likewise.
20340 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20342 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20343 multiarch strncasecmp for PPC32.
20344 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20346 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20347 multiarch strcasecmp_l for PPC32.
20348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20351 (__libc_ifunc_impl_list): Likewise.
20353 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20355 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20357 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20358 multiarch strncmp for PPC32.
20359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20362 (__libc_ifunc_impl_list): Likewise.
20364 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20365 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20367 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20368 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20372 (__libc_ifunc_impl_list): Likewise.
20374 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20376 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20378 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20382 (__libc_ifunc_impl_list): Likewise.
20384 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20386 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20388 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20389 multiarch rawmemchr for PPC32.
20390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20393 (__libc_ifunc_impl_list): Likewise.
20395 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20397 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20399 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20400 file: memrchr multiarch for PPC32.
20401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20404 (__libc_ifunc_impl_list): Likewise.
20406 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20407 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20409 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20410 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20411 multiarch memchr for PPC32.
20412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20415 (__libc_ifunc_impl_list): Likewise.
20417 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20418 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20420 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20422 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20423 file: multiarch mempcpy for PPC32.
20424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20427 (__libc_ifunc_impl_list): Likewise.
20429 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20430 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20431 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20432 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20433 multiarch bzero for PPC32.
20434 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20436 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20438 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20439 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20440 file: multiarch memset for PPC32.
20441 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20443 memset multiarch objects.
20444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20445 (__libc_ifunc_impl_list): Likewise.
20447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20452 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20456 (__libc_ifunc_impl_list): Likewise.
20458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20459 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20460 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20466 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20467 multiarch memcpy for PPC32.
20468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20471 (__libc_ifunc_impl_list): Likewise.
20473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20474 support multiarch for POWER/PPC32.
20475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20477 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20479 Implies file to make multiarch folder appers before the fpu and
20480 default folder for power4 configuration.
20482 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20484 * scripts/bench.pl: Append volatile keyword to type.
20486 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20488 * sysdeps/sh/sotruss-lib.c: New file.
20489 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20491 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20495 2013-12-05 Joseph Myers <joseph@codesourcery.com>
20498 * math/w_tgamma.c: Include <errno.h>.
20499 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20500 * math/w_tgammaf.c: Include <errno.h>.
20501 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20502 * math/w_tgammal.c: Include <errno.h>.
20503 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20504 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20505 underflow. Add more tgamma tests.
20506 * math/auto-libm-test-out: Regenerated.
20507 * sysdeps/i386/fpu/libm-test-ulps: Update.
20508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20510 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20511 sin, sinh, tan, tanh, tgamma, y0 and y1.
20512 * math/auto-libm-test-out: Regenerated.
20513 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20514 (TEST_COND_x86): Likewise.
20515 (M_E2l): Remove macro.
20517 (M_2_SQRT_PIl): Likewise.
20518 (M_SQRT_PIl): Likewise.
20519 (M_1_DIV_El): Likewise.
20520 (log_test_data): Use AUTO_TESTS_f_f.
20521 (log10_test_data): Likewise.
20522 (log1p_test_data): Likewise.
20523 (log2_test_data): Likewise.
20524 (sin_test_data): Likewise.
20525 (sin_tonearest_test_data): Likewise.
20526 (sin_towardzero_test_data): Likewise.
20527 (sin_downward_test_data): Likewise.
20528 (sin_upward_test_data): Likewise.
20529 (sinh_test_data): Likewise.
20530 (sinh_tonearest_test_data): Likewise.
20531 (sinh_towardzero_test_data): Likewise.
20532 (sinh_downward_test_data): Likewise.
20533 (sinh_upward_test_data): Likewise.
20534 (tan_test_data): Likewise.
20535 (tan_tonearest_test_data): Likewise.
20536 (tan_towardzero_test_data): Likewise.
20537 (tan_downward_test_data): Likewise.
20538 (tan_upward_test_data): Likewise.
20539 (tanh_test_data): Likewise.
20540 (tgamma_test_data): Likewise.
20541 (y0_test_data): Likewise.
20542 (y1_test_data): Likewise.
20543 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20544 (special_real_inputs): Add pi/4.
20545 * sysdeps/i386/fpu/libm-test-ulps: Update.
20546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20548 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20550 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20551 "longjmp_target" static probes.
20552 (__longjmp): Rename to __longjmp_symbol.
20553 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20554 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20555 on which longjmp to generate.
20556 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20557 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20559 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20560 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20561 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20562 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20563 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20564 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20566 __longjmp_symbol based on which __longjmp to generate.
20567 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20569 (setjmp): Rename to setjmp_symbol.
20570 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20571 (_setjmp): Rename to _setjmp_symbol.
20572 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20573 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20574 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20575 which setjmp to generate.
20576 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20577 "longjmp_target" static probes.
20579 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20581 * benchtests/README: Add note about output arguments.
20582 * benchtests/bench-sincos.c: Remove file.
20583 * benchtests/sincos-inputs: New file.
20584 * scripts/bench.pl: Identify output arguments and define
20585 static variables for them.
20587 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20590 * Makefile (INSTALL): Add install-plain.texi as the primary
20592 * manual/install-plain.texi: New file.
20593 * manual/install.texi: Include node directive only for
20594 non-plaintext output.
20596 2013-12-04 Joseph Myers <joseph@codesourcery.com>
20598 * stdlib/longlong.h: Update from GCC.
20602 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20603 * math/w_j0f.c (y0f): Likewise.
20604 * math/w_j0l.c (__y0l): Likewise.
20605 * math/w_j1.c (y1): Likewise.
20606 * math/w_j1f.c (y1f): Likewise.
20607 * math/w_j1l.c (__y1l): Likewise
20608 * math/w_jn.c (yn): Likewise.
20609 * math/w_jnf.c (ynf): Likewise.
20610 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20611 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20612 value for Bessel function domain errors outside _SVID_ mode.
20613 Adjust sign of return value for yn (negative integer, 0).
20614 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20615 by zero in return for negative x and set sign appropriately for
20617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20618 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20619 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20620 expectations in error cases.
20621 (y1_test_data): Likewise.
20622 (yn_test_data): Likewise.
20623 * sysdeps/i386/fpu/libm-test-ulps: Update.
20624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20626 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20628 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20629 "64" to "64-v1". Add "64-v2".
20630 (abi-64-options): Rename to ...
20631 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20632 (abi-64-condition): Rename to ...
20633 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20634 (abi-64-ld-soname): Rename to ...
20635 (abi-64-v1-ld-soname): ... this.
20636 (abi-64-v2-options): Define.
20637 (abi-64-v2-condition): Likewise.
20638 (abi-64-v2-ld-soname): Likewise.
20639 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20640 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20645 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20646 Alan Modra <amodra@gmail.com>
20648 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20649 New versions for use with the ELFv2 ABI.
20650 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20651 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20653 (struct La_ppc64v2_retval): Likewise.
20654 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20655 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20656 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20657 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20658 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20659 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20660 Do not save or restore CR.
20661 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20662 (_dl_profile_resolve): Do no save or restore CR. Support extended
20663 return values for ELFv2 ABI. Fix location of FPR return registers.
20664 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20665 updated values for _CALL_ELF == 2.
20666 (La_regs, La_retval, int_retval): Likewise.
20668 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20670 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20671 (FRAME_MIN_SIZE_PARM): Likewise.
20672 (FRAME_BACKCHAIN): Likewise.
20673 (FRAME_CR_SAVE): Likewise.
20674 (FRAME_LR_SAVE): Likewise.
20675 (FRAME_TOC_SAVE): Likewise.
20676 (FRAME_PARM_SAVE): Likewise.
20677 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20678 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20679 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20680 (call_mcount_parm_offset): New macro.
20681 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20682 (PROF): Use symbolic stack frame offsets.
20683 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20684 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20685 Redefine in terms of FRAME_MIN_SIZE.
20686 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20687 (_dl_profile_resolve): Likewise. Update comment.
20688 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20689 symbols stack frame offsets.
20690 (__sigsetjmp): Likewise.
20691 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20692 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20693 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20694 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20697 (FRAME_BACKCHAIN): Remove.
20698 (FRAME_CR_SAVE): Likewise.
20699 (FRAME_LR_SAVE): Likewise.
20700 (FRAME_COMPILER_DW): Likewise.
20701 (FRAME_LINKER_DW): Likewise.
20702 (FRAME_TOC_SAVE): Likewise.
20703 (FRAME_PARM_SAVE): Likewise.
20704 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20705 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20706 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20708 (CHECK_SP): Use symbolic stack frame offsets.
20709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20710 zone" instead of caller's parameter save area for temp storage.
20711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20712 Likewise. Also, use symbolic stack frame offsets.
20713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20714 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20715 our own stack frame instead of the caller's.
20716 (__socket): Use symbolic stack frame offsets.
20718 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20719 Alan Modra <amodra@gmail.com>
20721 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20723 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20724 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20725 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20727 (elf_machine_fixup_plt): Call it.
20728 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20730 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20731 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20732 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20733 r2 before calling target.
20735 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20736 Alan Modra <amodra@gmail.com>
20738 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20739 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20740 versions of macros to support ELFv2 ABI.
20741 (LOCALENTRY): New macro.
20742 (ENTRY, EALIGN): Use it.
20743 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20744 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20745 fall through into ENTRY entry point.
20746 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20747 Only define if _CALL_ELF != 2.
20749 (elf_machine_matches_host): Verify ABI version matches.
20750 (RTLD_START): Use LOCALENTRY.
20751 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20752 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20753 (PLT_ENTRY_WORDS): New macro.
20754 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20755 (elf_machine_runtime_setup): Support ELFv2 ABI.
20756 (elf_machine_fixup_plt): Likewise.
20757 (elf_machine_plt_conflict): Likewise.
20758 (resolve_ifunc): Likewise.
20759 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20760 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20763 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20765 (makecontext): Support ELFv2 ABI.
20766 * elf/elf.h (EF_PPC64_ABI): Define.
20768 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20770 * sysdeps/powerpc/powerpc64/sysdep.h
20771 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20772 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20773 (ENTRY) [ASSEMBLER]: ... but instead here ...
20774 (EALIGN) [ASSEMBLER]: ... and here.
20775 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20776 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20777 (ENTRY_2) [!ASSEMBLER]: Use it.
20778 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20779 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20780 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20781 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20782 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20784 Use PPC64_LOAD_FUNCPTR.
20786 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20788 2013-12-04 Alan Modra <amodra@gmail.com>
20790 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20791 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20792 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20793 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20796 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20797 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20798 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20799 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20800 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20802 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20805 (__makecontext): Fix incorrect CFI when backtracing out of
20806 context created via makecontext.
20807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20808 (__setcontext): Fix incorrect CFI during switch to new context.
20809 (__novec_setcontext): Likewise.
20811 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20814 * time/strptime_l.c (__strptime_internal): Allow modifiers
20816 * time/tst-strptime.c (day_tests): Add testcase.
20818 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20820 * scripts/bench.pl: Skip over blank lines.
20822 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20825 * manual/time.texi (Calendar Time): Clarify what timezone functions
20828 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20832 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20834 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20836 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20837 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20838 * debug/memset_chk.c (__memset_chk): Likewise.
20839 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20840 * debug/strncpy_chk.c: Likewise.
20842 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20846 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20847 (__ieee754_exp): For possibly underflowing results, check size of
20848 result and force underflow exception if required.
20849 * math/auto-libm-test-in: Add more tests of exp.
20850 * math/auto-libm-test-out: Regenerated.
20851 * sysdeps/i386/fpu/libm-test-ulps: Update.
20852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20855 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20856 * math/w_exp2f.c (__exp2f): Likewise.
20857 * math/w_exp2l.c (__exp2l): Likewise.
20858 * math/auto-libm-test-in: Do not allow missing errno on exp2
20860 * math/auto-libm-test-out: Regenerated.
20862 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20865 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20866 handle filename validation.
20867 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20870 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20873 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20874 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20875 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20877 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20878 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20879 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20880 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20881 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20882 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20883 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20884 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20885 Add more erfc tests.
20886 * math/auto-libm-test-out: Regenerated.
20887 * sysdeps/i386/fpu/libm-test-ulps: Update.
20888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20890 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20891 exp2, expm1, j0 and j1.
20892 * math/auto-libm-test-out: Regenerated.
20893 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20894 (erfc_test_data): Likewise.
20895 (exp_test_data): Likewise.
20896 (exp_tonearest_test_data): Likewise.
20897 (exp_towardzero_test_data): Likewise.
20898 (exp_downward_test_data): Likewise.
20899 (exp_upward_test_data): Likewise.
20900 (exp10_test_data): Likewise.
20901 (exp2_test_data): Likewise.
20902 (expm1_test_data): Likewise.
20903 (j0_test_data): Likewise.
20904 (j1_test_data): Likewise.
20905 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20906 (input_flag_type): Add flag_xfail_rounding.
20907 (input_flags): Add xfail-rounding.
20908 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20909 (output_for_one_input_case): Handle flag_xfail_rounding.
20910 * sysdeps/i386/fpu/libm-test-ulps: Update.
20911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20913 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20916 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20919 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20922 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20923 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20924 (STAP_PROBE0): New macro.
20925 (STAP_PROBE1): Likewise.
20926 (STAP_PROBE2): Likewise.
20927 (STAP_PROBE3): Likewise.
20928 (STAP_PROBE4): Likewise.
20930 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
20932 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20934 2013-12-02 Steve Ellcey <sellcey@mips.com>
20936 * benchtests/Makefile (bench): Add sqrt.
20937 (LDLIBS-bench-sqrt): New.
20938 * benchtests/sqrt-input: New.
20940 2013-12-02 Pavel Simerda <psimerda@redhat.com>
20942 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20943 (GAIH_EAI): Likewise.
20944 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20945 (gaih_inet): Likewise.
20946 (getaddrinfo): Don't use GAIH_EAI.
20948 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20949 (struct gaih): Remove definition.
20951 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20953 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20954 Use HERRNOP directly.
20956 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20960 2013-11-30 Joseph Myers <joseph@codesourcery.com>
20962 * math/gen-auto-libm-tests.c (test_functions): Add more
20963 single-argument functions.
20964 (special_fill_pi_2): New function.
20965 (special_fill_minus_pi_2): Likewise.
20966 (special_fill_pi_6): Likewise.
20967 (special_fill_minus_pi_6): Likewise.
20968 (special_fill_pi_3): Likewise.
20969 (special_fill_2pi_3): Likewise.
20970 (special_fill_e): Likewise.
20971 (special_fill_1_e): Likewise.
20972 (special_fill_e_minus_1): Likewise.
20973 (special_real_inputs): Add more special inputs.
20974 (output_for_one_input_case): Do not require ERANGE on underflow to
20975 zero if round-to-nearest result does not underflow to zero, unless
20976 exact results required.
20977 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20978 atan, atanh, cbrt, cos and cosh.
20979 * math/auto-libm-test-out: Regenerated.
20980 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20981 (acos_tonearest_test_data): Likewise.
20982 (acos_towardzero_test_data): Likewise.
20983 (acos_downward_test_data): Likewise.
20984 (acos_upward_test_data): Likewise.
20985 (acosh_test_data): Likewise.
20986 (asin_test_data): Likewise.
20987 (asin_tonearest_test_data): Likewise.
20988 (asin_towardzero_test_data): Likewise.
20989 (asin_upward_test_data): Likewise.
20990 (asinh_test_data): Likewise.
20991 (atan_test_data): Likewise.
20992 (atanh_test_data): Likewise.
20993 (cbrt_test_data): Likewise.
20994 (cos_test_data): Likewise.
20995 (cos_tonearest_test_data): Likewise.
20996 (cos_towardzero_test_data): Likewise.
20997 (cos_downward_test_data): Likewise.
20998 (cos_upward_test_data): Likewise.
20999 (cosh_test_data): Likewise.
21000 (cosh_tonearest_test_data): Likewise.
21001 (cosh_towardzero_test_data): Likewise.
21002 (cosh_downward_test_data): Likewise.
21003 (cosh_upward_test_data): Likewise.
21004 * sysdeps/i386/fpu/libm-test-ulps: Update.
21005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21007 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21010 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21011 * math/w_exp10f.c (__exp10f): Likewise.
21012 * math/w_exp10l.c (__exp10l): Likewise.
21013 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21014 errno settings in existing tests.
21017 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21018 precision control set to double precision.
21019 * sysdeps/i386/fpu/w_sqrt.c: New file.
21020 * math/auto-libm-test-in: Add more tests.
21021 * math/auto-libm-test-out: Update.
21023 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21024 (sqrt_test_tonearest): New function.
21025 (sqrt_towardzero_test_data): New variable.
21026 (sqrt_test_towardzero): New function.
21027 (sqrt_downward_test_data): New variable.
21028 (sqrt_test_downward): New function.
21029 (sqrt_upward_test_data): New variable.
21030 (sqrt_test_upward): New function.
21031 (main): Call the new functions.
21033 * math/gen-auto-libm-tests.c: New file.
21034 * math/auto-libm-test-in: Likewise.
21035 * math/auto-libm-test-out: New generated file.
21036 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21038 (%beautify): Add generated representations of zero.
21039 (top level): Set $auto_input and call parse_auto_input.
21040 (beautify): Remove trailing "f" from hex float constants.
21041 (parse_args): Handle XFAIL_TEST.
21042 (convert_condition): New function.
21043 (or_value): Likewise.
21044 (or_cond_value): Likewise.
21045 (generate_testfile): Handle AUTO_TESTS_* lines.
21046 (parse_auto_input): New function.
21047 * math/libm-test.inc (XFAIL_TEST): New macro.
21048 (ERRNO_UNCHANGED): Update value.
21049 (ERRNO_EDOM): Likewise.
21050 (ERRNO_ERANGE): Likewise.
21051 (IGNORE_RESULT): Likewise.
21052 (TEST_COND_flt_32): New macro.
21053 (TEST_COND_dbl_64): Likewise.
21054 (TEST_COND_ldbl_96_intel): Likewise.
21055 (TEST_COND_ldbl_96_m68k): Likewise.
21056 (TEST_COND_ldbl_128): Likewise.
21057 (TEST_COND_ldbl_128ibm): Likewise.
21058 (TEST_COND_long32): Likewise.
21059 (TEST_COND_long64): Likewise.
21060 (TEST_COND_before_rounding): Likewise.
21061 (TEST_COND_after_rounding): Likewise.
21062 (enable_test): Handle XFAIL_TEST flag.
21063 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21064 with finite results.
21065 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21066 auto-libm-test-out.
21068 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21069 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21072 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21073 __tls_get_addr_internal instead of __tls_get_offset in order to
21074 avoid GOT pointer dependency. Make rtld export
21075 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21076 __tls_get_addr since we are a __tls_get_offset platform.
21077 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21078 GOT pointer being set up before.
21079 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21081 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21083 * manual/math.texi (Errors in Math Functions): Document accuracy
21087 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21088 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21089 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21090 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21091 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21092 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21093 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21094 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21095 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21096 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21097 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21098 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21099 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21100 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21101 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21102 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21104 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21105 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21106 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21107 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21108 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21110 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21112 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21114 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21115 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21116 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21117 atomic-feupdateenv and flt-rounds.
21118 * sysdeps/powerpc/nofpu/Versions (libc): Add
21119 __atomic_feholdexcept, __atomic_feclearexcept,
21120 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21121 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21122 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21123 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21124 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21129 * manual/arith.texi (FP Exceptions): Document that exceptions may
21130 not be raised when matherr is used.
21131 (Math Error Reporting): Document overflow in directed rounding
21132 modes. Document that errno may not be set when finite values are
21133 returned on overflow. Document intent to set errno on underflow
21134 only for underflow to zero.
21137 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21138 round-to-nearest then adjust result for other rounding modes.
21139 * include/fenv.h (fegetround): Use libm_hidden_proto.
21140 * math/fegetround.c (fegetround): Use libm_hidden_def.
21141 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21142 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21143 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21144 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21146 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21147 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21148 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21149 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21151 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21154 * nss/Versions (libnss_files): Add
21155 _nss_files_gethostbyname3_r.
21156 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21158 (HOST_DB_LOOKUP): Remove macro.
21159 (_nss_files_gethostbyname_r): Implement function without the
21160 HOST_DB_LOOKUP macro.
21161 (_nss_files_gethostbyname2_r): Likewise.
21163 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
21165 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21167 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
21169 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21170 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21173 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21175 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21176 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21177 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21178 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21179 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21180 __fe_nomask_env_priv and attribute_hidden.
21181 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21182 (libc_feupdateenv_test_ppc): Likewise.
21183 (libc_feresetround_ppc): Likewise.
21184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21185 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21186 compat_symbol macro.
21187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21188 (__fe_nomask_env): Likewise.
21189 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21191 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21193 * string/Makefile: Remove ifunc tests.
21194 * string/test-string.h: Define TEST_IFUNC.
21195 * string/test-bcopy-ifunc.c: Remove.
21196 * string/test-bzero-ifunc.c: Likewise.
21197 * string/test-memccpy-ifunc.c: Likewise.
21198 * string/test-memchr-ifunc.c: Likewise.
21199 * string/test-memcmp-ifunc.c: Likewise.
21200 * string/test-memcpy-ifunc.c: Likewise.
21201 * string/test-memmem-ifunc.c: Likewise.
21202 * string/test-memmove-ifunc.c: Likewise.
21203 * string/test-mempcpy-ifunc.c: Likewise.
21204 * string/test-memrchr-ifunc.c: Likewise.
21205 * string/test-memset-ifunc.c: Likewise.
21206 * string/test-rawmemchr-ifunc.c: Likewise.
21207 * string/test-stpcpy-ifunc.c: Likewise.
21208 * string/test-stpncpy-ifunc.c: Likewise.
21209 * string/test-strcasecmp-ifunc.c: Likewise.
21210 * string/test-strcasestr-ifunc.c: Likewise.
21211 * string/test-strcat-ifunc.c: Likewise.
21212 * string/test-strchr-ifunc.c: Likewise.
21213 * string/test-strchrnul-ifunc.c: Likewise.
21214 * string/test-strcmp-ifunc.c: Likewise.
21215 * string/test-strcpy-ifunc.c: Likewise.
21216 * string/test-strcspn-ifunc.c: Likewise.
21217 * string/test-strlen-ifunc.c: Likewise.
21218 * string/test-strncasecmp-ifunc.c: Likewise.
21219 * string/test-strncat-ifunc.c: Likewise.
21220 * string/test-strncmp-ifunc.c: Likewise.
21221 * string/test-strncpy-ifunc.c: Likewise.
21222 * string/test-strnlen-ifunc.c: Likewise.
21223 * string/test-strpbrk-ifunc.c: Likewise.
21224 * string/test-strrchr-ifunc.c: Likewise.
21225 * string/test-strspn-ifunc.c: Likewise.
21226 * string/test-strstr-ifunc.c: Likewise.
21228 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21230 * benchtests/Makefile: Remove ifunc tests.
21231 * benchtests/bench-string.h: Define TEST_IFUNC.
21232 * benchtests/bench-bcopy-ifunc.c: Remove.
21233 * benchtests/bench-bzero-ifunc.c: Likewise.
21234 * benchtests/bench-memccpy-ifunc.c: Likewise.
21235 * benchtests/bench-memchr-ifunc.c: Likewise.
21236 * benchtests/bench-memcmp-ifunc.c: Likewise.
21237 * benchtests/bench-memcpy-ifunc.c: Likewise.
21238 * benchtests/bench-memmem-ifunc.c: Likewise.
21239 * benchtests/bench-memmove-ifunc.c: Likewise.
21240 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21241 * benchtests/bench-memrchr-ifunc.c: Likewise.
21242 * benchtests/bench-memset-ifunc.c: Likewise.
21243 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21244 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21245 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21246 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21247 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21248 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21249 * benchtests/bench-strcat-ifunc.c: Likewise.
21250 * benchtests/bench-strchr-ifunc.c: Likewise.
21251 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21252 * benchtests/bench-strcmp-ifunc.c: Likewise.
21253 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21254 * benchtests/bench-strcpy-ifunc.c: Likewise.
21255 * benchtests/bench-strcspn-ifunc.c: Likewise.
21256 * benchtests/bench-strlen-ifunc.c: Likewise.
21257 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21258 * benchtests/bench-strncat-ifunc.c: Likewise.
21259 * benchtests/bench-strncmp-ifunc.c: Likewise.
21260 * benchtests/bench-strncpy-ifunc.c: Likewise.
21261 * benchtests/bench-strnlen-ifunc.c: Likewise.
21262 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21263 * benchtests/bench-strrchr-ifunc.c: Likewise.
21264 * benchtests/bench-strsep-ifunc.c: Likewise.
21265 * benchtests/bench-strspn-ifunc.c: Likewise.
21266 * benchtests/bench-strstr-ifunc.c: Likewise.
21268 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21270 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21272 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21274 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21275 * rt/aio.h: Likewise.
21276 * sysdeps/gnu/bits/utmp.h: Likewise.
21277 * sysdeps/gnu/bits/utmpx.h: Likewise.
21278 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21279 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21280 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21281 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21282 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21283 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21284 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21285 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21286 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21287 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21288 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21289 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21290 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21292 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21293 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21294 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21295 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21296 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21297 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21298 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21299 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21300 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21301 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21302 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21304 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21305 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21306 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21307 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21308 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21309 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21310 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21311 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21312 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21313 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21314 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21315 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21316 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21317 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21318 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21319 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21321 2013-11-25 Carlos O'Donell <carlos@redhat.com>
21324 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21325 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21327 2013-11-25 Joseph Myers <joseph@codesourcery.com>
21329 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21330 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21333 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21335 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21336 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21337 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21338 (__fesetround): Remove define.
21339 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21340 rounding and exceptions handling.
21341 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21342 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21343 (__fe_nomask_env): Likewise.
21344 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21345 __fegetround instead of fegetround.
21346 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21347 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21349 2013-11-21 Roland McGrath <roland@hack.frob.com>
21351 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21354 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21356 2013-11-21 Meador Inge <meadori@codesourcery.com>
21359 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21360 (encrypt_r): Likewise.
21361 * malloc/obstack.h (obstack_free): Likewise.
21362 * posix/unistd.h (encrypt): Likewise.
21364 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21366 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21367 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21368 DL_CALL_DT_FINI() that call the functions directly.
21369 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21370 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21371 * elf/dl-fini.c: Likewise.
21373 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
21375 * malloc/hooks.c (memalign_check): Add alignment rounding.
21376 * malloc/malloc.c (_mid_memalign): New function.
21377 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21378 Implement by calling _mid_memalign.
21379 * manual/probes.texi (Memory Allocation Probes): Remove
21380 memory_valloc_retry and memory_pvalloc_retry.
21382 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21384 * locale/programs/locarchive.c (open_archive): Add const
21385 qualifier to ARCHIVEFNAME and copy default fname to
21389 * libio/tst-widetext.input: Rename Oriya to Odia.
21390 * locale/iso-639.def: Likewise.
21392 * manual/probes.texi (Mathematical Function Probes): Add
21393 documentation for sin, cos, asin and acos probes.
21394 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21395 (__sin32): Add slowasin probe.
21396 (__cos32): Add slowacos probe.
21397 (__mpsin): Add slowsin probe.
21398 (__mpcos): Add slowcos probe.
21400 2013-11-19 Joseph Myers <joseph@codesourcery.com>
21403 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21404 thread-local __sim_exceptions_thread and global
21405 __sim_exceptions_global.
21406 (__sim_disabled_exceptions): Change to thread-local
21407 __sim_disabled_exceptions_thread and global
21408 __sim_disabled_exceptions_global.
21409 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21410 and global __sim_round_mode_global.
21411 (__simulate_exceptions): Use thread-local floating-point state and
21412 set global state from it as needed.
21413 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21414 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21415 __sim_round_mode_thread.
21416 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21417 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21418 and global __sim_exceptions_global.
21419 (__sim_disabled_exceptions): Change to thread-local
21420 __sim_disabled_exceptions_thread and global
21421 __sim_disabled_exceptions_global.
21422 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21423 and global __sim_round_mode_global.
21424 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21425 (SIM_SET_GLOBAL): Likewise.
21426 * sysdeps/powerpc/soft-fp/sfp-machine.h
21427 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21428 __sim_round_mode_thread.
21429 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21430 __sim_disabled_exceptions_thread.
21431 (__sim_exceptions): Change to __sim_exceptions_thread.
21432 (__sim_disabled_exceptions): Change to
21433 __sim_disabled_exceptions_thread.
21434 (__sim_round_mode): Change to __sim_round_mode_thread.
21435 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21436 thread-local floating-point state and set global state from it as
21438 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21439 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21440 (__sim_disabled_exceptions): Remove extern declaration.
21441 (feenableexcept): Use thread-local floating-point state and set
21442 global state from it as needed.
21443 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21444 extern declaration.
21445 (__sim_disabled_exceptions): Likewise.
21446 (__sim_round_mode): Likewise.
21447 (__fegetenv): Use thread-local floating-point state.
21448 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21449 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21450 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21451 floating-point state and set global state from it as needed.
21452 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21453 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21454 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21456 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21457 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21459 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21460 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21461 Use __sim_round_mode_thread.
21462 * math/test-fenv-tls.c: New file.
21463 * math/Makefile (tests): Add test-fenv-tls.
21464 ($(objpfx)test-fenv-tls): Depend on
21465 $(common-objpfx)nptl/libpthread.so.
21467 2013-11-19 Andreas Schwab <schwab@suse.de>
21469 * locale/programs/locale.c (show_info): Decode wordarray elements.
21470 * locale/categories.def (LC_MONETARY): Add element for
21471 _NL_MONETARY_CRNCYSTR.
21472 * locale/C-monetary.c (conversion_rate): New variable.
21473 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21476 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21478 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21479 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21481 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21483 * elf/Makefile (tst-auxv): New test.
21484 * elf/tst-auxv.c: New
21485 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21487 2013-11-18 Joseph Myers <joseph@codesourcery.com>
21489 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21490 (hidden_proto): Caller changed.
21491 (hidden_tls_proto): New macro.
21492 (libc_hidden_tls_proto): Likewise.
21493 (rtld_hidden_tls_proto): Likewise.
21494 (libm_hidden_tls_proto): Likewise.
21495 (libresolv_hidden_tls_proto): Likewise.
21496 (librt_hidden_tls_proto): Likewise.
21497 (libdl_hidden_tls_proto): Likewise.
21498 (libnss_files_hidden_tls_proto): Likewise.
21499 (libnsl_hidden_tls_proto): Likewise.
21500 (libnss_nisplus_hidden_tls_proto): Likewise.
21501 (libutil_hidden_tls_proto): Likewise.
21503 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
21506 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21507 (decompose_rpath): Defer expansion to fillin_rpath.
21508 (_dl_init_paths): Pass linkmap to fillin_rpath.
21510 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21512 * benchtests/Makefile: Add strsep.
21513 * benchtests/bench-strsep.c: New file: strsep benchtest.
21514 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21516 2013-11-18 Andreas Schwab <schwab@suse.de>
21518 * locale/programs/locale.c (show_info) [case byte]: Check for
21519 '\377' instead of '\177'.
21520 * locale/C-monetary.c (not_available): Always use "\377".
21521 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21522 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21523 detect unavailable sign_posn locale elements.
21524 * locale/localeconv.c (__localeconv): For grouping and
21525 mon_grouping handle "\177" and "\377" like no grouping.
21526 (INT_ELEM): New macro. Use it to set all numeric members.
21527 * locale/programs/ld-monetary.c (monetary_read)
21528 <tok_mon_grouping>: Normalize single -1 to the empty string.
21529 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21532 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21535 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21536 when we match (nil).
21537 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21539 2013-11-16 Joseph Myers <joseph@codesourcery.com>
21541 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21542 (NO_TEST_INLINE): Update value.
21543 (ERRNO_UNCHANGED): Likewise.
21544 (ERRNO_EDOM): Likewise.
21545 (ERRNO_ERANGE): Likewise.
21546 (IGNORE_RESULT): Likewise.
21547 (check_float_internal): Check signs of NaN results if
21548 TEST_NAN_SIGN used.
21549 (check_complex): Pass TEST_NAN_SIGN flag through to second
21550 check_float_internal call.
21551 (copysign_test_data): Add tests with quiet NaNs as second
21552 argument. Use TEST_NAN_SIGN.
21553 (fabs_test_data): Add test of negative quiet NaN argument. Use
21555 (signbit_test_data): Add tests of quiet NaN argument.
21556 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21558 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21560 (parse_args): Handle function results specified as IGNORE.
21561 * math/libm-test.inc (IGNORE_RESULT): New macro.
21562 (check_float_internal): Do not check numerical result if flag
21564 (check_complex): Pass through IGNORE_RESULT to second
21565 check_float_internal call.
21566 (check_int): Do not check numerical result if flag IGNORE_RESULT
21568 (check_long): Likewise.
21569 (check_bool): Likewise.
21570 (check_longlong): Likewise.
21571 (lrint_test_data): Add tests of infinite and NaN arguments.
21572 (lrint_tonearest_test_data): Likewise.
21573 (lrint_towardzero_test_data): Likewise.
21574 (lrint_downward_test_data): Likewise.
21575 (lrint_upward_test_data): Likewise.
21576 (llrint_test_data): Likewise.
21577 (llrint_tonearest_test_data): Likewise.
21578 (llrint_towardzero_test_data): Likewise.
21579 (llrint_downward_test_data): Likewise.
21580 (llrint_upward_test_data): Likewise.
21581 (lround_test_data): Likewise.
21582 (llround_test_data): Likewise.
21584 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21585 (ERRNO_UNCHANGED): Update value.
21586 (ERRNO_EDOM): Likewise.
21587 (ERRNO_ERANGE): Likewise.
21588 (NO_TEST_INLINE_FLOAT): New macro.
21589 (NO_TEST_INLINE_DOUBLE): Likewise.
21590 (enable_test): New function.
21591 (RUN_TEST_f_f): Check enable_test before running test.
21592 (RUN_TEST_2_f): Likewise.
21593 (RUN_TEST_fff_f): Likewise.
21594 (RUN_TEST_c_f): Likewise.
21595 (RUN_TEST_f_f1): Likewise.
21596 (RUN_TEST_fF_f1): Likewise.
21597 (RUN_TEST_fI_f1): Likewise.
21598 (RUN_TEST_ffI_f1): Likewise.
21599 (RUN_TEST_c_c): Likewise.
21600 (RUN_TEST_cc_c): Likewise.
21601 (RUN_TEST_f_i): Likewise.
21602 (RUN_TEST_f_i_tg): Likewise.
21603 (RUN_TEST_ff_i_tg): Likewise.
21604 (RUN_TEST_f_b): Likewise.
21605 (RUN_TEST_f_b_tg): Likewise.
21606 (RUN_TEST_f_l): Likewise.
21607 (RUN_TEST_f_L): Likewise.
21608 (RUN_TEST_fFF_11): Likewise.
21609 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21611 (cosh_test_data): Likewise.
21612 (exp_test_data): Likewise.
21613 (expm1_test_data): Likewise.
21614 (hypot_test_data): Likewise.
21615 (pow_test_data): Likewise.
21616 (sinh_test_data): Likewise.
21617 (tanh_test_data): Likewise.
21618 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21621 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21622 tests with quiet NaN input and output.
21623 (acosh_test_data): Likewise.
21624 (asin_test_data): Likewise.
21625 (asinh_test_data): Likewise.
21626 (atan_test_data): Likewise.
21627 (atanh_test_data): Likewise.
21628 (atan2_test_data): Likewise.
21629 (cbrt_test_data): Likewise.
21630 (cos_test_data): Likewise.
21631 (cosh_test_data): Likewise.
21632 (erf_test_data): Likewise.
21633 (erfc_test_data): Likewise.
21634 (exp_test_data): Likewise.
21635 (exp10_test_data): Likewise.
21636 (exp2_test_data): Likewise.
21637 (expm1_test_data): Likewise.
21638 (hypot_test_data): Likewise.
21639 (j0_test_data): Likewise.
21640 (j1_test_data): Likewise.
21641 (jn_test_data): Likewise.
21642 (lgamma_test_data): Likewise.
21643 (log_test_data): Likewise.
21644 (log10_test_data): Likewise.
21645 (log1p_test_data): Likewise.
21646 (log2_test_data): Likewise.
21647 (pow_test_data): Likewise.
21648 (scalb_test_data): Likewise.
21649 (sin_test_data): Likewise.
21650 (sincos_test_data): Likewise.
21651 (sinh_test_data): Likewise.
21652 (tan_test_data): Likewise.
21653 (tanh_test_data): Likewise.
21654 (tgamma_test_data): Likewise.
21655 (y0_test_data): Likewise.
21656 (y1_test_data): Likewise.
21657 (yn_test_data): Likewise.
21660 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21661 argument being NaN and avoid computations with second argument in
21663 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21664 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21665 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21667 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21669 * locale/iso-639.def: Add Chitwani Tharu (the).
21671 2013-11-14 Andreas Schwab <schwab@suse.de>
21673 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21674 word instead of empty string.
21676 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21679 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21681 (__fe_nomask_env): Likewise.
21683 2013-11-13 Steve Ellcey <sellcey@mips.com>
21685 * benchtests/bench-timing.h: Include time.h.
21687 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21690 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21692 * sysdeps/unix/sysv/linux/configure: Regenerated.
21694 2013-11-13 Joseph Myers <joseph@codesourcery.com>
21697 * stdlib/strtod_l.c (round_and_return): Do not consider
21698 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21699 exponent one less than half the least subnormal exponent.
21700 * stdlib/test-strtod-round-data: Add more tests.
21701 * stdlib/tst-strtod-round.c (tests): Regenerated.
21703 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21706 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21707 (__fe_mask_env): Likewise.
21708 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21709 libm_hidden_proto and add function prototype.
21710 (__fe_mask_env): Add function prototype.
21711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21712 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21714 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21716 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21718 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21720 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21721 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21723 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21725 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21726 of htab_find_slot().
21728 2013-11-11 David S. Miller <davem@davemloft.net>
21731 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21732 symbol in the non-vis3 case in static builds.
21733 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21734 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21735 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21736 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21738 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21741 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21744 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21746 * benchtests/Makefile: Add bench-strtod.
21747 * benchtests/bench-strtod.c: New file: strtod benchtest
21749 2013-11-11 Andreas Schwab <schwab@suse.de>
21752 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21753 terminating NUL in key length.
21755 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21757 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21758 Add artificial ODP entry for vDSO symbol for PPC64.
21759 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21760 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21762 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21765 * nss/getent.c (services_keys): Recognize services starting with digit.
21767 2013-11-06 David S. Miller <davem@davemloft.net>
21770 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21771 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21773 2013-11-06 Will Newton <will.newton@linaro.org>
21775 * manual/memory.texi (Malloc Examples): Remove register
21776 keyword from examples.
21778 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21780 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21782 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21785 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21786 depending on [__GCC_IEC_559 > 0].
21787 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21788 depending on [__GCC_IEC_559_COMPLEX > 0].
21790 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21792 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21795 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21797 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21799 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21802 * malloc/malloc (malloc_info): Do not handle first bin as
21805 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21807 * locale/iso-639.def: Add Central Nahuatl (nhn).
21809 2013-11-01 Bruno Haible <bruno@clisp.org>
21812 * manual/math.texi (BSD Random): Specify range upper bound as
21815 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21817 * locale/iso-639.def: Add Meadow Mari (mhr).
21819 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21821 [BZ #14752], [BZ #15763]
21822 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21824 * rt/tst_shm.c: Add test for escaping directory.
21826 2013-10-31 Andreas Schwab <schwab@suse.de>
21829 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21830 followed by 'x' as part of digit sequence.
21831 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21833 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21836 * configure.ac: allow GNU Make 4.0 and greater.
21837 * configure: Regenerated.
21839 2013-10-30 Will Newton <will.newton@linaro.org>
21842 * malloc/hooks.c (memalign_check): Limit alignment to the
21843 maximum representable power of two.
21844 * malloc/malloc.c (__libc_memalign): Likewise.
21845 * malloc/tst-memalign.c (do_test): Add test for very
21846 large alignment values.
21847 * malloc/tst-posix_memalign.c (do_test): Likewise.
21849 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21852 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21853 (munmap_chunk): Likewise.
21854 (mremap_chunk): Likewise.
21856 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21859 * stdlib/div.c (div): Remove obsolete code.
21860 * stdlib/ldiv.c (ldiv): Likewise.
21861 * stdlib/lldiv.c (lldiv): Likewise.
21863 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21866 * nss/nss_files/files-XXX.c (get_contents_ret): New
21868 (get_contents): New function.
21869 (internal_getent): Use it. Expand size of LINEBUFLEN.
21871 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21873 * configure.in: Moved to ...
21874 * configure.ac: ... here. Change reference to configure.in
21876 * sysdeps/arm/preconfigure.ac: ... here.
21877 configure.in to configure.ac.
21878 * sysdeps/gnu/configure.in: Moved to ...
21879 * sysdeps/gnu/configure.ac: ... here.
21880 * sysdeps/i386/configure.in: Moved to ...
21881 * sysdeps/i386/configure.ac: ... here.
21882 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21883 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21884 * sysdeps/mach/configure.in: Moved to ...
21885 * sysdeps/mach/configure.ac: ... here.
21886 * sysdeps/mach/hurd/configure.in: Moved to ...
21887 * sysdeps/mach/hurd/configure.ac: ... here.
21888 * sysdeps/powerpc/configure.in: Moved to ...
21889 * sysdeps/powerpc/configure.ac: ... here.
21890 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21891 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21892 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21893 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21894 * sysdeps/s390/s390-32/configure.in: Moved to ...
21895 * sysdeps/s390/s390-32/configure.ac: ... here.
21896 * sysdeps/s390/s390-64/configure.in: Moved to ...
21897 * sysdeps/s390/s390-64/configure.ac: ... here.
21898 * sysdeps/sh/configure.in: Moved to ...
21899 * sysdeps/sh/configure.ac: ... here.
21900 * sysdeps/sparc/configure.in: Moved to ...
21901 * sysdeps/sparc/configure.ac: ... here.
21902 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21903 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21904 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21905 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21906 * sysdeps/x86_64/configure.in: Moved to ...
21907 * sysdeps/x86_64/configure.ac: ... here.
21908 * sysdeps/x86_64/preconfigure.in: Moved to ...
21909 * sysdeps/x86_64/preconfigure.ac: ... here.
21910 * aclocal.m4: Change reference to configure.in to configure.ac.
21911 * config.h.in: Likewise.
21912 * manual/install.texi: Likewise.
21913 * manual/maint.texi: Likewise.
21914 * Makefile: Likewise.
21915 * malloc/Makefile: Likewise.
21916 * nscd/Makefile: Likewise.
21917 * Makeconfig: Change reference to configure.in and
21918 preconfigure.in to configure.ac and preconfigure.ac
21920 * INSTALL: Regenerated.
21921 * configure: Likewise.
21922 * sysdeps/gnu/configure: Likewise.
21923 * sysdeps/i386/configure: Likewise.
21924 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21925 * sysdeps/mach/configure: Likewise.
21926 * sysdeps/mach/hurd/configure: Likewise.
21927 * sysdeps/powerpc/configure: Likewise.
21928 * sysdeps/powerpc/powerpc32/configure: Likewise.
21929 * sysdeps/powerpc/powerpc64/configure: Likewise.
21930 * sysdeps/s390/s390-32/configure: Likewise.
21931 * sysdeps/s390/s390-64/configure: Likewise.
21932 * sysdeps/sh/configure: Likewise.
21933 * sysdeps/sparc/configure: Likewise.
21934 * sysdeps/unix/sysv/linux/configure: Likewise.
21935 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21936 * sysdeps/x86_64/configure: Likewise.
21937 * sysdeps/x86_64/preconfigure: Likewise.
21939 2013-10-29 Andreas Schwab <schwab@suse.de>
21941 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21943 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21945 * benchtests/pow-inputs: Add new inputs.
21947 * benchtests/exp-inputs: Add new inputs.
21949 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21950 conditional check for return value.
21951 (__cos32): Likewise.
21953 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21955 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21956 to provide a boost for large inputs with word alignment.
21957 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21958 implementation based on optimized PPC64 strcpy.
21959 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21960 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21961 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21962 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21964 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21967 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21969 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21972 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21973 * time/tst-strptime.c (day_tests): Add testcase.
21975 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21978 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21980 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21983 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21984 MAP_FAILED on error.
21986 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21989 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21990 heap for large requests.
21992 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21995 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21996 result if the result has no associated interface.
21997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21998 interface for all 127.X.Y.Z addresses.
22000 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22002 * locale/iso-639.def: Add Ligurian (lij)
22004 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22007 * sunrpc/rpc_main.c: Document rpcgen -5.
22009 2013-10-19 Michael Stahl <mstahl@redhat.com>
22011 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22013 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22016 * posix/glob.c: Match only directories when trailing slash is present.
22017 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22018 (main): Add testcase.
22020 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22023 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22025 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22027 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22028 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22029 AUTH_DES and cindex for FIPS 140-2.
22030 (DES Encryption): Add cindex FIPS 46-3.
22032 * locale/locarchive.h (struct locarhandle): Add fname.
22033 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22034 if an optional argument was specified to --list-archive,
22036 * locale/programs/locarchive.c (show_archive_content): Take new
22037 argument fname and pass it via ah.fname to open_archive.
22038 * locale/programs/localedef.h: Update decl.
22039 (open_archive): If AH->fname is non-null, open that file
22040 rather than the default file name, and don't ignore ENOENT.
22041 (create_archive): Set AH.fname to NULL.
22042 (delete_locales_from_archive): Likewise.
22043 (add_locales_to_archive): Likewise.
22044 * locale/programs/locfile.c (write_all_categories): Likewise.
22046 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22047 Aldy Hernandez <aldyh@redhat.com>
22049 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22050 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22051 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22052 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22053 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22054 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22055 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22056 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22057 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22058 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22059 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22060 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22061 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22062 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22063 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22065 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22067 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22069 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22071 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22072 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22074 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22075 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22076 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22077 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22079 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22080 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22081 * sysdeps/powerpc/preconfigure: Likewise.
22082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22084 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22085 Replace contents of file by #include of <fenv_libc.h>.
22086 * sysdeps/powerpc/soft-fp/sfp-machine.h
22087 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22089 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22097 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22102 Allow copysignl PLT reference to be missing.
22104 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22105 Joseph Myers <joseph@codesourcery.com
22108 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22110 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22112 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22114 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22115 * elf/tst-tls1.c: Likewise.
22116 * elf/tst-tls10.h: Likewise.
22117 * elf/tst-tls14.c: Likewise.
22118 * elf/tst-tls2.c: Likewise.
22119 * elf/tst-tls3.c: Likewise.
22120 * elf/tst-tls4.c: Likewise.
22121 * elf/tst-tls5.c: Likewise.
22122 * elf/tst-tls6.c: Likewise.
22123 * elf/tst-tls7.c: Likewise.
22124 * elf/tst-tls8.c: Likewise.
22125 * elf/tst-tls9.c: Likewise.
22126 * elf/tst-tlsmod1.c: Likewise.
22127 * elf/tst-tlsmod13.c: Likewise.
22128 * elf/tst-tlsmod13a.c: Likewise.
22129 * elf/tst-tlsmod14a.c: Likewise.
22130 * elf/tst-tlsmod16a.c: Likewise.
22131 * elf/tst-tlsmod16b.c: Likewise.
22132 * elf/tst-tlsmod2.c: Likewise.
22133 * elf/tst-tlsmod3.c: Likewise.
22134 * elf/tst-tlsmod4.c: Likewise.
22135 * elf/tst-tlsmod5.c: Likewise.
22136 * elf/tst-tlsmod6.c: Likewise.
22138 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22141 * malloc/malloc.c: remove checks for statistics.
22143 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22146 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22147 * inet/tst-network.c: Add testcase.
22149 2013-10-17 Andreas Schwab <schwab@suse.de>
22152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22153 to determine canonical name.
22155 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22157 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22158 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22160 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22162 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22163 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22164 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22167 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22168 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22169 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22170 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22171 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22172 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22174 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22175 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22176 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22180 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22181 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22182 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22183 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22184 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22185 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22186 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22189 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22190 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22191 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22192 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22193 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22194 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22195 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22198 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22199 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22200 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22201 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22202 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22203 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22204 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22205 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22206 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22208 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22209 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22210 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22212 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22216 2013-10-17 Joseph Myers <joseph@codesourcery.com>
22219 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22220 make result into a quiet NaN.
22222 2013-10-16 Joseph Myers <joseph@codesourcery.com>
22224 * soft-fp/adddf3.c: Fix horizontal whitespace.
22225 * soft-fp/addsf3.c: Likewise.
22226 * soft-fp/addtf3.c: Likewise.
22227 * soft-fp/divdf3.c: Likewise.
22228 * soft-fp/divsf3.c: Likewise.
22229 * soft-fp/divtf3.c: Likewise.
22230 * soft-fp/double.h: Likewise.
22231 * soft-fp/eqdf2.c: Likewise.
22232 * soft-fp/eqsf2.c: Likewise.
22233 * soft-fp/eqtf2.c: Likewise.
22234 * soft-fp/extenddftf2.c: Likewise.
22235 * soft-fp/extended.h: Likewise.
22236 * soft-fp/extendsfdf2.c: Likewise.
22237 * soft-fp/extendsftf2.c: Likewise.
22238 * soft-fp/extendxftf2.c: Likewise.
22239 * soft-fp/fixdfdi.c: Likewise.
22240 * soft-fp/fixdfsi.c: Likewise.
22241 * soft-fp/fixdfti.c: Likewise.
22242 * soft-fp/fixsfdi.c: Likewise.
22243 * soft-fp/fixsfsi.c: Likewise.
22244 * soft-fp/fixsfti.c: Likewise.
22245 * soft-fp/fixtfdi.c: Likewise.
22246 * soft-fp/fixtfsi.c: Likewise.
22247 * soft-fp/fixtfti.c: Likewise.
22248 * soft-fp/fixunsdfdi.c: Likewise.
22249 * soft-fp/fixunsdfsi.c: Likewise.
22250 * soft-fp/fixunsdfti.c: Likewise.
22251 * soft-fp/fixunssfdi.c: Likewise.
22252 * soft-fp/fixunssfsi.c: Likewise.
22253 * soft-fp/fixunssfti.c: Likewise.
22254 * soft-fp/fixunstfdi.c: Likewise.
22255 * soft-fp/fixunstfsi.c: Likewise.
22256 * soft-fp/fixunstfti.c: Likewise.
22257 * soft-fp/floatdidf.c: Likewise.
22258 * soft-fp/floatdisf.c: Likewise.
22259 * soft-fp/floatditf.c: Likewise.
22260 * soft-fp/floatsidf.c: Likewise.
22261 * soft-fp/floatsisf.c: Likewise.
22262 * soft-fp/floatsitf.c: Likewise.
22263 * soft-fp/floattidf.c: Likewise.
22264 * soft-fp/floattisf.c: Likewise.
22265 * soft-fp/floattitf.c: Likewise.
22266 * soft-fp/floatundidf.c: Likewise.
22267 * soft-fp/floatundisf.c: Likewise.
22268 * soft-fp/floatunditf.c: Likewise.
22269 * soft-fp/floatunsidf.c: Likewise.
22270 * soft-fp/floatunsisf.c: Likewise.
22271 * soft-fp/floatunsitf.c: Likewise.
22272 * soft-fp/floatuntidf.c: Likewise.
22273 * soft-fp/floatuntisf.c: Likewise.
22274 * soft-fp/floatuntitf.c: Likewise.
22275 * soft-fp/fmadf4.c: Likewise.
22276 * soft-fp/fmasf4.c: Likewise.
22277 * soft-fp/fmatf4.c: Likewise.
22278 * soft-fp/gedf2.c: Likewise.
22279 * soft-fp/gesf2.c: Likewise.
22280 * soft-fp/getf2.c: Likewise.
22281 * soft-fp/ledf2.c: Likewise.
22282 * soft-fp/lesf2.c: Likewise.
22283 * soft-fp/letf2.c: Likewise.
22284 * soft-fp/muldf3.c: Likewise.
22285 * soft-fp/mulsf3.c: Likewise.
22286 * soft-fp/multf3.c: Likewise.
22287 * soft-fp/negdf2.c: Likewise.
22288 * soft-fp/negsf2.c: Likewise.
22289 * soft-fp/negtf2.c: Likewise.
22290 * soft-fp/op-1.h: Likewise.
22291 * soft-fp/op-2.h: Likewise.
22292 * soft-fp/op-4.h: Likewise.
22293 * soft-fp/op-8.h: Likewise.
22294 * soft-fp/op-common.h: Likewise.
22295 * soft-fp/quad.h: Likewise.
22296 * soft-fp/single.h: Likewise.
22297 * soft-fp/soft-fp.h: Likewise.
22298 * soft-fp/sqrtdf2.c: Likewise.
22299 * soft-fp/sqrtsf2.c: Likewise.
22300 * soft-fp/sqrttf2.c: Likewise.
22301 * soft-fp/subdf3.c: Likewise.
22302 * soft-fp/subsf3.c: Likewise.
22303 * soft-fp/subtf3.c: Likewise.
22304 * soft-fp/truncdfsf2.c: Likewise.
22305 * soft-fp/trunctfdf2.c: Likewise.
22306 * soft-fp/trunctfsf2.c: Likewise.
22307 * soft-fp/trunctfxf2.c: Likewise.
22308 * soft-fp/unorddf2.c: Likewise.
22309 * soft-fp/unordsf2.c: Likewise.
22310 * soft-fp/unordtf2.c: Likewise.
22312 2013-10-15 Joseph Myers <joseph@codesourcery.com>
22314 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22315 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22317 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
22319 * elf/dl-libc.c: Clear initfini list after freeing.
22321 2013-10-14 Joseph Myers <joseph@codesourcery.com>
22323 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22324 * soft-fp/addsf3.c: Likewise.
22325 * soft-fp/addtf3.c: Likewise.
22326 * soft-fp/divdf3.c: Likewise.
22327 * soft-fp/divsf3.c: Likewise.
22328 * soft-fp/divtf3.c: Likewise.
22329 * soft-fp/double.h: Likewise.
22330 * soft-fp/eqdf2.c: Likewise.
22331 * soft-fp/eqsf2.c: Likewise.
22332 * soft-fp/eqtf2.c: Likewise.
22333 * soft-fp/extenddftf2.c: Likewise.
22334 * soft-fp/extended.h: Likewise.
22335 * soft-fp/extendsfdf2.c: Likewise.
22336 * soft-fp/extendsftf2.c: Likewise.
22337 * soft-fp/extendxftf2.c: Likewise.
22338 * soft-fp/fixdfdi.c: Likewise.
22339 * soft-fp/fixdfsi.c: Likewise.
22340 * soft-fp/fixdfti.c: Likewise.
22341 * soft-fp/fixsfdi.c: Likewise.
22342 * soft-fp/fixsfsi.c: Likewise.
22343 * soft-fp/fixsfti.c: Likewise.
22344 * soft-fp/fixtfdi.c: Likewise.
22345 * soft-fp/fixtfsi.c: Likewise.
22346 * soft-fp/fixtfti.c: Likewise.
22347 * soft-fp/fixunsdfdi.c: Likewise.
22348 * soft-fp/fixunsdfsi.c: Likewise.
22349 * soft-fp/fixunsdfti.c: Likewise.
22350 * soft-fp/fixunssfdi.c: Likewise.
22351 * soft-fp/fixunssfsi.c: Likewise.
22352 * soft-fp/fixunssfti.c: Likewise.
22353 * soft-fp/fixunstfdi.c: Likewise.
22354 * soft-fp/fixunstfsi.c: Likewise.
22355 * soft-fp/fixunstfti.c: Likewise.
22356 * soft-fp/floatdidf.c: Likewise.
22357 * soft-fp/floatdisf.c: Likewise.
22358 * soft-fp/floatditf.c: Likewise.
22359 * soft-fp/floatsidf.c: Likewise.
22360 * soft-fp/floatsisf.c: Likewise.
22361 * soft-fp/floatsitf.c: Likewise.
22362 * soft-fp/floattidf.c: Likewise.
22363 * soft-fp/floattisf.c: Likewise.
22364 * soft-fp/floattitf.c: Likewise.
22365 * soft-fp/floatundidf.c: Likewise.
22366 * soft-fp/floatundisf.c: Likewise.
22367 * soft-fp/floatunsidf.c: Likewise.
22368 * soft-fp/floatunsisf.c: Likewise.
22369 * soft-fp/floatuntidf.c: Likewise.
22370 * soft-fp/floatuntisf.c: Likewise.
22371 * soft-fp/floatuntitf.c: Likewise.
22372 * soft-fp/fmadf4.c: Likewise.
22373 * soft-fp/fmasf4.c: Likewise.
22374 * soft-fp/fmatf4.c: Likewise.
22375 * soft-fp/gedf2.c: Likewise.
22376 * soft-fp/gesf2.c: Likewise.
22377 * soft-fp/getf2.c: Likewise.
22378 * soft-fp/ledf2.c: Likewise.
22379 * soft-fp/lesf2.c: Likewise.
22380 * soft-fp/letf2.c: Likewise.
22381 * soft-fp/muldf3.c: Likewise.
22382 * soft-fp/mulsf3.c: Likewise.
22383 * soft-fp/multf3.c: Likewise.
22384 * soft-fp/negdf2.c: Likewise.
22385 * soft-fp/negsf2.c: Likewise.
22386 * soft-fp/negtf2.c: Likewise.
22387 * soft-fp/op-1.h: Likewise.
22388 * soft-fp/op-2.h: Likewise.
22389 * soft-fp/op-4.h: Likewise.
22390 * soft-fp/op-8.h: Likewise.
22391 * soft-fp/op-common.h: Likewise.
22392 * soft-fp/quad.h: Likewise.
22393 * soft-fp/single.h: Likewise.
22394 * soft-fp/soft-fp.h: Likewise.
22395 * soft-fp/sqrtdf2.c: Likewise.
22396 * soft-fp/sqrtsf2.c: Likewise.
22397 * soft-fp/sqrttf2.c: Likewise.
22398 * soft-fp/subdf3.c: Likewise.
22399 * soft-fp/subsf3.c: Likewise.
22400 * soft-fp/subtf3.c: Likewise.
22401 * soft-fp/truncdfsf2.c: Likewise.
22402 * soft-fp/trunctfdf2.c: Likewise.
22403 * soft-fp/trunctfsf2.c: Likewise.
22404 * soft-fp/trunctfxf2.c: Likewise.
22405 * soft-fp/unorddf2.c: Likewise.
22406 * soft-fp/unordsf2.c: Likewise.
22407 * soft-fp/unordtf2.c: Likewise.
22409 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
22412 * misc/error.c (error_tail): Fix possible buffer overflow.
22414 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22417 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22420 2013-10-14 P. J. McDermott <pj@pehjota.net>
22423 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22424 testing pipefail option.
22426 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22428 * soft-fp/double.h: Indent preprocessor directives inside #if.
22429 * soft-fp/extended.h: Likewise.
22430 * soft-fp/op-2.h: Likewise.
22431 * soft-fp/op-4.h: Likewise.
22432 * soft-fp/op-common.h: Likewise.
22433 * soft-fp/quad.h: Likewise.
22434 * soft-fp/single.h: Likewise.
22435 * soft-fp/soft-fp.h: Likewise.
22437 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22439 * iconv/iconv_prog.c: Fix typos.
22440 * stdio-common/psiginfo-data.h: Likewise.
22442 2013-10-12 Reuben Thomas <rrt@sc3d.org>
22445 * locale/setlocale.c: Fix typo.
22447 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22450 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22451 signaling NaN arguments.
22452 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22453 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22456 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22457 unordered operands.
22458 * soft-fp/gesf2.c (__gesf2): Likewise.
22459 * soft-fp/getf2.c (__getf2): Likewise.
22460 * soft-fp/ledf2.c (__ledf2): Likewise.
22461 * soft-fp/lesf2.c (__lesf2): Likewise.
22462 * soft-fp/letf2.c (__letf2): Likewise.
22464 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22465 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22466 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22467 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22468 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22469 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22470 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22471 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22472 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22473 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22474 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22475 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22476 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22477 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22478 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22479 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22480 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22481 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22482 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22483 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22484 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22485 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22486 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22487 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22488 * soft-fp/floattidf.c (__floattidf): Likewise.
22489 * soft-fp/floattisf.c (__floattisf): Likewise.
22490 * soft-fp/floattitf.c (__floattitf): Likewise.
22491 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22492 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22493 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22494 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22495 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22496 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22497 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22498 * soft-fp/gesf2.c (__gesf2): Likewise.
22499 * soft-fp/getf2.c (__getf2): Likewise.
22500 * soft-fp/ledf2.c (__ledf2): Likewise.
22501 * soft-fp/lesf2.c (__lesf2): Likewise.
22502 * soft-fp/letf2.c (__letf2): Likewise.
22504 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22505 Undefine and redefine.
22506 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22507 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22508 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22509 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22510 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22511 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22512 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22513 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22514 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22515 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22516 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22517 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22518 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22519 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22520 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22523 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22524 without decrementing exponent if mantissa >= that for the
22525 denominator, not >.
22526 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22527 denominator, not >. Decrement exponent in < case instead of
22528 incrementing in >= case.
22529 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22530 without decrementing exponent if mantissa >= that for the
22531 denominator, not >.
22533 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22534 computing saturated result for unsigned overflow.
22536 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22537 Jeff Law <law@redhat.com>
22539 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22540 (atan2Mp): Add systemtap probe marker.
22541 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22542 (__ieee754_log): Add systemtap probe marker.
22543 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22544 (atanMp): Add systemtap probe marker.
22545 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22546 (tanMp): Add systemtap probe marker.
22547 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22548 (__slowexp): Add systemtap probe marker.
22549 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22550 (__slowpow): Add systemtap probe marker.
22551 * manual/probes.texi: Document probes.
22553 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
22556 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22558 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22560 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22561 written to buffer but not flushed.
22562 * libio/iofwrite_u.c: Likewise.
22563 * libio/iopadn.c: Return bytes returned even if EOF was
22565 * libio/iowpadn.c: Likewise.
22566 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22567 if _IO_padn does not write the whole buffer.
22568 [!COMPILE_WPRINTF] (PAD): Likewise.
22570 2013-10-10 David S. Miller <davem@davemloft.net>
22572 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22575 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22577 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22578 instead of FSF address.
22579 * soft-fp/fixdfti.c: Likewise.
22580 * soft-fp/fixsfti.c: Likewise.
22581 * soft-fp/fixtfti.c: Likewise.
22582 * soft-fp/fixunsdfti.c: Likewise.
22583 * soft-fp/fixunssfti.c: Likewise.
22584 * soft-fp/fixunstfti.c: Likewise.
22585 * soft-fp/floattidf.c: Likewise.
22586 * soft-fp/floattisf.c: Likewise.
22587 * soft-fp/floattitf.c: Likewise.
22588 * soft-fp/floatuntidf.c: Likewise.
22589 * soft-fp/floatuntisf.c: Likewise.
22590 * soft-fp/floatuntitf.c: Likewise.
22591 * soft-fp/trunctfxf2.c: Likewise.
22593 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22594 * soft-fp/fixdfti.c: Likewise.
22595 * soft-fp/fixsfti.c: Likewise.
22596 * soft-fp/fixtfti.c: Likewise.
22597 * soft-fp/fixunsdfti.c: Likewise.
22598 * soft-fp/fixunssfti.c: Likewise.
22599 * soft-fp/fixunstfti.c: Likewise.
22600 * soft-fp/floattidf.c: Likewise.
22601 * soft-fp/floattisf.c: Likewise.
22602 * soft-fp/floattitf.c: Likewise.
22603 * soft-fp/floatuntidf.c: Likewise.
22604 * soft-fp/floatuntisf.c: Likewise.
22605 * soft-fp/floatuntitf.c: Likewise.
22606 * soft-fp/trunctfxf2.c: Likewise.
22608 2013-10-10 David S. Miller <davem@davemloft.net>
22610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22612 2013-10-10 Joseph Myers <joseph@codsourcery.com>
22614 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22615 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22616 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22617 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22618 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22619 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22620 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22623 for NaNs before doing comparisons on argument.
22624 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22627 2013-10-10 Will Newton <will.newton@linaro.org>
22629 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22630 passed to _int_memalign does not overflow.
22632 2013-10-10 Torvald Riegel <triegel@redhat.com>
22634 * scripts/bench.pl: Add include-sources directive.
22635 * benchtests/README: Update documentation.
22637 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22639 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22640 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22641 instead of FP_INIT_ROUNDMODE.
22642 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22643 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22646 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22647 copy class of input value.
22648 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22649 not handle exceptions.
22650 * soft-fp/negsf2.c (__negsf2): Likewise.
22651 * soft-fp/negtf2.c (__negtf2): Likewise.
22652 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22654 2013-10-09 Joseph Myers <joseph@codesourcery.com>
22656 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22657 semicolon. From Linux kernel.
22659 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22661 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22663 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22666 * manual/socket.texi: Added statement about buffer
22667 for gethostbyname2_r.
22669 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
22671 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22672 Use .p2align directive instead, throughout.
22673 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22674 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22675 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22678 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22679 * sysdeps/x86_64/strchr.S: Likewise.
22680 * sysdeps/x86_64/strrchr.S: Likewise.
22682 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22684 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22686 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22688 * sysdeps/generic/math_private.h (__mpsin1): Remove
22690 (__mpcos1): Likewise.
22691 (__mpsin): New argument __range_reduce.
22692 (__mpcos): Likewise.
22693 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22694 (slow): Use __mpsin and __mpcos.
22698 (sloww1): Likewise.
22699 (sloww2): Likewise.
22700 (bsloww): Likewise.
22701 (bsloww1): Likewise.
22702 (bsloww2): Likewise.
22703 (cslow2): Likewise.
22704 (csloww): Likewise.
22705 (csloww1): Likewise.
22706 (csloww2): Likewise.
22707 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22708 range_reduce. Merge in __mpsin1.
22709 (__mpcos): Likewise.
22710 (__mpsin1): Remove.
22711 (__mpcos1): Likewise.
22713 2013-10-07 Joseph Myers <joseph@codesourcery.com>
22715 * locale/loadlocale.c (_nl_intern_locale_data): Use
22717 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22718 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22719 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22720 obstack data is appropriately aligned.
22721 (obstack_int32_grow_fast): Likewise.
22722 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22723 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22724 (add_locale_uint32_array): Likewise.
22726 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22728 * benchtests/Makefile: Remove ARGLIST and RET variables.
22729 ($(objpfx)bench-%.c): Pass only function name to the script.
22730 * benchtests/README: Update documentation.
22731 * benchtests/acos-inputs: Add new directives.
22732 * benchtests/acosh-inputs: Likewise.
22733 * benchtests/asin-inputs: Likewise.
22734 * benchtests/asinh-inputs: Likewise.
22735 * benchtests/atan-inputs: Likewise.
22736 * benchtests/atanh-inputs: Likewise.
22737 * benchtests/cos-inputs: Likewise.
22738 * benchtests/cosh-inputs: Likewise.
22739 * benchtests/exp-inputs: Likewise.
22740 * benchtests/log-inputs: Likewise.
22741 * benchtests/pow-inputs: Likewise.
22742 * benchtests/rint-inputs: Likewise.
22743 * benchtests/sin-inputs: Likewise.
22744 * benchtests/sinh-inputs: Likewise.
22745 * benchtests/tan-inputs: Likewise.
22746 * benchtests/tanh-inputs: Likewise.
22747 * scripts/bench.pl: Add support for new directives.
22749 2013-10-07 Alan Modra <amodra@gmail.com>
22751 * README: Fix careless merge.
22753 2013-10-05 Alan Modra <amodra@gmail.com>
22755 * NEWS: Mention powerpc64le support and bugs fixed.
22756 * README: Both big-endian and little-endian powerpc64 supported.
22758 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22760 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22761 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22762 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22763 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22765 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22767 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22770 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22772 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22773 Move -mhard-float appending from
22774 ports/sysdeps/powerpc/powerpc32/Makefile.
22775 [$(with-fp) = yes] (ASFLAGS): Likewise.
22776 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22777 * sysdeps/powerpc/nofpu: Move directory from
22778 ports/sysdeps/powerpc/nofpu.
22779 * sysdeps/powerpc/soft-fp: Move directory from
22780 ports/sysdeps/powerpc/soft-fp.
22781 * sysdeps/powerpc/powerpc32/405: Move directory from
22782 ports/sysdeps/powerpc/powerpc32/405.
22783 * sysdeps/powerpc/powerpc32/440: Move directory from
22784 ports/sysdeps/powerpc/powerpc32/440.
22785 * sysdeps/powerpc/powerpc32/464: Move directory from
22786 ports/sysdeps/powerpc/powerpc32/464.
22787 * sysdeps/powerpc/powerpc32/476: Move directory from
22788 ports/sysdeps/powerpc/powerpc32/476.
22789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22792 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22794 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22796 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22798 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22799 * README: Update for powerpc-*-linux-gnu software floating point
22802 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22803 case to powerpc/powerpc32*.
22804 * sysdeps/unix/sysv/linux/configure: Regenerated.
22806 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22807 (_FPU_MASK_OM): Define as 0x04.
22808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22816 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22819 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22822 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22823 and setcontext_e500.
22825 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22827 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22829 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22831 * manual/threads.texi (Default Thread Attributes): Fix typo.
22833 2013-10-04 Will Newton <will.newton@linaro.org>
22835 * malloc/Makefile: Add tst-memalign.
22836 * malloc/tst-memalign.c: New file.
22838 * malloc/tst-posix_memalign.c: Add comments.
22839 (do_test): Add comments and call free on all potentially
22840 allocated pointers. Add space after cast.
22842 * malloc/tst-pvalloc.c: Add comments.
22843 (do_test): Add comments and call free on all potentially
22844 allocated pointers. Remove duplicate check for NULL pointer.
22845 Add space after cast.
22847 * malloc/tst-valloc.c: Add comments.
22848 (do_test): Add comments and call free on all potentially
22849 allocated pointers. Remove duplicate check for NULL pointer.
22850 Add space after cast.
22852 2013-10-04 Alan Modra <amodra@gmail.com>
22854 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22855 Use stdint types in rather than __attribute__((mode())).
22856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22858 2013-10-04 Alan Modra <amodra@gmail.com>
22860 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22861 Correct handling of unaligned relocs for little-endian.
22862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22864 2013-10-04 Alan Modra <amodra@gmail.com>
22866 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22867 * configure: Regenerate.
22868 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22869 * shlib-versions: Likewise.
22871 2013-10-04 Alan Modra <amodra@gmail.com>
22873 * string/tester.c (test_memrchr): Increment reported test cycle.
22875 2013-10-04 Alan Modra <amodra@gmail.com>
22877 * string/test-memcpy.c (do_one_test): When reporting errors, print
22878 string address and don't overrun end of string.
22880 2013-10-04 Alan Modra <amodra@gmail.com>
22882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22883 insrdi. Make better use of reg selection to speed exit slightly.
22884 Schedule entry path a little better. Remove useless "are we done"
22885 checks on entry to main loop. Handle wrapping around zero address.
22886 Correct main loop count. Handle single left-over word from main
22887 loop inline rather than by using loop_small. Remove extra word
22888 case in loop_small caused by wrong loop count. Add little-endian
22890 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22891 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22893 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22894 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22895 support. Avoid rlwimi.
22896 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22898 2013-10-04 Alan Modra <amodra@gmail.com>
22900 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22901 insrdi. Formatting.
22902 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22903 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22904 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22905 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22906 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22907 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22909 2013-10-04 Alan Modra <amodra@gmail.com>
22911 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22914 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22915 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22916 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22917 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22918 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22919 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22920 use of regs. Use power7 mtocrf. Tidy function tails.
22922 2013-10-04 Alan Modra <amodra@gmail.com>
22924 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22925 Formatting. Consistently use rXXX register defines or rN defines.
22926 Use early exit labels that avoid restoring unused non-volatile regs.
22927 Make cr field use more consistent with rWORDn compares. Rename
22928 regs used as shift registers for unaligned loop, using rN defines
22929 for short lifetime/multiple use regs.
22930 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22931 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22932 addi 1,1,64 to pop stack frame. Simplify return value code.
22933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22935 2013-10-04 Alan Modra <amodra@gmail.com>
22937 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22938 support. Correct typos, formatting. Optimize tail. Use insrdi
22939 rather than rlwimi.
22940 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22941 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22942 little-endian support. Correct typos.
22943 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22944 rather than rlwimi.
22945 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22946 in loop and entry code to keep "and." results.
22947 (strchr): Add little-endian support. Comment. Move cntlzd
22949 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22951 2013-10-04 Alan Modra <amodra@gmail.com>
22953 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22954 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22955 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22956 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22958 2013-10-04 Alan Modra <amodra@gmail.com>
22960 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22961 (rTMP): Define as r11.
22962 (strcmp): Add little-endian support. Optimise tail.
22963 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22964 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22965 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22966 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22967 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22971 2013-10-04 Alan Modra <amodra@gmail.com>
22973 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22974 little-endian support. Remove unnecessary "are we done" tests.
22975 Handle "s" wrapping around zero and extremely large "size".
22976 Correct main loop count. Handle single left-over word from main
22977 loop inline rather than by using small_loop. Correct comments.
22978 Delete "zero" tail, use "end_max" instead.
22979 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22981 2013-10-04 Alan Modra <amodra@gmail.com>
22983 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22984 support. Don't branch over align.
22985 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22986 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22987 support. Rearrange tmp reg use to suit. Comment.
22988 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22990 2013-10-04 Alan Modra <amodra@gmail.com>
22992 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22994 2013-10-04 Alan Modra <amodra@gmail.com>
22996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22997 conditional form of branch and link when obtaining pc.
22998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23000 2013-10-04 Alan Modra <amodra@gmail.com>
23002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23007 2013-10-04 Alan Modra <amodra@gmail.com>
23009 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23010 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23011 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23012 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23013 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23014 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23015 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23016 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23017 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23018 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23020 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23021 Alistair Popple <alistair@ozlabs.au.ibm.com>
23022 Alan Modra <amodra@gmail.com>
23025 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23026 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23027 _dl_hwcap access for little-endian.
23028 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23029 destroy vmx regs when saving unaligned.
23030 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23031 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23032 destroy vmx regs when saving unaligned.
23034 2013-10-04 Alan Modra <amodra@gmail.com>
23036 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23037 Don't use a union to pack hi/low value.
23039 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23041 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23043 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23045 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23046 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23047 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23049 2013-10-04 Alan Modra <amodra@gmail.com>
23051 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23052 constants to usual value for .cst8 section, and remove redundant
23054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23055 constant for 0x1p52. Load little-endian words of double from
23056 correct stack offsets.
23058 2013-10-04 Alan Modra <amodra@gmail.com>
23060 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23061 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23062 words of double from correct stack offsets.
23063 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23064 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23065 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23066 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23067 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23068 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23070 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23071 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23072 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23073 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23075 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23076 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23077 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23078 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23079 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23081 2013-10-04 Alan Modra <amodra@gmail.com>
23083 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23084 64-bit int/double union.
23085 (_FPU_SETCW): Likewise.
23086 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23087 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23089 2013-10-04 Alan Modra <amodra@gmail.com>
23091 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23092 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23094 2013-10-04 Alan Modra <amodra@gmail.com>
23096 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23097 use vector int constants.
23098 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23100 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23102 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23103 array with long long.
23104 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23105 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23106 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23107 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23108 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23109 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23110 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23111 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23112 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23113 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23114 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23115 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23116 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23118 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23120 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23121 (__signbit): Likewise. Correct for little-endian.
23122 (__signbitl): Call __signbit.
23123 (lrint): Correct for little-endian.
23124 (lrintf): Call lrint.
23126 2013-10-04 Alan Modra <amodra@gmail.com>
23128 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23129 union 32-bit int array member with 64-bit int array.
23130 (t515, tm256): Double rather than long double.
23131 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23133 2013-10-04 Alan Modra <amodra@gmail.com>
23135 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23137 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23138 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23139 version of math_ldbl.h.
23141 2013-10-04 Alan Modra <amodra@gmail.com>
23143 [BZ #15734], [BZ #15735]
23144 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23145 all uses of ieee875 long double macros and unions. Simplify test
23146 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23147 ldbl_extract_mantissa value for ix,iy exponents. Properly
23148 normalize after ldbl_extract_mantissa, and don't add hidden bit
23149 already handled. Don't treat low word of ieee854 mantissa like
23150 low word of IBM long double and mask off bit when testing for
23152 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23153 all uses of ieee875 long double macros and unions. Simplify tests
23154 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23155 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23156 two1022, instead use their values. Recognise that tests for large
23157 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23158 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23159 Rewrite all uses of ieee875 long double macros and unions. Simplify
23160 test for 0.0L and nan. Correct negation.
23161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23162 ieee875 long double macros and unions. Correct output for large
23163 magnitude x. Correct absolute value calculation.
23164 (__erfcl): Likewise.
23165 * math/libm-test.inc: Add tests for errors discovered in IBM long
23166 double versions of fmodl, remainderl, erfl and erfcl.
23168 2013-10-04 Alan Modra <amodra@gmail.com>
23170 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23171 all uses of ieee854 long double macros and unions. Simplify tests
23172 for long doubles that are fully specified by the high double.
23173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23175 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23176 Remove dead code too.
23177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23178 (__ieee754_ynl): Likewise.
23179 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23182 Remove dead code too.
23183 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23185 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23188 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23190 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23192 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23193 Comment on variable precision.
23194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23197 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23200 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23201 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23203 2013-10-04 Alan Modra <amodra@gmail.com>
23205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23206 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23207 all uses of ieee854 long double macros and unions.
23208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23210 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23211 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23212 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23213 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23216 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23217 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23218 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23219 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23220 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23221 Simplify sign and nan test too.
23222 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23223 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23224 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23225 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23227 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23228 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23231 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23232 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23233 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23234 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23237 2013-10-04 Alan Modra <amodra@gmail.com>
23239 * stdio-common/printf_size.c (__printf_size): Don't use
23240 union ieee854_long_double in fpnum union.
23241 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23242 signbit macro to retrieve sign from long double.
23243 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23244 retrieve sign from long double.
23245 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23246 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23247 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23248 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23249 * math/test-misc.c (main): Don't use union ieee854_long_double.
23251 2013-10-04 Alan Modra <amodra@gmail.com>
23254 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23255 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23256 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23257 calculation. Remove unnecessary test for denormal exponent.
23258 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23259 Correct handling of denormals. Avoid undefined shift behaviour.
23260 Correct normalisation of low mantissa when low double is denormal.
23261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23262 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23263 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23264 Correct normalisation of low mantissa. Test for overflow of high
23265 mantissa and normalise.
23266 (ldbl_nearbyint): Use more readable constant for two52.
23267 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23268 (__mpn_construct_long_double): Fix test for overflow of high
23269 mantissa and correct normalisation. Avoid undefined shift.
23271 2013-10-04 Alan Modra <amodra@gmail.com>
23273 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23274 (union ibm_extended_long_double): Define as an array of ieee754_double.
23275 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23276 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23277 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23278 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23280 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23282 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23283 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23284 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23285 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23287 2013-10-03 Joseph Myers <joseph@codesourcery.com>
23289 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23290 page size instead of calling getpagesize.
23292 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23293 (LOCFILE_ALIGN_MASK): Likewise.
23294 (LOCFILE_ALIGN_UP): Likewise.
23295 (LOCFILE_ALIGNED_P): Likewise.
23296 * locale/programs/ld-collate.c (collate_output): Use the new
23297 macros instead of __alignof__ (int32_t).
23298 * locale/weight.h (findidx): Likewise.
23300 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
23303 * manual/string.texi: Fix strncat and wcsncat.
23305 2013-10-03 Brooks Moses <bmoses@google.com>
23308 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23309 * Makerules: ...here, and adjust associated comments.
23311 2013-10-02 Will Newton <will.newton@linaro.org>
23313 * malloc/Makefile: Add tst-pvalloc.
23314 * malloc/tst-pvalloc.c: New file.
23316 2013-10-02 Will Newton <will.newton@linaro.org>
23318 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23319 improve test coverage.
23321 2013-10-02 Will Newton <will.newton@linaro.org>
23323 * malloc/Makefile: Add tst-posix_memalign.
23324 * malloc/tst-posix_memalign.c: New file.
23326 2013-10-01 Eric Blake <eblake@redhat.com>
23328 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23329 Use __THROWNL rather than __THROW on static functions.
23331 2013-09-30 Petr Machata <pmachata@redhat.com>
23333 * elf/elf.h (R_AARCH64_ABS16): New macro.
23334 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23335 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23336 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23337 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23338 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23339 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23340 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23341 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23342 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23343 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23344 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23345 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23346 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23347 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23348 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23349 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23350 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23351 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23352 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23353 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23354 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23355 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23356 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23357 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23358 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23359 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23360 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23361 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23362 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23363 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23364 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23365 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23366 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23367 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23368 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23369 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23370 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23371 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23372 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23373 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23374 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23375 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23376 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23377 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23378 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23379 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23380 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23381 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23382 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23383 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23384 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23385 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23386 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23387 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23388 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23389 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23390 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23391 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23392 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23393 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23394 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23395 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23396 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23397 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23398 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23399 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23400 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23401 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23402 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23403 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23404 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23405 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23406 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23407 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23408 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23409 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23410 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23411 (R_AARCH64_TLSDESC_LDR): Likewise.
23412 (R_AARCH64_TLSDESC_ADD): Likewise.
23413 (R_AARCH64_TLSDESC_CALL): Likewise.
23415 2013-09-30 Andreas Schwab <schwab@suse.de>
23418 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23419 the nss database lookup.
23420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23423 2013-09-28 Mike Frysinger <vapier@gentoo.org>
23425 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23427 2013-09-28 P. J. McDermott <pj@pehjota.net>
23429 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23430 ${Bash-specific parameter/pattern/string} parameter expansion.
23431 * sysdeps/unix/make-syscalls.sh: Likewise.
23433 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23435 * sysdeps/sh/stackguard-macros.h: New file.
23437 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
23439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23441 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23443 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23444 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23446 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23448 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23449 Fix thread ID register.
23451 2013-09-25 Joseph Myers <joseph@codesourcery.com>
23453 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23454 [POSIX || UNIX98]: Require rather than permitting all symbols from
23456 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23457 element of struct sched_param.
23458 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23459 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23460 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23461 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23464 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23466 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23467 argument calculation.
23469 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23471 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23473 [POSIX] (pthread_attr_t): Do not require type.
23474 [POSIX] (pthread_cond_t): Likewise.
23475 [POSIX] (pthread_condattr_t): Likewise.
23476 [POSIX] (pthread_key_t): Likewise.
23477 [POSIX] (pthread_mutex_t): Likewise.
23478 [POSIX] (pthread_mutexattr_t): Likewise.
23479 [POSIX] (pthread_once_t): Likewise.
23480 [POSIX] (pthread_t): Likewise.
23481 [POSIX-based standards] (pthread_atfork): Expect function.
23483 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23484 Richard Sandiford <richard@codesourcery.com>
23486 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23487 (swap_endianness_p): New extern variable.
23488 (set_big_endian): New inline function.
23489 (maybe_swap_uint32): Likewise.
23490 (maybe_swap_uint32_array): Likewise.
23491 (maybe_swap_uint32_obstack): Likewise.
23492 * locale/programs/locfile.c: Include <stdbool.h>.
23493 (swap_endianness_p): New variable.
23494 (add_locale_uint32): Call maybe_swap_uint32.
23495 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23496 (write_locale_data): Call maybe_swap_uint32_array.
23497 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23499 (obstack_int32_grow_fast): Likewise.
23500 (output_weightwc): Call maybe_swap_uint32_obstack.
23501 (collate_output): Likewise.
23502 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23503 (OPT_LITTLE_ENDIAN): Likewise.
23504 (options): Add --little-endian and --big-endian options.
23505 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23506 * locale/programs/locarchive.c: Include "locfile.h".
23510 (create_archive): Use the new macros to access fields of
23511 structures directly mapped from or written to locale archives.
23512 (oldlocrecentcmp): Likewise.
23513 (enlarge_archive): Likewise.
23514 (insert_name): Likewise.
23515 (add_alias): Likewise.
23516 (add_locale): Likewise.
23517 (delete_locales_from_archive): Likewise.
23518 (show_archive_content): Likewise.
23519 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23522 2013-09-24 Roland McGrath <roland@hack.frob.com>
23524 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23525 http://www.gnu.org/doc/freemanuals.texi.
23526 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23528 2013-09-24 Will Newton <will.newton@linaro.org>
23530 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23533 2013-09-23 Joseph Myers <joseph@codesourcery.com>
23535 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23538 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23540 * manual/threads.texi (POSIX Threads): Fix a typo.
23542 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23545 * string/tst-strcoll-overflow.c: New test case.
23546 * string/Makefile (xtests): Add tst-strcoll-overflow.
23547 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23548 cache if string sizes may cause integer overflow.
23551 * string/strcoll_l.c (coll_seq): New members rule, idx,
23552 save_idx and back_us.
23553 (get_next_seq_nocache): New function.
23554 (do_compare_nocache): New function.
23555 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23558 2013-09-23 Carlos O'Donell <carlos@redhat.com>
23561 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23562 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23563 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23566 * elf/Makefile (tests): Add tst-ptrguard1.
23567 (tests-static): Add tst-ptrguard1-static.
23568 (tst-ptrguard1-ARGS): Define.
23569 (tst-ptrguard1-static-ARGS): Define.
23570 * elf/tst-ptrguard1.c: New file.
23571 * elf/tst-ptrguard1-static.c: New file.
23572 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23573 * sysdeps/i386/stackguard-macros.h: Likewise.
23574 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23575 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23576 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23577 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23578 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23579 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23581 2013-09-23 Hector Marco <hecmargi@upv.es>
23582 Ismael Ripoll <iripoll@disca.upv.es>
23583 Carlos O'Donell <carlos@redhat.com>
23586 * sysdeps/generic/stackguard-macros.h: Define
23587 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23588 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23589 Define __pointer_chk_guard_local.
23590 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23591 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23593 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23596 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23598 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23600 * include/string.h (__ffs): Declare as hidden.
23601 * string/ffs.c (__ffs): Define as hidden.
23602 * sysdeps/i386/ffs.c (__ffs): Likewise.
23603 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23604 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23605 * sysdeps/s390/ffs.c (__ffs): Likewise.
23606 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23608 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
23610 * NEWS: Mention malloc probes.
23612 * malloc/arena.c (new_heap): New memory_heap_new probe.
23613 (grow_heap): New memory_heap_more probe.
23614 (shrink_heap): New memory_heap_less probe.
23615 (heap_trim): New memory_heap_free probe.
23616 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23617 (systrim): New memory_sbrk_less probe.
23618 * manual/probes.texi: Document them.
23620 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23621 * manual/probes.texi: Document it.
23623 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23624 (__libc_realloc): Add memory_realloc_retry probe.
23625 (__libc_memalign): Add memory_memalign_retry probe.
23626 (__libc_valloc): Add memory_valloc_retry probe.
23627 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23628 (__libc_calloc): Add memory_calloc_retry probe.
23629 * manual/probes.texi: Document them.
23631 * malloc/arena.c (get_free_list): Add probe
23632 memory_arena_reuse_free_list.
23633 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23634 and memory_arena_reuse.
23635 (arena_get2) [!PER_THREAD]: Likewise.
23636 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23637 memory_arena_reuse_realloc.
23638 * manual/probes.texi: Document them.
23640 * malloc/malloc.c (__libc_free): Add
23641 memory_mallopt_free_dyn_thresholds probe.
23642 (__libc_mallopt): Add multiple memory_mallopt probes.
23643 * manual/probes.texi: Document them.
23645 * malloc/malloc.c: Include stap-probe.h.
23646 (__libc_mallopt): Add memory_mallopt probe.
23647 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23648 * manual/probes.texi: New.
23649 * manual/Makefile (chapters): Add probes.
23650 * manual/threads.texi: Set next node.
23652 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
23654 [BZ #15963, #13985]
23655 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23656 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23657 Add `Chinese' to `nan' entry name.
23659 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23661 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23662 (POLYNOMIAL): Likewise.
23663 (TAYLOR_SINCOS): Likewise.
23664 (TAYLOR_SLOW): Likewise.
23665 (__sin): Use TAYLOR_SINCOS.
23667 (slow): Use TAYLOR_SLOW.
23669 (bsloww): Likewise.
23670 (csloww): Likewise.
23672 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23674 * stdlib/strtod_l.c: Fix buffer overrun.
23676 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23678 * benchtests/Makefile (bench): Add sincos.
23679 * benchtests/bench-sincos.c: New file.
23681 * math/libm-test.inc (cos_test_data): New test inputs.
23682 (sin_test_data): Likewise.
23684 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23690 (sloww1): Likewise.
23691 (sloww2): Likewise.
23692 (bsloww1): Likewise.
23693 (bsloww2): Likewise.
23694 (cslow2): Likewise.
23695 (csloww1): Likewise.
23696 (csloww2): Likewise.
23698 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23703 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23707 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23709 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23710 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23711 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23712 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23713 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23714 * elf/cache.c (print_entry): Handle the new cache flags.
23716 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23717 Aldy Hernandez <aldyh@redhat.com>
23719 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23720 Change condition to [_SOFT_FLOAT].
23721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23733 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23736 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23739 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23741 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23742 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23743 (__longjmp): Use LOAD_GP to load saved GPRs.
23744 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23745 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23746 (__sigsetjmp): Use SAVE_GP to save GPRs.
23748 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23749 Do not append -msoft-float.
23750 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23752 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23754 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23756 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23759 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23760 (_FPU_GETCW): Use initial "__" on variable and field names but not
23761 on macro parameter name.
23762 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23763 parentheses around reference to macro parameter.
23765 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23767 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23769 (ctype_startup): Use uint32_t in cast and sizeof for
23772 2013-09-11 Jia Liu <proljc@gmail.com>
23774 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23776 [__FreeBSD__]: Likewise.
23778 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23781 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23782 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23783 (strchr): Remove __strchr_sse42 ifunc selection.
23784 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23785 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23787 2013-09-11 Will Newton <will.newton@linaro.org>
23789 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23790 parameter to RES. Remove hardcoded 1000 value.
23791 * benchtests/bench-skeleton.c (main): Pass RES parameter
23792 to TIMING_INIT and multiply result by 1000.
23794 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23798 2013-09-11 Andreas Schwab <schwab@suse.de>
23800 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23802 (O_TMPFILE) [__USE_GNU]: Define.
23803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23806 2013-09-11 Will Newton <will.newton@linaro.org>
23809 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23812 2013-09-11 Will Newton <will.newton@linaro.org>
23815 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23818 2013-09-11 Will Newton <will.newton@linaro.org>
23821 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23824 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23826 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23827 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23828 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23830 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23832 2013-09-10 Allan McRae <allan@archlinux.org>
23835 * manual/arith.texi (Parsing of Floats): Clarify
23839 * manual/install.texi (Running make install): Mention
23841 * INSTALL: Regenerated.
23843 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23845 * csu/init-first.c (_init): Remove the !SHARED condition around
23846 FPU control word initialization.
23847 * elf/dl-support.c (_dl_fpu_control): New variable.
23848 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23849 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23850 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23851 * math/test-fpucw-static.c: New file.
23852 * math/test-fpucw-ieee.c: New file.
23853 * math/test-fpucw-ieee-static.c: New file.
23854 * math/Makefile (tests): Add `test-fpucw-ieee' and
23856 (tests-static): New variable.
23857 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23859 [($(build-shared),yes)]
23860 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23862 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23865 2013-09-09 Allan McRae <allan@archlinux.org>
23868 * manual/string.texi (Collation Functions): Fix typo in
23870 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23873 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23876 * libio/memstream.c (open_memstream): Fix memory leak.
23877 * libio/wmemstream.c (open_wmemstream): Likewise.
23880 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23882 2013-09-09 Will Newton <will.newton@linaro.org>
23884 * malloc/Makefile: Add tst-realloc to tests.
23885 * malloc/tst-realloc.c: New file.
23887 2013-09-09 Allan McRae <allan@archlinux.org>
23890 * COPYING: Update from GNU website to fix FSF address.
23891 * COPYING.LIB: Likewise.
23893 2013-09-06 David S. Miller <davem@davemloft.net>
23895 * po/zh_TW.po: Update Chinese (traditional) translation from
23896 translation project.
23898 2013-09-06 Richard Sandiford <richard@codesourcery.com>
23899 Joseph Myers <joseph@codesourcery.com>
23901 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23903 (obstack_chunk_alloc): New macro.
23904 (obstack_chunk_free): Likewise.
23905 (record_offset): New function.
23906 (init_locale_data): Likewise.
23907 (align_locale_data): Likewise.
23908 (add_locale_empty): Likewise.
23909 (add_locale_raw_data): Likewise.
23910 (add_locale_raw_obstack): Likewise.
23911 (add_locale_string): Likewise.
23912 (add_locale_wstring): Likewise.
23913 (add_locale_uint32): Likewise.
23914 (add_locale_uint32_array): Likewise.
23915 (add_locale_char): Likewise.
23916 (start_locale_structure): Likewise.
23917 (end_locale_structure): Likewise.
23918 (start_locale_prelude): Likewise.
23919 (end_locale_prelude): Likewise.
23920 (write_locale_data): Take locale_file structure rather than an
23922 * locale/programs/locfile.h: Include "obstack.h".
23923 (struct locale_file): Change to store locale file contents instead
23925 (init_locale_data): New prototype.
23926 (align_locale_data): Likewise.
23927 (add_locale_empty): Likewise.
23928 (add_locale_raw_data): Likewise.
23929 (add_locale_raw_obstack): Likewise.
23930 (add_locale_string): Likewise.
23931 (add_locale_wstring): Likewise.
23932 (add_locale_uint32): Likewise.
23933 (add_locale_uint32_array): Likewise.
23934 (add_locale_char): Likewise.
23935 (start_locale_structure): Likewise.
23936 (end_locale_structure): Likewise.
23937 (start_locale_prelude): Likewise.
23938 (end_locale_prelude): Likewise.
23939 (write_locale_data): Update prototype.
23940 * locale/programs/3level.h (struct TABLE): Remove result field.
23941 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23942 Use new locale_file interface.
23943 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23944 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23945 * locale/programs/ld-address.c (address_output): Use new
23946 locale_file interface.
23947 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23949 (collate_finish): Don't call collseq_table_finalize.
23950 (collate_output): Use new locale_file interface.
23951 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23953 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23954 (TABLE): Move defines earlier in file.
23955 (ELEMENT): Likewise.
23956 (DEFAULT): Likewise.
23957 (wctrans_table_add): Move macro and inline function earlier in
23959 (struct wctype_table): Move type earlier in file.
23960 (add_locale_wctype_table): New static prototype.
23961 (struct locale_ctype_t): Use logical types instead of struct iovec
23962 pointers for members.
23963 (ctype_output): Use new locale_file interface.
23964 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23965 new locale_file interface.
23966 (allocate_arrays): Update for use of new locale_file interface.
23967 * locale/programs/ld-identification.c (identification_output): Use
23968 new locale_file interface.
23969 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23970 * locale/programs/ld-messages.c (messages_output): Likewise.
23971 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23972 * locale/programs/ld-name.c (name_output): Likewise.
23973 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23974 * locale/programs/ld-paper.c (paper_output): Likewise.
23975 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23976 * locale/programs/ld-time.c (time_output): Likewise.
23978 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23980 * benchtests/Makefile: Add memrchr benchmark.
23981 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23982 benchmark as memrchr.
23983 * benchtests/bench-memrchr-ifunc.c: New file.
23984 * benchtests/bench-memrchr.c: New file.
23986 2013-09-06 Will Newton <will.newton@linaro.org>
23988 * benchtests/Makefile (string-bench): Add memcpy.
23990 2013-09-05 Carlos O'Donell <carlos@redhat.com>
23991 Cong Wang <amwang@redhat.com>
23994 * sysdeps/unix/sysv/linux/bits/in.h
23995 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23996 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23997 before __USE_KERNEL_IPV6_DEFS uses.
23998 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24000 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24001 sockaddr_in6, or ipv6_mreq.
24003 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24005 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24006 memory access for final bytes in some large inputs.
24007 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24009 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24011 * string/test-memrchr.c: New file.
24012 * string/test-memrchr-ifunc.c: New file.
24013 * string/Makefile: Add new memrchr testcase.
24015 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24017 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24018 fanotify_init returns EPERM.
24020 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24022 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24024 (top level): Treat second token from macro or constant entries for
24025 allowed headers as allowed.
24026 * include/complex.h: Condition internal declarations on
24028 * include/fenv.h: Condition include of <stdbool.h> and internal
24029 declarations on [!_ISOMAC].
24031 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24034 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24036 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24038 * configure.in (--enable-versioning): Remove configure option.
24039 (libc_cv_asm_symver_directive): Remove configure test.
24040 (libc_cv_ld_version_script_option): Likewise.
24041 (VERSIONING): Remove variable and AC_SUBST.
24042 (DO_VERSIONING): Remove AC_DEFINE.
24043 * configure: Regenerated.
24044 * config.h.in (DO_VERSIONING): Remove macro.
24045 * Makerules [$(versioning) = yes]: Change conditionals to
24046 [$(build-shared) = yes].
24047 * config.make.in (versioning): Remove variable.
24048 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24049 [$(build-shared) = yes].
24050 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24051 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24052 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24053 [$(build-shared) = yes].
24054 * extra-lib.mk [$(versioning) = yes]: Likewise.
24055 * hurd/Makefile [$(versioning) = yes]: Likewise.
24056 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24058 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24060 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24061 [SHARED && !NO_HIDDEN].
24062 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24064 [SHARED && DO_VERSIONING]: Likewise..
24065 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24066 [$(build-shared) = yes].
24067 * manual/install.texi (--disable-versioning): Remove
24069 * INSTALL: Regenerated.
24070 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24072 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24073 [$(build-shared) = yes].
24074 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24075 * sysdeps/i386/i686/multiarch/strstr-c.c
24076 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24077 [SHARED && !NO_HIDDEN].
24078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24079 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24080 * sysdeps/powerpc/powerpc32/dl-machine.c
24081 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24082 * sysdeps/powerpc/powerpc32/sysdep.h
24083 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24084 to [SHARED && PIC && !NO_HIDDEN].
24085 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24086 conditional to [SHARED].
24088 2013-09-04 Will Newton <will.newton@linaro.org>
24090 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24091 * benchtests/bench-string.h: Include bench-timing.h instead
24092 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24093 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24094 call to HP_TIMING_DIFF_INIT.
24095 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24096 instead of hp-timing.h macros.
24097 * benchtests/bench-memchr.c: Likewise.
24098 * benchtests/bench-memcmp.c: Likewise.
24099 * benchtests/bench-memcpy.c: Likewise.
24100 * benchtests/bench-memmem.c: Likewise.
24101 * benchtests/bench-memmove.c: Likewise.
24102 * benchtests/bench-memset.c: Likewise.
24103 * benchtests/bench-rawmemchr.c: Likewise.
24104 * benchtests/bench-strcasecmp.c: Likewise.
24105 * benchtests/bench-strcasestr.c: Likewise.
24106 * benchtests/bench-strcat.c: Likewise.
24107 * benchtests/bench-strchr.c: Likewise.
24108 * benchtests/bench-strcmp.c: Likewise.
24109 * benchtests/bench-strcpy.c: Likewise.
24110 * benchtests/bench-strcpy_chk.c: Likewise.
24111 * benchtests/bench-strlen.c: Likewise.
24112 * benchtests/bench-strncasecmp.c: Likewise.
24113 * benchtests/bench-strncat.c: Likewise.
24114 * benchtests/bench-strncmp.c: Likewise.
24115 * benchtests/bench-strncpy.c: Likewise.
24116 * benchtests/bench-strnlen.c: Likewise.
24117 * benchtests/bench-strpbrk.c: Likewise.
24118 * benchtests/bench-strrchr.c: Likewise.
24119 * benchtests/bench-strspn.c: Likewise.
24120 * benchtests/bench-strstr.c: Likewise.
24122 2013-09-04 Will Newton <will.newton@linaro.org>
24124 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24126 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24130 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24131 * math/libm-test.inc (lgamma_test_data): Add more tests.
24132 * sysdeps/i386/fpu/libm-test-ulps: Update.
24133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24135 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24137 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24141 Add strcmp-sse2-unaligned
24142 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24144 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24146 * Versions.def (libc): Add GLIBC_2.19.
24148 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24150 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24151 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24153 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24156 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24157 intermediate calculations in recurrence.
24158 (__ieee754_ynf): Likewise.
24159 * math/libm-test.inc (jn_test_data): Do not allow spurious
24160 underflow exception. Add more tests.
24161 (yn_test_data): Add more tests.
24162 * sysdeps/i386/fpu/libm-test-ulps: Update.
24163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24165 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
24167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24169 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24171 * csu/init-first.c: Fix then/than typos.
24172 * locale/programs/ld-collate.c: Likewise.
24173 * locale/programs/linereader.h: Likewise.
24174 * manual/charset.texi: Likewise.
24175 * manual/filesys.texi: Likewise.
24176 * manual/stdio.texi: Likewise.
24177 * manual/string.texi: Likewise.
24178 * stdlib/fmtmsg.c: Likewise.
24179 * sysdeps/i386/stpncpy.S: Likewise.
24180 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24181 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24182 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24183 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24185 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24187 * elf/dl-open.c: Fix typos.
24188 * iconvdata/gbbig5.c: Likewise.
24189 * iconvdata/iso-2022-jp.c: Likewise.
24190 * iconv/gconv_int.h: Likewise.
24191 * iconv/loop.c: Likewise.
24192 * nis/rpcsvc/nis.h: Likewise.
24193 * resolv/ns_name.c: Likewise.
24194 * stdio-common/vfscanf.c: Likewise.
24195 * streams/stropts.h: Likewise.
24196 * sunrpc/rpc_thread.c: Likewise.
24197 * sysdeps/i386/strpbrk.S: Likewise.
24198 * sysdeps/ieee754/k_standard.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24201 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24202 * sysdeps/mach/hurd/profil.c: Likewise.
24203 * sysdeps/s390/dl-procinfo.h: Likewise.
24204 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24205 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24206 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24207 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24208 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24210 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24212 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24215 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24217 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24218 aix specific files.
24219 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24220 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24221 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24222 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24223 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24224 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24225 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24226 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24228 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24229 Roland McGrath <roland@hack.frob.com>
24231 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24232 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24234 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24236 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24237 __executable_start symbol instead of _start.
24239 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24241 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24242 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24244 * sysdeps/gnu/ldsodefs.h: ... this new file.
24246 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24247 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24248 instead of ELFOSABI_LINUX.
24250 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24251 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24252 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24253 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24255 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24256 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24257 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24259 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24260 (ibm_extended_long_double): Add ieee_nan member.
24261 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24262 (do_test): New function.
24264 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24266 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24267 functions, renamed from truncdfsf_test, trunctfsf_test,
24269 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24271 (do_test): Run all these.
24273 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24275 * argp/argp-help.c: Fix typos.
24276 * argp/argp-parse.c: Likewise.
24277 * debug/backtracesyms.c: Likewise.
24278 * elf/elf.h: Likewise.
24279 * malloc/malloc.c: Likewise.
24280 * nis/nis_print.c: Likewise.
24281 * resolv/res_comp.c: Likewise.
24282 * stdlib/stdlib.h: Likewise.
24283 * sunrpc/clnt_tcp.c: Likewise.
24284 * sunrpc/clnt_udp.c: Likewise.
24285 * sunrpc/clnt_unix.c: Likewise.
24286 * sysdeps/unix/bsd/ptsname.c: Likewise.
24287 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24288 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24295 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24297 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24299 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24302 2013-08-27 Mike Frysinger <vapier@gentoo.org>
24305 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24306 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24307 ($(objpfx)bug-dl-leaf): New rule.
24308 ($(objpfx)bug-dl-leaf.so): Likewise.
24309 ($(objpfx)bug-dl-leaf.out): Likewise.
24310 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24311 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24312 * dlfcn/bug-dl-leaf.c: New test.
24313 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24314 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24315 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24316 (dlclose): Likewise.
24317 (dlmopen): Likewise.
24319 2013-08-27 Roland McGrath <roland@hack.frob.com>
24321 * include/netdb.h [!_ISOMAC]:
24322 Don't include <tls.h>.
24323 (h_errno, __libc_h_errno): Move declaration and macros out of
24326 * include/resolv.h [_RESOLV_H_]:
24327 Don't include <tls.h>.
24328 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24329 * resolv/res_libc.c: Don't include <tls.h>.
24330 (_res): Use __attribute__ ((nocommon)) in place of
24331 __attribute__ ((section (".bss"))).
24333 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24334 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24336 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24338 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24339 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24341 * resolv/res_mkquery.c: Include <sys/time.h>.
24343 * inet/ifreq.c: Moved to ...
24344 * sysdeps/unix/ifreq.c: ... here.
24345 * inet/ifreq.c: New file, true stub version.
24347 * socket/sa_len.c: New file.
24348 * socket/Makefile (aux): Add it.
24349 * sysdeps/unix/sysv/linux/Makefile
24350 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24351 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24352 and #include <socket/sa_len.c>.
24353 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24354 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24356 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24357 * bits/socket.h: ... here.
24359 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24360 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24361 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24363 2013-08-27 Andreas Schwab <schwab@suse.de>
24366 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24367 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24368 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24369 * string/test-strcasecmp.c (test_main): Run tests in several
24371 * string/test-strncasecmp.c (test_main): Likewise.
24373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24374 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24375 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24377 (__strncasecmp_ssse3) [PIC]: Likewise.
24379 2013-08-26 Roland McGrath <roland@hack.frob.com>
24381 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24383 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24384 instead of explicitly declaring xdecrypt.
24385 * nis/nss_nis/nis-publickey.c: Likewise.
24387 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24390 * nscd/aicache.c: Include res_hconf.h.
24391 (addhstaiX): Initialize res_hconf.
24393 2013-08-26 Andreas Schwab <schwab@suse.de>
24395 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24396 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24398 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24400 * nscd/aicache.c (addhstaiX): Fix indentation.
24402 2013-08-25 Mike Frysinger <vapier@gentoo.org>
24404 * configure.ac: Quote $build_pt_chown test.
24405 * configure: Regenerated.
24407 2013-08-23 Joseph Myers <joseph@codesourcery.com>
24410 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24411 * math/s_cexpf.c (__cexpf): Likewise.
24412 * math/s_cexpl.c (__cexpl): Likewise.
24413 * math/libm-test.inc (cexp_test_data): Correct expected return
24414 value for NaN + i0. Add another test.
24416 2013-08-22 David S. Miller <davem@davemloft.net>
24418 * po/ca.po: Update Catalan translation from translation project.
24419 * po/uk.po: Add Ukrainian translations from translation project.
24421 2013-08-21 Joseph Myers <joseph@codesourcery.com>
24424 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24425 is infinite, not alongside NaN test.
24426 * math/s_fdimf.c (__fdimf): Likewise.
24427 * math/s_fdiml.c (__fdiml): Likewise.
24428 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24429 errno is unchanged.
24431 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
24433 * argp/argp-help.c: Fix typos.
24434 * crypt/speeds.c: Likewise.
24435 * csu/check_fds.c: Likewise.
24436 * elf/dl-load.c: Likewise.
24437 * elf/dl-open.c: Likewise.
24438 * elf/reldep3.c: Likewise.
24439 * elf/reldep.c: Likewise.
24440 * elf/sprof.c: Likewise.
24441 * iconv/iconv_charmap.c: Likewise.
24442 * iconv/skeleton.c: Likewise.
24443 * iconv/strtab.c: Likewise.
24444 * io/lockf64.c: Likewise.
24445 * libio/libioP.h: Likewise.
24446 * resolv/gai_notify.c: Likewise.
24447 * resolv/ns_name.c: Likewise.
24448 * resolv/ns_samedomain.c: Likewise.
24449 * resolv/res_send.c: Likewise.
24450 * stdlib/random.c: Likewise.
24451 * sunrpc/rpc/xdr.h: Likewise.
24452 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24453 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24454 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24455 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24457 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24458 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24460 * sysdeps/mach/hurd/check_fds.c: Likewise.
24461 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24462 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24463 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24464 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24465 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24466 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24467 * sysdeps/pthread/aio_notify.c: Likewise.
24468 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24469 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24470 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24471 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24472 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24474 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24476 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24477 version if bit_Slow_SSE4_2 is set.
24478 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24481 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24484 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24485 trampoline stack frame information.
24486 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24487 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24488 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24489 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24490 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24491 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24492 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24493 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24495 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24496 interrupting a syscall and set with option SA_SIGINFO.
24498 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24501 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24502 argument is infinite.
24503 * math/s_cprojf.c (__cprojf): Likewise.
24504 * math/s_cprojl.c (__cprojl): Likewise.
24505 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24506 * math/libm-test.inc (cproj_test_data): Add more tests.
24508 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24510 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24511 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24512 size. Use __ffs to determine corresponding shift.
24514 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24515 Roland McGrath <roland@hack.frob.com>
24517 * Makefile (INSTALL): Remove trailing blank lines from output of
24520 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24522 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24523 Align 32 bit compat elf_greg to 8 bytes.
24525 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24527 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24529 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24531 * string/strcoll_l.c (coll_seq): New structure.
24532 (get_next_seq_cached): New function.
24533 (get_next_seq): New function.
24534 (do_compare): New function.
24535 (STRCOLL): Use GNU style definition. Simplify implementation
24536 by using get_next_seq, get_next_seq_cached and do_compare.
24538 2013-08-16 Florian Weimer <fweimer@redhat.com>
24542 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24544 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24546 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24547 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24548 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24550 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24551 GETDENTS_64BIT_ALIGNED.
24552 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24553 * manual/filesys.texi (Reading/Closing Directory): Document
24554 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24556 * manual/conf.texi (Limits for Files): Add portability note to
24557 NAME_MAX, PATH_MAX.
24558 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24560 2013-08-13 Andreas Schwab <schwab@suse.de>
24563 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24565 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24566 LDBL_MAX_EXP >= 16384]: Add tests for it.
24568 2013-08-12 David S. Miller <davem@davemloft.net>
24570 * version.h (RELEASE): Set to "development".
24571 (VERSION): Set to "2.18.90".
24572 * NEWS: Add 2.19 section.
24574 2013-08-03 David S. Miller <davem@davemloft.net>
24576 * po/ko.po: Update Korean translation from translation project.
24578 2013-08-01 David S. Miller <davem@davemloft.net>
24580 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24581 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24584 2013-07-30 David S. Miller <davem@davemloft.net>
24586 * po/fr.po: Update French translation from translation project.
24588 2013-07-28 David S. Miller <davem@davemloft.net>
24590 * po/cs.po: Update Czech translation from translation project.
24592 * po/sv.po: Update Swedish translation from translation project.
24594 2013-07-27 David S. Miller <davem@davemloft.net>
24596 * po/eo.po: Update Esperanto translation from translation project.
24598 * po/vi.po: Update Vietnamese translation from translation project.
24600 * po/de.po: Update German translation from translation project.
24602 2013-07-26 David S. Miller <davem@davemloft.net>
24604 * po/bg.po: Update Bulgarian translation from translation project.
24606 * po/nl.po: Update Dutch translation from translation project.
24607 * po/pl.po: Update Polish translation from translation project.
24608 * po/ru.po: Update Russian translation from translation project.
24610 2013-07-24 David S. Miller <davem@davemloft.net>
24612 * po/libc.pot: Update.
24614 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24616 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24617 variable page size.
24618 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24619 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24620 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24622 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24624 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24626 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24627 Andreas Schwab <schwab@suse.de>
24628 Roland McGrath <roland@hack.frob.com>
24629 Joseph Myers <joseph@codesourcery.com>
24630 Carlos O'Donell <carlos@redhat.com>
24633 * config.h.in: Define HAVE_PT_CHOWN.
24634 * config.make.in (build-pt-chown): New variable.
24635 * configure.in (--enable-pt_chown): New configure option.
24636 * configure: Regenerate.
24637 * login/Makefile: Include Makeconfig. Build pt_chown only if
24638 build-pt-chown is enabled.
24639 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24640 pt_chown to fix pty ownership.
24641 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24643 * manual/install.texi (Configuring and compiling): Mention
24644 --enable-pt_chown. Add @findex for grantpt.
24645 * INSTALL: Regenerate.
24647 2013-07-20 David S. Miller <davem@davemloft.net>
24649 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24650 difference between 32-bit and 64-bit.
24652 2013-07-15 Carlos O'Donell <carlos@redhat.com>
24655 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24656 Avoid system header dependency with -ffreestanding.
24657 ($(objpfx)bits/syscall%d): Likewise.
24659 2013-07-13 David S. Miller <davem@davemloft.net>
24661 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24662 underflows from atanl/atan2l due to bug 15319.
24663 (casinh_test_data): Likewise.
24665 2013-07-07 David S. Miller <davem@davemloft.net>
24667 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24669 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24671 * sysdeps/i386/fpu/libm-test-ulps: Update.
24672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24674 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24676 * configure.in (--enable-lock-elision): Fix message text.
24677 * INSTALL: Regenerate.
24678 * configure: Regenerate.
24680 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24684 2013-07-03 Andreas Jaeger <aj@suse.de>
24686 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24688 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24689 (ptrace_peeksiginfo_args): Add.
24690 (__ptrace_peeksiginfo_flags): Add.
24691 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24693 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24695 2013-07-03 Allan McRae <allan@archlinux.org>
24697 * sysdeps/i386/fpu/libm-test-ulps: Update.
24699 2013-07-02 David S. Miller <davem@davemloft.net>
24701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24703 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24707 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24709 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24712 2013-07-02 Andi Kleen <ak@linux.intel.com>
24714 * config.h.in (ENABLE_LOCK_ELISION): Add.
24715 * configure.in (--enable-lock-elision): Add option.
24716 * manual/install.texi: Document --enable lock elision.
24717 * configure: Regenerate
24718 * INSTALL: Regenerate.
24720 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24722 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24723 SSE4.2 strcasecmp for libc.a.
24724 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24726 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24729 * soft-fp/op-common.h (_FP_FMA): New macro.
24730 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24731 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24732 (_FP_MUL_MEAT_1_imm): ... here.
24733 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24734 (_FP_MUL_MEAT_1_wide): ... here.
24735 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24736 (_FP_MUL_MEAT_1_hard): ... here.
24737 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24738 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24739 (_FP_MUL_MEAT_2_wide): ... here.
24740 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24741 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24742 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24743 (_FP_MUL_MEAT_2_gmp): ... here.
24744 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24745 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24746 (_FP_MUL_MEAT_4_wide): ... here.
24747 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24748 (_FP_MUL_MEAT_4_gmp): ... here.
24749 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24750 (_FP_WFRACBITS_DW_S): Likewise.
24751 (_FP_WFRACXBITS_DW_S): Likewise.
24752 (_FP_HIGHBIT_DW_S): Likewise.
24753 (FP_FMA_S): Likewise.
24754 (_FP_FRAC_HIGH_DW_S): Likewise.
24755 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24756 (_FP_WFRACBITS_DW_D): Likewise.
24757 (_FP_WFRACXBITS_DW_D): Likewise.
24758 (_FP_HIGHBIT_DW_D): Likewise.
24759 (FP_FMA_D): Likewise.
24760 (_FP_FRAC_HIGH_DW_D): Likewise.
24761 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24762 (_FP_WFRACBITS_DW_E): Likewise.
24763 (_FP_WFRACXBITS_DW_E): Likewise.
24764 (_FP_HIGHBIT_DW_E): Likewise.
24765 (FP_FMA_E): Likewise.
24766 (_FP_FRAC_HIGH_DW_E): Likewise.
24767 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24768 (_FP_WFRACBITS_DW_Q): Likewise.
24769 (_FP_WFRACXBITS_DW_Q): Likewise.
24770 (_FP_HIGHBIT_DW_Q): Likewise.
24771 (FP_FMA_Q): Likewise.
24772 (_FP_FRAC_HIGH_DW_Q): Likewise.
24773 * soft-fp/fmasf4.c: New file.
24774 * soft-fp/fmadf4.c: Likewise.
24775 * soft-fp/fmatf4.c: Likewise.
24777 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24780 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24782 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24784 (index_Slow_SSE4_2): Likewise.
24785 (index_Prefer_PMINUB_for_stringop): Likewise.
24786 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24787 bit_Slow_SSE4_2 is set.
24788 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24789 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24791 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24793 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24794 rtld_global._dl_hwcap2.
24795 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24797 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24798 POWER8 feature descriptions defined in _dl_hwcap2.
24799 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24800 string handling for POWER8 feature bits.
24801 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24802 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24803 _dl_powerpc_cap_flags.
24804 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24805 * sysdeps/powerpc/rtld-global-offsets.sym
24806 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24807 _dl_hwcap2 in the rtld_global_ro structure.
24809 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24811 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24812 hardware capabilities in support of AT_HWCAP2.
24813 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24814 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24816 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24817 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24818 explicitly the unknown a_type display mechanism is used.
24819 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24820 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24822 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24823 to macro prototype for AT_HWCAP2 support.
24824 * sysdeps/i386/dl-procinfo.h: Likewise.
24825 * sysdeps/s390/dl-procinfo.h: Likewise.
24826 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24827 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24828 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24829 return -1 for unknown a_type display fallback.
24830 * sysdeps/sparc/dl-procinfo.h: Likewise.
24831 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24832 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24834 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24836 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24837 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24839 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24842 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24843 mprotect making __stack_prot writable.
24845 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24846 Joseph Myers <joseph@codesourcery.com>
24848 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24849 as being properly aligned.
24851 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24853 * dlfcn/modstatic5.c: New file.
24854 * dlfcn/tststatic5.c: New file.
24855 * dlfcn/Makefile (tests): Add tststatic5.
24856 (tests-static): Likewise.
24857 (modules-names): Add modstatic5.
24858 (tststatic5-ENV): New variable.
24859 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24862 * elf/dl-support.c (_dl_main_map): New variable.
24863 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24864 (_dl_nns, _dl_load_adds): Set to 1.
24865 (_dl_initial_searchlist): Refer to _dl_main_map.
24866 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24867 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24868 call to _dl_get_origin.
24869 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24871 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24872 * dlfcn/modstatic3.c: New file.
24873 * dlfcn/tststatic3.c: New file.
24874 * dlfcn/tststatic4.c: New file.
24875 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24876 (tests-static): Likewise.
24877 (modules-names): Add modstatic3.
24878 (tststatic3-ENV, tststatic4-ENV): New variables.
24879 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24880 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24882 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24884 * configure.in (CC): Require GCC version 4.4 or later.
24885 * configure: Regenerated.
24886 * manual/install.texi (Tools for Compilation): Update GCC version
24888 * INSTALL: Regenerated.
24890 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24893 * string/test-memcmp.c (check2): New.
24894 (main): Call check2.
24896 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24898 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24901 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24903 (dl_open_worker) [!SHARED]: ... here.
24905 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24907 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24909 2013-06-25 Richard Henderson <rth@redhat.com>
24911 * locale/programs/locarchive.c: Include <libc-internal.h>
24913 2013-06-25 Joseph Myers <joseph@codesourcery.com>
24915 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24916 trailing whitespace removed.
24918 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24921 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24922 * locale/programs/locarchive.c: Include libc-mmap.h.
24923 (prepare_address_space): Take two new outputs (the mmap base and len).
24924 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24926 (create_archive): Declare new mmap base and len values for
24927 prepare_address_space, and store the result in ah.
24928 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24929 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24930 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24931 Declare new mmap base and len values for
24932 prepare_address_space, and store the result in new_ah.
24933 (open_archive): Declare new mmap base and len values for
24934 prepare_address_space, and store the result in ah.
24935 (close_archive): If ah->mmap_base is not NULL, use that and
24936 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24937 * sysdeps/generic/libc-mmap.h: New file.
24939 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24941 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24942 (ALIGN_UP): Likewise.
24943 (PTR_ALIGN_DOWN): Likewise.
24944 (PTR_ALIGN_UP): Likewise.
24946 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24948 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24949 entry mapped to PPC_PLATFORM_POWER8.
24950 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24952 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24953 (_dl_string_platform): Add case for exporting platform position for
24955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24956 search path to sysdeps/powerpc/powerpc32/power8 directory.
24957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24958 search path to sysdeps/powerpc/powerpc64/power8 directory.
24959 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24960 power7 directories.
24961 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24962 power7 directories.
24964 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24966 * INSTALL: Regenerate.
24968 * nscd/connections.c (nscd_init): Fix comment.
24970 2013-06-22 Joseph Myers <joseph@codesourcery.com>
24972 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24975 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24976 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24978 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24980 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24982 (DL_DST_REQ_STATIC): Remove macro.
24984 2013-06-21 Joseph Myers <joseph@codesourcery.com>
24987 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24988 with a shift of 0 bits.
24990 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24992 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24995 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24998 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25000 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25002 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25003 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25004 accepts -fno-tree-loop-distribute-patterns.
25005 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25006 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25008 * string/memset.c (memset): Likewise.
25009 * string/test-memmove.c (simple_memmove): Disable loop transformation
25011 * string/test-memset.c (simple_memset): Likewise.
25012 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25013 * benchtests/bench-memset.c (simple_memset): Likewise.
25014 * configure: Regenerated.
25016 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25018 * math/test-misc.c (main): Ignore fesetround failure when failures
25019 of subsequent rounding tests would be ignored.
25022 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25023 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25024 * math/fegetenv.c (__fegetenv): Return 0.
25025 * math/fegetexcept.c (fegetexcept): Return 0.
25026 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25028 * math/feholdexcpt.c (feholdexcept): Return 0.
25029 * math/fesetenv.c (__fesetenv): Return 0.
25030 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25031 argument FE_TONEAREST.
25032 * math/feupdateenv.c (__feupdateenv): Return 0.
25033 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25035 2013-06-18 Roland McGrath <roland@hack.frob.com>
25037 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25038 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25039 ($(objpfx)rtld-%.os rules): Use them.
25041 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25043 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25046 2013-06-17 Roland McGrath <roland@hack.frob.com>
25048 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25049 length of target pattern, then descending length of dependency pattern.
25050 * configure.in (AWK): Require gawk 3.1.2 or newer.
25051 * manual/install.texi (Tools for Compilation): Say that we do.
25052 * configure: Regenerated.
25054 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25055 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25056 * scripts/sysd-rules.awk: ... this new script.
25057 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25058 than a glob-style pattern.
25060 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25062 * math/test-misc.c (main): Do not treat incorrectly rounded
25063 conversions as failure unless ROUNDING_TESTS passes.
25065 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25068 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25069 restore exception state around main square root computation, then
25070 check for inexactness explicitly.
25072 * math/libm-test.inc (fma_test_data): Add another test.
25074 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25076 * manual/threads.texi (Non-POSIX Extensions): New document
25077 node. Document pthread_getattr_default_np and
25078 pthread_setattr_default_np.
25080 * Versions.def (libpthread): Add GLIBC_2.18.
25081 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25090 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25101 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25104 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25106 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25107 H.J. Lu <hjl.tools@gmail.com>
25110 * sysdeps/x86_64/rtld-memset.c: Remove file.
25111 * sysdeps/x86_64/rtld-memset.S: New file.
25113 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25115 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25116 (test_in_one_mode): Take arguments for whether the rounding mode
25117 is supported for each floating-point type.
25118 (do_test): Pass new arguments to test_in_one_mode using
25121 2013-06-13 Roland McGrath <roland@hack.frob.com>
25123 * posix/tst-waitid.c (do_test): Distinguish different instances of
25124 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25125 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25126 before entering the kernel for waitpid.
25128 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25130 * NEWS: Fix note on clock function precision. Text by Roland
25133 2013-06-13 Roland McGrath <roland@hack.frob.com>
25135 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25136 it into place only when and if the sanity check passes.
25138 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25140 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25141 output for whether conversion result is exact. Take argument
25142 indicating whether type is IBM long double.
25143 (round_for_all): Change need_exact field to ibm_ld.
25144 * stdlib/tst-strtod-round.c (struct exactness): New type.
25145 (struct test): Change bool ld_ok field to struct exactness exact.
25146 (TEST): Update all definitions for change to field.
25147 (tests): Regenerate array contents.
25148 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25149 field value. Check for IBM long double here.
25150 (do_test): Update calls to test_in_one_mode.
25152 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25155 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25156 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25158 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25161 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25162 generated by the compiler on loop optimizations.
25163 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25164 general definitions.
25166 2013-06-12 Joseph Myers <joseph@codesourcery.com>
25168 * math/bug-nextafter.c: Include <math-tests.h>.
25169 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25171 * math/bug-nexttoward.c: Include <math-tests.h>.
25172 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25174 * math/test-misc.c: Include <math-tests.h>.
25175 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25178 2013-06-12 Andreas Jaeger <aj@suse.de>
25180 * po/ia.po: Update Interlingua translation from translation
25183 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25185 * include/fenv.h: Include stdbool.h.
25186 (struct rm_ctx): New structure.
25187 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25189 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25190 (SET_RESTORE_ROUNDF): Likewise.
25191 (SET_RESTORE_ROUNDL): Likewise.
25192 (SET_RESTORE_ROUND_NOEX): Likewise.
25193 (SET_RESTORE_ROUND_NOEXF): Likewise.
25194 (SET_RESTORE_ROUND_NOEXL): Likewise.
25195 (SET_RESTORE_ROUND_53BIT): Likewise.
25196 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25197 (libc_feresetround_noexf_ctx): Likewise.
25198 (libc_feresetround_noexl_ctx): Likewise.
25199 (libc_feholdsetround_53bit_ctx): Likewise.
25200 (libc_feresetround_53bit_ctx): Likewise.
25201 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25202 (libc_feholdexcept_setround_sse_ctx): New function.
25203 (libc_fesetenv_sse_ctx): Likewise.
25204 (libc_feupdateenv_sse_ctx): Likewise.
25205 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25206 (libc_feholdexcept_setround_387_ctx): Likewise.
25207 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25208 (libc_feholdsetround_387_prec_ctx): Likewise.
25209 (libc_feholdsetround_387_ctx): Likewise.
25210 (libc_feholdsetround_387_53bit_ctx): Likewise.
25211 (libc_feholdsetround_sse_ctx): Likewise.
25212 (libc_feresetround_sse_ctx): Likewise.
25213 (libc_feresetround_387_ctx): Likewise.
25214 (libc_feupdateenv_387_ctx): Likewise.
25215 (libc_feholdexcept_setroundf_ctx): Define macro.
25216 (libc_fesetenvf_ctx): Likewise.
25217 (libc_feupdateenvf_ctx): Likewise.
25218 (libc_feholdsetroundf_ctx): Likewise.
25219 (libc_feresetroundf_ctx): Likewise.
25220 (libc_feholdexcept_setround_ctx): Likewise.
25221 (libc_fesetenv_ctx): Likewise.
25222 (libc_feupdateenv_ctx): Likewise.
25223 (libc_feholdsetround_ctx): Likewise.
25224 (libc_feresetround_ctx): Likewise.
25225 (libc_feholdexcept_setroundl_ctx): Likewise.
25226 (libc_feupdateenvl_ctx): Likewise.
25227 (libc_feholdsetroundl_ctx): Likewise.
25228 (libc_feresetroundl_ctx): Likewise.
25229 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25230 (libc_feresetround_53bit_ctx): Likewise.
25232 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25234 * locale/iso-639.def: Convert to UTF-8.
25236 2013-06-11 Joseph Myers <joseph@codesourcery.com>
25238 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25239 (EXCEPTION_TESTS_double): Likewise.
25240 (EXCEPTION_TESTS_long_double): Likewise.
25241 (EXCEPTION_TESTS): Likewise.
25242 * math/libm-test.inc (test_exceptions): Only test exceptions if
25243 EXCEPTION_TESTS (FLOAT).
25245 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25247 * benchtests/Makefile (string-bench): Add strcpy_chk and
25249 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25250 * benchtests/bench-stpcpy_chk.c: New file.
25251 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25252 * benchtests/bench-strcpy_chk.c: New file.
25253 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25255 (do_test): Likewise.
25257 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25259 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25260 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25261 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25262 with tabs where appropriate.
25263 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25265 [PPC_PLATFORM_PPC440]: Likewise.
25266 [PPC_PLATFORM_PPC464]: Likewise.
25267 [PPC_PLATFORM_PPC476]: Likewise.
25268 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25269 ppc464, and ppc476 platform strings merging from ports/
25272 2013-06-11 Andreas Schwab <schwab@suse.de>
25275 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25276 (from_ucs4_idx): Regenerate.
25277 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25278 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25279 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25280 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25281 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25282 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25283 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25284 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25285 from FROM_LOOP and TO_LOOP specific macros.
25286 (BODY): Handle combining characters.
25287 * iconvdata/BIG5HKSCS.irreversible: Update.
25288 * iconvdata/BIG5HKSCS.precomposed: New file.
25289 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25291 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25293 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25295 * include/sys/time.h: Fix indentation and add copyright header.
25297 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25298 (do_test): Likewise.
25299 * string/test-memchr.c (do_one_test): Likewise.
25300 (do_test): Likewise.
25301 * string/test-memcmp.c (do_one_test): Likewise.
25302 (do_test): Likewise.
25303 * string/test-memcpy.c (do_one_test): Likewise.
25304 (do_test): Likewise.
25305 * string/test-memmem.c (do_one_test): Likewise.
25306 (do_test): Likewise.
25307 (do_random_tests): Likewise.
25308 * string/test-memmove.c (do_one_test): Likewise.
25309 (do_test): Likewise.
25310 * string/test-memset.c (do_one_test): Likewise.
25311 (do_test): Likewise.
25312 * string/test-rawmemchr.c (do_one_test): Likewise.
25313 (do_test): Likewise.
25314 * string/test-strcasecmp.c (do_one_test): Likewise.
25315 (do_test): Likewise.
25316 * string/test-strcasestr.c (do_one_test): Likewise.
25317 (do_test): Likewise.
25318 * string/test-strcat.c (do_one_test): Likewise.
25319 (do_test): Likewise.
25320 * string/test-strchr.c (do_one_test): Likewise.
25321 (do_test): Likewise.
25322 * string/test-strcmp.c (do_one_test): Likewise.
25323 (do_test): Likewise.
25324 * string/test-strcpy.c (do_one_test): Likewise.
25325 (do_test): Likewise.
25326 * string/test-string.h: Likewise.
25327 (test_init): Likewise.
25328 * string/test-strlen.c (do_one_test): Likewise.
25329 (do_test): Likewise.
25330 * string/test-strncasecmp.c (do_one_test): Likewise.
25331 (do_test): Likewise.
25332 * string/test-strncat.c (do_one_test): Likewise.
25333 (do_test): Likewise.
25334 * string/test-strncmp.c (do_one_test): Likewise.
25335 (do_test_limit): Likewise.
25336 (do_test): Likewise.
25337 * string/test-strncpy.c (do_one_test): Likewise.
25338 (do_test): Likewise.
25339 * string/test-strnlen.c (do_one_test): Likewise.
25340 (do_test): Likewise.
25341 * string/test-strpbrk.c (do_one_test): Likewise.
25342 (do_test): Likewise.
25343 * string/test-strrchr.c (do_one_test): Likewise.
25344 (do_test): Likewise.
25345 * string/test-strspn.c (do_one_test): Likewise.
25346 (do_test): Likewise.
25347 * string/test-strstr.c (do_one_test): Likewise.
25348 (do_test): Likewise.
25350 * benchtests/Makefile (string-bench): Add string benchmarks.
25351 * benchtests/bench-bcopy-ifunc.c: New file.
25352 * benchtests/bench-bcopy.c: New file.
25353 * benchtests/bench-bzero-ifunc.c: New file.
25354 * benchtests/bench-bzero.c: New file.
25355 * benchtests/bench-memccpy-ifunc.c: New file.
25356 * benchtests/bench-memccpy.c: New file.
25357 * benchtests/bench-memchr-ifunc.c: New file.
25358 * benchtests/bench-memchr.c: New file.
25359 * benchtests/bench-memcmp-ifunc.c: New file.
25360 * benchtests/bench-memcmp.c: New file.
25361 * benchtests/bench-memmem-ifunc.c: New file.
25362 * benchtests/bench-memmem.c: New file.
25363 * benchtests/bench-memmove-ifunc.c: New file.
25364 * benchtests/bench-memmove.c: New file.
25365 * benchtests/bench-mempcpy-ifunc.c: New file.
25366 * benchtests/bench-mempcpy.c: New file.
25367 * benchtests/bench-memset-ifunc.c: New file.
25368 * benchtests/bench-memset.c: New file.
25369 * benchtests/bench-rawmemchr-ifunc.c: New file.
25370 * benchtests/bench-rawmemchr.c: New file.
25371 * benchtests/bench-stpcpy-ifunc.c: New file.
25372 * benchtests/bench-stpcpy.c: New file.
25373 * benchtests/bench-stpncpy-ifunc.c: New file.
25374 * benchtests/bench-stpncpy.c: New file.
25375 * benchtests/bench-strcasecmp-ifunc.c: New file.
25376 * benchtests/bench-strcasecmp.c: New file.
25377 * benchtests/bench-strcasestr-ifunc.c: New file.
25378 * benchtests/bench-strcasestr.c: New file.
25379 * benchtests/bench-strcat-ifunc.c: New file.
25380 * benchtests/bench-strcat.c: New file.
25381 * benchtests/bench-strchr-ifunc.c: New file.
25382 * benchtests/bench-strchr.c: New file.
25383 * benchtests/bench-strchrnul-ifunc.c: New file.
25384 * benchtests/bench-strchrnul.c: New file.
25385 * benchtests/bench-strcmp-ifunc.c: New file.
25386 * benchtests/bench-strcmp.c: New file.
25387 * benchtests/bench-strcpy-ifunc.c: New file.
25388 * benchtests/bench-strcpy.c: New file.
25389 * benchtests/bench-strcspn-ifunc.c: New file.
25390 * benchtests/bench-strcspn.c: New file.
25391 * benchtests/bench-strlen-ifunc.c: New file.
25392 * benchtests/bench-strlen.c: New file.
25393 * benchtests/bench-strncasecmp-ifunc.c: New file.
25394 * benchtests/bench-strncasecmp.c: New file.
25395 * benchtests/bench-strncat-ifunc.c: New file.
25396 * benchtests/bench-strncat.c: New file.
25397 * benchtests/bench-strncmp-ifunc.c: New file.
25398 * benchtests/bench-strncmp.c: New file.
25399 * benchtests/bench-strncpy-ifunc.c: New file.
25400 * benchtests/bench-strncpy.c: New file.
25401 * benchtests/bench-strnlen-ifunc.c: New file.
25402 * benchtests/bench-strnlen.c: New file.
25403 * benchtests/bench-strpbrk-ifunc.c: New file.
25404 * benchtests/bench-strpbrk.c: New file.
25405 * benchtests/bench-strrchr-ifunc.c: New file.
25406 * benchtests/bench-strrchr.c: New file.
25407 * benchtests/bench-strspn-ifunc.c: New file.
25408 * benchtests/bench-strspn.c: New file.
25409 * benchtests/bench-strstr-ifunc.c: New file.
25410 * benchtests/bench-strstr.c: New file.
25412 * benchtests/Makefile: Disable parallel execution of targets.
25413 (string-bench): Add memcpy.
25414 (benchset): New variable to store a list of benchmark sets.
25415 (bench-func): Renamed from bench.
25416 (bench-set): New target.
25417 (bench): Depend on bench-func and bench-set.
25418 * benchtests/README: Add section on benchmark sets.
25419 * benchtests/bench-memcpy-ifunc.c: New file.
25420 * benchtests/bench-memcpy.c: New file.
25421 * benchtests/bench-string.h: New file.
25423 2013-06-11 Andreas Schwab <schwab@suse.de>
25426 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25427 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25428 values in the triple.
25429 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25430 terminator in the group key.
25432 2013-06-11 Andreas Jaeger <aj@suse.de>
25434 * po/zh_TW.po: Update Chinese (traditional) translation from
25435 translation project.
25437 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25439 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25440 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25441 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25442 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25443 (clock_getcpuclockid): Likewise.
25444 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25445 Add weak_alias and libc_hidden_def.
25446 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25447 * rt/clock_gettime.c (clock_gettime): Rename to
25448 __clock_gettime. Add weak_alias and libc_hidden_def.
25449 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25450 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25451 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25452 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25453 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25455 * rt/clock_settime.c (clock_settime): Rename to
25456 __clock_settime. Add weak_alias and libc_hidden_def.
25457 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25459 2013-06-10 Joseph Myers <joseph@codesourcery.com>
25461 * mach/err_boot.sub: Remove trailing whitespace.
25462 * mach/err_ipc.sub: Likewise.
25463 * mach/err_mach.sub: Likewise.
25465 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25466 (ROUNDING_TESTS_double): Likewise.
25467 (ROUNDING_TESTS_long_double): Likewise.
25468 (ROUNDING_TESTS): Likewise.
25469 * math/libm-test.inc: Include <math-tests.h>.
25470 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25471 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25472 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25473 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25475 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25477 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25480 2013-06-08 Joseph Myers <joseph@codesourcery.com>
25482 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25483 otherwise empty TRANS lines.
25484 * sysdeps/gnu/errlist.c: Regenerated.
25486 * catgets/gencat.c (error_print): Use (void) in function
25488 * crypt/crypt_util.c (__init_des): Likewise.
25489 * crypt/speeds.c (Stop): Likewise.
25491 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25492 * inet/ruserpass.c (token): Likewise.
25493 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25494 * intl/localealias.c (extend_alias_table): Likewise.
25495 * intl/plural-exp.c (init_germanic_plural): Likewise.
25496 * libio/fcloseall.c (__fcloseall): Likewise.
25497 * libio/genops.c (_IO_flush_all): Likewise.
25498 (_IO_flush_all_linebuffered): Likewise.
25499 (_IO_cleanup): Likewise.
25500 (_IO_iter_begin): Likewise.
25501 (_IO_iter_end): Likewise.
25502 (_IO_list_lock): Likewise.
25503 (_IO_list_unlock): Likewise.
25504 (_IO_list_resetlock): Likewise.
25505 * libio/getchar.c (getchar): Likewise.
25506 * libio/getchar_u.c (getchar_unlocked): Likewise.
25507 * libio/getwchar.c (getwchar): Likewise.
25508 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25509 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25510 * login/getpt.c (__getpt): Likewise.
25511 * login/tst-utmp.c (main): Likewise.
25512 * malloc/hooks.c (__malloc_check_init): Likewise.
25513 * malloc/malloc.c (__malloc_stats): Likewise.
25514 * malloc/mtrace.c (tr_break): Likewise.
25515 (mtrace): Likewise.
25516 (muntrace): Likewise.
25517 * misc/fstab.c (endfsent): Likewise.
25518 * misc/getclktck.c (__getclktck): Likewise.
25519 * misc/getdtsz.c (__getdtablesize): Likewise.
25520 * misc/gethostid.c (gethostid): Likewise.
25521 * misc/getpagesize.c (__getpagesize): Likewise.
25522 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25523 (__get_nprocs): Likewise.
25524 (__get_phys_pages): Likewise.
25525 (__get_avphys_pages): Likewise.
25526 * misc/getttyent.c (getttyent): Likewise.
25527 (setttyent): Likewise.
25528 (endttyent): Likewise.
25529 * misc/getusershell.c (getusershell): Likewise.
25530 (endusershell): Likewise.
25531 (setusershell): Likewise.
25532 (initshells): Likewise.
25533 * misc/hsearch.c (__hdestroy): Likewise.
25534 * misc/sync.c (sync): Likewise.
25535 * misc/syslog.c (closelog_internal): Likewise.
25536 (closelog): Likewise.
25537 * misc/ttyslot.c (ttyslot): Likewise.
25538 * misc/vhangup.c (vhangup): Likewise.
25539 * posix/fork.c (__fork): Likewise.
25540 * posix/getegid.c (__getegid): Likewise.
25541 * posix/geteuid.c (__geteuid): Likewise.
25542 * posix/getgid.c (__getgid): Likewise.
25543 * posix/getpid.c (__getpid): Likewise.
25544 * posix/getppid.c (__getppid): Likewise.
25545 * posix/getuid.c (__getuid): Likewise.
25546 * posix/pause.c (pause): Likewise.
25547 * posix/setpgrp.c (setpgrp): Likewise.
25548 * posix/setsid.c (__setsid): Likewise.
25549 * posix/test-vfork.c (noop): Likewise.
25550 * resolv/gethnamaddr.c (_endhtent): Likewise.
25551 (_gethtent): Likewise.
25552 (ht_endhostent): Likewise.
25553 (gethostent): Likewise.
25554 (dns_service): Likewise.
25555 * stdlib/drand48.c (drand48): Likewise.
25556 * stdlib/lrand48.c (lrand48): Likewise.
25557 * stdlib/mrand48.c (mrand48): Likewise.
25558 * stdlib/rand.c (rand): Likewise.
25559 * stdlib/random.c (__random): Likewise.
25560 * stdlib/setenv.c (clearenv): Likewise.
25561 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25562 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25563 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25564 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25565 (__get_nprocs): Likewise.
25566 (__get_phys_pages): Likewise.
25567 (__get_avphys_pages): Likewise.
25568 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25569 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25570 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25571 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25572 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25573 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25574 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25575 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25576 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25577 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25578 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25579 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25580 * sysdeps/posix/clock.c (clock): Likewise.
25581 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25582 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25583 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25584 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25585 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25587 (__get_nprocs_conf): Likewise.
25588 (__get_phys_pages): Likewise.
25589 (__get_avphys_pages): Likewise.
25590 * time/clock.c (clock): Likewise.
25591 * time/tzset.c (__tzname_max): Likewise.
25593 2013-06-07 Joseph Myers <joseph@codesourcery.com>
25595 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25596 (__bswap_32): Do not use "register".
25597 * crypt/crypt.c (_ufc_doit_r): Likewise.
25598 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25599 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25600 * gmon/gmon.c (__monstartup): Likewise.
25601 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25602 * hurd/hurdmalloc.c (more_memory): Likewise.
25603 (malloc): Likewise.
25605 (realloc): Likewise.
25606 (malloc_fork_prepare): Likewise.
25607 (malloc_fork_parent): Likewise.
25608 (malloc_fork_child): Likewise.
25609 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25610 (_svcauth_des): Likewise.
25611 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25612 * inet/inet_net.c (inet_network): Likewise.
25613 * inet/inet_netof.c (inet_netof): Likewise.
25614 * inet/rcmd.c (__validuser2_sa): Likewise.
25615 * io/fts.c (fts_open): Likewise.
25616 (fts_load): Likewise.
25617 (fts_close): Likewise.
25618 (fts_read): Likewise.
25619 (fts_children): Likewise.
25620 (fts_build): Likewise.
25621 (fts_stat): Likewise.
25622 (fts_sort): Likewise.
25623 (fts_alloc): Likewise.
25624 (fts_lfree): Likewise.
25625 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25626 (_IO_file_xsgetn): Likewise.
25627 (_IO_file_xsgetn_mmap): Likewise.
25628 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25629 (_IO_cookie_write): Likewise.
25630 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25631 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25632 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25633 * malloc/obstack.c (_obstack_begin): Likewise.
25634 (_obstack_begin_1): Likewise.
25635 (_obstack_newchunk): Likewise.
25636 (_obstack_allocated_p): Likewise.
25637 (obstack_free): Likewise.
25638 (_obstack_memory_used): Likewise.
25639 * misc/getttyent.c (getttynam): Likewise.
25640 (getttyent): Likewise.
25643 * misc/getusershell.c (initshells): Likewise.
25644 * misc/syslog.c (__vsyslog_chk): Likewise.
25645 * misc/ttyslot.c (ttyslot): Likewise.
25646 * nis/nis_hash.c (__nis_hash): Likewise.
25647 * posix/fnmatch_loop.c (FCT): Likewise.
25648 * posix/getconf.c (print_all): Likewise.
25650 * posix/getopt.c (exchange): Likewise.
25651 * posix/glob.c (globfree): Likewise.
25652 (prefix_array): Likewise.
25653 (__glob_pattern_type): Likewise.
25654 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25655 (NS_GET32): Likewise.
25656 (NS_PUT16): Likewise.
25657 (NS_PUT32): Likewise.
25658 * resolv/gethnamaddr.c (getanswer): Likewise.
25659 (gethostbyname2): Likewise.
25660 (gethostbyaddr): Likewise.
25661 (_gethtent): Likewise.
25662 (_gethtbyname2): Likewise.
25663 (_gethtbyaddr): Likewise.
25664 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25665 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25666 * resolv/res_init.c (__res_vinit): Likewise.
25667 (net_mask): Likewise.
25668 * resolv/res_mkquery.c (outchar): Likewise.
25670 * stdio-common/printf_fp.c (outchar): Likewise.
25672 * stdio-common/printf_fphex.c (outchar): Likewise.
25674 * stdio-common/printf_size.c (outchar): Likewise.
25676 * stdio-common/test_rdwr.c (main): Likewise.
25677 * stdio-common/tfformat.c (matches): Likewise.
25678 * stdio-common/vfprintf.c (outchar): Likewise.
25679 (printf_unknown): Likewise.
25680 (buffered_vfprintf): Likewise.
25681 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25682 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25683 (ReadFile): Likewise.
25684 * stdlib/qsort.c (SWAP): Likewise.
25685 (_quicksort): Likewise.
25686 * stdlib/setenv.c (__add_to_environ): Likewise.
25687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25688 * stdlib/strtol_l.c (__strtol_l): Likewise.
25689 * stdlib/tst-strtod.c (main): Likewise.
25690 * stdlib/tst-strtol.c (main): Likewise.
25691 * stdlib/tst-strtoll.c (main): Likewise.
25692 * string/bits/string2.h (__strcmp_cc): Likewise.
25693 (__strcmp_cg): Likewise.
25694 (__strcspn_c1): Likewise.
25695 (__strcspn_c2): Likewise.
25696 (__strcspn_c3): Likewise.
25697 (__strspn_c1): Likewise.
25698 (__strspn_c2): Likewise.
25699 (__strspn_c3): Likewise.
25700 (__strsep_1c): Likewise.
25701 (__strsep_2c): Likewise.
25702 (__strsep_3c): Likewise.
25703 * string/memccpy.c (__memccpy): Likewise.
25704 * string/stpcpy.c (__stpcpy): Likewise.
25705 * string/strcmp.c (strcmp): Likewise.
25706 * string/strrchr.c (strrchr): Likewise.
25707 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25709 * sysdeps/mach/hurd/getcwd.c
25710 (_hurd_canonicalize_directory_name_internal): Likewise.
25711 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25712 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25713 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25714 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25715 Likewise, in both definitions.
25716 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25718 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25719 64] (__bswap_64): Likewise.
25720 * time/test_time.c (main): Likewise.
25721 * time/tzfile.c (__tzfile_read): Likewise.
25722 (__tzfile_compute): Likewise.
25723 * time/tzset.c (__tzset_parse_tz): Likewise.
25724 (tzset_internal): Likewise.
25725 (compute_change): Likewise.
25726 * wcsmbs/wcscat.c (__wcscat): Likewise.
25727 * wcsmbs/wcschr.c (wcschr): Likewise.
25728 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25729 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25730 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25731 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25732 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25733 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25734 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25735 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25736 * wcsmbs/wmemset.c (wmemset): Likewise.
25738 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25740 * scripts/config.guess: Update to version 2013-05-16.
25741 * scripts/config.sub: Update to version 2013-04-24.
25742 * scripts/install-sh: Update to version 2011-11-20.07.
25743 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25744 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25746 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25748 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25749 * elf/sln.c: Likewise.
25750 * hurd/hurd/ioctl.h: Likewise.
25751 * hurd/hurdmalloc.c: Likewise.
25752 * hurd/xattr.c: Likewise.
25753 * include/shlib-compat.h: Likewise.
25754 * inet/ruserpass.c: Likewise.
25755 * libio/iofgets_u.c: Likewise.
25756 * libio/iofgetws_u.c: Likewise.
25757 * locale/programs/ld-identification.c: Likewise.
25758 * locale/programs/ld-time.c: Likewise.
25759 * mach/msg-destroy.c: Likewise.
25760 * nss/nss_files/files-netgrp.c: Likewise.
25761 * resolv/res_data.c: Likewise.
25762 * soft-fp/op-1.h: Likewise.
25763 * soft-fp/op-2.h: Likewise.
25764 * soft-fp/op-4.h: Likewise.
25765 * soft-fp/op-common.h: Likewise.
25766 * stdio-common/printf_fphex.c: Likewise.
25767 * stdlib/strtod_l.c: Likewise.
25768 * sunrpc/rpc/clnt.h: Likewise.
25769 * sysdeps/generic/framestate.c: Likewise.
25770 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25771 * sysdeps/i386/bsd-setjmp.S: Likewise.
25772 * sysdeps/i386/__longjmp.S: Likewise.
25773 * sysdeps/i386/setjmp.S: Likewise.
25774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25775 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25776 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25779 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25781 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25782 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25783 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25784 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25785 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25786 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25787 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25788 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25790 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25791 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25792 * sysdeps/ieee754/support.c: Likewise.
25793 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25794 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25795 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25796 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25797 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25798 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25799 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25800 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25801 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25802 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25803 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25804 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25805 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25806 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25807 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25808 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25809 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25812 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25814 * posix/transbug.c: Remove executable mode.
25816 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25818 * crypt/speeds.c: Remove trailing whitespace.
25819 * dlfcn/default.c: Likewise.
25820 * elf/ifuncdep2.c: Likewise.
25821 * elf/ifuncmain1.c: Likewise.
25822 * elf/ifuncmain1vis.c: Likewise.
25823 * elf/testobj.h: Likewise.
25824 * elf/tst-stackguard1.c: Likewise.
25825 * gmon/sys/gmon.h: Likewise.
25826 * hurd/hurdmsg.c: Likewise.
25827 * hurd/new-fd.c: Likewise.
25828 * hurd/ports-get.c: Likewise.
25829 * iconvdata/ibm1008_420.c: Likewise.
25830 * inet/tst-getni1.c: Likewise.
25831 * inet/tst-getni2.c: Likewise.
25832 * libio/ioungetc.c: Likewise.
25833 * libio/wfiledoalloc.c: Likewise.
25834 * manual/libm-err-tab.pl: Likewise.
25835 * math/w_dremf.c: Likewise.
25836 * misc/ftruncate.c: Likewise.
25837 * posix/bug-glob2.c: Likewise.
25838 * posix/tst-pcre.c: Likewise.
25839 * posix/wait4.c: Likewise.
25840 * resolv/README: Likewise.
25841 * resolv/res_debug.h: Likewise.
25842 * resolv/tst-inet_ntop.c: Likewise.
25843 * setjmp/bug269-setjmp.c: Likewise.
25844 * soft-fp/extended.h: Likewise.
25845 * soft-fp/op-1.h: Likewise.
25846 * soft-fp/op-2.h: Likewise.
25847 * soft-fp/op-4.h: Likewise.
25848 * soft-fp/op-8.h: Likewise.
25849 * soft-fp/testit.c: Likewise.
25850 * stdio-common/bug16.c: Likewise.
25851 * stdlib/random.c: Likewise.
25852 * sunrpc/rpcsvc/rquota.x: Likewise.
25853 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25854 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25855 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25856 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25857 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25858 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25859 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25860 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25861 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25862 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25863 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25864 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25865 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25866 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25867 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25869 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25871 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25874 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25875 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25876 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25877 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25878 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25880 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25882 * sysdeps/ieee754/s_lib_version.c: Likewise.
25883 * sysdeps/mach/hurd/check_fds.c: Likewise.
25884 * sysdeps/mach/hurd/getsockname.c: Likewise.
25885 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25886 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25887 * sysdeps/powerpc/bits/link.h: Likewise.
25888 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25889 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25890 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25891 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25892 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25893 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25894 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25895 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25896 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25897 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25898 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25899 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25900 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25901 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25902 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25903 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25904 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25907 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25908 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25909 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25910 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25911 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25912 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25913 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25915 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25920 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25922 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25923 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25924 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25925 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25926 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25927 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25928 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25929 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25930 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25931 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25932 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25933 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25934 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25935 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25936 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25937 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25940 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25941 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25942 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25943 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25944 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25945 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25946 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25947 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25948 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25949 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25950 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25951 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25952 * sysdeps/powerpc/sysdep.h: Likewise.
25953 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25954 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25955 * sysdeps/sh/dl-trampoline.S: Likewise.
25956 * sysdeps/sh/memset.S: Likewise.
25957 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25958 * sysdeps/sh/strlen.S: Likewise.
25959 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25960 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25961 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25962 * sysdeps/sparc/sparc32/rem.S: Likewise.
25963 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25964 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25965 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25966 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25967 * sysdeps/sparc/sparc32/urem.S: Likewise.
25968 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25969 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25970 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25971 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25972 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25973 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25974 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25975 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25976 * sysdeps/unix/bsd/times.c: Likewise.
25977 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25978 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25982 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25983 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25984 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25985 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25986 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25987 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25988 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25989 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25990 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25991 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25992 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25993 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25994 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25995 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25996 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25997 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25998 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25999 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26000 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26001 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26002 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26003 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26005 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26006 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26007 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26008 * sysdeps/x86_64/strcspn.S: Likewise.
26010 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26012 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26013 generated file. Regenerate properly from gen-translit.pl.
26014 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26015 locale/C-translit.h.
26017 2013-06-05 Andreas Schwab <schwab@suse.de>
26020 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26021 week as 6 instead of -1.
26022 * time/tst-strptime.c (day_tests): Add test case.
26024 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26026 * sysdeps/generic/math_private.h
26027 (libc_feholdexcept_setround_53bit): Replace with
26028 libc_feholdsetround_53bit.
26029 (libc_feupdateenv_53bit): Replace with
26030 libc_feresetround_53bit.
26031 (SET_RESTORE_ROUND_53BIT): Adjust.
26033 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26035 * string/test-strchrnul.c: Add copyright header.
26037 * posix/tst-getaddrinfo4.c: Increase test timeout.
26039 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26042 * math/libm-test.inc (MAX_EXP): Remove
26044 (ulp): Use MIN_EXP - MANT_DIG.
26045 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26047 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26049 * po/be.po: Revert last change.
26050 * po/zh_CN.po: Likewise.
26051 * po/header.pot: Likewise.
26053 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26055 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26056 link-libc-deps to empty as target-specific variable.
26057 * Makerules (link-libc-args): New variable.
26058 (libc-for-link): Likewise.
26059 (link-libc-deps): Likewise.
26060 (lib%.so): Depend on $(link-libc-deps). Link with
26062 (build-module): Link with $(link-libc-args).
26063 (build-module-asneeded): Likewise.
26064 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26066 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26067 target-specific variable.
26068 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26069 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26070 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26072 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26074 ($(objpfx)libpcprofile.so): Likewise.
26075 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26077 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26078 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26079 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26081 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26082 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26083 * login/Makefile ($(objpfx)libutil.so): Likewise.
26084 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26085 * math/Makefile ($(objpfx)libm.so): Likewise.
26086 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26087 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26088 variable instead of depending directly on libc.
26089 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26090 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26092 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26094 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26095 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26096 ($(objpfx)libanl.so): Likewise.
26097 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26099 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26101 * sysdeps/i386/fpu/Makefile: Remove file.
26102 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26103 ($(objpfx)libm.so): Remove dependency on ld.so.
26105 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26108 * nis/yp_xdr.c (XDRMAXNAME): Define.
26109 (XDRMAXRECORD): Define.
26110 (xdr_domainname): Use XDRMAXNAME.
26111 (xdr_mapname): Likewise.
26112 (xdr_peername): Likewise.
26113 (xdr_keydat): Use XDRMAXRECORD.
26114 (xdr_valdat): Likewise.
26116 2013-05-30 Jeff Law <law@redhat.com>
26119 * manual/errno.texi (ESTALE): Update to account for more than
26120 just NFS file systems.
26121 * sysdeps/gnu/errlist.c: Regenerated.
26123 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26126 * elf/Makefile (tests): Add tst-null-argv.
26127 (modules-names): Add tst-null-argv-lib.
26128 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26129 (tst-null-argv-ENV): Set environment for tst-null-argv.
26130 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26131 (RTLD_PROGNAME): New macro.
26132 * elf/tst-null-argv.c: New test case.
26133 * elf/tst-null-argv-lib.c: Library for test case.
26134 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26135 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26136 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26137 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26138 * elf/dl-init.c (call_init): Likewise.
26139 (_dl_init): Likewise.
26140 * elf/dl-load.c (print_search_path): Likewise.
26141 (_dl_map_object): Likewise.
26142 * elf/dl-lookup.c (do_lookup_x): Likewise.
26143 (add_dependency): Likewise.
26144 (_dl_lookup_symbol_x): Likewise.
26145 (_dl_debug_bindings): Likewise.
26146 * elf/dl-open.c (_dl_show_scope): Likewise.
26147 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26148 * elf/dl-version.c (match_symbol): Likewise.
26149 (_dl_check_map_versions): Likewise.
26150 * elf/rtld.c (dl_main): Likewise.
26151 (print_unresolved): Use RTLD_PROGNAME.
26152 (print_missing_version): Likewise.
26153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26154 (elf_machine_rela): Likewise.
26155 * sysdeps/powerpc/powerpc32/dl-machine.c
26156 (__process_machine_rela): Likewise.
26157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26159 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26161 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26163 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26164 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26170 2013-05-28 Carlos O'Donell <carlos@redhat.com>
26172 * po/be.po: Add descriptive title.
26173 * po/zh_CN.po: Likewise.
26174 * po/header.pot: Likewise.
26176 2013-05-28 Mike Frysinger <vapier@gentoo.org>
26178 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26180 (enlarge_archive): Likewise.
26182 2013-05-28 Ben North <ben@redfrontdoor.org>
26184 * manual/arith.texi (frexp): It is the magnitude of the return
26185 value which lies in [0.5, 1), not the return value itself.
26187 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26191 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26193 * stdio-common/bug26.c (main): Correct fscanf template.
26195 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26196 declare _dl_skip_args.
26198 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26201 * manual/platform.texi: Add missing @end deftypefun.
26203 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26206 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26207 bit of mantissa of 2^16382.
26208 * math/libm-test.inc (hypot_test_data): Add more tests.
26210 * math/libm-test.inc: Add drem and pow10 to list of tested
26212 (pow10_test): New function.
26213 (drem_test): Likewise.
26214 (drem_test_tonearest): Likewise.
26215 (drem_test_towardzero): Likewise.
26216 (drem_test_downward): Likewise.
26217 (drem_test_upward): Likewise.
26218 (main): Call the new functions.
26220 * math/libm-test.inc (finite_test_data): Remove.
26221 (finite_test): Run tests from isfinite_test_data.
26222 (gamma_test_data): Remove.
26223 (gamma_test): Run tests from lgamma_test_data.
26224 * sysdeps/i386/fpu/libm-test-ulps: Update.
26225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26227 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26229 * manual/platform.texi: Add PowerPC PPR function set documentation.
26230 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26233 2013-05-24 Carlos O'Donell <carlos@redhat.com>
26235 * math/libm-test.inc (MAX_EXP): Define.
26237 (ulp): New function.
26238 (check_float_internal): Use ULPDIFF.
26239 (cpow_test): Disable failing test.
26240 (check_ulp): Test ulp() implemetnation.
26241 (main): Call check_ulp before starting tests.
26243 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26245 * math/gen-libm-test.pl (generate_testfile): Do not handle
26246 START_DATA and END_DATA.
26247 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26249 (acos_tonearest_test_data): Likewise.
26250 (acos_towardzero_test_data): Likewise.
26251 (acos_downward_test_data): Likewise.
26252 (acos_upward_test_data): Likewise.
26253 (acosh_test_data): Likewise.
26254 (asin_test_data): Likewise.
26255 (asin_tonearest_test_data): Likewise.
26256 (asin_towardzero_test_data): Likewise.
26257 (asin_downward_test_data): Likewise.
26258 (asin_upward_test_data): Likewise.
26259 (asinh_test_data): Likewise.
26260 (atan_test_data): Likewise.
26261 (atanh_test_data): Likewise.
26262 (atan2_test_data): Likewise.
26263 (cabs_test_data): Likewise.
26264 (cacos_test_data): Likewise.
26265 (cacosh_test_data): Likewise.
26266 (carg_test_data): Likewise.
26267 (casin_test_data): Likewise.
26268 (casinh_test_data): Likewise.
26269 (catan_test_data): Likewise.
26270 (catanh_test_data): Likewise.
26271 (cbrt_test_data): Likewise.
26272 (ccos_test_data): Likewise.
26273 (ccosh_test_data): Likewise.
26274 (ceil_test_data): Likewise.
26275 (cexp_test_data): Likewise.
26276 (cimag_test_data): Likewise.
26277 (clog_test_data): Likewise.
26278 (clog10_test_data): Likewise.
26279 (conj_test_data): Likewise.
26280 (copysign_test_data): Likewise.
26281 (cos_test_data): Likewise.
26282 (cos_tonearest_test_data): Likewise.
26283 (cos_towardzero_test_data): Likewise.
26284 (cos_downward_test_data): Likewise.
26285 (cos_upward_test_data): Likewise.
26286 (cosh_test_data): Likewise.
26287 (cosh_tonearest_test_data): Likewise.
26288 (cosh_towardzero_test_data): Likewise.
26289 (cosh_downward_test_data): Likewise.
26290 (cosh_upward_test_data): Likewise.
26291 (cpow_test_data): Likewise.
26292 (cproj_test_data): Likewise.
26293 (creal_test_data): Likewise.
26294 (csin_test_data): Likewise.
26295 (csinh_test_data): Likewise.
26296 (csqrt_test_data): Likewise.
26297 (ctan_test_data): Likewise.
26298 (ctan_tonearest_test_data): Likewise.
26299 (ctan_towardzero_test_data): Likewise.
26300 (ctan_downward_test_data): Likewise.
26301 (ctan_upward_test_data): Likewise.
26302 (ctanh_test_data): Likewise.
26303 (ctanh_tonearest_test_data): Likewise.
26304 (ctanh_towardzero_test_data): Likewise.
26305 (ctanh_downward_test_data): Likewise.
26306 (ctanh_upward_test_data): Likewise.
26307 (erf_test_data): Likewise.
26308 (erfc_test_data): Likewise.
26309 (exp_test_data): Likewise.
26310 (exp_tonearest_test_data): Likewise.
26311 (exp_towardzero_test_data): Likewise.
26312 (exp_downward_test_data): Likewise.
26313 (exp_upward_test_data): Likewise.
26314 (exp10_test_data): Likewise.
26315 (exp2_test_data): Likewise.
26316 (expm1_test_data): Likewise.
26317 (fabs_test_data): Likewise.
26318 (fdim_test_data): Likewise.
26319 (finite_test_data): Likewise.
26320 (floor_test_data): Likewise.
26321 (fma_test_data): Likewise.
26322 (fma_towardzero_test_data): Likewise.
26323 (fma_downward_test_data): Likewise.
26324 (fma_upward_test_data): Likewise.
26325 (fmax_test_data): Likewise.
26326 (fmin_test_data): Likewise.
26327 (fmod_test_data): Likewise.
26328 (fpclassify_test_data): Likewise.
26329 (frexp_test_data): Likewise.
26330 (gamma_test_data): Likewise.
26331 (hypot_test_data): Likewise.
26332 (ilogb_test_data): Likewise.
26333 (isfinite_test_data): Likewise.
26334 (isgreater_test_data): Likewise.
26335 (isgreaterequal_test_data): Likewise.
26336 (isinf_test_data): Likewise.
26337 (isless_test_data): Likewise.
26338 (islessequal_test_data): Likewise.
26339 (islessgreater_test_data): Likewise.
26340 (isnan_test_data): Likewise.
26341 (isnormal_test_data): Likewise.
26342 (issignaling_test_data): Likewise.
26343 (isunordered_test_data): Likewise.
26344 (j0_test_data): Likewise.
26345 (j1_test_data): Likewise.
26346 (jn_test_data): Likewise.
26347 (ldexp_test_data): Likewise.
26348 (lgamma_test_data): Likewise.
26349 (lrint_test_data): Likewise.
26350 (lrint_tonearest_test_data): Likewise.
26351 (lrint_towardzero_test_data): Likewise.
26352 (lrint_downward_test_data): Likewise.
26353 (lrint_upward_test_data): Likewise.
26354 (llrint_test_data): Likewise.
26355 (llrint_tonearest_test_data): Likewise.
26356 (llrint_towardzero_test_data): Likewise.
26357 (llrint_downward_test_data): Likewise.
26358 (llrint_upward_test_data): Likewise.
26359 (log_test_data): Likewise.
26360 (log10_test_data): Likewise.
26361 (log1p_test_data): Likewise.
26362 (log2_test_data): Likewise.
26363 (logb_test_data): Likewise.
26364 (logb_downward_test_data): Likewise.
26365 (lround_test_data): Likewise.
26366 (llround_test_data): Likewise.
26367 (modf_test_data): Likewise.
26368 (nearbyint_test_data): Likewise.
26369 (nextafter_test_data): Likewise.
26370 (nexttoward_test_data): Likewise.
26371 (pow_test_data): Likewise.
26372 (pow_tonearest_test_data): Likewise.
26373 (pow_towardzero_test_data): Likewise.
26374 (pow_downward_test_data): Likewise.
26375 (pow_upward_test_data): Likewise.
26376 (remainder_test_data): Likewise.
26377 (remainder_tonearest_test_data): Likewise.
26378 (remainder_towardzero_test_data): Likewise.
26379 (remainder_downward_test_data): Likewise.
26380 (remainder_upward_test_data): Likewise.
26381 (remquo_test_data): Likewise.
26382 (rint_test_data): Likewise.
26383 (rint_tonearest_test_data): Likewise.
26384 (rint_towardzero_test_data): Likewise.
26385 (rint_downward_test_data): Likewise.
26386 (rint_upward_test_data): Likewise.
26387 (round_test_data): Likewise.
26388 (scalb_test_data): Likewise.
26389 (scalbn_test_data): Likewise.
26390 (scalbln_test_data): Likewise.
26391 (signbit_test_data): Likewise.
26392 (sin_test_data): Likewise.
26393 (sin_tonearest_test_data): Likewise.
26394 (sin_towardzero_test_data): Likewise.
26395 (sin_downward_test_data): Likewise.
26396 (sin_upward_test_data): Likewise.
26397 (sincos_test_data): Likewise.
26398 (sinh_test_data): Likewise.
26399 (sinh_tonearest_test_data): Likewise.
26400 (sinh_towardzero_test_data): Likewise.
26401 (sinh_downward_test_data): Likewise.
26402 (sinh_upward_test_data): Likewise.
26403 (sqrt_test_data): Likewise.
26404 (tan_test_data): Likewise.
26405 (tan_tonearest_test_data): Likewise.
26406 (tan_towardzero_test_data): Likewise.
26407 (tan_downward_test_data): Likewise.
26408 (tan_upward_test_data): Likewise.
26409 (tanh_test_data): Likewise.
26410 (tgamma_test_data): Likewise.
26411 (trunc_test_data): Likewise.
26412 (y0_test_data): Likewise.
26413 (y1_test_data): Likewise.
26414 (yn_test_data): Likewise.
26415 (significand_test_data): Likewise.
26417 * math/gen-libm-test.pl (@functions): Remove variable.
26418 (generate_testfile): Don't handle START and END lines.
26419 * math/libm-test.inc (START): New macro.
26421 (END_COMPLEX): Likewise.
26422 (acos_test): Use END macro without arguments.
26423 (acos_test_tonearest): Likewise.
26424 (acos_test_towardzero): Likewise.
26425 (acos_test_downward): Likewise.
26426 (acos_test_upward): Likewise.
26427 (acosh_test): Likewise.
26428 (asin_test): Likewise.
26429 (asin_test_tonearest): Likewise.
26430 (asin_test_towardzero): Likewise.
26431 (asin_test_downward): Likewise.
26432 (asin_test_upward): Likewise.
26433 (asinh_test): Likewise.
26434 (atan_test): Likewise.
26435 (atanh_test): Likewise.
26436 (atan2_test): Likewise.
26437 (cabs_test): Likewise.
26438 (cacos_test): Use END_COMPLEX macro without arguments.
26439 (cacosh_test): Likewise.
26440 (carg_test): Use END macro without arguments.
26441 (casin_test): Use END_COMPLEX macro without arguments.
26442 (casinh_test): Likewise.
26443 (catan_test): Likewise.
26444 (catanh_test): Likewise.
26445 (cbrt_test): Use END macro without arguments.
26446 (ccos_test): Use END_COMPLEX macro without arguments.
26447 (ccosh_test): Likewise.
26448 (ceil_test): Use END macro without arguments.
26449 (cexp_test): Use END_COMPLEX macro without arguments.
26450 (cimag_test): Use END macro without arguments.
26451 (clog_test): Use END_COMPLEX macro without arguments.
26452 (clog10_test): Likewise.
26453 (conj_test): Likewise.
26454 (copysign_test): Use END macro without arguments.
26455 (cos_test): Likewise.
26456 (cos_test_tonearest): Likewise.
26457 (cos_test_towardzero): Likewise.
26458 (cos_test_downward): Likewise.
26459 (cos_test_upward): Likewise.
26460 (cosh_test): Likewise.
26461 (cosh_test_tonearest): Likewise.
26462 (cosh_test_towardzero): Likewise.
26463 (cosh_test_downward): Likewise.
26464 (cosh_test_upward): Likewise.
26465 (cpow_test): Use END_COMPLEX macro without arguments.
26466 (cproj_test): Likewise.
26467 (creal_test): Use END macro without arguments.
26468 (csin_test): Use END_COMPLEX macro without arguments.
26469 (csinh_test): Likewise.
26470 (csqrt_test): Likewise.
26471 (ctan_test): Likewise.
26472 (ctan_test_tonearest): Likewise.
26473 (ctan_test_towardzero): Likewise.
26474 (ctan_test_downward): Likewise.
26475 (ctan_test_upward): Likewise.
26476 (ctanh_test): Likewise.
26477 (ctanh_test_tonearest): Likewise.
26478 (ctanh_test_towardzero): Likewise.
26479 (ctanh_test_downward): Likewise.
26480 (ctanh_test_upward): Likewise.
26481 (erf_test): Use END macro without arguments.
26482 (erfc_test): Likewise.
26483 (exp_test): Likewise.
26484 (exp_test_tonearest): Likewise.
26485 (exp_test_towardzero): Likewise.
26486 (exp_test_downward): Likewise.
26487 (exp_test_upward): Likewise.
26488 (exp10_test): Likewise.
26489 (exp2_test): Likewise.
26490 (expm1_test): Likewise.
26491 (fabs_test): Likewise.
26492 (fdim_test): Likewise.
26493 (finite_test): Likewise.
26494 (floor_test): Likewise.
26495 (fma_test): Likewise.
26496 (fma_test_towardzero): Likewise.
26497 (fma_test_downward): Likewise.
26498 (fma_test_upward): Likewise.
26499 (fmax_test): Likewise.
26500 (fmin_test): Likewise.
26501 (fmod_test): Likewise.
26502 (fpclassify_test): Likewise.
26503 (frexp_test): Likewise.
26504 (gamma_test): Likewise.
26505 (hypot_test): Likewise.
26506 (ilogb_test): Likewise.
26507 (isfinite_test): Likewise.
26508 (isgreater_test): Likewise.
26509 (isgreaterequal_test): Likewise.
26510 (isinf_test): Likewise.
26511 (isless_test): Likewise.
26512 (islessequal_test): Likewise.
26513 (islessgreater_test): Likewise.
26514 (isnan_test): Likewise.
26515 (isnormal_test): Likewise.
26516 (issignaling_test): Likewise.
26517 (isunordered_test): Likewise.
26518 (j0_test): Likewise.
26519 (j1_test): Likewise.
26520 (jn_test): Likewise.
26521 (ldexp_test): Likewise.
26522 (lgamma_test): Likewise.
26523 (lrint_test): Likewise.
26524 (lrint_test_tonearest): Likewise.
26525 (lrint_test_towardzero): Likewise.
26526 (lrint_test_downward): Likewise.
26527 (lrint_test_upward): Likewise.
26528 (llrint_test): Likewise.
26529 (llrint_test_tonearest): Likewise.
26530 (llrint_test_towardzero): Likewise.
26531 (llrint_test_downward): Likewise.
26532 (llrint_test_upward): Likewise.
26533 (log_test): Likewise.
26534 (log10_test): Likewise.
26535 (log1p_test): Likewise.
26536 (log2_test): Likewise.
26537 (logb_test): Likewise.
26538 (logb_test_downward): Likewise.
26539 (lround_test): Likewise.
26540 (llround_test): Likewise.
26541 (modf_test): Likewise.
26542 (nearbyint_test): Likewise.
26543 (nextafter_test): Likewise.
26544 (nexttoward_test): Likewise.
26545 (pow_test): Likewise.
26546 (pow_test_tonearest): Likewise.
26547 (pow_test_towardzero): Likewise.
26548 (pow_test_downward): Likewise.
26549 (pow_test_upward): Likewise.
26550 (remainder_test): Likewise.
26551 (remainder_test_tonearest): Likewise.
26552 (remainder_test_towardzero): Likewise.
26553 (remainder_test_downward): Likewise.
26554 (remainder_test_upward): Likewise.
26555 (remquo_test): Likewise.
26556 (rint_test): Likewise.
26557 (rint_test_tonearest): Likewise.
26558 (rint_test_towardzero): Likewise.
26559 (rint_test_downward): Likewise.
26560 (rint_test_upward): Likewise.
26561 (round_test): Likewise.
26562 (scalb_test): Likewise.
26563 (scalbn_test): Likewise.
26564 (scalbln_test): Likewise.
26565 (signbit_test): Likewise.
26566 (sin_test): Likewise.
26567 (sin_test_tonearest): Likewise.
26568 (sin_test_towardzero): Likewise.
26569 (sin_test_downward): Likewise.
26570 (sin_test_upward): Likewise.
26571 (sincos_test): Likewise.
26572 (sinh_test): Likewise.
26573 (sinh_test_tonearest): Likewise.
26574 (sinh_test_towardzero): Likewise.
26575 (sinh_test_downward): Likewise.
26576 (sinh_test_upward): Likewise.
26577 (sqrt_test): Likewise.
26578 (tan_test): Likewise.
26579 (tan_test_tonearest): Likewise.
26580 (tan_test_towardzero): Likewise.
26581 (tan_test_downward): Likewise.
26582 (tan_test_upward): Likewise.
26583 (tanh_test): Likewise.
26584 (tgamma_test): Likewise.
26585 (trunc_test): Likewise.
26586 (y0_test): Likewise.
26587 (y1_test): Likewise.
26588 (yn_test): Likewise.
26589 (significand_test): Likewise.
26591 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
26594 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26596 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26599 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26600 __ppc_mdoio and __ppc_mdoom.
26601 * manual/platform.texi: Document new functions __ppc_yield,
26602 __ppc_mdoio and __ppc_mdoom.
26604 2013-05-22 Carlos O'Donell <carlos@redhat.com>
26606 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26607 (main): Mention "tls" pseudo-hwcap is legacy.
26608 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26610 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26612 * math/gen-libm-test.pl (parse_args): Output only string of
26613 arguments as text for test name, not full call or descriptions of
26614 tests for extra outputs.
26615 (generate_testfile): Do not pass function name to parse_args.
26616 Generate this_func variable from START.
26617 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26619 (struct test_ff_f_data): Likewise.
26620 (test_ff_f_data_nexttoward): Likewise.
26621 (struct test_fi_f_data): Likewise.
26622 (struct test_fl_f_data): Likewise.
26623 (struct test_if_f_data): Likewise.
26624 (struct test_fff_f_data): Likewise.
26625 (struct test_c_f_data): Likewise.
26626 (struct test_f_f1_data): Likewise. Remove field extra_name.
26627 (struct test_fF_f1_data): Likewise.
26628 (struct test_ffI_f1_data): Likewise.
26629 (struct test_c_c_data): Rename test_name field to arg_str.
26630 (struct test_cc_c_data): Likewise.
26631 (struct test_f_i_data): Likewise.
26632 (struct test_ff_i_data): Likewise.
26633 (struct test_f_l_data): Likewise.
26634 (struct test_f_L_data): Likewise.
26635 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26637 (COMMON_TEST_SETUP): New macro.
26638 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26639 (COMMON_TEST_CLEANUP): Likewise.
26640 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26641 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26643 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26644 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26646 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26647 (RUN_TEST_fff_f): Take argument string. Call new setup and
26649 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26650 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26652 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26653 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26655 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26656 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26658 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26659 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26661 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26662 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26664 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26665 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26667 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26668 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26670 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26671 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26673 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26674 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26676 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26677 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26679 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26680 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26682 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26683 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26685 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26686 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26688 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26689 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26691 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26692 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26694 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26696 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26698 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26699 to _sifields.sigfault.
26700 (si_addr_lsb): Define new macro.
26701 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26702 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26703 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26705 2013-05-03 Carlos O'Donell <carlos at redhat.com>
26708 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26710 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26712 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26713 loading the domain.
26715 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26717 * math/gen-libm-test.pl (parse_args): Do not include expected
26718 result in test name.
26719 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26720 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26721 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26722 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26723 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26726 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26728 * benchtests/Makefile: Sort function entries.
26730 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26731 tanh, asinh, acosh, atanh.
26732 * benchtests/acos-inputs: New file.
26733 * benchtests/acosh-inputs: New file.
26734 * benchtests/asin-inputs: New file.
26735 * benchtests/asinh-inputs: New file.
26736 * benchtests/atanh-inputs: New file.
26737 * benchtests/cosh-inputs: New file.
26738 * benchtests/log-inputs: New file.
26739 * benchtests/sinh-inputs: New file.
26740 * benchtests/tanh-inputs: New file.
26742 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26745 * posix/tst-getaddrinfo4.c: New test.
26746 * posix/Makefile (tests): Add it.
26748 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26751 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26752 when no services were used.
26753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26754 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26756 2013-05-21 Andreas Schwab <schwab@suse.de>
26759 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26760 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26762 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26763 redundant variable declarations and reallocation of buffer when
26764 parsing as IPv6 address. Always set NSS status when called from
26765 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26766 buffer too small. Correct computation of needed size.
26767 * nss/Makefile (tests): Add test-digits-dots.
26768 * nss/test-digits-dots.c: New test.
26770 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26772 * benchtests/Makefile: Remove instructions for adding
26774 * benchtests/README: New file to explain how to execute and
26775 enhance the benchmark tests.
26777 2013-05-21 Andreas Schwab <schwab@suse.de>
26780 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26781 * setjmp/tst-sigsetjmp.c: New test.
26783 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26785 * sysdeps/x86_64/memset.S (memset): New implementation.
26786 (__bzero): Likewise.
26787 (__memset_tail): New function.
26789 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26791 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26792 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26793 __memcpy_sse2_unaligned ifunc selection.
26794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26795 Add memcpy-sse2-unaligned.S.
26796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26797 Add: __memcpy_sse2_unaligned.
26799 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26802 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26803 math_force_eval before restoring floating-point envrionment.
26804 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26805 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26807 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26809 (__nearbyintl): Use math_force_eval before restoring
26810 floating-point environment.
26811 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26813 * math/gen-libm-test.pl (special_functions): Remove.
26814 (parse_args): Don't handle TEST_extra. Handle functions with no
26816 * math/libm-test.inc (struct test_sincos_data): Replace with
26817 struct test_fFF_11_data.
26818 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26819 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26820 (sincos_test_data): Change element type to struct
26821 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26822 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26823 RUN_TEST_LOOP_sincos.
26824 * math/README.libm-test: Don't mention special handling of
26825 individual functions.
26826 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26827 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26828 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26829 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26830 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26833 * math/gen-libm-test.pl (get_variable): Remove function.
26834 (parse_args): Don't show pointer parameters to call in test
26835 names. Use "extra output N" in test names for extra outputs
26836 rather than naming variables.
26838 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26841 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26842 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26843 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26845 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26847 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26850 * math/gen-libm-test.pl (@tests): Remove variable.
26851 ($count): Likewise.
26852 (new_test): Remove function.
26853 (show_exceptions): New function.
26854 (special_functions): Use show_exceptions instead of new_test.
26855 (parse_args): Likewise.
26856 (generate_testfile): Pass only function name in generated call to
26857 print_max_error or print_complex_max_error.
26858 (get_ulps): Do not handle complex tests specially.
26859 (output_test): Rename to ...
26860 (get_all_ulps_for_test): ... this. Return a string rather than
26861 printing to a file. Require ulps to be present.
26862 (output_ulps): Generate arrays rather than #defines.
26863 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26864 (struct ulp_data): New type.
26865 (BUILD_COMPLEX_ULP): Remove macro.
26866 (compare_ulp_data): New function.
26867 (find_ulps): Likewise.
26868 (find_test_ulps): Likewise.
26869 (find_function_ulps): Likewise.
26870 (find_complex_function_ulps): Likewise.
26871 (print_max_error): Determine allowed ulps using
26872 find_function_ulps.
26873 (print_complex_max_error): Determine allowed ulps using
26874 find_complex_function_ulps.
26875 (check_float_internal): Determine max ulps using find_test_ulps.
26876 (check_float): Do not take max_ulp parameter. Update call to
26877 check_float_internal.
26878 (check_complex): Likewise.
26879 (check_int): Do not take max_ulp parameter.
26880 (check_long): Likewise.
26881 (check_bool): Likewise.
26882 (check_longlong): Likewise.
26883 (struct test_f_f_data): Remove max_ulp field.
26884 (struct test_ff_f_data): Likewise.
26885 (struct test_ff_f_data_nexttoward): Likewise.
26886 (struct test_fi_f_data): Likewise.
26887 (struct test_fl_f_data): Likewise.
26888 (struct test_if_f_data): Likewise.
26889 (struct test_fff_f_data): Likewise.
26890 (struct test_c_f_data): Likewise.
26891 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26892 (struct test_fF_f1_data): Likewise.
26893 (struct test_ffI_f1_data): Likewise.
26894 (struct test_c_c_data): Remove max_ulp field.
26895 (struct test_cc_c_data): Likewise.
26896 (struct test_f_i_data): Likewise.
26897 (struct test_ff_i_data): Likewise.
26898 (struct test_f_l_data): Likewise.
26899 (struct test_f_L_data): Likewise.
26900 (struct test_sincos_data): Likewise.
26901 (RUN_TEST_f_f): Do not handle ulps.
26902 (RUN_TEST_LOOP_f_f): Likewise.
26903 (RUN_TEST_2_f): Likewise.
26904 (RUN_TEST_LOOP_2_f): Likewise.
26905 (RUN_TEST_fff_f): Likewise.
26906 (RUN_TEST_LOOP_fff_f): Likewise.
26907 (RUN_TEST_c_f): Likewise.
26908 (RUN_TEST_LOOP_c_f): Likewise.
26909 (RUN_TEST_f_f1): Likewise.
26910 (RUN_TEST_LOOP_f_f1): Likewise.
26911 (RUN_TEST_fF_f1): Likewise.
26912 (RUN_TEST_LOOP_fF_f1): Likewise.
26913 (RUN_TEST_fI_f1): Likewise.
26914 (RUN_TEST_LOOP_fI_f1): Likewise.
26915 (RUN_TEST_ffI_f1): Likewise.
26916 (RUN_TEST_LOOP_ffI_f1): Likewise.
26917 (RUN_TEST_c_c): Likewise.
26918 (RUN_TEST_LOOP_c_c): Likewise.
26919 (RUN_TEST_cc_c): Likewise.
26920 (RUN_TEST_LOOP_cc_c): Likewise.
26921 (RUN_TEST_f_i): Likewise.
26922 (RUN_TEST_LOOP_f_i): Likewise.
26923 (RUN_TEST_f_i_tg): Likewise.
26924 (RUN_TEST_LOOP_f_i_tg): Likewise.
26925 (RUN_TEST_ff_i_tg): Likewise.
26926 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26927 (RUN_TEST_f_b): Likewise.
26928 (RUN_TEST_LOOP_f_b): Likewise.
26929 (RUN_TEST_f_b_tg): Likewise.
26930 (RUN_TEST_LOOP_f_b_tg): Likewise.
26931 (RUN_TEST_f_l): Likewise.
26932 (RUN_TEST_LOOP_f_l): Likewise.
26933 (RUN_TEST_f_L): Likewise.
26934 (RUN_TEST_LOOP_f_L): Likewise.
26935 (RUN_TEST_sincos): Likewise.
26936 (RUN_TEST_LOOP_sincos): Likewise.
26938 2013-05-17 Joseph Myers <joseph@codesourcery.com>
26942 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26943 main case of finite arguments, set rounding mode to FE_TONEAREST
26944 and discard exceptions.
26945 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26947 (remainder_tonearest_test_data): New variable.
26948 (remainder_test_tonearest): New function.
26949 (remainder_towardzero_test_data): New variable.
26950 (remainder_test_towardzero): New function.
26951 (remainder_downward_test_data): New variable.
26952 (remainder_test_downward): New function.
26953 (remainder_upward_test_data): New variable.
26954 (remainder_test_upward): New function.
26955 (main): Call the new test functions.
26957 * math/libm-test.inc (struct test_f_f1_data): Remove field
26959 (struct test_fF_f1_data): Likewise.
26960 (struct test_ffI_f1_data): Likewise.
26961 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26962 based on value of EXTRA_EXPECTED.
26963 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26964 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26965 EXTRA_VAR based on value of EXTRA_EXPECTED.
26966 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26967 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26968 EXTRA_VAR based on value of EXTRA_EXPECTED.
26969 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26970 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26971 EXTRA_VAR based on value of EXTRA_EXPECTED.
26972 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26973 * math/gen-libm-test.pl (parse_args): Don't output initializers
26974 for extra output values.
26976 * math/libm-test.inc (check_int): Expect result to be exactly
26977 equal to expected value and do not handle ulps.
26978 (check_long): Likewise.
26979 (check_longlong): Likewise.
26981 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26983 (cimag_test_data): Likewise.
26984 (conj_test_data): Likewise.
26985 (copysign_test_data): Likewise.
26986 (cproj_test_data): Likewise.
26987 (creal_test_data): Likewise.
26988 (fabs_test_data): Likewise.
26989 (fdim_test_data): Likewise.
26990 (finite_test_data): Likewise.
26991 (floor_test_data): Likewise.
26992 (fmax_test_data): Likewise.
26993 (fmin_test_data): Likewise.
26994 (fmod_test_data): Likewise.
26995 (fpclassify_test_data): Likewise.
26996 (frexp_test_data): Likewise.
26997 (ilogb_test_data): Likewise.
26998 (isfinite_test_data): Likewise.
26999 (isgreater_test_data): Likewise.
27000 (isgreaterequal_test_data): Likewise.
27001 (isinf_test_data): Likewise.
27002 (isless_test_data): Likewise.
27003 (islessequal_test_data): Likewise.
27004 (islessgreater_test_data): Likewise.
27005 (isnan_test_data): Likewise.
27006 (isnormal_test_data): Likewise.
27007 (issignaling_test_data): Likewise.
27008 (isunordered_test_data): Likewise.
27009 (ldexp_test_data): Likewise.
27010 (lrint_test_data): Likewise.
27011 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27012 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27013 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27014 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27015 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27016 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27018 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27019 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27020 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27021 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27023 (lrint_downward_test_data): Test for "inexact" exceptions.
27024 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27025 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27026 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27028 (lrint_upward_test_data): Test for "inexact" exceptions.
27029 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27031 (llrint_test_data): Test for "inexact" exceptions.
27032 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27033 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27034 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27035 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27036 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27037 (llrint_downward_test_data): Test for "inexact" exceptions.
27038 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27039 (llrint_upward_test_data): Test for "inexact" exceptions.
27040 (logb_test_data): Likewise.
27041 (logb_downward_test_data): Likewise.
27042 (nextafter_test_data): Likewise.
27043 (nexttoward_test_data): Likewise.
27044 (remainder_test_data): Likewise.
27045 (remquo_test_data): Likewise.
27046 (scalbn_test_data): Likewise.
27047 (scalbln_test_data): Likewise.
27048 (signbit_test_data): Likewise.
27049 (sqrt_test_data): Likewise.
27050 (significand_test_data): Likewise.
27052 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27055 * benchtests/bench-modf.c (struct args): Mark arg0 as
27057 * scripts/bench.pl: Mark members of struct args as volatile.
27059 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27062 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27063 negative infinity on POWER6 or lower.
27064 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27066 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27069 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27070 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27071 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27072 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27073 (_FP_SETQNAN): New macro.
27074 (_FP_SETQNAN_SEMIRAW): Likewise.
27075 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27076 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27077 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27078 (FP_EXTEND): Use _FP_FRAC_SNANP.
27079 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27080 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27082 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27084 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27087 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27089 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27090 with DIVIDE_BY_ZERO_EXCEPTION.
27091 (gamma_test_data): Likewise.
27092 (lgamma_test_data): Likewise.
27093 (log_test_data): Likewise.
27094 (log10_test_data): Likewise.
27095 (log2_test_data): Likewise.
27096 (tgamma_test_data): Likewise.
27098 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27099 (acos_test_tonearest): Likewise.
27100 (acos_test_towardzero): Likewise.
27101 (acos_test_downward): Likewise.
27102 (acos_test_upward): Likewise.
27103 (acosh_test): Likewise.
27104 (asin_test): Likewise.
27105 (asin_test_tonearest): Likewise.
27106 (asin_test_towardzero): Likewise.
27107 (asin_test_downward): Likewise.
27108 (asin_test_upward): Likewise.
27109 (asinh_test): Likewise.
27110 (atan_test): Likewise.
27111 (atanh_test): Likewise.
27112 (atan2_test): Likewise.
27113 (cabs_test): Likewise.
27114 (cacos_test): Likewise.
27115 (cacosh_test): Likewise.
27116 (casin_test): Likewise.
27117 (casinh_test): Likewise.
27118 (catan_test): Likewise.
27119 (catanh_test): Likewise.
27120 (cbrt_test): Likewise.
27121 (ccos_test): Likewise.
27122 (ccosh_test): Likewise.
27123 (cexp_test): Likewise.
27124 (clog_test): Likewise.
27125 (clog10_test): Likewise.
27126 (cos_test): Likewise.
27127 (cos_test_tonearest): Likewise.
27128 (cos_test_towardzero): Likewise.
27129 (cos_test_downward): Likewise.
27130 (cos_test_upward): Likewise.
27131 (cosh_test): Likewise.
27132 (cosh_test_tonearest): Likewise.
27133 (cosh_test_towardzero): Likewise.
27134 (cosh_test_downward): Likewise.
27135 (cosh_test_upward): Likewise.
27136 (cpow_test): Likewise.
27137 (csin_test): Likewise.
27138 (csinh_test): Likewise.
27139 (csqrt_test): Likewise.
27140 (ctan_test): Likewise.
27141 (ctan_test_tonearest): Likewise.
27142 (ctan_test_towardzero): Likewise.
27143 (ctan_test_downward): Likewise.
27144 (ctan_test_upward): Likewise.
27145 (ctanh_test): Likewise.
27146 (ctanh_test_tonearest): Likewise.
27147 (ctanh_test_towardzero): Likewise.
27148 (ctanh_test_downward): Likewise.
27149 (ctanh_test_upward): Likewise.
27150 (erf_test): Likewise.
27151 (erfc_test): Likewise.
27152 (exp_test): Likewise.
27153 (exp_test_tonearest): Likewise.
27154 (exp_test_towardzero): Likewise.
27155 (exp_test_downward): Likewise.
27156 (exp_test_upward): Likewise.
27157 (exp10_test): Likewise.
27158 (exp2_test): Likewise.
27159 (expm1_test): Likewise.
27160 (fmod_test): Likewise.
27161 (gamma_test): Likewise.
27162 (hypot_test): Likewise.
27163 (j0_test): Likewise.
27164 (j1_test): Likewise.
27165 (jn_test): Likewise.
27166 (lgamma_test): Likewise.
27167 (log_test): Likewise.
27168 (log10_test): Likewise.
27169 (log1p_test): Likewise.
27170 (log2_test): Likewise.
27171 (logb_test_downward): Likewise.
27172 (pow_test): Likewise.
27173 (pow_test_tonearest): Likewise.
27174 (pow_test_towardzero): Likewise.
27175 (pow_test_downward): Likewise.
27176 (pow_test_upward): Likewise.
27177 (remainder_test): Likewise.
27178 (remquo_test): Likewise.
27179 (sin_test): Likewise.
27180 (sin_test_tonearest): Likewise.
27181 (sin_test_towardzero): Likewise.
27182 (sin_test_downward): Likewise.
27183 (sin_test_upward): Likewise.
27184 (sincos_test): Likewise.
27185 (sinh_test): Likewise.
27186 (sinh_test_tonearest): Likewise.
27187 (sinh_test_towardzero): Likewise.
27188 (sinh_test_downward): Likewise.
27189 (sinh_test_upward): Likewise.
27190 (sqrt_test): Likewise.
27191 (tan_test): Likewise.
27192 (tan_test_tonearest): Likewise.
27193 (tan_test_towardzero): Likewise.
27194 (tan_test_downward): Likewise.
27195 (tan_test_upward): Likewise.
27196 (tanh_test): Likewise.
27197 (tgamma_test): Likewise.
27198 (y0_test): Likewise.
27199 (y1_test): Likewise.
27200 (yn_test): Likewise.
27202 * math/gen-libm-test.pl (adjust_arg): Remove function.
27203 (special_function): Remove argument $in_func. Only handle
27204 generating output for tables of tests, not inside functions.
27205 (parse_args): Likewise.
27206 (generate_testfile): Remove variable $in_func. Update call to
27208 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27209 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27210 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27211 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27212 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27213 (MAX_VALUE_INIT): Rename macro to max_value.
27214 (MIN_VALUE_INIT): Rename macro to min_value.
27215 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27216 (plus_zero): Remove variable.
27217 (minus_zero): Likewise.
27218 (plus_infty): Likewise.
27219 (minus_infty): Likewise.
27220 (qnan_value): Likewise.
27221 (max_value): Likewise.
27222 (min_value): Likewise.
27223 (min_subnorm_value): Likewise.
27225 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27227 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27228 uint64_t or uint32_t usage.
27229 * crypt/sha256-block.c: Likewise.
27230 * crypt/sha256-crypt.c: Likewise.
27231 * crypt/sha256.c: Likewise.
27232 * crypt/sha512-block.c: Likewise.
27233 * crypt/sha512-crypt.c: Likewise.
27234 * crypt/sha512.c: Likewise.
27235 * debug/backtrace-tst.c: Likewise.
27236 * debug/pcprofiledump.c: Likewise.
27237 * elf/cache.c: Likewise.
27238 * elf/dl-cache.c: Likewise.
27239 * elf/dl-misc.c: Likewise.
27240 * elf/dl-profile.c: Likewise.
27241 * elf/dl-support.c: Likewise.
27242 * elf/ldconfig.c: Likewise.
27243 * elf/sprof.c: Likewise.
27244 * iconv/dummy-repertoire.c: Likewise.
27245 * iconv/iconv_charmap.c: Likewise.
27246 * iconv/skeleton.c: Likewise.
27247 * iconvdata/8bit-generic.c: Likewise.
27248 * iconvdata/cp737.h: Likewise.
27249 * iconvdata/cp775.h: Likewise.
27250 * iconvdata/ibm1008.h: Likewise.
27251 * iconvdata/ibm1025.h: Likewise.
27252 * iconvdata/ibm1046.h: Likewise.
27253 * iconvdata/ibm1097.h: Likewise.
27254 * iconvdata/ibm1112.h: Likewise.
27255 * iconvdata/ibm1122.h: Likewise.
27256 * iconvdata/ibm1123.h: Likewise.
27257 * iconvdata/ibm1124.h: Likewise.
27258 * iconvdata/ibm1129.h: Likewise.
27259 * iconvdata/ibm1130.h: Likewise.
27260 * iconvdata/ibm1132.h: Likewise.
27261 * iconvdata/ibm1133.h: Likewise.
27262 * iconvdata/ibm1137.h: Likewise.
27263 * iconvdata/ibm1140.h: Likewise.
27264 * iconvdata/ibm1141.h: Likewise.
27265 * iconvdata/ibm1142.h: Likewise.
27266 * iconvdata/ibm1143.h: Likewise.
27267 * iconvdata/ibm1144.h: Likewise.
27268 * iconvdata/ibm1145.h: Likewise.
27269 * iconvdata/ibm1146.h: Likewise.
27270 * iconvdata/ibm1147.h: Likewise.
27271 * iconvdata/ibm1148.h: Likewise.
27272 * iconvdata/ibm1149.h: Likewise.
27273 * iconvdata/ibm1153.h: Likewise.
27274 * iconvdata/ibm1154.h: Likewise.
27275 * iconvdata/ibm1155.h: Likewise.
27276 * iconvdata/ibm1156.h: Likewise.
27277 * iconvdata/ibm1157.h: Likewise.
27278 * iconvdata/ibm1158.h: Likewise.
27279 * iconvdata/ibm1160.h: Likewise.
27280 * iconvdata/ibm1161.h: Likewise.
27281 * iconvdata/ibm1162.h: Likewise.
27282 * iconvdata/ibm1163.h: Likewise.
27283 * iconvdata/ibm1164.h: Likewise.
27284 * iconvdata/ibm1166.h: Likewise.
27285 * iconvdata/ibm1167.h: Likewise.
27286 * iconvdata/ibm12712.h: Likewise.
27287 * iconvdata/ibm1390.h: Likewise.
27288 * iconvdata/ibm1399.h: Likewise.
27289 * iconvdata/ibm16804.h: Likewise.
27290 * iconvdata/ibm4517.h: Likewise.
27291 * iconvdata/ibm4899.h: Likewise.
27292 * iconvdata/ibm4909.h: Likewise.
27293 * iconvdata/ibm4971.h: Likewise.
27294 * iconvdata/ibm5347.h: Likewise.
27295 * iconvdata/ibm803.h: Likewise.
27296 * iconvdata/ibm856.h: Likewise.
27297 * iconvdata/ibm901.h: Likewise.
27298 * iconvdata/ibm902.h: Likewise.
27299 * iconvdata/ibm9030.h: Likewise.
27300 * iconvdata/ibm9066.h: Likewise.
27301 * iconvdata/ibm921.h: Likewise.
27302 * iconvdata/ibm922.h: Likewise.
27303 * iconvdata/ibm9448.h: Likewise.
27304 * iconvdata/isiri-3342.h: Likewise.
27305 * iconvdata/jis0201.h: Likewise.
27306 * include/link.h: Likewise.
27307 * include/netdb.h: Likewise.
27308 * inet/check_native.c: Likewise.
27309 * inet/check_pf.c: Likewise.
27310 * inet/getipv4sourcefilter.c: Likewise.
27311 * inet/getnameinfo.c: Likewise.
27312 * inet/getsourcefilter.c: Likewise.
27313 * inet/htonl.c: Likewise.
27314 * inet/setipv4sourcefilter.c: Likewise.
27315 * inet/setsourcefilter.c: Likewise.
27316 * inet/test-inet6_opt.c: Likewise.
27317 * inet/tst-network.c: Likewise.
27318 * locale/C-collate.c: Likewise.
27319 * locale/C-ctype.c: Likewise.
27320 * locale/C-time.c: Likewise.
27321 * locale/C-translit.h: Likewise.
27322 * locale/loadarchive.c: Likewise.
27323 * locale/programs/3level.h: Likewise.
27324 * locale/programs/charmap.c: Likewise.
27325 * locale/programs/charmap.h: Likewise.
27326 * locale/programs/ld-address.c: Likewise.
27327 * locale/programs/ld-collate.c: Likewise.
27328 * locale/programs/ld-ctype.c: Likewise.
27329 * locale/programs/ld-identification.c: Likewise.
27330 * locale/programs/ld-measurement.c: Likewise.
27331 * locale/programs/ld-messages.c: Likewise.
27332 * locale/programs/ld-monetary.c: Likewise.
27333 * locale/programs/ld-name.c: Likewise.
27334 * locale/programs/ld-numeric.c: Likewise.
27335 * locale/programs/ld-paper.c: Likewise.
27336 * locale/programs/ld-telephone.c: Likewise.
27337 * locale/programs/ld-time.c: Likewise.
27338 * locale/programs/linereader.c: Likewise.
27339 * locale/programs/locale.c: Likewise.
27340 * locale/programs/locarchive.c: Likewise.
27341 * locale/programs/locfile.h: Likewise.
27342 * locale/programs/repertoire.c: Likewise.
27343 * locale/programs/simple-hash.c: Likewise.
27344 * locale/programs/simple-hash.h: Likewise.
27345 * malloc/memusage.c: Likewise.
27346 * malloc/memusagestat.c: Likewise.
27347 * nis/nis_defaults.c: Likewise.
27348 * nis/nis_hash.c: Likewise.
27349 * nis/nis_print.c: Likewise.
27350 * nis/nis_xdr.c: Likewise.
27351 * nscd/connections.c: Likewise.
27352 * nscd/hstcache.c: Likewise.
27353 * nscd/nscd_gethst_r.c: Likewise.
27354 * nscd/nscd_getserv_r.c: Likewise.
27355 * nscd/nscd_helper.c: Likewise.
27356 * nscd/servicescache.c: Likewise.
27357 * nss/makedb.c: Likewise.
27358 * nss/nss_db/db-XXX.c: Likewise.
27359 * nss/nss_db/db-initgroups.c: Likewise.
27360 * nss/nss_db/db-netgrp.c: Likewise.
27361 * nss/nss_files/files-network.c: Likewise.
27362 * nss/nss_files/files-parse.c: Likewise.
27363 * posix/bug-regex5.c: Likewise.
27364 * posix/fnmatch_loop.c: Likewise.
27365 * posix/regcomp.c: Likewise.
27366 * posix/regexec.c: Likewise.
27367 * posix/tst-rfc3484-2.c: Likewise.
27368 * posix/tst-rfc3484-3.c: Likewise.
27369 * posix/tst-rfc3484.c: Likewise.
27370 * resolv/nss_dns/dns-canon.c: Likewise.
27371 * resolv/nss_dns/dns-network.c: Likewise.
27372 * resolv/res_init.c: Likewise.
27373 * resolv/res_mkquery.c: Likewise.
27374 * resolv/tst-aton.c: Likewise.
27375 * stdlib/cxa_atexit.c: Likewise.
27376 * stdlib/cxa_finalize.c: Likewise.
27377 * stdlib/gen-fpioconst.c: Likewise.
27378 * stdlib/strtol_l.c: Likewise.
27379 * string/tst-endian.c: Likewise.
27380 * sunrpc/auth_des.c: Likewise.
27381 * sunrpc/clnt_udp.c: Likewise.
27382 * sunrpc/rtime.c: Likewise.
27383 * sunrpc/svcauth_des.c: Likewise.
27384 * sunrpc/xdr.c: Likewise.
27385 * sunrpc/xdr_intXX_t.c: Likewise.
27386 * sunrpc/xdr_rec.c: Likewise.
27387 * sysdeps/generic/ldconfig.h: Likewise.
27388 * sysdeps/generic/ldsodefs.h: Likewise.
27389 * sysdeps/generic/memusage.h: Likewise.
27390 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27392 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27396 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27398 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27400 * sysdeps/posix/getaddrinfo.c: Likewise.
27401 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27402 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27403 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27404 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27405 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27406 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27407 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27408 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27409 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27410 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27411 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27412 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27413 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27414 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27415 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27416 * sysdeps/x86_64/dl-tls.h: Likewise.
27417 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27418 * time/alt_digit.c: Likewise.
27419 * time/era.c: Likewise.
27420 * wcsmbs/tst-c16c32-1.c: Likewise.
27422 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27424 * math/libm-test.inc (struct test_sincos_data): New type.
27425 (RUN_TEST_LOOP_sincos): New macro.
27426 (sincos_test_data): New variable.
27427 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27429 2013-05-16 Richard Henderson <rth@redhat.com>
27431 * math/atest-exp2.c (LIMB64): New macro.
27432 (CONSTSZ): New macro.
27433 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27435 (print_mpn_fp): ... to function scope.
27436 (read_mpn_hex): Remove.
27437 (get_log2): Remove.
27438 (exp2_mpn): Use mp_log2.
27439 (main): Use mp_exp1.
27441 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27443 * math/libm-test.inc: Remove comment about not testing "inexact"
27445 (INEXACT_EXCEPTION): New macro.
27446 (NO_INEXACT_EXCEPTION): Likewise.
27447 (INVALID_EXCEPTION_OK): Update value.
27448 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27449 (OVERFLOW_EXCEPTION_OK): Likewise.
27450 (UNDERFLOW_EXCEPTION_OK): Likewise.
27451 (IGNORE_ZERO_INF_SIGN): Likewise.
27452 (ERRNO_UNCHANGED): Likewise.
27453 (ERRNO_EDOM): Likewise.
27454 (ERRNO_ERANGE): Likewise.
27455 (test_exceptions): Handle testing "inexact" exceptions.
27456 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27457 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27458 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27459 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27461 (rint_towardzero_test_data): Likewise.
27462 (rint_downward_test_data): Likewise.
27463 (rint_upward_test_data): Likewise.
27465 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27466 with OVERFLOW_EXCEPTION.
27467 (exp10_test_data): Likewise.
27468 (exp2_test_data): Likewise.
27469 (expm1_test_data): Likewise.
27470 (lgamma_test_data): Likewise.
27471 (pow_test_data): Likewise.
27472 (tgamma_test_data): Likewise.
27473 (yn_test_data): Remove duplicate test of overflow.
27475 * math/libm-test.inc (struct test_cc_c_data): New type.
27476 (RUN_TEST_LOOP_cc_c): New macro.
27477 (cpow_test_data): New variable.
27478 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27480 * math/libm-test.inc (struct test_f_L_data): New type.
27481 (RUN_TEST_LOOP_f_L): New macro.
27482 (llrint_test_data): New variable.
27483 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27484 (llrint_tonearest_test_data): New variable.
27485 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27486 (llrint_towardzero_test_data): New variable.
27487 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27488 (llrint_downward_test_data): New variable.
27489 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27490 (llrint_upward_test_data): New variable.
27491 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27492 (llround_test_data): New variable.
27493 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27495 2013-05-13 Peter Collingbourne <pcc@google.com>
27497 * math/atest-exp2.c (get_log2): Remove const attribute.
27499 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27501 * math/libm-test.inc (struct test_f_l_data): New type.
27502 (RUN_TEST_LOOP_f_l): New macro.
27503 (lrint_test_data): New variable.
27504 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27505 (lrint_tonearest_test_data): New variable.
27506 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27507 (lrint_towardzero_test_data): New variable.
27508 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27509 (lrint_downward_test_data): New variable.
27510 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27511 (lrint_upward_test_data): New variable.
27512 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27513 (lround_test_data): New variable.
27514 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27516 2013-05-15 Peter Collingbourne <pcc@google.com>
27518 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27519 (EXTRACT_WORDS64) Use where appropriate.
27520 (INSERT_WORDS64) Likewise.
27522 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27523 constraints with x constraints.
27524 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27526 * malloc/obstack.c (_obstack_compat): Add initializer.
27528 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27530 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27531 si_trapno and add si_addr_lsb to _sifields.sigfault.
27532 (si_trapno): Remove macro.
27533 (si_addr_lsb): Define new macro.
27534 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27536 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27538 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27539 instead of TEST_f_l.
27540 (llrint_test_tonearest): Likewise.
27541 (llrint_test_towardzero): Likewise.
27542 (llrint_test_downward): Likewise.
27543 (llrint_test_upward): Likewise.
27544 (llround_test): Likewise.
27546 * math/libm-test.inc (struct test_f_i_data): Add comment.
27547 (RUN_TEST_LOOP_f_b): New macro.
27548 (RUN_TEST_LOOP_f_b_tg): Likewise.
27549 (finite_test_data): New variable.
27550 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27551 (isfinite_test_data): New variable.
27552 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27553 (isinf_test_data): New variable.
27554 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27555 (isnan_test_data): New variable.
27556 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27557 (isnormal_test_data): New variable.
27558 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27559 (issignaling_test_data): New variable.
27560 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27561 (signbit_test_data): New variable.
27562 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27564 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27565 with INVALID_EXCEPTION.
27566 (acosh_test_data): Likewise.
27567 (asin_test_data): Likewise.
27568 (atanh_test_data): Likewise.
27569 (fmod_test_data): Likewise.
27570 (log_test_data): Likewise.
27571 (log10_test_data): Likewise.
27572 (log2_test_data): Likewise.
27573 (pow_test_data): Likewise.
27574 (sqrt_test_data): Likewise.
27575 (y0_test_data): Likewise.
27576 (y1_test_data): Likewise.
27577 (yn_test_data): Likewise.
27579 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27582 * math/libm-test.inc (struct test_ff_i_data): New type.
27583 (RUN_TEST_LOOP_ff_i_tg): New macro.
27584 (isgreater_test_data): New variable.
27585 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27586 (isgreaterequal_test_data): New variable.
27587 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27588 (isless_test_data): New variable.
27589 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27590 (islessequal_test_data): New variable.
27591 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27592 (islessgreater_test_data): New variable.
27593 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27594 (isunordered_test_data): New variable.
27595 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27597 2013-05-14 David S. Miller <davem@davemloft.net>
27599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27601 2013-05-14 Joseph Myers <joseph@codesourcery.com>
27603 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27605 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27607 (struct test_f_i_data): Change type of max_ulp to int.
27609 * math/libm-test.inc (test_ffI_f1_data): New type.
27610 (RUN_TEST_LOOP_ffI_f1): New macro.
27611 (remquo_test_data): New variable.
27612 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27614 * setjmp/tst-setjmp-fp.c: New file.
27615 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27616 (link-libm): New variable.
27617 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27619 * math/libm-test.inc (struct test_f_i_data): New type.
27620 (RUN_TEST_LOOP_f_i): New macro.
27621 (RUN_TEST_LOOP_f_i_tg): Likewise.
27622 (fpclassify_test_data): New variable.
27623 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27624 (ilogb_test_data): New variable.
27625 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27627 * math/libm-test.inc (scalbln_test): Correct function name in END
27630 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27631 (RUN_TEST_LOOP_fI_f1): New macro.
27632 (frexp_test_data): New variable.
27633 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27635 * math/libm-test.inc (struct test_fF_f1_data): New type.
27636 (RUN_TEST_LOOP_fF_f1): New macro.
27637 (modf_test_data): New variable.
27638 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27640 * math/libm-test.inc (struct test_f_f1_data): New type.
27641 (RUN_TEST_LOOP_f_f1): New macro.
27642 (gamma_test_data): New variable.
27643 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27644 (lgamma_test_data): New variable.
27645 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27647 2013-05-13 Carlos O'Donell <carlos@redhat.com>
27649 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27650 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27651 (main): Comment "tls" pseudo-hwcap.
27653 2013-05-13 Joseph Myers <joseph@codesourcery.com>
27655 * math/libm-test.inc (struct test_fl_f_data): New type.
27656 (RUN_TEST_LOOP_fl_f): New variable.
27657 (scalbln_test_data): New variable.
27658 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27660 * math/libm-test.inc (struct test_fi_f_data): New type.
27661 (RUN_TEST_LOOP_fi_f): New macro.
27662 (ldexp_test_data): New variable.
27663 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27664 (scalbn_test_data): New variable.
27665 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27667 * math/libm-test.inc (struct test_c_f_data): New type.
27668 (RUN_TEST_LOOP_c_f): New macro.
27669 (cabs_test_data): New variable.
27670 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27671 (carg_test_data): New variable.
27672 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27673 (cimag_test_data): New variable.
27674 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27675 (creal_test_data): New variable.
27676 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27678 * math/libm-test.inc (struct test_if_f_data): New type.
27679 (RUN_TEST_LOOP_if_f): New macro.
27680 (jn_test_data): New variable.
27681 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27682 (yn_test_data): New variable.
27683 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27685 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27687 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27689 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27690 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27692 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27694 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27695 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27696 (bench-deps): Add bench-timing.h.
27697 * benchtests-bench-skeleton.c: Include bench-timing.h.
27698 (main): Use TIMING_* macros instead of clock_gettime.
27699 * benchtests/bench-timing.h: New file.
27702 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27703 Renamed from _LIB_VERSION.
27704 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27706 2013-05-12 Joseph Myers <joseph@codesourcery.com>
27708 * math/libm-test.inc (struct test_fff_f_data): New type.
27709 (RUN_TEST_LOOP_fff_f): New macro.
27710 (fma_test_data): New variable.
27711 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27712 (fma_towardzero_test_data): New variable.
27713 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27714 (fma_downward_test_data): New variable.
27715 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27716 (fma_upward_test_data): New variable.
27717 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27719 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27720 (struct test_c_c_data): New type.
27721 (RUN_TEST_LOOP_c_c): New macro.
27722 (cacos_test_data): New variable.
27723 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27724 (cacosh_test_data): New variable.
27725 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27726 (casin_test_data): New variable.
27727 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27728 (casinh_test_data): New variable.
27729 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27730 (catan_test_data): New variable.
27731 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27732 (catanh_test_data): New variable.
27733 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27734 (ccos_test_data): New variable.
27735 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27736 (ccosh_test_data): New variable.
27737 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27738 (cexp_test_data): New variable.
27739 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27740 (clog_test_data): New variable.
27741 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27742 (clog10_test_data): New variable.
27743 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27744 (conj_test_data): New variable.
27745 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27746 (cproj_test_data): New variable.
27747 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27748 (csin_test_data): New variable.
27749 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27750 (csinh_test_data): New variable.
27751 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27752 (csqrt_test_data): New variable.
27753 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27754 (ctan_test_data): New variable.
27755 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27756 (ctan_tonearest_test_data): New variable.
27757 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27758 (ctan_towardzero_test_data): New variable.
27759 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27760 (ctan_downward_test_data): New variable.
27761 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27762 (ctan_upward_test_data): New variable.
27763 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27764 (ctanh_test_data): New variable.
27765 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27766 (ctanh_tonearest_test_data): New variable.
27767 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27768 (ctanh_towardzero_test_data): New variable.
27769 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27770 (ctanh_downward_test_data): New variable.
27771 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27772 (ctanh_upward_test_data): New variable.
27773 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27774 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27777 * math/libm-test.inc (struct test_ff_f_data): New type.
27778 (struct test_ff_f_data_nexttoward): Likewise.
27779 (RUN_TEST_LOOP_2_f): New macro.
27780 (RUN_TEST_LOOP_ff_f): Likewise.
27781 (atan2_test_data): New variable.
27782 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27783 (copysign_test_data): New variable.
27784 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27785 (fdim_test_data): New variable.
27786 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27787 (fmax_test_data): New variable.
27788 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27789 (fmin_test_data): New variable.
27790 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27791 (fmod_test_data): New variable.
27792 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27793 (hypot_test_data): New variable.
27794 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27795 (nextafter_test_data): New variable.
27796 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27797 (nexttoward_test_data): New variable.
27798 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27799 (pow_test_data): New variable.
27800 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27801 (pow_tonearest_test_data): New variable.
27802 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27803 (pow_towardzero_test_data): New variable.
27804 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27805 (pow_downward_test_data): New variable.
27806 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27807 (pow_upward_test_data): New variable.
27808 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27809 (remainder_test_data): New variable.
27810 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27811 (scalb_test_data): New variable.
27812 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27813 * sysdeps/i386/fpu/libm-test-ulps: Update.
27815 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27817 * math/libm-test.inc (fma_test): Use max_value instead of local
27819 (nextafter_test): Likewise.
27821 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27822 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27823 (acos_downward_test_data): New variable.
27824 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27825 (acos_upward_test_data): New variable.
27826 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27827 (acosh_test_data): New variable.
27828 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27829 (asin_test_data): New variable.
27830 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27831 (asin_tonearest_test_data): New variable.
27832 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27833 (asin_towardzero_test_data): New variable.
27834 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27835 (asin_downward_test_data): New variable.
27836 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27837 (asin_upward_test_data): New variable.
27838 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27839 (asinh_test_data): New variable.
27840 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27841 (atan_test_data): New variable.
27842 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27843 (atanh_test_data): New variable.
27844 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27845 (cbrt_test_data): New variable.
27846 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27847 (ceil_test_data): New variable.
27848 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27849 (cos_test_data): New variable.
27850 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27851 (cos_tonearest_test_data): New variable.
27852 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27853 (cos_towardzero_test_data): New variable.
27854 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27855 (cos_downward_test_data): New variable.
27856 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27857 (cos_upward_test_data): New variable.
27858 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27859 (cosh_test_data): New variable.
27860 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27861 (cosh_tonearest_test_data): New variable.
27862 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27863 (cosh_towardzero_test_data): New variable.
27864 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27865 (cosh_downward_test_data): New variable.
27866 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27867 (cosh_upward_test_data): New variable.
27868 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27869 (erf_test_data): New variable.
27870 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27871 (erfc_test_data): New variable.
27872 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27873 (exp_test_data): New variable.
27874 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27875 (exp_tonearest_test_data): New variable.
27876 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27877 (exp_towardzero_test_data): New variable.
27878 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27879 (exp_downward_test_data): New variable.
27880 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27881 (exp_upward_test_data): New variable.
27882 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27883 (exp10_test_data): New variable.
27884 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27885 (exp2_test_data): New variable.
27886 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27887 (expm1_test_data): New variable.
27888 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27889 (fabs_test_data): New variable.
27890 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27891 (floor_test_data): New variable.
27892 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27893 (j0_test_data): New variable.
27894 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27895 (j1_test_data): New variable.
27896 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27897 (log_test_data): New variable.
27898 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27899 (log10_test_data): New variable.
27900 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27901 (log1p_test_data): New variable.
27902 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27903 (log2_test_data): New variable.
27904 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27905 (logb_test_data): New variable.
27906 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27907 (logb_downward_test_data): New variable.
27908 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27909 (nearbyint_test_data): New variable.
27910 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27911 (rint_test_data): New variable.
27912 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27913 (rint_tonearest_test_data): New variable.
27914 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27915 (rint_towardzero_test_data): New variable.
27916 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27917 (rint_downward_test_data): New variable.
27918 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27919 (rint_upward_test_data): New variable.
27920 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27921 (round_test_data): New variable.
27922 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27923 (sin_test_data): New variable.
27924 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27925 (sin_tonearest_test_data): New variable.
27926 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27927 (sin_towardzero_test_data): New variable.
27928 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27929 (sin_downward_test_data): New variable.
27930 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27931 (sin_upward_test_data): New variable.
27932 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27933 (sinh_test_data): New variable.
27934 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27935 (sinh_tonearest_test_data): New variable.
27936 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27937 (sinh_towardzero_test_data): New variable.
27938 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27939 (sinh_downward_test_data): New variable.
27940 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27941 (sinh_upward_test_data): New variable.
27942 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27943 (sqrt_test_data): New variable.
27944 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27945 (tan_test_data): New variable.
27946 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27947 (tan_tonearest_test_data): New variable.
27948 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27949 (tan_towardzero_test_data): New variable.
27950 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27951 (tan_downward_test_data): New variable.
27952 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27953 (tan_upward_test_data): New variable.
27954 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27955 (tanh_test_data): New variable.
27956 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27957 (tgamma_test_data): New variable.
27958 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27959 (trunc_test_data): New variable.
27960 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27961 (y0_test_data): New variable.
27962 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27963 (y1_test_data): New variable.
27964 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27965 (significand_test_data): New variable.
27966 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27968 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27971 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27973 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27975 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27977 2013-05-10 Andreas Jaeger <aj@suse.de>
27980 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27981 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27983 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27985 * math/gen-libm-test.pl (adjust_arg): New function.
27986 (special_functions): Handle generating output in both functions
27988 (parse_args): Likewise.
27989 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27990 $in_func argument to parse_args.
27991 * math/libm-test.inc (struct test_f_f_data): New type.
27992 (IF_ROUND_INIT_): New macro.
27993 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27994 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27995 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27996 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27997 (ROUND_RESTORE_): Likewise.
27998 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27999 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28000 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28001 (ROUND_RESTORE_FE_UPWARD): Likewise.
28002 (RUN_TEST_LOOP_f_f): New macro.
28003 (acos_test_data): New variable.
28004 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28005 (acos_tonearest_test_data): New variable.
28006 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28008 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28010 * benchtests/bench-skeleton.c (startup): Fix coding style.
28012 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28015 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28016 negative infinity argument.
28017 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28018 negative infinity argument.
28019 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28020 negative infinity argument.
28021 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28024 2013-05-10 Florian Weimer <fweimer@redhat.com>
28026 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28027 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28028 * iconv/iconv_prog.c (main): Likewise.
28029 * locale/programs/charmap-dir.c (charmap_readdir)
28030 (fopen_uncompressed): Likewise.
28031 * locale/programs/locfile.c (siblings_uncached)
28032 (write_locale_data): Use lstat64 instead of lstat.
28033 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28036 2013-05-10 Andreas Jaeger <aj@suse.de>
28039 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28041 Include <locale.h>.
28043 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28045 * elf/dl-close.c (_dl_close_worker): Add comments.
28047 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28050 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28052 (__ieee754_rem_pio2l): Update comments.
28055 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28057 (__ieee754_rem_pio2l): Update comments.
28059 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28060 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28062 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28065 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28066 (M_PI_34_LOG10El): Likewise.
28067 (M_PI2_LOG10El): Likewise.
28068 (M_PI4_LOG10El): Likewise.
28069 (M_PI_LOG10El): Likewise.
28071 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28075 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28077 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28078 (MINUS_ZERO_INIT): Likewise.
28079 (PLUS_INFTY_INIT): Likewise.
28080 (MINUS_INFTY_INIT): Likewise.
28081 (QNAN_VALUE_INIT): Likewise.
28082 (MAX_VALUE_INIT): Likewise.
28083 (MIN_VALUE_INIT): Likewise.
28084 (MIN_SUBNORM_VALUE_INIT): Likewise.
28085 (plus_zero): Initialize with PLUS_ZERO_INIT.
28086 (minus_zero): Initialize with MINUS_ZERO_INIT.
28087 (plus_infty): Initialize with PLUS_INFTY_INIT.
28088 (minus_infty): Initialize with MINUS_INFTY_INIT.
28089 (qnan_value): Initialize with QNAN_VALUE_INIT.
28090 (max_value): Initialize with MAX_VALUE_INIT.
28091 (min_value): Initialize with MIN_VALUE_INIT.
28092 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28094 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28095 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28096 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28097 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28099 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28100 (RUN_TEST_2_f): Likewise.
28101 (RUN_TEST_ff_f): Likewise.
28102 (RUN_TEST_fi_f): Likewise.
28103 (RUN_TEST_fl_f): Likewise.
28104 (RUN_TEST_fff_f): Likewise.
28105 (RUN_TEST_c_f): Likewise.
28106 (RUN_TEST_f_f1): Likewise.
28107 (RUN_TEST_fF_f1): Likewise.
28108 (RUN_TEST_fI_f1): Likewise.
28109 (RUN_TEST_ffI_f1): Likewise.
28110 (RUN_TEST_c_c): Likewise.
28111 (RUN_TEST_cc_c): Likewise.
28112 (RUN_TEST_f_i): Likewise.
28113 (RUN_TEST_f_i_tg): Likewise.
28114 (RUN_TEST_ff_i_tg): Likewise.
28115 (RUN_TEST_f_b): Likewise.
28116 (RUN_TEST_f_b_tg): Likewise.
28117 (RUN_TEST_f_l): Likewise.
28118 (RUN_TEST_f_L): Likewise.
28119 (RUN_TEST_sincos): Likewise.
28120 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28121 whether to show exceptions. Do not include ");\n" in return
28123 (special_functions): Output call to RUN_TEST_sincos instead of
28124 check_float calls. Update calls to new_test.
28125 (parse_args): Output call to single RUN_TEST_* macro instead of
28126 check_* calls and other assignments. Update calls to new_test.
28132 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28133 input to result for tgamma overflow.
28134 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28135 (gamma_coeff): New variable.
28136 (NCOEFF): New macro.
28137 (gamma_positive): New function.
28138 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28139 underflow here. Use gamma_positive instead of exp (lgamma) for
28141 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28142 (gamma_coeff): New variable.
28143 (NCOEFF): New macro.
28144 (gammaf_positive): New function.
28145 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28146 underflow here. Use gamma_positive instead of exp (lgamma) for
28148 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28149 (gamma_coeff): New variable.
28150 (NCOEFF): New macro.
28151 (gammal_positive): New function.
28152 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28153 underflow here. Use gamma_positive instead of exp (lgamma) for
28155 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28156 (gamma_coeff): New variable.
28157 (NCOEFF): New macro.
28158 (gammal_positive): New function.
28159 (__ieee754_gammal_r): Handle positive infinity, overflow and
28160 underflow here. Handle NaN the same as positive infinity. Remove
28161 check x < 0xffffffff for negative integers. Use gamma_positive
28162 instead of exp (lgamma) for other arguments.
28163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28164 (gamma_coeff): New variable.
28165 (NCOEFF): New macro.
28166 (gammal_positive): New function.
28167 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28168 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28169 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28170 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28171 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28172 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28173 * sysdeps/generic/math_private.h (__gamma_productf): New
28175 (__gamma_product): Likewise.
28176 (__gamma_productl): Likewise.
28177 * math/Makefile (libm-calls): Add gamma_product.
28178 * math/libm-test.inc (tgamma_test): Add more tests.
28179 * sysdeps/i386/fpu/libm-test-ulps: Update.
28180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28182 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
28184 * benchtests/bench-skeleton.c (main): Preheat CPU.
28186 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28188 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28190 2013-05-07 Roland McGrath <roland@hack.frob.com>
28192 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28193 and _dl_skip_args_internal.
28195 2013-05-07 Carlos O'Donell <carlos@redhat.com>
28197 * manual/message.texi (Message Translation): Talk about users.
28198 Message to key mapping impacts design.
28200 2013-05-06 Roland McGrath <roland@hack.frob.com>
28202 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28204 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28206 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28207 * sysdeps/wordsize-64/glob64.c: ... here.
28209 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28210 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28213 * debug/getlogin_r_chk.c: Moved to ...
28214 * login/getlogin_r_chk.c: ... here.
28215 * debug/Makefile (routines): Move getlogin_r_chk to ...
28216 * login/Makefile (routines): ... here.
28217 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28218 * login/Versions (libc: GLIBC_2.4): ... here.
28220 * io/poll.c (__poll): Renamed from poll.
28221 Add libc_hidden_def.
28222 (poll): Define as weak alias.
28224 * debug/ptsname_r_chk.c: Moved to ...
28225 * login/ptsname_r_chk.c: ... here.
28226 * debug/Makefile (routines): Move ptsname_r_chk to ...
28227 * login/Makefile (routines): ... here.
28228 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28229 * login/Versions (libc: GLIBC_2.4): ... here.
28231 * posix/getlogin.c: Moved to ...
28232 * login/getlogin.c: ... here.
28233 * posix/getlogin_r.c: Moved to ...
28234 * login/getlogin_r.c: ... here.
28235 * posix/getlogin_r.c: Moved to ...
28236 * login/getlogin_r.c: ... here.
28237 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28238 * login/Makefile (routines): ... here.
28239 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28240 * login/Versions (libc: GLIBC_2.0): ... here.
28242 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28243 (setrlimit): Define as weak alias.
28245 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28246 Call __ names for open, ftruncate, and close.
28247 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28248 (truncate): Define as weak alias.
28250 2013-05-06 Joseph Myers <joseph@codesourcery.com>
28252 * math/gen-libm-test.pl (parse_args): Initialize x before each
28253 test of frexp, modf and remquo.
28255 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28256 test signgam value.
28258 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28262 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28266 2013-05-06 Roland McGrath <roland@hack.frob.com>
28268 * elf/dl-writev.h: New file.
28269 * elf/dl-misc.c: Include it.
28270 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28271 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28273 2013-05-04 Joseph Myers <joseph@codesourcery.com>
28275 * math/libm-test.inc (noXFails): Remove variable.
28276 (noXPasses): Likewise.
28277 (BUILD_COMPLEX_INT): Remove macro.
28278 (print_screen): Remove xfail argument.
28279 (print_screen_max_error): Likewise.
28280 (update_stats): Likewise.
28281 (print_max_error): Likewise. Update calls to other affected
28283 (print_complex_max_error): Likewise.
28284 (test_single_exception): Update calls to print_screen.
28285 (test_single_errno): Likewise.
28286 (check_float_internal): Remove xfail argument. Update calls to
28287 other affected functions.
28288 (check_float): Likewise.
28289 (check_complex): Likewise.
28290 (check_int): Likewise.
28291 (check_long): Likewise.
28292 (check_bool): Likewise.
28293 (check_longlong): Likewise.
28294 (main): Don't print noXFails and noXPasses.
28295 * math/gen-libm-test.pl (top level): Don't mention expected
28296 failure handling in comment.
28297 (new_test): Don't handle expected failures.
28298 (parse_args): Don't mention expected failure handling in comment.
28299 (generate_testfile): Don't handle expected failures.
28300 (parse_ulps): Likewise.
28301 (print_ulps_file): Likewise.
28302 (get_failure): Remove function.
28303 (output_test): Don't handle expected failures.
28304 * make/README.libm-test: Don't mention expected failure handling.
28306 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28307 (minus_zero): Likewise.
28308 (plus_infty): Likewise.
28309 (minus_infty): Likewise.
28310 (qnan_value): Likewise.
28311 (max_value): Likewise.
28312 (min_value): Likewise.
28313 (min_subnorm_value): Likewise.
28314 (initialize): Do not initialize those variables dynamically.
28316 2013-05-03 Roland McGrath <roland@hack.frob.com>
28318 * io/open.c (__open_2): Moved to ...
28319 * io/open_2.c: ... this new file.
28320 * io/open64.c (__open64_2): Moved to ...
28321 * io/open64_2.c: ... this new file.
28322 * io/openat.c (__openat_2): Moved to ...
28323 * io/openat_2.c: ... this new file.
28324 * io/openat64.c (__openat64_2): Moved to ...
28325 * io/openat64_2.c: ... this new file.
28326 * io/Makefile (routines): Add them.
28327 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28328 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28329 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28330 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28331 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28332 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28333 (__openat64): Add hidden_ver.
28334 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28335 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28337 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28338 Separately conditionalize setting of GLRO(dl_sysinfo) so
28339 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28340 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28342 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28344 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28347 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28348 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28349 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28350 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28351 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28353 2013-05-03 Joseph Myers <joseph@codesourcery.com>
28355 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28356 test signgam value.
28358 * math/libm-test.inc (hypot_test): Do not use
28359 IGNORE_ZERO_INF_SIGN.
28361 2013-05-03 Andreas Jaeger <aj@suse.de>
28363 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28365 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28366 (PF_MAX): Adjust for VSOCK change.
28368 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28372 2013-05-02 Carlos O'Donell <carlos@redhat.com>
28375 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28376 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28377 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28379 2013-05-02 David S. Miller <davem@davemloft.net>
28381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28383 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
28385 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28387 2013-05-01 Roland McGrath <roland@hack.frob.com>
28389 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28391 2013-05-01 Richard Smith <richard@metafoo.co.uk>
28394 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28395 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28396 Use __attribute__ ((__gnu_inline__)).
28397 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28398 Don't use __attribute__ ((__gnu_inline__)).
28400 2013-05-01 Joseph Myers <joseph@codesourcery.com>
28403 * math/s_catan.c (__catan): Handle small real or imaginary part of
28404 input specially to avoid spurious underflow.
28405 * math/s_catanf.c (__catanf): Likewise.
28406 * math/s_catanh.c (__catanh): Likewise.
28407 * math/s_catanhf.c (__catanhf): Likewise.
28408 * math/s_catanhl.c (__catanhl): Likewise.
28409 * math/s_catanl.c (__catanl): Likewise.
28410 * math/libm-test.inc (catan_test): Add more tests.
28411 (catanh_test): Likewise.
28412 * sysdeps/i386/fpu/libm-test-ulps: Update.
28413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28415 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28419 2013-04-30 Joseph Myers <joseph@codesourcery.com>
28422 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28423 accurately for denominator in atan2.
28424 * math/s_catanf.c (__catanf): Likewise.
28425 * math/s_catanh.c (__catanh): Likewise.
28426 * math/s_catanhf.c (__catanhf): Likewise.
28427 * math/s_catanhl.c (__catanhl): Likewise.
28428 * math/s_catanl.c (__catanl): Likewise.
28429 * math/libm-test.inc (catan_test): Add more tests.
28430 (catanh_test): Likewise.
28431 * sysdeps/i386/fpu/libm-test-ulps: Update.
28432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28434 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28436 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28438 * benchtests/Makefile (bench): Remove slow benchmarks.
28439 * benchtests/atan-inputs: Add slow benchmark inputs.
28440 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28441 (BENCH_FUNC): Accept variant offset.
28443 * benchtests/bench-skeleton.c (main): Run benchmark for each
28445 * benchtests/cos-inputs: Add slow benchmark inputs.
28446 * benchtests/exp-inputs: Likewise.
28447 * benchtests/pow-inputs: Likewise.
28448 * benchtests/sin-inputs: Likewise.
28449 * benchtests/slowatan-inputs: Remove.
28450 * benchtests/slowatan.c: Remove.
28451 * benchtests/slowcos-inputs: Remove.
28452 * benchtests/slowcos.c: Remove.
28453 * benchtests/slowexp-inputs: Remove.
28454 * benchtests/slowexp.c: Remove.
28455 * benchtests/slowpow-inputs: Remove.
28456 * benchtests/slowpow.c: Remove.
28457 * benchtests/slowsin-inputs: Remove.
28458 * benchtests/slowsin.c: Remove.
28459 * benchtests/slowtan-inputs: Remove.
28460 * benchtests/slowtan.c: Remove.
28461 * benchtests/tan-inputs: Add slow benchmark inputs.
28462 * scripts/bench.pl: Parse comments and directives.
28464 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28466 ($(objpfx)bench-%.c): Remove *-ITER.
28467 * benchtests/bench-modf.c: Remove definition of ITER.
28468 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28469 (main): Loop for DURATION seconds instead of fixed number of
28471 * scripts/bench.pl: Don't expect iterations in parameters.
28473 2013-04-29 Roland McGrath <roland@hack.frob.com>
28475 * io/fchdir.c (__fchdir): Renamed from fchdir.
28476 (fchdir): Define as weak alias.
28478 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28480 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28481 (ERRNO_EDOM): Likewise.
28482 (ERRNO_ERANGE): Likewise.
28483 (noErrnoTests): New variable.
28484 (init_max_error): Set errno to 0.
28485 (test_single_errno): New function.
28486 (test_errno): Likewise.
28487 (check_float_internal): Call test_errno. Set errno to 0.
28488 (check_complex): Refer to errno tests in comment.
28489 (check_int): Call test_errno. Set errno to 0.
28490 (check_long): Likewise.
28491 (check_bool): Likewise.
28492 (check_longlong): Likewise.
28493 (cos_test): Use ERRNO_* flags for errno tests instead of
28495 (expm1_test): Likewise.
28496 (fmod_test): Likewise.
28497 (ilogb_test): Likewise.
28498 (lgamma_test): Likewise.
28499 (pow_test): Likewise.
28500 (remainder_test): Likewise.
28501 (sin_test): Likewise.
28502 (tan_test): Likewise.
28503 (yn_test): Likewise.
28504 (initialize): Set errno to 0.
28505 (main): Print number of errno tests.
28506 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28508 2013-04-29 Andreas Jaeger <aj@suse.de>
28511 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28515 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28516 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28520 * stdlib/random.c (__initstate): Return NULL if
28524 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28525 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28528 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28532 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28534 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28535 of individual tests.
28536 (casin_test): Likewise.
28537 (casinh_test): Likewise.
28539 2013-04-27 Joseph Myers <joseph@codesourcery.com>
28542 * math/s_catan.c (__catan): Handle arguments with large real or
28543 imaginary part separately without squaring.
28544 * math/s_catanf.c (__catanf): Likewise.
28545 * math/s_catanh.c (__catanh): Likewise.
28546 * math/s_catanhf.c (__catanhf): Likewise.
28547 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28549 (__catanhl): Handle arguments with large real or imaginary part
28550 separately without squaring.
28551 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28553 (__catanl): Handle arguments with large real or imaginary part
28554 separately without squaring.
28555 * math/libm-test.inc (catan_test): Add more tests.
28556 (catanh_test): Likewise.
28557 * sysdeps/i386/fpu/libm-test-ulps: Update.
28558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28560 2013-04-27 Andreas Jaeger <aj@suse.de>
28563 * stdlib/stdlib.h: Update guards for qecvt.
28564 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28567 2013-04-27 Allan McRae <allan@archlinux.org>
28569 * sysdeps/i386/fpu/libm-test-ulps: Update.
28571 2013-04-26 Joseph Myers <joseph@codesourcery.com>
28574 * math/s_catan.c: Include <float.h>.
28575 (__catan): Ensure underflow exception occurs for underflowed
28577 * math/s_catanf.c: Include <float.h>.
28578 (__catanf): Ensure underflow exception occurs for underflowed
28580 * math/s_catanh.c: Include <float.h>.
28581 (__catanh): Ensure underflow exception occurs for underflowed
28583 * math/s_catanhf.c: Include <float.h>.
28584 (__catanhf): Ensure underflow exception occurs for underflowed
28586 * math/s_catanhl.c: Include <float.h>.
28587 (__catanhl): Ensure underflow exception occurs for underflowed
28589 * math/s_catanl.c: Include <float.h>.
28590 (__catanl): Ensure underflow exception occurs for underflowed
28592 * math/libm-test.inc (catan_test): Add more tests.
28593 (catanh_test): Likewise.
28596 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28597 underflowed result.
28598 * math/s_ccoshf.c (__ccoshf): Likewise.
28599 * math/s_ccoshl.c (__ccoshl): Likewise.
28600 * math/s_csin.c (__csin): Likewise.
28601 * math/s_csinf.c (__csinf): Likewise.
28602 * math/s_csinh.c (__csinh): Likewise.
28603 * math/s_csinhf.c (__csinhf): Likewise.
28604 * math/s_csinhl.c (__csinhl): Likewise.
28605 * math/s_csinl.c (__csinl): Likewise.
28606 * math/libm-test.inc (ccos_test): Add more tests.
28607 (ccosh_test): Likewise.
28608 (csin_test): Likewise.
28609 (csinh_test): Likewise.
28611 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28613 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28614 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28615 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28616 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28617 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28618 powerpc/power5+/fpu folders.
28619 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28622 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28626 2013-04-25 Joseph Myers <joseph@codesourcery.com>
28628 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28629 additions to variable.
28630 [$(config-machine) = x86_64] (modules-names): Likewise.
28631 ($(objpfx)tst-audit3): Remove dependency.
28632 ($(objpfx)tst-audit3.out): Likewise.
28633 ($(objpfx)tst-audit4): Likewise.
28634 ($(objpfx)tst-audit4.out): Likewise.
28635 ($(objpfx)tst-audit5): Likewise.
28636 ($(objpfx)tst-audit5.out): Likewise.
28637 ($(objpfx)tst-audit6): Likewise.
28638 ($(objpfx)tst-audit6.out): Likewise.
28639 ($(objpfx)tst-audit7): Likewise.
28640 ($(objpfx)tst-audit7.out): Likewise.
28641 (tst-audit3-ENV): Remove variable.
28642 (tst-audit4-ENV): Likewise.
28643 (tst-audit5-ENV): Likewise.
28644 (tst-audit6-ENV): Likewise.
28645 (tst-audit7-ENV): Likewise.
28646 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28647 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28648 addition to variable.
28649 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28650 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28651 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28652 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28653 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28654 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28655 tst-audit3, tst-audit4 and tst-audit5.
28656 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28657 tst-audit6 and tst-audit7.
28658 [$(subdir) = elf] (modules-names): Add audit modules for those
28660 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28661 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28662 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28663 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28664 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28665 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28666 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28667 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28668 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28669 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28670 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28671 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28672 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28673 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28674 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28675 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28677 [$(subdir) = elf && $(config-cflags-avx) = yes]
28678 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28679 [$(subdir) = elf && $(config-cflags-avx) = yes]
28680 (CFLAGS-tst-auditmod4a.c): Likewise.
28681 [$(subdir) = elf && $(config-cflags-avx) = yes]
28682 (CFLAGS-tst-auditmod4b.c): Likewise.
28683 [$(subdir) = elf && $(config-cflags-avx) = yes]
28684 (CFLAGS-tst-auditmod6b.c): Likewise.
28685 [$(subdir) = elf && $(config-cflags-avx) = yes]
28686 (CFLAGS-tst-auditmod6c.c): Likewise.
28687 [$(subdir) = elf && $(config-cflags-avx) = yes]
28688 (CFLAGS-tst-auditmod7b.c): Likewise.
28689 * elf/tst-audit3.c: Move to ...
28690 * sysdeps/x86_64/tst-audit3.c: ... here.
28691 * elf/tst-audit4.c: Move to ...
28692 * sysdeps/x86_64/tst-audit4.c: ... here.
28693 * elf/tst-audit5.c: Move to ...
28694 * sysdeps/x86_64/tst-audit5.c: ... here.
28695 * elf/tst-audit6.c: Move to ...
28696 * sysdeps/x86_64/tst-audit6.c: ... here.
28697 * elf/tst-audit7.c: Move to ...
28698 * sysdeps/x86_64/tst-audit7.c: ... here.
28699 * elf/tst-auditmod3a.c: Move to ...
28700 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28701 * elf/tst-auditmod3b.c: Move to ...
28702 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28703 * elf/tst-auditmod4a.c: Move to ...
28704 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28705 * elf/tst-auditmod4b.c: Move to ...
28706 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28707 * elf/tst-auditmod5a.c: Move to ...
28708 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28709 * elf/tst-auditmod5b.c: Move to ...
28710 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28711 * elf/tst-auditmod6a.c: Move to ...
28712 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28713 * elf/tst-auditmod6b.c: Move to ...
28714 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28715 * elf/tst-auditmod6c.c: Move to ...
28716 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28717 * elf/tst-auditmod7a.c: Move to ...
28718 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28719 * elf/tst-auditmod7b.c: Move to ...
28720 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28722 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28725 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28726 define unconditionally.
28727 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28728 define unconditionally.
28729 (INT8_C, INT16_C, etc.): Likewise.
28731 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28733 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28734 __ehdr_start with hidden visibility.
28736 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28738 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28740 * math/libm-test.inc (cos_test): Use accurate hex constants.
28741 (sincost_test): Likewise.
28743 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28745 * math/libm-test.inc (catan_test): Add more tests.
28746 (catanh_test): Likewise.
28748 * math/s_catanf.c (__catanf): Use suffixed floating-point
28750 * math/s_catanhf.c (__catanhf): Likewise.
28751 * math/s_catanhl.c (__catanhl): Likewise.
28752 * math/s_catanl.c (__catanl): Likewise.
28755 * math/s_catan.c (__catan): Calculate imaginary part of result
28756 with log1p not log unless computing log of number close to 0.
28757 * math/s_catanf.c (__catanf): Likewise.
28758 * math/s_catanl.c (__catanl): Likewise.
28759 * math/s_catanh.c (__catanh): Calculate real part of result with
28760 log1p not log unless computing log of number close to 0.
28761 * math/s_catanhf.c (__catanhf): Likewise.
28762 * math/s_catanhl.c (__catanhl): Likewise.
28763 * math/libm-test.inc (catan_test): Add more tests.
28764 (catanh_test): Likewise.
28765 * sysdeps/i386/fpu/libm-test-ulps: Update.
28766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28768 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28770 * benchtests/Makefile: Mention files in which fast and slow
28771 paths of math functions are implemented.
28773 2013-04-23 Roland McGrath <roland@hack.frob.com>
28775 * sysdeps/posix/timespec_get.c: New file.
28777 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28779 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28781 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28783 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28784 powerpc/power5/fpu folders.
28785 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28786 * benchtests/Makefile: Add modf testcase.
28787 * benchtests/bench-modf.c: New file: Benchmark test for mo
28789 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28792 * time/Makefile (tests): Add tst-strptime-whitespace.
28793 * time/strptime_l.c (get_number): Use ISSPACE.
28794 (__strptime_internal): Likewise.
28795 * time/tst-strptime-whitespace.c: New test case.
28797 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28799 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28801 (_nss_files_init): Set it here.
28803 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28805 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28806 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28809 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28811 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28813 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28815 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28818 2013-04-21 David S. Miller <davem@davemloft.net>
28820 * po/ru.po: Update Russion translation from translation project.
28822 2013-04-17 Adam Conrad <adconrad@0c3.net>
28824 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28827 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28829 * configure.in: Remove i386 configure warning. Remove i386 case.
28830 * configure: Regenerate.
28831 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28832 Add example to error message.
28833 * sysdeps/i386/configure: Regenerate.
28835 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28837 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28839 * benchtests/cos-inputs: New file.
28840 * benchtests/slowcos-inputs: New file.
28841 * benchtests/slowcos.c: New file.
28842 * benchtests/slowtan-inputs: New file.
28843 * benchtests/slowtan.c: New file.
28844 * benchtests/tan-inputs: New file.
28846 2013-04-16 Roland McGrath <roland@hack.frob.com>
28848 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28851 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28853 * benchtests/Makefile: Include cppflags-iterator.mk to add
28854 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28856 * Makefile.in (bench-clean): New target.
28857 * benchtests/Makefile (bench-clean): Likewise.
28859 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28861 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28863 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28865 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28867 2013-04-15 Andreas Schwab <schwab@suse.de>
28869 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28871 * nscd/pwdcache.c (cache_addpw): Likewise.
28872 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28875 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28877 * benchtests/Makefile (bench): Write all output to
28878 bench-out.tmp together.
28880 2013-04-15 Andreas Schwab <schwab@suse.de>
28882 * nscd/nscd.c (main): Don't fork again after closing files.
28884 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28886 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28888 * benchtests/Rules (bench-deps): Collect dependencies into a
28889 single variable. Add Makefile to dependencies.
28890 ($(objpfx)bench-%.c): Depend on bench-deps.
28892 2013-04-12 Roland McGrath <roland@hack.frob.com>
28893 Xavier Roche <roche+kml2@exalead.com>
28896 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28897 just that it's a file descriptor.
28898 * manual/llio.texi (Synchronizing AIO Operations): Update description
28899 for EBADF error from aio_fsync.
28901 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28903 * Rules (bench): Move target definition...
28904 * benchtests/Makefile: ... here.
28906 2013-04-11 Carlos O'Donell <carlos@redhat.com>
28908 * math/libm-test.inc (cos_test): Fix PI/2 test.
28909 (sincos_test): Likewise.
28910 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28911 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28913 2013-04-11 Andreas Schwab <schwab@suse.de>
28916 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28917 accept exponent character only when digits were seen.
28918 * stdio-common/Makefile (tests): Add bug26.
28919 * stdio-common/bug26.c: New file.
28922 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28925 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28927 * Makeconfig (rtld-prefix): Define built linker prefix.
28928 * Rules (run-bench): Use it.
28929 * math/Makefile (run-regen-ulps): Likewise.
28931 * Rules (bench): Remove eval.
28933 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28934 Roland McGrath <roland@hack.frob.com>
28935 Ondrej Bilka <neleai@seznam.cz>
28938 * time/getdate.c: Include ctype.h and alloca.h.
28939 (__getdate_r): Trim leading and trailing spaces of input.
28940 * time/tst-getdate.c (tests): Add tests with leading and
28943 2013-04-08 Roland McGrath <roland@hack.frob.com>
28946 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28947 when computing value.
28949 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28951 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28952 Use testrun.sh to run libm tests.
28955 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28957 2013-04-06 Marko Myllynen <myllynen@redhat.com>
28960 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28962 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28964 * Makefile.in (regen-ulps): New target.
28965 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28966 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28967 [ifneq (no,$(PERL)] (regen-ulps): New target.
28968 [ifeq (no,$(PERL)] (regen-ulps): New target.
28969 * math/libm-test.inc (ulps_file_name): Define.
28970 (output_dir): New variable.
28971 (options): Add "output-dir" option.
28972 (parse_opt): Handle 'o' case.
28973 (main): If output_dir is non-NULL use it as a prefix
28975 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28977 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28979 [BZ #10060, #10062]
28980 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28981 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28982 fail configure if __sync_val_compare_and_swap is not inlined.
28983 * sysdeps/i386/configure: Regenerate.
28984 * configure.in: Build for i686 when configured for i386.
28985 * configure: Regenerate.
28986 * README: Remove i386 reference.
28988 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28990 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28991 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28993 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28995 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28996 (lmsnanval): New variables.
28997 (F): Add conversion tests.
28998 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28999 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29001 * stdio-common/tstdiomisc.c (F): Properly collect individual
29004 [BZ #14686, #15336]
29005 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29006 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29007 Instead, use input NaN values or generate a qNaN by arithmetic
29008 operation. Also fix bugs to comply with the standard.
29009 * math/libm-test.inc (remainder_test): Add more tests.
29011 [BZ #15335, #15342]
29012 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29014 input NaN values or generate a qNaN by arithmetic operation.
29016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29019 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29022 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29025 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29026 underflowed result.
29027 * math/s_cexpf.c (__cexpf): Likewise.
29028 * math/s_cexpl.c (__cexpl): Likewise.
29029 * math/libm-test.inc (cexp_test): Add more tests.
29031 2013-04-03 Andreas Schwab <schwab@suse.de>
29034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29035 order arrays from heap if bigger than alloca cutoff.
29037 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29039 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29040 (SNAN_TESTS_double): Refer to GCC PR56831.
29041 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29044 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29046 * Rules (bench): Move bench.out after the run is complete.
29048 * Rules (bench): Echo currently running benchmark.
29050 * benchtests/Makefile (bench): Add atan and slowatan.
29051 * benchtests/atan-inputs: New file.
29052 * benchtests/slowatan-inputs: New file.
29053 * benchtests/slowatan.c: New file.
29055 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29056 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29060 * sysdeps/unix/sysv/linux/kernel-features.h
29061 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29062 __ASSUME_XFS_RESTRICTED_CHOWN.
29063 * sysdeps/unix/sysv/linux/pathconf.c
29064 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29065 Save and restore errno.
29067 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29070 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29071 arguments using __kernel_casinh.
29072 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29073 arguments using __kernel_casinhf.
29074 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29075 arguments using __kernel_casinhl.
29076 * math/libm-test.inc (cacosh_test): Add more tests.
29077 * sysdeps/i386/fpu/libm-test-ulps: Update.
29078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29080 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29082 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29085 * bench/Makefile (bench): Add sin and slowsin.
29086 * benchtests/sin-inputs: New file.
29087 * benchtests/slowsin-inputs: New file.
29088 * benchtests/slowsin.c: New file.
29090 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29091 (bench): Add slowexp and slowpow.
29092 (exp-ITER): Increase iterations.
29093 (pow-ITER): Likewise.
29094 * benchtests/exp-inputs: Change input.
29095 * benchtests/pow-inputs: Likewise.
29096 * benchtests/slowexp-inputs: New file.
29097 * benchtests/slowexp.c: New file.
29098 * benchtests/slowpow-inputs: New file.
29099 * benchtests/slowpow.c: New file.
29101 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29103 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29105 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29106 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29107 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29108 * benchtests/Makefile: Add rint benchtest.
29109 * benchtests/rint-inputs: Input for rint benchtest.
29111 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29113 * Versions.def (libm): Add GLIBC_2.18.
29114 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29115 hidden libm prototypes.
29116 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29117 * math/Makefile (libm-calls): Add s_issignaling.
29118 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29119 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29120 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29122 * math/math.h [__USE_GNU] (issignaling): New macro.
29123 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29124 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29125 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29126 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29127 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29128 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29129 * manual/arith.texi (issignaling): New section.
29130 * manual/libm-err-tab.pl (@all_functions): Update comment.
29131 * math/gen-libm-test.pl (parse_args): Apply special handling for
29133 * math/libm-test.inc (print_float, issignaling_test): New
29135 (check_float_internal): Add issignaling checks.
29136 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29137 default definition.
29138 * sysdeps/powerpc/math-tests.h: New file.
29139 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29141 * math/test-snan.c (TEST_FUNC): Likewise.
29143 2013-03-30 David S. Miller <davem@davemloft.net>
29145 * po/de.po: Update from translation team.
29147 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29150 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29151 imaginary part less than 1.0 and real part less than 0.5
29153 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29154 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29155 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29156 (cacos_test): Add more tests.
29157 (casin_test): Likewise.
29158 (casinh_test): Likewise.
29159 * sysdeps/i386/fpu/libm-test-ulps: Update.
29160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29162 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29164 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29165 ONE with its value.
29167 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29168 (__pow_mp): Replace ONE and MONE with their values.
29169 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29171 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29172 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29173 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29174 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29176 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29178 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29179 (__pow_mp): Replace ZERO and MZERO with their values.
29180 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29182 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29184 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29185 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29188 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29190 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29192 2013-03-28 Roland McGrath <roland@hack.frob.com>
29194 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29195 Declare with __attribute__ ((weak)).
29196 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29197 Call __call_tls_dtors only if it's not NULL.
29199 2013-03-28 Roland McGrath <roland@hack.frob.com>
29201 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29202 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29203 magic __ehdr_start linker symbol if it's defined.
29204 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29205 them up here if it was already done.
29207 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29208 (_dl_aux_init): Use const in cast when setting it.
29209 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29210 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29211 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29213 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29215 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29216 * csu/libc-tls.c: Nor here.
29217 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29219 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29220 (__libc_message): Never call vsyslog.
29222 2013-03-28 Alan Modra <amodra@gmail.com>
29224 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29226 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29229 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29236 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29239 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29240 Don't add gid passed as argument.
29242 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29244 2013-03-27 Joseph Myers <joseph@codesourcery.com>
29247 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29248 imaginary part between 1.0 and 1.5 and real part less than 0.5
29250 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29251 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29252 * math/libm-test.inc (cacos_test): Add more tests.
29253 (casin_test): Likewise.
29254 (casinh_test): Likewise.
29255 * sysdeps/i386/fpu/libm-test-ulps: Update.
29256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29258 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29260 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29263 (denorm): Likewise.
29264 (__dbl_mp): Likewise.
29265 (add_magnitudes): Likewise.
29266 (sub_magnitudes): Likewise.
29274 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29276 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29277 (__dubcos): Likewise.
29278 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29279 (__ieee754_acos): Likewise.
29280 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29281 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29282 (__exp1): Likewise.
29283 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29286 (my_log2): Likewise.
29287 (checkint): Likewise.
29288 * sysdeps/ieee754/dbl-64/e_remainder.c
29289 (__ieee754_remainder): Likewise.
29290 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29292 (bsloww): Likewise.
29293 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29295 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29296 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29297 MANTISSA_STORE_T to store computations on mantissa. Use
29298 macros for rounding and division.
29299 (denorm): Likewise.
29300 (__dbl_mp): Likewise.
29301 (add_magnitudes): Likewise.
29302 (sub_magnitudes): Likewise.
29305 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29306 powers of two in terms of TWOPOW macro.
29307 (mp_no): Make type of mantissa as MANTISSA_T.
29308 [!RADIXI]: Define RADIXI.
29309 [!TWO52]: Define TWO52.
29310 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29312 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29314 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29315 llroundl symbol when building for PPC32.
29317 2013-03-24 Mark H Weaver <mhw@netris.org>
29319 * manual/arith.texi (Normalization Functions): Fix prototypes for
29320 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29322 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29326 high value to check if expl overflow.
29327 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29328 to check for underflow and overflow.
29329 * math/libm-test.inc: Add exp test.
29331 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29334 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29337 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29339 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29342 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29344 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29345 wrap blocks consisting of several statements.
29347 * sysdeps/generic/math-tests.h: New file.
29348 * sysdeps/i386/fpu/math-tests.h: Likewise.
29349 * math/test-snan.c: Include it.
29350 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29352 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29355 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29356 (__ieee754_j0l): Do not improve calculations using cos of twice
29357 input for inputs above LDBL_MAX / 2.0L.
29358 (__ieee754_y0l): Likewise.
29359 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29360 (__ieee754_j1l): Do not improve calculations using cos of twice
29361 input for inputs above LDBL_MAX / 2.0L.
29362 (__ieee754_y1l): Likewise.
29363 * math/libm-test.inc (j0_test): Add another test.
29364 (j1_test): Likewise.
29365 (y0_test): Likewise.
29366 (y1_test): Likewise.
29367 * sysdeps/i386/fpu/libm-test-ulps: Update.
29369 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29371 * Rules ($(objpfx)bench-%.c): Include code from a C source
29374 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29377 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29378 imaginary part 1.0 and real part less than 0.5 specially.
29379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29381 * math/libm-test.inc (cacos_test): Add more tests.
29382 (casin_test): Likewise.
29383 (casinh_test): Likewise.
29384 * sysdeps/i386/fpu/libm-test-ulps: Update.
29385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29387 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29390 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29392 2013-03-20 Joseph Myers <joseph@codesourcery.com>
29394 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29395 * config.make.in (config-cflags-sse4): Remove variable.
29396 (config-cflags-avx): Likewise.
29397 (config-cflags-sse2avx): Likewise.
29398 (config-cflags-novzeroupper): Likewise.
29399 (config-asflags-i686): Likewise.
29400 (have-mfma4): Likewise.
29401 (have-as-vis3): Likewise.
29403 * configure.in (MIG): Do not AC_SUBST.
29404 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29405 (libc_cv_cc_sse4): Do not AC_SUBST.
29406 (libc_cv_cc_avx): Likewise.
29407 (libc_cv_cc_sse2avx): Likewise.
29408 (libc_cv_cc_novzeroupper): Likewise.
29409 (libc_cv_cc_fma4): Likewise.
29410 (libc_cv_as_i686): Likewise.
29411 (libc_cv_sparc_as_vis3): Likewise.
29412 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29414 (config-asflags-i686): Likewise.
29415 (config-cflags-avx): Likewise.
29416 (config-cflags-sse2avx): Likewise.
29417 (have-mfma4): Likewise.
29418 (config-cflags-novzeroupper): Likewise.
29419 * sysdeps/mach/configure.in (MIG): Likewise.
29420 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29421 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29423 (config-cflags-avx): Likewise.
29424 (config-cflags-sse2avx): Likewise.
29425 (have-mfma4): Likewise.
29426 (config-cflags-novzeroupper): Likewise.
29427 * configure: Regenerated.
29428 * sysdeps/i386/configure: Likewise.
29429 * sysdeps/mach/configure: Likewise.
29430 * sysdeps/sparc/configure: Likewise.
29431 * sysdeps/x86_64/configure: Likewise.
29433 2013-03-20 Roland McGrath <roland@hack.frob.com>
29436 * locale/programs/localedef.c (options): Put N_ translation marker
29437 on argument names, not just descriptions.
29439 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29441 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29443 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
29446 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29448 2013-03-19 Roland McGrath <roland@hack.frob.com>
29450 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29451 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29452 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29453 [!BEFORE_ABORT] (before_abort): New function.
29454 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29455 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29456 (writev_for_fatal): New function.
29457 (WRITEV_FOR_FATAL): New macro; call that.
29458 (backtrace_and_maps): New function.
29459 (BEFORE_ABORT): New macro; call that.
29460 (struct str_list): Type removed.
29461 (__libc_message, __libc_fatal): Functions removed.
29462 Include <sysdeps/posix/libc_fatal.c> instead.
29464 2013-03-19 Joseph Myers <joseph@codesourcery.com>
29466 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29468 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29471 2013-03-19 Andreas Schwab <schwab@suse.de>
29473 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29474 * sysdeps/gnu/configure: Regenerate.
29476 * configure.in: Substitute libc_cv_rtlddir.
29477 * configure: Regenerate.
29478 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29479 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29480 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29481 * elf/Makefile (install-others, CFLAGS-interp.c)
29482 (ldso_install, common-ldd-rewrite): Likewise.
29483 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29484 $(inst_slibdir)/$(rtld-installed-name).
29485 * scripts/rellns-sh: Add -p option.
29486 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29489 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29491 * manual/nptl.texi: Renamed to ...
29492 * manual/threads.texi: ... this.
29493 * manual/Makefile (chapters): Update.
29495 2013-03-18 Roland McGrath <roland@hack.frob.com>
29498 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29499 on argument names, not just descriptions.
29500 * malloc/memusagestat.c (options): Likewise.
29501 * nss/getent.c (options): Likewise.
29503 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
29506 * iconv/iconv_prog.c (options): Put N_ translation marker
29507 on argument names, not just descriptions.
29508 * iconv/iconvconfig.c (options): Likewise.
29510 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
29512 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29513 implementation which is faster on all x86_64 architectures.
29514 Tested on AMD, Intel Nehalem, SNB, IVB.
29515 * sysdeps/x86_64/strnlen.S: Likewise.
29517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29518 Remove all multiarch strlen and strnlen versions.
29519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29520 Remove strlen and strnlen related parts.
29522 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29523 Inline strlen part.
29524 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29526 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29527 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29528 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29529 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29530 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29531 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29533 2013-03-17 Carlos O'Donell <carlos@redhat.com>
29535 * manual/memory.texi (Malloc Tunable Parameters):
29536 Sort parameters alphabetically. Add comments for missing entries.
29538 2013-03-17 David S. Miller <davem@davemloft.net>
29540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29542 2013-03-16 Joseph Myers <joseph@codesourcery.com>
29545 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29546 for arguments at most half maximum finite value.
29547 * math/libm-test.inc (j0_test): Add more tests.
29548 (j1_test): Likewise.
29549 (y0_test): Likewise.
29550 (y1_test): Likewise.
29551 * sysdeps/i386/fpu/libm-test-ulps: Update.
29552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29555 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29556 1 / x and functions P and Q for arguments above 0x1p256L.
29557 (__ieee754_y0l): Likewise.
29558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29559 (__ieee754_y1l): Likewise.
29560 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29561 (j1_test): Likewise.
29562 (y0_test): Likewise.
29563 (y1_test): Likewise.
29565 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29567 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29570 2013-03-15 Roland McGrath <roland@hack.frob.com>
29572 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29573 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29574 zero since it's initialized to EXEC_PAGESIZE.
29576 * sysdeps/unix/sysv/linux/ldsodefs.h
29577 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29578 * sysdeps/generic/ldsodefs.h: ... here.
29580 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29582 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29584 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29586 * math/test-snan.c: Renamed from
29587 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29588 * math/Makefile (tests): Add test-snan.
29589 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29592 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29593 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29595 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29596 __builtin_nan family of functions.
29597 * math/libm-test.inc (initialize): Initialize qnan_value with
29598 __builtin_nan family of functions.
29599 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29601 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29603 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29604 storage class. Initialize qNaN_var and sNaN_var with
29605 __builtin_nan and __builtin_nans families of functions,
29608 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29609 (sqrt_test): Remove duplicate test with qNaN input.
29610 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29611 (round_test, signbit_test, significand_test): Note missing +/-Inf
29612 as well as qNaN tests.
29614 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29615 qNaN_var. Fix a few strings, too.
29616 * math/libm-test.inc (nan_value): Rename to qnan_value.
29617 * math/gen-libm-test.pl (%beautify): Adjust to that.
29618 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29619 * math/test-misc.c (main): Likewise.
29620 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29621 to __qnan_bytes, and __qnan_union, respectively.
29622 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29624 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29625 and lqnanval, respectively.
29626 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29627 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29628 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29629 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29631 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29632 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29635 * math/test-misc.c (main): Fix copy'n'pastos.
29636 * misc/tst-efgcvt.c (special): Likewise.
29638 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29639 Remove declarations.
29641 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29643 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29644 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29645 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29646 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29648 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29650 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29651 macro to return vdso values correctly in IFUNC implementations.
29652 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29653 Optimization by using IFUNC.
29655 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29656 Richard Henderson <rth@redhat.com>
29657 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29659 * Makefile.in (bench): New target.
29660 * NEWS: Mention the benchmark framework.
29661 * Rules (bench): Likewise.
29662 (binaries-bench): Generate binaries for functions to
29664 * benchtests/Makefile: New makefile for benchmark tests.
29665 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29667 * benchtests/exp-inputs: New input file for EXP function.
29668 * benchtests/pow-inputs: New input file for POW function.
29669 * scripts/bench.pl: New script to generate source files for
29670 benchmark programs.
29672 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29674 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29675 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29676 computations on mantissa. Use macros for rounding and
29678 (denorm): Likewise.
29679 (__dbl_mp): Likewise.
29680 (add_magnitudes): Likewise.
29681 (sub_magnitudes): Likewise.
29684 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29685 powers of two in terms of TWOPOW macro.
29686 (mp_no): Make type of mantissa as MANTISSA_T.
29687 [!RADIXI]: Define RADIXI.
29688 [!TWO52]: Define TWO52.
29689 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29691 * manual/nptl.texi (cindex): Modify threads to pthreads.
29693 2013-03-15 Joseph Myers <joseph@codesourcery.com>
29695 * sysdeps/x86_64/preconfigure: Regenerated.
29697 2013-03-14 Joseph Myers <joseph@codesourcery.com>
29700 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29702 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29703 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29705 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29706 * math/libm-test.inc (j0_test): Do not allow one spurious
29707 underflow exception.
29708 (y1_test): Likewise.
29710 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29712 * manual/Makefile (chapters): Add nptl.
29713 * manual/debug.texi (Debugging Support): Add link to Threads
29715 * manual/nptl.texi: New file.
29717 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29719 2013-03-14 Petr Baudis <pasky@ucw.cz>
29721 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29722 for non-NULL pointer before the memory validity test. Pointed
29723 out by Holger Brunck <holger.brunck@keymile.com>.
29725 2013-03-13 Andreas Schwab <schwab@suse.de>
29727 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29730 2013-03-13 Joseph Myers <joseph@codesourcery.com>
29732 * timezone/zic.c: Update from tzcode 2013b.
29734 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29736 * manual/install.texi (Configuring and compiling):
29737 Mention i686 and i586.
29738 * INSTALL: Regenerate.
29740 2013-03-12 Roland McGrath <roland@hack.frob.com>
29742 * sysdeps/init_array/elf-init.c: New file.
29744 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29745 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29747 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29748 __gmon_start__ as global, but as static with a .preinit_array pointer.
29749 * sysdeps/init_array/gmon-start.c: New file. Use that.
29750 * sysdeps/init_array/crti.S: New file, empty except for comments.
29751 * sysdeps/init_array/crtn.S: Likewise.
29753 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29755 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29758 Remove Prefer_SSE_for_memop.
29759 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29760 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29761 HAS_PREFER_SSE_FOR_MEMOP.
29762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29764 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29765 Remove bzero, memset ifunc support.
29766 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29767 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29768 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29769 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29771 2013-03-11 Andreas Schwab <schwab@suse.de>
29774 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29777 (GLIBC_2.16): Remove pthread_atfork.
29779 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29781 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29782 (ptestcases.h): Likewise.
29784 2013-03-08 Roland McGrath <roland@hack.frob.com>
29786 * Makeconfig ($(common-objpfx)config.status): Depend on
29787 sysdeps/*/preconfigure{,.in} too.
29789 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29791 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29792 (__free_hook): Use void * instead of __malloc_ptr_t.
29793 (__malloc_hook): Likewise.
29794 (__realloc_hook): Likewise.
29795 (__memalign_hook): Likewise.
29796 (__after_morecore_hook): Likewise.
29797 * malloc/arena.c (save_malloc_hook): Likewise.
29798 (save_free_hook): Likewise.
29799 * malloc/hooks.c (malloc_hook_ini): Likewise.
29800 (realloc_hook_ini): Likewise.
29801 (memalign_hook_ini): Likewise.
29802 * malloc/malloc.c (malloc_hook_ini): Likewise.
29803 (realloc_hook_ini): Likewise.
29804 (memalign_hook_ini): Likewise.
29805 (__free_hook): Likewise.
29806 (__malloc_hook): Likewise.
29807 (__realloc_hook): Likewise.
29808 (__memalign_hook): Likewise.
29809 (__libc_malloc): Likewise.
29810 (__libc_free): Likewise.
29811 (__libc_realloc): Likewise.
29812 (__libc_memalign): Likewise.
29813 (__libc_valloc): Likewise.
29814 (__libc_pvalloc): Likewise.
29815 (__libc_calloc): Likewise.
29816 (__posix_memalign): Likewise.
29817 * malloc/morecore.c (__sbrk): Likewise.
29818 (__default_morecore): Likewise.
29820 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29822 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29823 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29824 __malloc_ptrdiff_t.
29826 * malloc/malloc.h (__malloc_size_t): Remove macro.
29827 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29829 (old_memalign_hook): Likewise.
29830 (old_realloc_hook): Likewise.
29831 (struct hdr): Likewise.
29833 (mallochook): Likewise.
29834 (memalignhook): Likewise.
29835 (reallochook): Likewise.
29836 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29837 (tr_old_realloc_hook): Likewise.
29838 (tr_old_memalign_hook): Likewise.
29839 (tr_mallochook): Likewise.
29840 (tr_reallochook): Likewise.
29841 (tr_memalignhook): Likewise.
29843 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29845 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29846 default_ldbl_pack and using as default implementation.
29847 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29849 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29850 redundant definition.
29851 (ldbl_insert_mantissa): Likewise.
29852 (ldbl_canonicalize): Likewise.
29853 (ldbl_nearbyint): Likewise.
29854 (ldbl_pack): Rename to ldbl_pack_ppc.
29855 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29856 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29857 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29859 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29862 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29863 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29864 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29866 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29867 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29868 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29870 2013-03-07 Andreas Jaeger <aj@suse.de>
29872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29875 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29877 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29878 Include mpa.h and declare __MPEXP.
29879 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29880 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29881 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29882 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29883 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29884 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29885 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29887 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29888 (__slowpow): Use long double EXPL and LOGL functions to
29890 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29891 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29892 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29894 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29895 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29898 intermediate variable to calculate exponent.
29900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29904 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29905 [!NO__SQR]: Define __sqr.
29906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29907 and NO__SQR. Remove all code except __mul and __sqr. Include
29908 sysdeps/ieee754/dbl-64/mpa.c.
29909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29912 * posix/Makefile (tests): Add tst-pathconf.
29913 * posix/tst-pathconf.c: New test case.
29914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29916 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29918 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
29920 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29922 2013-03-06 Andreas Jaeger <aj@suse.de>
29924 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29925 definition via __MAP_ANONYMOUS.
29927 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29928 it's not part of Linux headers.
29930 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29931 (MAP_HUGE_MASK): Define.
29933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29935 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29936 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29938 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29939 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29941 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29942 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29944 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29946 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29947 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29948 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29949 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29950 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29951 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29953 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29957 Handle f2fs and efivarfs.
29959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29962 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29963 (EFIVARFS_MAGIC): Add.
29964 (F2FS_LINK_MAX): Add.
29966 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29968 * stdio-common/vfprintf.c: Replace __builtin_expect with
29971 2013-03-06 Joseph Myers <joseph@codesourcery.com>
29974 * sysdeps/generic/bp-sym.h: Remove file.
29975 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29976 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29977 <bp-sym.h> and <bp-asm.h>.
29978 (__longjmp): Don't use BP_SYM.
29979 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29981 (memcpy): Don't use BP_SYM.
29982 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29983 <bp-sym.h> and <bp-asm.h>.
29984 (memcpy): Don't use BP_SYM.
29985 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29987 (memcpy): Don't use BP_SYM.
29988 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29990 (memset): Don't use BP_SYM.
29991 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29992 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29993 (__bzero): Don't use BP_SYM.
29994 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29995 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29996 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29997 <bp-sym.h> and <bp-asm.h>.
29998 (memcmp): Don't use BP_SYM. Remove comment about bounded
30000 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30001 <bp-sym.h> and <bp-asm.h>.
30002 (memcpy): Don't use BP_SYM.
30003 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30004 <bp-sym.h> and <bp-asm.h>.
30005 (memset): Don't use BP_SYM.
30006 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30007 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30008 (__bzero): Don't use BP_SYM.
30009 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30010 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30011 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30012 <bp-sym.h> and <bp-asm.h>.
30013 (strncmp): Don't use BP_SYM. Remove comment about bounded
30015 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30016 <bp-sym.h> and <bp-asm.h>.
30017 (memcpy): Don't use BP_SYM.
30018 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30019 <bp-sym.h> and <bp-asm.h>.
30020 (memset): Don't use BP_SYM.
30021 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30022 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30023 (__bzero): Don't use BP_SYM.
30024 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30025 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30027 <bp-sym.h> and <bp-asm.h>.
30028 (__memchr): Don't use BP_SYM.
30029 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30030 <bp-sym.h> and <bp-asm.h>.
30031 (memcmp): Don't use BP_SYM. Remove comment about bounded
30033 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30034 <bp-sym.h> and <bp-asm.h>.
30035 (memcpy): Don't use BP_SYM.
30036 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30037 <bp-sym.h> and <bp-asm.h>.
30038 (__mempcpy): Don't use BP_SYM.
30039 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30040 <bp-sym.h> and <bp-asm.h>.
30041 (__memrchr): Don't use BP_SYM.
30042 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30043 <bp-sym.h> and <bp-asm.h>.
30044 (memset): Don't use BP_SYM.
30045 (__bzero): Likewise.
30046 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30047 <bp-sym.h> and <bp-asm.h>.
30048 (__rawmemchr): Don't use BP_SYM.
30049 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30050 <bp-sym.h> and <bp-asm.h>.
30051 (__STRCMP): Don't use BP_SYM.
30052 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30053 <bp-sym.h> and <bp-asm.h>.
30054 (strchr): Don't use BP_SYM.
30055 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30056 <bp-sym.h> and <bp-asm.h>.
30057 (__strchrnul): Don't use BP_SYM.
30058 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30059 <bp-sym.h> and <bp-asm.h>.
30060 (strlen): Don't use BP_SYM.
30061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30062 <bp-sym.h> and <bp-asm.h>.
30063 (strncmp): Don't use BP_SYM. Remove comment about bounded
30065 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30066 <bp-sym.h> and <bp-asm.h>.
30067 (__strnlen): Don't use BP_SYM.
30068 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30069 <bp-sym.h> and <bp-asm.h>.
30070 (__GI__setjmp): Don't use BP_SYM.
30071 (_setjmp): Likewise.
30072 (__sigsetjmp): Likewise.
30073 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30074 (L(start_addresses)): Don't use BP_SYM.
30075 (_start): Likewise.
30076 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30078 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30079 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30080 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30081 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30082 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30084 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30085 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30086 about bounded pointers.
30087 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30088 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30089 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30091 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30092 about bounded pointers. Remove GKM FIXME comments.
30093 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30094 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30096 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30097 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30098 Remove GKM FIXME comments.
30099 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30100 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30101 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30103 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30104 about bounded pointers. Remove GKM FIXME comment.
30105 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30107 (strncmp): Don't use BP_SYM. Remove comment about bounded
30109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30110 <bp-sym.h> and <bp-asm.h>.
30111 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30113 <bp-sym.h> and <bp-asm.h>.
30114 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30117 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30119 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30122 2013-03-05 David S. Miller <davem@davemloft.net>
30124 * po/es.po: Update from translation team.
30126 2013-03-05 Andreas Jaeger <aj@suse.de>
30128 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30129 <bits/mman-linux.h>.
30130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30132 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30133 <bits/mman-linux.h> to end of file.
30134 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30136 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30137 <bits/mman-linux.h> to end of file.
30138 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30141 <bits/mman-linux.h> to end of file.
30143 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30144 (MCL_CURRENT, MCL_FUTURE): Define here.
30146 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30151 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30153 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30155 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30156 fourth parameter needed for rt_sigprocmask syscall.
30157 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30158 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30159 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30160 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30161 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30162 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30164 2013-03-04 Joseph Myers <joseph@codesourcery.com>
30167 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30168 comment about bounded pointers.
30169 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30170 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30172 2013-03-04 Andreas Jaeger <aj@suse.de>
30174 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30175 common definitions.
30177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30178 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30179 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30182 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30184 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30188 __ieee754_sqrl instead of __sqrl.
30190 2013-03-01 Joseph Myers <joseph@codesourcery.com>
30192 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30193 * sysdeps/powerpc/fpu_control.h: ... here.
30194 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30195 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30196 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30197 * sysdeps/powerpc/bits/mathinline.h: ... here.
30199 2013-03-01 Roland McGrath <roland@hack.frob.com>
30201 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30202 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30203 to just [NEED_DL_SYSINFO_DSO].
30204 * elf/dl-support.c: Likewise.
30205 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30206 * elf/rtld.c (dl_main): Likewise.
30207 * elf/setup-vdso.h (setup_vdso): Likewise.
30208 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30209 * sysdeps/unix/sysv/linux/dl-sysdep.c
30210 (_dl_discover_osversion): Likewise.
30212 2013-03-01 Carlos O'Donell <carlos@redhat.com>
30214 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30215 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30217 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30219 * NEWS: Mention libm performance improvements and non-x86 PI
30222 * csu/libc-start.c (__pthread_initialize_minimal): Change
30223 function arguments.
30224 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30226 2013-02-28 Joseph Myers <joseph@codesourcery.com>
30229 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30230 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30231 <bp-sym.h> and <bp-asm.h>.
30232 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30233 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30235 (memcpy): Don't use BP_SYM.
30236 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30238 (__mpn_add_n): Don't use BP_SYM.
30239 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30240 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30242 (__mpn_addmul_1): Don't use BP_SYM.
30243 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30244 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30246 (_setjmp): Don't use BP_SYM.
30247 (__novmx_setjmp): Likewise.
30248 (__GI__setjmp): Likewise.
30249 (__vmx_setjmp): Likewise.
30250 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30252 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30253 (__bzero): Don't use BP_SYM.
30254 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30255 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30256 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30257 <bp-sym.h> and <bp-asm.h>.
30258 (memcpy): Don't use BP_SYM.
30259 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30260 <bp-sym.h> and <bp-asm.h>.
30261 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30262 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30263 <bp-sym.h> and <bp-asm.h>.
30264 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30265 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30267 (__mpn_lshift): Don't use BP_SYM.
30268 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30269 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30271 (memset): Don't use BP_SYM.
30272 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30273 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30274 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30276 (__mpn_mul_1): Don't use BP_SYM.
30277 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30279 <bp-sym.h> and <bp-asm.h>.
30280 (memcmp): Don't use BP_SYM.
30281 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30282 <bp-sym.h> and <bp-asm.h>.
30283 (memcpy): Don't use BP_SYM.
30284 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30285 <bp-sym.h> and <bp-asm.h>.
30286 (memset): Don't use BP_SYM.
30287 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30288 <bp-sym.h> and <bp-asm.h>.
30289 (strncmp): Don't use BP_SYM.
30290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30291 <bp-sym.h> and <bp-asm.h>.
30292 (memcpy): Don't use BP_SYM.
30293 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30294 <bp-sym.h> and <bp-asm.h>.
30295 (memset): Don't use BP_SYM.
30296 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30297 <bp-sym.h> and <bp-asm.h>.
30298 (__memchr): Don't use BP_SYM.
30299 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30300 <bp-sym.h> and <bp-asm.h>.
30301 (memcmp): Don't use BP_SYM.
30302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30303 <bp-sym.h> and <bp-asm.h>.
30304 (memcpy): Don't use BP_SYM.
30305 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30306 <bp-sym.h> and <bp-asm.h>.
30307 (__mempcpy): Don't use BP_SYM.
30308 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30309 <bp-sym.h> and <bp-asm.h>.
30310 (__memrchr): Don't use BP_SYM.
30311 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30312 <bp-sym.h> and <bp-asm.h>.
30313 (memset): Don't use BP_SYM.
30314 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30315 <bp-sym.h> and <bp-asm.h>.
30316 (__rawmemchr): Don't use BP_SYM.
30317 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30318 <bp-sym.h> and <bp-asm.h>.
30319 (__STRCMP): Don't use BP_SYM.
30320 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30321 <bp-sym.h> and <bp-asm.h>.
30322 (strchr): Don't use BP_SYM.
30323 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30324 <bp-sym.h> and <bp-asm.h>.
30325 (__strchrnul): Don't use BP_SYM.
30326 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30327 <bp-sym.h> and <bp-asm.h>.
30328 (strlen): Don't use BP_SYM.
30329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30330 <bp-sym.h> and <bp-asm.h>.
30331 (strncmp): Don't use BP_SYM.
30332 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30333 <bp-sym.h> and <bp-asm.h>.
30334 (__strnlen): Don't use BP_SYM.
30335 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30337 (__mpn_rshift): Don't use BP_SYM.
30338 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30339 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30340 <bp-sym.h> and <bp-asm.h>.
30341 (__sigsetjmp): Don't use BP_SYM.
30342 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30343 (L(start_addresses)): Don't use BP_SYM.
30344 (_start): Likewise.
30345 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30347 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30348 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30349 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30350 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30352 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30353 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30354 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30355 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30357 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30359 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30360 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30362 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30364 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30365 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30366 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30368 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30370 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30372 (strncmp): Don't use BP_SYM,
30373 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30375 (__mpn_sub_n): Don't use BP_SYM.
30376 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30377 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30379 (__mpn_submul_1): Don't use BP_SYM.
30380 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30382 <bp-sym.h> and <bp-asm.h>.
30383 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30385 <bp-sym.h> and <bp-asm.h>.
30386 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30389 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30392 Use ZK to minimize writes to Z.
30393 (sub_magnitudes): Simplify code a bit.
30394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30395 Use ZK to minimize writes to Z.
30396 (sub_magnitudes): Simplify code a bit.
30398 2013-02-27 Roland McGrath <roland@hack.frob.com>
30400 * csu/gmon-start.c: Add special exception to license text.
30402 2013-02-27 Richard Henderson <rth@redhat.com>
30404 * scripts/config.guess: Update from config.git.
30405 * scripts/config.sub: Likewise.
30407 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30409 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30411 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30413 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30415 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30417 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30419 2013-02-26 Roland McGrath <roland@hack.frob.com>
30421 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30422 [$(build-shared = yes].
30424 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30426 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30427 (__mul): Reduce iterations for calculating mantissa.
30429 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30431 (__mpranred): Likewise.
30434 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30435 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30437 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30439 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30440 Define __attribute__.
30442 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30444 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30446 * posix/regex_internal.h (__attribute): Remove.
30447 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30448 (re_string_context_at): Likewise.
30449 (bitset_not): Use __attribute__ and mark function as possibly
30451 (bitset_merge): Likewise.
30452 (bitset_mask): Likewise.
30453 (re_string_char_size_at): Likewise.
30454 (re_string_wchar_at): Likewise.
30455 (re_string_elem_size_at): Likewise.
30457 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30459 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30463 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30467 (denorm): Likewise.
30468 (__dbl_mp): Likewise.
30469 (add_magnitudes): Likewise.
30470 (sub_magnitudes): Likewise.
30474 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30477 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30480 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30484 up changes with default code.
30485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30488 2013-02-24 Allan McRae <allan@archlinux.org>
30490 * manual/socket.texi (The Internet Namespace): Order menu items
30491 to match that in the file.
30493 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30494 node listing of the info page menu.
30496 2013-02-21 Joseph Myers <joseph@codesourcery.com>
30499 * sysdeps/i386/bp-asm.h: Remove file.
30500 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30501 (PARMS): Do not use macros from bp-asm.h.
30505 (__mpn_add_n): Do not use BP_SYM
30506 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30508 (PARMS): Do not use macros from bp-asm.h.
30511 (__mpn_addmul_1): Do not use BP_SYM
30512 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30514 (PARMS): Do not use macros from bp-asm.h.
30515 (SIGMSK): Likewise.
30516 (_setjmp): Likewise. Do not use BP_SYM.
30517 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30519 (PARMS): Do not use macros from bp-asm.h.
30520 (SIGMSK): Likewise.
30521 (setjmp): Likewise. Do not use BP_SYM.
30522 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30524 (PARMS): Do not use macros from bp-asm.h.
30525 (__frexp): Do not use BP_SYM.
30527 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30529 (PARMS): Do not use macros from bp-asm.h.
30530 (__frexpf): Do not use BP_SYM.
30531 (frexpf): Likewise.
30532 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30534 (PARMS): Do not use macros from bp-asm.h.
30535 (__frexpl): Do not use BP_SYM.
30536 (frexpl): Likewise.
30537 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30539 (PARMS): Do not use macros from bp-asm.h.
30540 (__remquo): Do not use BP_SYM.
30541 (remquo): Likewise.
30542 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30544 (PARMS): Do not use macros from bp-asm.h.
30545 (__remquof): Do not use BP_SYM.
30546 (remquof): Likewise.
30547 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30549 (PARMS): Do not use macros from bp-asm.h.
30550 (__remquol): Do not use BP_SYM.
30551 (remquol): Likewise.
30552 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30554 (PARMS): Do not use macros from bp-asm.h.
30557 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30558 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30560 (PARMS): Do not use macros from bp-asm.h.
30561 (strlen): Do not use BP_SYM.
30562 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30564 (PARMS): Do not use macros from bp-asm.h.
30568 (__mpn_add_n): Do not use BP_SYM.
30569 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30571 (PARMS): Do not use macros from bp-asm.h.
30574 (__mpn_addmul_1): Do not use BP_SYM.
30575 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30578 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30580 (PARMS): Do not use macros from bp-asm.h.
30583 (__mpn_lshift): Do not use BP_SYM.
30584 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30586 (PARMS): Do not use macros from bp-asm.h.
30590 (memcpy): Likewise. Do not use BP_SYM.
30591 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30592 libc_hidden_def and weak_alias.
30593 (mempcpy): Do not use BP_SYM in weak_alias.
30594 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30596 (PARMS): Do not use macros from bp-asm.h.
30599 [!BZERO_P] (CHR): Likewise.
30600 (memset): Likewise. Do not use BP_SYM.
30601 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30603 (PARMS): Do not use macros from bp-asm.h.
30606 (__mpn_mul_1): Do not use BP_SYM.
30607 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30609 (PARMS): Do not use macros from bp-asm.h.
30612 (__mpn_rshift): Do not use BP_SYM.
30613 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30615 (PARMS): Do not use macros from bp-asm.h.
30618 (strchr): Likewise. Do not use BP_SYM.
30619 (index): Do not use BP_SYM in weak_alias.
30620 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30622 (PARMS): Do not use macros from bp-asm.h.
30625 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30626 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30628 (PARMS): Do not use macros from bp-asm.h.
30629 (strlen): Do not use BP_SYM.
30630 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30632 (PARMS): Do not use macros from bp-asm.h.
30636 (__mpn_sub_n): Do not use BP_SYM.
30637 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30639 (PARMS): Do not use macros from bp-asm.h.
30642 (__mpn_submul_1): Do not use BP_SYM.
30643 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30645 (PARMS): Do not use macros from bp-asm.h.
30649 (__mpn_add_n): Do not use BP_SYM.
30650 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30653 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30655 (PARMS): Do not use macros from bp-asm.h.
30658 (memcmp): Do not use BP_SYM.
30659 (bcmp): Do not use BP_SYM in weak_alias.
30660 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30662 (PARMS): Do not use macros from bp-asm.h.
30666 (memcpy): Likewise. Do not use BP_SYM.
30667 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30669 (PARMS): Do not use macros from bp-asm.h.
30673 (memmove): Likewise. Do not use BP_SYM.
30674 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30676 (PARMS): Do not use macros from bp-asm.h.
30680 (__mempcpy): Likewise. Do not use BP_SYM.
30681 (mempcpy): Do not use BP_SYM in weak_alias.
30682 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30684 (PARMS): Do not use macros from bp-asm.h.
30687 [!BZERO_P] (CHR): Likewise.
30688 (memset): Likewise. Do not use BP_SYM.
30689 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30691 (PARMS): Do not use macros from bp-asm.h.
30693 (strcmp): Do not use BP_SYM.
30694 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30696 (PARMS): Do not use macros from bp-asm.h.
30699 [USE_AS_STRTOK_R] (SAVE): Likewise.
30700 (FUNCTION): Likewise. Do not use BP_SYM.
30701 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30703 (strtok_r): Likewise.
30704 (__GI___strtok_r): Likewise.
30705 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30706 (PARMS): Do not use macros from bp-asm.h.
30709 (__mpn_lshift): Do not use BP_SYM.
30710 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30711 (PARMS): Do not use macros from bp-asm.h.
30714 (__memchr): Do not use BP_SYM.
30715 (memchr): Do not use BP_SYM in weak_alias.
30716 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30717 (PARMS): Do not use macros from bp-asm.h.
30720 (memcmp): Do not use BP_SYM.
30721 (bcmp): Do not use BP_SYM in weak_alias.
30722 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30723 (PARMS): Do not use macros from bp-asm.h.
30726 (__mpn_mul_1): Do not use BP_SYM.
30727 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30729 (PARMS): Do not use macros from bp-asm.h.
30732 (__rawmemchr): Do not use BP_SYM.
30733 (rawmemchr): Do not use BP_SYM in weak_alias.
30734 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30735 (PARMS): Do not use macros from bp-asm.h.
30738 (__mpn_rshift): Do not use BP_SYM.
30739 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30740 (PARMS): Do not use macros from bp-asm.h.
30741 (SIGMSK): Likewise.
30742 (__sigsetjmp): Likewise. Do not use BP_SYM.
30743 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30744 (_start): Do not use BP_SYM.
30745 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30746 (PARMS): Do not use macros from bp-asm.h.
30749 (__stpcpy): Likewise. Do not use BP_SYM.
30750 (stpcpy): Do not use BP_SYM in weak_alias.
30751 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30753 (PARMS): Do not use macros from bp-asm.h.
30757 (__stpncpy): Likewise. Do not use BP_SYM.
30758 (stpncpy): Do not use BP_SYM in weak_alias.
30759 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30760 (PARMS): Do not use macros from bp-asm.h.
30763 (strchr): Likewise. Do not use BP_SYM.
30764 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30766 (PARMS): Do not use macros from bp-asm.h.
30769 (__strchrnul): Likewise. Do not use BP_SYM.
30770 (strchrnul): Do not use BP_SYM in weak_alias.
30771 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30773 (PARMS): Do not use macros from bp-asm.h.
30775 (strcspn): Do not use BP_SYM.
30776 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30778 (PARMS): Do not use macros from bp-asm.h.
30781 (strpbrk): Likewise. Do not use BP_SYM.
30782 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30784 (PARMS): Do not use macros from bp-asm.h.
30787 (strrchr): Likewise. Do not use BP_SYM.
30788 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30789 (PARMS): Do not use macros from bp-asm.h.
30791 (strspn): Do not use BP_SYM.
30792 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30793 (PARMS): Do not use macros from bp-asm.h.
30797 (FUNCTION): Likewise. Do not use BP_SYM.
30798 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30800 (strtok_r): Likewise.
30801 (__GI___strtok_r): Likewise.
30802 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30803 (PARMS): Do not use macros from bp-asm.h.
30807 (__mpn_sub_n): Do not use BP_SYM.
30808 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30810 (PARMS): Do not use macros from bp-asm.h.
30813 (__mpn_submul_1): Do not use BP_SYM.
30814 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30816 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30818 (PARMS): Do not use macros from bp-asm.h.
30823 (__clone): Do not use BP_SYM.
30824 (clone): Do not use BP_SYM in weak_alias.
30825 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30827 (PARMS): Do not use macros from bp-asm.h.
30829 (__mmap64): Do not use BP_SYM.
30830 (mmap64): Do not use BP_SYM in weak_alias.
30831 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30832 <bp-sym.h> and <bp-asm.h>.
30833 (PARMS): Do not use macros from bp-asm.h.
30834 (__posix_fadvise64_l64): Do not use BP_SYM.
30835 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30836 (PARMS): Do not use macros from bp-asm.h.
30838 (semtimedop): Do not use BP_SYM.
30839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30842 2013-02-21 Allan McRae <allan@archlinux.org>
30844 * manual/message.texi (Charset conversion in gettext):
30845 Move @end statement to beginning of line.
30847 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30854 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30855 (denorm): Likewise.
30856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30859 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30861 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30862 tail-call to the resolved function if pltexit isn't needed.
30864 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30867 or Y being zero as being unlikely.
30868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30871 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30873 * manual/nss.texi (System Databases and Name Service Switch):
30874 Remove frobnicate @pxref.
30876 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30878 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30879 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30881 2013-02-20 Petr Machata <pmachata@redhat.com>
30883 * elf/elf.h (R_ARM_TARGET1): New macro.
30884 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30885 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30886 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30887 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30888 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30889 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30890 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30891 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30892 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30893 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30894 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30895 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30896 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30897 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30898 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30899 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30900 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30901 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30902 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30903 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30904 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30905 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30906 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30907 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30908 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30909 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30910 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30911 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30912 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30913 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30914 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30915 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30916 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30917 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30918 (R_ARM_THM_GOT_BREL12): Likewise.
30919 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30920 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30921 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30922 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30923 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30924 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30925 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30926 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30927 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30929 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30931 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30932 __attribute_used__ to __attribute__ ((unused)).
30934 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30936 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30939 comment formatting.
30940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30942 2013-02-19 Joseph Myers <joseph@codesourcery.com>
30945 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30947 (ENTER): Remove both macro definitions.
30949 (CHECK_BOUNDS_LOW): Likewise.
30950 (CHECK_BOUNDS_HIGH): Likewise.
30951 (CHECK_BOUNDS_BOTH): Likewise.
30952 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30953 (RETURN_BOUNDED_POINTER): Likewise.
30954 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30955 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30956 (POP_ERRNO_LOCATION_RETURN): Likewise.
30957 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30958 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30959 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30961 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30962 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30963 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30964 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30965 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30966 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30967 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30968 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30969 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30970 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30971 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30972 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30973 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30974 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30976 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30977 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30979 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30980 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30981 * sysdeps/i386/i586/memset.S (memset): Likewise.
30982 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30983 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30984 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30986 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30987 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30988 Change uses of L(2) to L(out).
30989 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30990 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30991 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30992 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30993 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30995 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30996 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30998 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30999 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31000 (RETURN): Do not use macro LEAVE.
31001 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31002 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31003 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31004 * sysdeps/i386/i686/memset.S (memset): Likewise.
31005 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31006 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31007 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31008 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31010 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31011 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31012 L(1_2) and L(1_3) into L(1).
31013 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31014 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31015 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31016 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31017 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31018 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31019 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31020 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31021 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31023 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31024 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31025 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31026 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31027 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31028 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31029 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31030 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31031 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31032 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31033 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31034 * sysdeps/i386/strspn.S (strspn): Likewise.
31035 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31037 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31038 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31039 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31040 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31041 L(1_3) into L(1_1).
31042 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31043 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31044 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31046 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31048 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31050 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31053 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31055 * math/atest-exp.c (exp_mpn): Remove ROUND.
31056 * math/atest-exp2.c (exp_mpn): Likewise.
31057 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31059 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31060 * stdlib/tst-tls-atexit-lib.c: Likewise.
31061 * stdlib/tst-tls-atexit.c: Likewise.
31063 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31065 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31066 and __attribute_alloc_size__.
31068 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31070 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31071 __attribute_alloc_size__.
31072 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31073 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31075 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31077 * include/programs/xmalloc.h: New file.
31078 * catgets/gencat.c: Include it.
31079 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31080 * elf/pldd.c: Likewise.
31081 * iconv/iconv_charmap.c: Likewise.
31082 * iconv/iconvconfig.c: Likewise.
31083 * iconv/strtab.c: Likewise.
31084 * locale/programs/locale.c: Likewise.
31085 * locale/programs/localedef.h: Likewise.
31086 * locale/programs/simple-hash.c: Likewise.
31087 * nscd/nscd.h: Likewise.
31088 * nss/makedb.c: Likewise.
31089 * sysdeps/generic/ldconfig.h: Likewise.
31091 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31093 * Versions.def: Add GLIBC_2.18.
31094 * include/link.h (struct link_map): New member l_tls_dtor_count.
31095 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31096 (__call_tls_dtors): Likewise.
31097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31098 __cxa_thread_atexit_impl.
31099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31115 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31116 (tests): Add test case tst-tls-atexit.
31117 (modules-names): Add shared library for tst-tls-atexit.
31118 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31119 (GLIBC_PRIVATE): Add __call_tls_dtors.
31120 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31122 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31123 * stdlib/tst-tls-atexit.c: New test case.
31124 * stdlib/tst-tls-atexit-lib.c: New test case.
31126 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31128 * elf/Versions (ld): Add _dl_find_dso_for_object.
31129 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31130 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31131 (dl_open_worker): Use _dl_find_dso_for_object.
31132 * elf/dl-sym.c (do_sym): Likewise.
31133 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31135 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31137 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31138 Syntactic changes only.
31139 (_dl_runtime_profile): Do a tail-call to the resolved function.
31141 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31144 * sysdeps/x86_64/bp-asm.h: Remove file.
31145 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31146 <bp-sym.h> and <bp-asm.h>.
31147 (__clone): Do not use BP_SYM.
31148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31149 <bp-sym.h> and <bp-asm.h>.
31150 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31151 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31153 (_setjmp): Do not use BP_SYM.
31154 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31156 (setjmp): Do not use BP_SYM.
31157 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31159 (mempcpy): Do not use BP_SYM in weak_alias.
31160 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31162 (strchr): Do not use BP_SYM.
31163 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31165 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31166 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31167 (_start): Do not use BP_SYM.
31168 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31170 (strcat): Do not use BP_SYM.
31171 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31173 (STRCMP): Do not use BP_SYM.
31174 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31176 (STRCPY): Do not use BP_SYM.
31177 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31179 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31181 (FUNCTION): Do not use BP_SYM.
31182 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31184 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31186 2013-02-17 Andreas Jaeger <aj@suse.de>
31188 * time/Versions: Sort entries.
31189 * string/Versions: Likewise.
31190 * resolv/Versions: Likewise.
31191 * posix/Versions: Likewise.
31192 * iconv/Versions: Likewise.
31193 * elf/Versions: Likewise.
31194 * wcsmbs/Versions: Likewise.
31196 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31198 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31199 loop termination condition.
31201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31202 variable to calculate EZ.
31205 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31206 the lower precision input.
31208 2013-02-15 Joseph Myers <joseph@codesourcery.com>
31211 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31212 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31213 (run-via-rtld-prefix): Do not handle %-bp tests.
31214 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31215 (all-object-suffixes): Remove .ob.
31216 (bppfx): Remove variable.
31217 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31218 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31219 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31220 [$(build-bounded) = yes] (libtype.ob): Likewise.
31221 * Makerules (elide-routines.ob): Remove variable.
31222 (do-tests-clean): Do not handle *-bp.out.
31223 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31224 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31225 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31226 (tests): Do not include $(tests-bp.out).
31227 (xtests): Do not include $(xtests-bp.out).
31228 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31229 [$(build-bounded) = yes] ($(addprefix
31230 $(objpfx),$(binaries-bounded))): Remove rule.
31231 ($(objpfx)%-bp.out): Remove rule.
31232 * config.make.in (build-bounded): Remove variable.
31233 * crypt/Makefile [$(build-bounded) = yes]
31234 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31235 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31236 append to variable.
31237 [$(build-bounded) = yes] (install-lib): Likewise.
31238 [$(build-bounded) = yes] (generated): Likewise.
31239 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31241 * intl/Makefile [$(build-bounded) = yes]
31242 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31243 * math/Makefile [$(build-bounded) = yes]
31244 ($(tests:%=$(objpfx)%-bp): Likewise.
31245 * misc/Makefile [$(build-bounded) = yes]
31246 ($(objpfx)tst-tsearch-bp): Likewise.
31247 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31248 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31250 * string/Makefile (o-objects.ob): Remove variable.
31251 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31252 (CFLAGS-.ob): Remove variable.
31253 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31254 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31255 both definitions of variable.
31256 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31257 (ASFLAGS-.ob): Remove variable.
31259 2013-02-14 Joseph Myers <joseph@codesourcery.com>
31262 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31263 Remove __BOUNDED_POINTERS__ from condition.
31264 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31265 * string/bits/string2.h [!__NO_STRING_INLINES &&
31266 !__BOUNDED_POINTERS__]: Likewise.
31267 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31269 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31270 Remove conditional code.
31271 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31272 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31273 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31277 * csu/libc-start.c: Do not include <bp-sym.h>.
31278 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31279 * elf/dl-open.c: Do not include <bp-sym.h>.
31280 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31281 * math/fegetenv.c: Do not include <bp-sym.h>.
31282 (fegetenv): Do not use BP_SYM in versioned symbols.
31283 * nptl/sysdeps/pthread/bits/libc-lockP.h
31284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31287 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31289 (__pthread_mutex_destroy): Likewise.
31290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31291 (__pthread_mutex_lock): Likewise.
31292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31293 (__pthread_mutex_trylock): Likewise.
31294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31295 (__pthread_mutex_unlock): Likewise.
31296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31297 (__pthread_mutexattr_init): Likewise.
31298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31299 (__pthread_mutexattr_destroy): Likewise.
31300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31301 (__pthread_mutexattr_settype): Likewise.
31302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31303 (__pthread_rwlock_init): Likewise.
31304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31305 (__pthread_rwlock_destroy): Likewise.
31306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31307 (__pthread_rwlock_rdlock): Likewise.
31308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31309 (__pthread_rwlock_tryrdlock): Likewise.
31310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31311 (__pthread_rwlock_wrlock): Likewise.
31312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31313 (__pthread_rwlock_trywrlock): Likewise.
31314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31315 (__pthread_rwlock_unlock): Likewise.
31316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31317 (__pthread_key_create): Likewise.
31318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31319 (__pthread_setspecific): Likewise.
31320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31321 (__pthread_getspecific): Likewise.
31322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31325 (_pthread_cleanup_push_defer): Likewise.
31326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31327 (_pthread_cleanup_pop_restore): Likewise.
31328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31329 (pthread_setcancelstate): Likewise.
31330 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31332 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31333 (memchr): Do not use BP_SYM in weak_alias.
31334 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31335 (fegetenv): Do not use BP_SYM in versioned symbols.
31336 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31337 (fesetenv): Do not use BP_SYM in versioned symbols.
31338 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31339 (feupdateenv): Do not use BP_SYM in versioned symbols.
31340 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31341 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31342 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31343 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31344 (open64): Do not use BP_SYM in weak_alias.
31345 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31346 (fegetenv): Do not use BP_SYM in versioned symbols.
31347 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31348 (fesetenv): Do not use BP_SYM in versioned symbols.
31349 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31350 (feupdateenv): Do not use BP_SYM in versioned symbols.
31351 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31352 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31353 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31354 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31355 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31356 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31357 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31359 (__libc_start_main): Do not use BP_SYM.
31361 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31364 redundant return line.
31366 (denorm): Likewise.
31367 (dbl_mp): Likewise.
31368 (sub_magnitudes): Likewise.
31374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31376 (denorm): Likewise.
31377 (dbl_mp): Likewise.
31378 (sub_magnitudes): Likewise.
31385 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31387 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31388 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31391 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31392 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31394 of __mul for squares.
31395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31399 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31400 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31402 2013-02-13 Joseph Myers <joseph@codesourcery.com>
31405 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31407 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31408 prototype or function definition. Rename ubp_* variables and
31409 parameters. Remove argv definitions conditional on
31410 [__BOUNDED_POINTERS__].
31411 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31412 * elf/dl-runtime.c (_dl_fixup): Likewise.
31413 * include/set-hooks.h (RUN_HOOK): Likewise.
31414 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31416 * string/strcpy.c (strcpy): Do not use __unbounded.
31417 * sysdeps/generic/frame.h (struct layout): Likewise.
31418 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31419 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31420 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31421 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31422 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31423 (__backtrace): Likewise.
31424 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31426 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31427 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31428 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31430 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31431 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31432 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31433 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31434 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31435 Do not use __unbounded.
31436 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31437 Rename __unboundedrlimits parameter to rlimits in prototype.
31438 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31439 Do not use __unbounded.
31440 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31441 not use __ptrvalue.
31442 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31443 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31444 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31445 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31446 __ptrvalue or __unbounded.
31447 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31448 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31450 (__new_msgctl): Do not use __ptrvalue.
31451 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31453 (__libc_msgrcv): Do not use __ptrvalue.
31454 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31455 startup_info): Do not use __unbounded.
31456 (__libc_start_main): Likewise. Rename ubp_* variables and
31457 parameters. Remove argv definitions conditional on
31458 [__BOUNDED_POINTERS__].
31459 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31461 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31463 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31465 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31467 (__new_shmctl): Do not use __ptrvalue.
31468 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31469 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31471 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31473 (__libc_sigaction): Likewise.
31474 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31475 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31479 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
31481 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31483 * string/mempcpy.c: Implement by calling memcpy.
31485 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31492 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31493 values in the mantissa.
31495 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31496 minimize writes to Z.
31497 (sub_magnitudes): Simplify code a bit.
31499 2013-02-12 Roland McGrath <roland@hack.frob.com>
31501 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31502 from the message. The linker prefixes all warnings with that already.
31504 2013-02-12 Andreas Schwab <schwab@suse.de>
31507 * posix/regexec.c (extend_buffers): Add parameter min_len.
31508 (check_matching): Pass minimum needed length.
31509 (clean_state_log_if_needed): Likewise.
31510 (get_subexp): Likewise.
31511 * posix/Makefile (tests): Add bug-regex34.
31512 (bug-regex34-ENV): Define.
31513 * posix/bug-regex34.c: New file.
31516 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31517 elements compare against the byte sequence of it, not its name.
31518 * posix/Makefile (tests): Add bug-regex35.
31519 (bug-regex35-ENV): Define.
31520 * posix/bug-regex35.c: New file.
31522 2013-02-11 Tom de Vries <tom@codesourcery.com>
31524 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31526 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31527 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31528 (CHECK_EOL): Add undef.
31530 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
31532 * bits/stdlib-bsearch.h: New file.
31533 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31534 * stdlib/stdlib.h: Likewise.
31536 2013-02-11 Roland McGrath <roland@hack.frob.com>
31538 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31539 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31541 * manual/search.texi (Array Search Function): Add missing const in
31543 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31544 declaration to use rlim_t.
31545 (Basic Scheduling Functions): Remove erroneous const from
31546 sched_getparam prototype. Remove erroneous * from
31547 sched_get_priority_max and sched_get_priority_min prototypes.
31548 (Resource Usage): Fix summary @comment on vtimes to refer to
31549 sys/vtimes.h rather than vtimes.h.
31550 Add missing *s in vtimes prototype.
31551 (Limits on Resources): Fix ulimit prototype to return long int.
31552 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31553 prototypes to use long int rather than double.
31554 (BSD Random): Fix initstate and setstate to use char *, not void *.
31555 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31556 prototype to make second argument 'struct aiocb64 *const[]'.
31557 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31558 (Status of AIO Operations): Remove erroneous const in aio_return and
31559 aio_return64 prototypes.
31560 (Synchronizing I/O): Fix sync prototype to return void.
31561 * manual/startup.texi (Suboptions): Remove an erroneous const in
31562 getsubopt prototype.
31563 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31564 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31565 use size_t rather than int.
31566 (Scanning All Users): Likewise for getpwent_r.
31567 (Setting Groups): Add missing const to setgroups prototype.
31568 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31569 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31570 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31571 'const void *' rather than 'const char *'.
31572 (Host Address Functions): Likewise for inet_ntop.
31573 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31574 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31575 ssize_t for return value.
31576 (Sending Data): Likewise for send, sendto, sendmsg.
31577 (Socket Option Functions): Add a missing const in setsockopt prototype.
31578 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31579 use wchar_t for the argument.
31580 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31581 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31583 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31584 double/float/long double for second argument.
31585 Fix return types of significand, significandf, significandl.
31586 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31587 argument in fchmod prototype.
31588 (File Owner): Use uid_t and gid_t in fchown prototype.
31589 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31590 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31591 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31592 use 'const struct dirent **' as argument types to CMP function pointer
31594 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31595 (File Times): Fix summary magic @comment for struct utimbuf and utime
31596 to refer to utime.h, not time.h.
31597 * manual/string.texi (Argz Functions): Add missing const in
31598 argz_extract and argz_next prototypes.
31599 (Finding Tokens in a String): Likewise for basename.
31600 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31601 (Copying and Concatenation): Fix typo in wmemmove prototype.
31602 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31603 (Signal Stack): Remove erroneous const in sigstack prototype.
31604 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31606 (Simple Calendar Time): Likewise for stime.
31607 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31609 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31610 say sys/sysctl.h instead.
31611 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31612 and vsyslog prototypes.
31614 2013-02-11 Tom de Vries <tom@codesourcery.com>
31616 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31619 2013-02-11 Roland McGrath <roland@hack.frob.com>
31621 * misc/sys/mman.h: Fix typo in mremap comment.
31623 2013-02-08 Roland McGrath <roland@hack.frob.com>
31625 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31626 the '\0' terminator.
31628 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31631 * debug/segfault.c: Don't include <bp-checks.h>.
31632 * sysdeps/generic/bp-checks.h: Remove file.
31633 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31634 (__GETDENTS): Don't use CHECK_N.
31635 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31636 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31637 (__getgroups): Don't use CHECK_N.
31638 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31639 (setgroups): Don't use CHECK_N.
31640 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31641 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31642 (__libc_msgrcv): Don't use CHECK_N.
31643 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31644 (__libc_msgsnd): Don't use CHECK_N.
31645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31647 (__libc_pread): Don't use CHECK_N.
31648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31649 include <bp-checks.h>.
31650 (__libc_pread64): Don't use CHECK_N.
31651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31652 include <bp-checks.h>.
31653 (__libc_pwrite): Don't use CHECK_N.
31654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31655 include <bp-checks.h>.
31656 (__libc_pwrite64): Don't use CHECK_N.
31657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31659 (__libc_pread): Don't use CHECK_N.
31660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31661 include <bp-checks.h>.
31662 (__libc_pread64): Don't use CHECK_N.
31663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31664 include <bp-checks.h>.
31665 (__libc_pwrite): Don't use CHECK_N.
31666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31667 include <bp-checks.h>.
31668 (__libc_pwrite64): Don't use CHECK_N.
31669 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31670 (do_pread): Don't use CHECK_N.
31671 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31672 (do_pread64): Don't use CHECK_N.
31673 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31674 (do_pwrite): Don't use CHECK_N.
31675 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31676 (do_pwrite64): Don't use CHECK_N.
31677 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31678 (__libc_readv): Don't use CHECK_N.
31679 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31680 (semop): Don't use CHECK_N.
31681 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31683 (semtimedop): Don't use CHECK_N.
31684 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31685 (__libc_pread): Don't use CHECK_N.
31686 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31688 (__libc_pread64): Don't use CHECK_N.
31689 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31691 (__libc_pwrite): Don't use CHECK_N.
31692 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31694 (__libc_pwrite64): Don't use CHECK_N.
31695 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31697 (__libc_msgrcv): Don't use CHECK_N.
31698 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31699 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31700 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31701 (__libc_writev): Don't use CHECK_N.
31703 2013-02-08 Roland McGrath <roland@hack.frob.com>
31705 * string/strcpy.c: Removed unused variable.
31707 * Makeconfig (+sysdep-includes): Define with := rather than =.
31708 Use an existing include/ subdir of each sysdeps dir before it.
31710 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31712 * nscd/connection.c (register_traced_file): Comment function.
31713 [HAVE_INOTIFY] (union __inev): Define.
31714 [HAVE_INOTIFY] (inotify_check_files): New function.
31715 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31716 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31718 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31720 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31722 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31723 loaded if not already and that a failure is permanent.
31725 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31728 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31729 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31731 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31734 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31735 (CHECK_1_NULL_OK): Likewise.
31736 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31737 (__fxstat): Do not use CHECK_1.
31738 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31740 (___fxstat64): Do not use CHECK_1.
31741 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31743 (__fxstatat): Do not use CHECK_1.
31744 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31746 (__fxstatat64): Do not use CHECK_1.
31747 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31749 (__fxstat): Do not use CHECK_1.
31750 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31752 (__fxstatat): Do not use CHECK_1.
31753 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31755 (__getresgid): Do not use CHECK_1.
31756 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31758 (__getresuid): Do not use CHECK_1.
31759 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31761 (__lxstat): Do not use CHECK_1.
31762 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31764 (__old_msgctl): Do not use CHECK_1.
31765 (__new_msgctl): Likewise.
31766 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31768 (__new_setrlimit): Do not use CHECK_1.
31769 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31771 (__old_shmctl): Do not use CHECK_1.
31772 (__new_shmctl): Likewise.
31773 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31775 (__xstat): Do not use CHECK_1.
31776 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31777 (__lxstat): Do not use CHECK_1.
31778 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31780 (___lxstat64): Do not use CHECK_1.
31781 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31782 (__old_msgctl): Do not use CHECK_1.
31783 (__new_msgctl): Likewise.
31784 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31786 (__gettimeofday): Do not use CHECK_1.
31787 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31788 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31789 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31791 (__gettimeofday): Do not use CHECK_1.
31792 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31793 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31794 (__new_shmctl): Do not use CHECK_1.
31795 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31797 (do_sigtimedwait): Do not use CHECK_1.
31798 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31800 (do_sigwaitinfo): Do not use CHECK_1.
31801 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31803 (msgctl): Do not use CHECK_1.
31804 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31806 (shmctl): Do not use CHECK_1.
31807 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31808 (ustat): Do not use CHECK_1.
31809 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31811 (__fxstat): Do not use CHECK_1.
31812 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31814 (__fxstatat): Do not use CHECK_1.
31815 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31817 (__lxstat): Do not use CHECK_1.
31818 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31820 (__xstat): Do not use CHECK_1.
31821 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31822 (__xstat): Do not use CHECK_1.
31823 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31824 (___xstat64): Do not use CHECK_1.
31827 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31829 (CHECK_BOUNDS_HIGH): Likewise.
31830 * string/strcpy.c: Do not include <bp-checks.h>.
31831 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31833 2013-02-07 Roland McGrath <roland@hack.frob.com>
31835 * nscd/nscd-client.h (__nscd_drop_map_ref):
31836 Add __attribute__ ((unused)).
31837 * nis/nss-nisplus.h (niserr2nss): Likewise.
31839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31840 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31842 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31843 Remove inline keyword.
31844 * include/rounding-mode.h (round_away): Likewise.
31845 * libio/wfileops.c (adjust_wide_data): Likewise.
31846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31847 (__m128i_strloadu_tolower): Likewise.
31848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31849 (__m128i_strloadu_tolower): Likewise.
31850 * time/mktime.c (ydhms_diff): Likewise.
31851 * locale/elem-hash.h (elem_hash): Likewise.
31852 * locale/setlocale.c (setdata): Likewise.
31853 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31854 (re_string_wchar_at): Likewise.
31855 (bitset_not, bitset_merge, bitset_mask): Likewise.
31856 [!(__GNUC__ > 3)] (inline): Remove macro.
31857 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31858 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31859 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31860 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31861 * string/memcmp.c (memcmp_bytes): Likewise.
31862 * locale/programs/locarchive.c (compute_hashval): Likewise.
31863 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31864 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31865 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31866 * nss/getent.c (print_rpc, print_protocols): Likewise.
31867 (print_passwd, print_group, print_aliases): Likewise.
31868 * nis/nss-nisplus.h (niserr2nss): Likewise.
31869 * nscd/connections.c (restart_p): Likewise.
31870 Change return type to bool.
31872 2013-02-05 Roland McGrath <roland@hack.frob.com>
31874 * Makeconfig (all-Depend-files): Add existing
31875 $(sorted-subdirs:=/Depend) files.
31876 (all-subdirs): Remove nss.
31877 * sysdeps/unix/inet/Subdirs: Add it here instead.
31878 * hesiod/Depend: New file.
31880 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31881 instead of calling alloca.
31883 * io/lseek.c (__lseek): Rename to __libc_lseek.
31884 Define __lseek as an alias.
31886 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31888 2013-02-04 Carlos O'Donell <carlos@redhat.com>
31890 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31891 else clause and remove check for non-standard endianness.
31893 2013-02-04 David S. Miller <davem@davemloft.net>
31895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31897 2013-02-04 Joseph Myers <joseph@codesourcery.com>
31900 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31901 (__ubp_memchr): Remove prototype.
31902 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31903 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31904 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31905 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31906 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31908 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31909 (__ubp_memchr): Likewise.
31910 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31911 (__ubp_memchr): Likewise.
31912 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31913 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31914 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31915 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31917 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31918 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31919 (__getcwd): Do not use CHECK_STRING.
31920 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31922 (__real_chown): Do not use CHECK_STRING.
31923 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31925 (fchownat): Do not use CHECK_STRING.
31926 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31928 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31930 (__lchown): Do not use CHECK_STRING.
31931 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31932 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31933 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31934 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31936 include <bp-checks.h>.
31937 (truncate64): Do not use CHECK_STRING.
31938 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31940 (__real_chown): Do not use CHECK_STRING.
31941 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31943 (__lchown): Do not use CHECK_STRING.
31944 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31946 (__chown): Do not use CHECK_STRING.
31947 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31949 (truncate64): Do not use CHECK_STRING.
31950 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31952 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31953 (__xmknod): Do not use CHECK_STRING.
31954 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31956 (__xmknodat): Do not use CHECK_STRING.
31957 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31958 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31960 2013-02-04 Andreas Schwab <schwab@suse.de>
31963 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31964 * include/netdb.h: Likewise for h_errno.
31965 * elf/tst-stackguard1.c: Include <tls.h>.
31967 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31969 * elf/link.h (struct link_map): Extend the l_addr comment.
31970 * include/link.h (struct link_map): Likewise.
31972 2013-02-01 Joseph Myers <joseph@codesourcery.com>
31975 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31976 (BOUNDED_1): Remove macro.
31977 * debug/backtrace.c: Don't include <bp-checks.h>.
31978 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31979 (__backtrace): Likewise.
31980 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31982 (__backtrace): Don't use BOUNDED_1.
31983 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31985 (__backtrace): Don't use BOUNDED_1.
31986 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31987 (__backtrace): Don't use BOUNDED_1.
31988 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31989 (shmat): Don't use BOUNDED_N.
31991 2013-01-31 Joseph Myers <joseph@codesourcery.com>
31994 * sysdeps/generic/bp-start.h: Remove file.
31995 * csu/libc-start.c: Don't include <bp-start.h>.
31996 (LIBC_START_MAIN): Set up __environ directly instead of using
31997 INIT_ARGV_and_ENVIRON.
31998 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32002 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32004 (CHECK_FCNTL): Likewise.
32005 (CHECK_N_PAGES): Likewise.
32008 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32010 (CHECK_SIGSET_NULL_OK): Likewise.
32011 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32013 (sigpending): Don't use CHECK_SIGSET.
32014 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32016 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32017 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32019 (do_sigsuspend): Don't use CHECK_SIGSET.
32020 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32022 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32023 (do_sigwait): Don't use CHECK_SIGSET.
32024 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32026 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32027 include <bp-checks.h>.
32028 (sigpending): Don't use CHECK_SIGSET.
32029 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32030 include <bp-checks.h>.
32031 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32032 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32034 (sigpending): Don't use CHECK_SIGSET.
32035 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32037 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32040 * sysdeps/generic/bp-semctl.h: Remove file.
32041 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32042 <bp-checks.h> and <bp-semctl.h>.
32043 (__old_semctl): Don't use CHECK_SEMCTL.
32044 (__new_semctl): Likewise.
32045 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32047 (__old_semctl): Don't use CHECK_SEMCTL.
32048 (__new_semctl): Likewise.
32049 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32050 <bp-checks.h> and <bp-semctl.h>.
32051 (__old_semctl): Don't use CHECK_SEMCTL.
32052 (__new_semctl): Likewise.
32053 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32054 <bp-checks.h> and <bp-semctl.h>.
32055 (semctl): Don't use CHECK_SEMCTL.
32058 * Makerules (elide-bp-thunks): Remove variable.
32059 (elide-routines.oS): Don't use $(elide-bp-thunks).
32060 (elide-routines.os): Likewise.
32061 (elide-routines.o): Likewise.
32062 (elide-routines.op): Likewise.
32063 (elide-routines.og): Likewise.
32064 (objects): Don't use $(bp-thunks).
32065 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32067 (common-generated): Do not add s-proto-bp.d.
32068 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32071 Do not generate makefile rules for bounded-pointer thunks.
32072 * sysdeps/generic/bp-thunks.h: Remove file.
32073 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32074 * sysdeps/unix/s-proto-bp.S: Likewise.
32077 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32078 parts of result separately when argument is not close to line from
32079 -i to i and one part of argument is small.
32080 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32081 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32082 * math/libm-test.inc (cacos_test): Add more tests.
32083 (casin_test): Likewise.
32084 (casinh_test): Likewise.
32085 * sysdeps/i386/fpu/libm-test-ulps: Update.
32086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32088 2013-01-31 David S. Miller <davem@davemloft.net>
32090 * po/de.po: Update from translation team.
32092 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32094 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32096 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32098 * configure.in (_AC_PROG_CC_C89): New definition.
32099 * configure: Regenerate.
32101 * configure.in (AC_PROG_CPP): New definition.
32102 * configure: Regenerate.
32104 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32106 * debug/tst-backtrace.h: New file.
32107 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32108 (ret): Remove variable.
32110 (FAIL): Remove macro.
32111 (NO_INLINE): Likewise.
32112 (fn1): Use match function instead of strstr.
32113 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32114 (ret): Remove variable.
32116 (FAIL): Remove macro.
32117 (NO_INLINE): Likewise.
32118 (fn): Use match function instead of strstr.
32119 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32120 (ret): Remove variable.
32122 (FAIL): Remove macro.
32123 (NO_INLINE): Likewise.
32124 (handle_signal): Use match function instead of strstr.
32125 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32126 (ret): Remove variable.
32128 (FAIL): Remove macro.
32129 (NO_INLINE): Likewise.
32130 (handle_signal): Use match function instead of strstr.
32132 2013-01-23 Roland McGrath <roland@hack.frob.com>
32134 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32136 2013-01-23 David S. Miller <davem@davemloft.net>
32138 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32139 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32140 argument of CAS if possible.
32141 * sysdeps/sparc/sparc64/bits/atomic.h
32142 (__arch_compare_and_exchange_val_32_acq): Likewise.
32143 (__arch_compare_and_exchange_val_64_acq): Likewise.
32145 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32147 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32148 * sysdeps/posix/ulimit.c: ... this.
32149 Include <limits.h>.
32150 * sysdeps/unix/bsd/ulimit.c: Remove file.
32152 2013-01-23 Adam Conrad <adconrad@0c3.net>
32154 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32155 (LDFLAGS-tst-array5): Likewise.
32157 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32160 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32161 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32162 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32163 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32165 2013-01-21 David S. Miller <davem@davemloft.net>
32167 * sysdeps/sparc/backtrace.c: New file.
32168 * sysdeps/sparc/sparc32/backtrace.h: New file.
32169 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32170 * sysdeps/sparc/sparc64/backtrace.h: New file.
32171 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32172 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32175 2013-01-21 Andreas Schwab <schwab@suse.de>
32178 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32181 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32187 2013-01-18 Joseph Myers <joseph@codesourcery.com>
32188 Mark Mitchell <mark@codesourcery.com>
32189 Tom de Vries <tom@codesourcery.com>
32190 Paul Pluzhnikov <ppluzhnikov@google.com>
32192 * debug/tst-backtrace2.c: New file.
32193 * debug/tst-backtrace3.c: Likewise.
32194 * debug/tst-backtrace4.c: Likewise.
32195 * debug/tst-backtrace5.c: Likewise.
32196 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32197 (CFLAGS-tst-backtrace3.c): Likewise.
32198 (CFLAGS-tst-backtrace4.c): Likewise.
32199 (CFLAGS-tst-backtrace5.c): Likewise.
32200 (LDFLAGS-tst-backtrace2): Likewise.
32201 (LDFLAGS-tst-backtrace3): Likewise.
32202 (LDFLAGS-tst-backtrace4): Likewise.
32203 (LDFLAGS-tst-backtrace5): Likewise.
32204 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32205 tst-backtrace4 and tst-backtrace5.
32207 2013-01-18 Anton Blanchard <anton@samba.org>
32208 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32210 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32211 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32212 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32213 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32215 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32216 "+r" and remove output regs list as redundant. Add explicit inline
32217 asm to specify register of return val to work around compiler codegen
32218 bug. Remove (int) cast on return value. Add return type parameter to
32219 use in macro so that this macro does not truncate return value for
32221 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32222 pass to INTERNAL_VSYSCALL_NCS.
32223 (INLINE_VSYSCALL): Add 'long int' as return type to
32224 INTERNAL_VSYSCALL_NCS macro invocation.
32225 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32226 INTERNAL_VSYSCALL_NCS macro invocation.
32227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32229 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32232 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32233 Fix application of SIMD FP exception mask.
32235 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32236 mp_no from a power of two.
32237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32238 __mpexp_twomm1. Use __pow_mp.
32240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32243 2013-01-17 David S. Miller <davem@davemloft.net>
32245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32247 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32250 * include/complex.h: Condition contents on [!_COMPLEX_H].
32251 (__kernel_casinhf): New prototype.
32252 (__kernel_casinh): Likewise.
32253 (__kernel_casinhl): Likewise.
32254 * math/Makefile (libm_calls): Add k_casinh.
32255 * math/k_casinh.c: New file.
32256 * math/k_casinhf.c: Likewise.
32257 * math/k_casinhl.c: Likewise.
32258 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32259 finite nonzero arguments.
32260 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32261 finite nonzero arguments.
32262 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32263 finite nonzero arguments.
32264 * math/s_casinh.c: Do not include <float.h>.
32265 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32266 * math/s_casinhf.c: Do not include <float.h>.
32267 (__casinhf): Move code for finite nonzero arguments to
32269 * math/s_casinhl.c: Do not include <float.h>.
32270 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32272 (__casinhl): Move code for finite nonzero arguments to
32274 * math/libm-test.inc (cacos_test): Add more tests.
32275 * sysdeps/i386/fpu/libm-test-ulps: Update.
32276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32278 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32280 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32281 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32282 [!HAVE_MREMAP]: Remove [defined linux] case.
32283 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32285 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32287 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32289 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32291 * elf/elf.h (R_386_SIZE32): New relocation.
32292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32294 (elf_machine_rela): Likewise.
32295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32296 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32298 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32300 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32301 (FP_FAST_FMA): Do not define.
32302 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32303 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32304 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32305 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32306 !_SOFT_FLOAT]: Likewise.
32307 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32308 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32310 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32311 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32312 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32313 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32314 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32315 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32318 2013-01-16 Andreas Schwab <schwab@suse.de>
32321 * include/stdlib.h (__mktemp): Add declaration.
32322 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32323 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32325 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32327 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32329 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32330 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32331 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32333 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32334 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32336 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32338 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32339 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32340 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32342 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32343 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32345 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32347 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32349 2013-01-15 David S. Miller <davem@davemloft.net>
32351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32352 trunc{,f} to libm-sysdep_routes.
32353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32363 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32364 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32365 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32366 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32367 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32368 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32371 nearbyint{,f} to libm-sysdep_routes.
32372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32383 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32386 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32388 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32389 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32390 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32392 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32393 libc_feholdexcept and libc_fesetenv.
32395 2013-01-15 Mike Frysinger <vapier@gentoo.org>
32397 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32399 2013-01-14 David S. Miller <davem@davemloft.net>
32401 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32402 (SPARC_ASM_VIS2_IFUNC): Likewise.
32403 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32405 use of 'siam' instruction.
32406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32439 routines to libm-sysdep_routines.
32440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32443 fdim/fdimf to libm-sysdep_routines.
32444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32452 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32453 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32454 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32455 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32457 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32459 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32460 to optimize copies.
32462 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32467 local variable MPTWO.
32468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32471 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32473 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32476 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32478 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32480 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32482 * manual/pattern.texi (glob_t): Document gl_flags.
32483 (glob64_t): Likewise.
32485 2013-01-11 David S. Miller <davem@davemloft.net>
32487 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32488 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32489 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32490 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32491 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32492 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32493 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32494 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32495 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32496 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32497 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32498 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32499 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32501 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32502 sparc V9 rather than using V8 code.
32503 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32504 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32506 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32508 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32511 2013-01-11 Roland McGrath <roland@hack.frob.com>
32513 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32514 not in the main loop.
32515 * configure: Regenerated.
32517 2013-01-11 Joseph Myers <joseph@codesourcery.com>
32519 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32520 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32522 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32523 [!__GLIBC_HAVE_LONG_LONG] case.
32524 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32525 condition to just #else.
32526 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32527 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32528 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32529 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32531 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32532 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32533 #elif condition to just #else.
32534 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32535 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32536 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32537 #elif condition to just #else.
32539 2013-01-11 Steve Ellcey <sellcey@mips.com>
32541 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32542 (EF_MIPS_ARCH_64): Fix value.
32543 (EF_MIPS_ARCH_32R2): New.
32544 (EF_MIPS_ARCH_64R2): New.
32546 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32548 * Makeconfig (+link-pie-before-libc): New.
32549 (+link-pie-after-libc): Likewise.
32550 (+link-pie-tests): Likewise.
32551 (+link-pie): Rewritten.
32552 (link-before-libc): Remove $(config-LDFLAGS).
32553 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32554 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32555 (config-LDFLAGS): Renamed to ...
32556 (rtld-LDFLAGS): This.
32557 (rtld-tests-LDFLAGS): New macro.
32558 (link-libc-rpath-link): Likewise.
32559 (link-libc-tests-rpath-link): Likewise.
32560 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32561 (link-libc): Prepand $(link-libc-rpath-link).
32562 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32563 (test-program-prefix): New macro.
32564 (test-via-rtld-prefix): Likewise.
32565 (test-program-cmd): Likewise.
32566 (host-test-program-cmd): Likewise.
32567 * Makefile ($(common-objpfx)testrun.sh): Replace
32568 $(run-program-prefix) with $(test-program-prefix).
32569 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32571 ($(common-objpfx)shlib.lds): Likewise.
32572 (build-module-helper): Likewise.
32573 ($(common-objpfx)format.lds): Likewise.
32574 * Rules (binaries-pie-tests): New.
32575 (binaries-pie-notests): Likewise.
32576 (binaries-pie): Rewritten.
32577 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32578 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32579 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32580 (make-test-out): Replace $(host-built-program-cmd) with
32581 $(host-test-program-cmd).
32582 * config.make.in (build-hardcoded-path-in-tests): New variable.
32583 * configure.in (--enable-hardcoded-path-in-tests): New configure
32585 (hardcoded_path_in_tests): New AC_SUBST.
32586 * configure: Regenerated.
32587 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32588 $(built-program-cmd) with $(test-program-cmd).
32589 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32590 (test_program_cmd): This.
32591 * elf/Makefile ($(objpfx)order.out): Run test with
32592 $(test-program-prefix).
32593 ($(objpfx)order2.out): Likewise.
32594 ($(objpfx)tst-initorder.out): Likewise.
32595 ($(objpfx)tst-initorder2.out): Likewise.
32596 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32597 $(test-program-cmd).
32598 ($(objpfx)tst-array1-static.out): Likewise.
32599 ($(objpfx)tst-array2.out): Likewise.
32600 ($(objpfx)tst-array3.out): Likewise.
32601 ($(objpfx)tst-array4.out): Likewise.
32602 ($(objpfx)tst-array5.out): Likewise.
32603 ($(objpfx)tst-array5-static.out): Likewise.
32604 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32605 $(test-program-cmd).
32606 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32607 $(run-program-prefix) with $(test-program-prefix).
32608 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32609 (test_program_prefix): This.
32610 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32611 $(run-program-prefix) with $(test-program-prefix).
32612 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32613 (test_program_prefix): This.
32614 * iconvdata/tst-tables.sh: Likewise.
32615 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32616 $(run-program-prefix) with $(test-program-prefix).
32617 ($(objpfx)tst-translit.out): Likewise.
32618 ($(objpfx)tst-gettext2.out): Likewise.
32619 ($(objpfx)tst-gettext4.out): Likewise.
32620 ($(objpfx)tst-gettext6.out): Likewise.
32621 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32622 (test_program_prefix): This.
32623 * intl/tst-gettext2.sh: Likewise.
32624 * intl/tst-gettext4.sh Likewise.
32625 * intl/tst-gettext6.sh: Likewise.
32626 * intl/tst-translit.sh: Likewise.
32627 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32628 with $(test-program-cmd).
32629 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32630 $(run-program-prefix) with $(test-program-prefix).
32631 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32632 (test_program_prefix): This.
32633 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32634 $(run-program-prefix) with $(test-program-prefix).
32635 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32636 (test_program_prefix): This.
32637 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32638 * posix/Makefile ($(objpfx)globtest.out): Replace
32639 $(run-via-rtld-prefix) and $(test-wrapper) with
32640 $(test-program-prefix) and $(test-via-rtld-prefix).
32641 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32642 $(test-program-prefix).
32643 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32644 $(host-test-program-cmd).
32645 (tst-spawn-ARGS): Likewise.
32646 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32647 $(test-program-prefix).
32648 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32649 (test_via_rtld_prefix): This.
32650 (test_wrapper): Renamed to ...
32651 (test_program_prefix): This.
32652 (run_program_prefix): Replaced by test_program_prefix.
32653 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32654 (test_program_prefix): This.
32655 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32656 with $(host-test-program-cmd).
32657 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32658 $(run-program-prefix) with $(test-program-prefix).
32659 ($(objpfx)tst-printf.out): Likewise.
32660 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32661 $(test-program-cmd).
32662 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32663 (test_program_prefix): This.
32664 * stdio-common/tst-unbputc.sh: Likewise.
32665 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32666 $(run-program-prefix) with $(test-program-prefix).
32667 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32668 (test_program_prefix): This.
32669 * string/Makefile ($(objpfx)tst-svc.out): Replace
32670 $(built-program-cmd) with $(test-program-cmd).
32672 2013-01-11 Andreas Jaeger <aj@suse.de>
32675 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32676 value. Sync with Linux 3.7.
32678 2013-01-10 David S. Miller <davem@davemloft.net>
32680 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32681 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32682 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32684 2013-01-10 Roland McGrath <roland@hack.frob.com>
32686 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32688 * configure: Regenerated.
32690 2013-01-10 David S. Miller <davem@davemloft.net>
32692 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32693 sparc V9 rather than using V8 code.
32694 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32695 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32697 2013-01-10 Roland McGrath <roland@hack.frob.com>
32699 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32700 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32701 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32702 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32703 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32704 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32705 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32706 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32707 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32708 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32709 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32710 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32711 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32712 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32713 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32714 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32715 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32716 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32717 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32718 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32719 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32720 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32721 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32722 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32723 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32724 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32725 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32727 2013-01-10 David S. Miller <davem@davemloft.net>
32729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32731 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32733 * posix/Makefile (tests-static): New variable.
32734 (tests): Add $(tests-static).
32735 (tst-exec-static-ARGS): New variable.
32736 (tst-spawn-static-ARGS): Likewise.
32737 * posix/tst-exec-static.c: New file.
32738 * posix/tst-spawn-static.c: Likewise.
32739 * posix/tst-exec.c: Support run directly.
32740 * posix/tst-spawn.c: Likewise.
32742 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32744 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32746 * math/bits/mathcalls.h (llrint): Likewise.
32747 (llround): Likewise.
32748 * stdlib/stdlib.h (struct drand48_data): Likewise.
32749 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32750 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32751 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32753 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32755 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32756 (elf_greg_t): Likewise.
32757 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32758 (__jmp_buf): Likewise.
32759 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32761 (llrint): Likewise, for all definitions.
32762 (llrintl): Likewise.
32764 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32765 Remove [__GNUC__] condition.
32766 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32767 condition to just [__USE_ISOC99].
32768 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32770 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32773 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32774 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32776 (_POSIX_V6_ILP32_OFF32): Likewise.
32777 (_XBS5_ILP32_OFF32): Likewise.
32778 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32779 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32781 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32783 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32786 doubles __mpexp_twomm1. Adjust usage.
32787 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32790 2013-01-10 Andreas Schwab <schwab@suse.de>
32793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32794 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32796 2013-01-09 David S. Miller <davem@davemloft.net>
32799 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32800 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32801 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32802 (TCP_FASTOPEN): Define.
32803 (tcp_repair_opt): New structure.
32804 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32806 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32807 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32808 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32809 (tcp_cookie_transactions): New structure.
32811 2013-01-09 Anton Blanchard <anton@samba.org>
32813 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32814 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32815 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32816 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32818 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32820 * include/features.h (__USE_ANSI): Remove.
32822 2013-01-09 Roland McGrath <roland@hack.frob.com>
32824 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32826 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32828 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32830 * sysdeps/s390/fpu/libm-test-ulps: Update.
32832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32834 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32838 (denorm): Likewise.
32839 (__mp_dbl): Likewise.
32840 (__dbl_mp): Likewise.
32841 (add_magnitudes): Likewise.
32842 (sub_magnitudes): Likewise.
32848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32852 (denorm): Likewise.
32853 (__mp_dbl): Likewise.
32854 (__dbl_mp): Likewise.
32855 (add_magnitudes): Likewise.
32856 (sub_magnitudes): Likewise.
32862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32866 (denorm): Likewise.
32867 (__mp_dbl): Likewise.
32868 (__dbl_mp): Likewise.
32869 (add_magnitudes): Likewise.
32870 (sub_magnitudes): Likewise.
32877 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32879 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32880 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32881 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32882 2 && __USE_EXTERN_INLINES]: Likewise.
32884 2013-01-08 Andreas Jaeger <aj@suse.de>
32887 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32889 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32890 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32892 2013-01-07 Anton Blanchard <anton@samba.org>
32894 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32895 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32896 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32897 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32898 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32899 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32900 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32901 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32903 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32906 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32907 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32908 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32910 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32911 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32912 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32913 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32914 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32915 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32916 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32917 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32918 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32919 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32920 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32921 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32922 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32923 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32924 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32926 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32927 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32928 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32929 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32930 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32931 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32932 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32933 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32934 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32935 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32936 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32938 2013-01-07 Joseph Myers <joseph@codesourcery.com>
32940 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32941 (__MALLOC_PMT): Likewise.
32942 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32943 [__GNUC__], only on [_LIBC].
32944 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32945 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32946 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32947 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32948 forward declaration.
32949 (realloc_hook_ini): Likewise.
32950 (memalign_hook_ini): Likewise.
32951 (__libc_memalign): Do not use __MALLOC_PMT in variable
32953 (__libc_valloc): Likewise.
32954 (__libc_pvalloc): Likewise.
32955 (__libc_calloc): Likewise.
32956 (__posix_memalign): Likewise.
32959 * math/s_casinh.c: Include <float.h>.
32960 (__casinh): Do not do computation with squaring and square root
32961 for large arguments.
32962 * math/s_casinhf.c: Include <float.h>.
32963 (__casinhf): Do not do computation with squaring and square root
32964 for large arguments.
32965 * math/s_casinhl.c: Include <float.h>.
32966 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32967 (__casinhl): Do not do computation with squaring and square root
32968 for large arguments.
32969 * math/libm-test.inc (casin_test): Add more tests.
32970 (casinh_test): Likewise.
32971 * sysdeps/i386/fpu/libm-test-ulps: Update.
32972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32974 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32976 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32977 (__x86_64_raw_data_cache_size): Likewise.
32978 (__x86_64_data_cache_size_half): Likewise.
32979 (__x86_64_raw_data_cache_size_half): Likewise.
32980 (__x86_64_shared_cache_size): Likewise.
32981 (__x86_64_raw_shared_cache_size): Likewise.
32982 (__x86_64_shared_cache_size_half): Likewise.
32983 (__x86_64_raw_shared_cache_size_half): Likewise.
32984 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32986 (__x86_data_cache_size): This.
32987 (__x86_64_raw_data_cache_size): Renamed to ...
32988 (__x86_raw_data_cache_size): This.
32989 (__x86_64_data_cache_size_half): Renamed to ...
32990 (__x86_data_cache_size_half): This.
32991 (__x86_64_raw_data_cache_size_half): Renamed to ...
32992 (__x86_raw_data_cache_size_half): This.
32993 (__x86_64_shared_cache_size): Renamed to ...
32994 (__x86_shared_cache_size): This.
32995 (__x86_64_raw_shared_cache_size): Renamed to ...
32996 (__x86_raw_shared_cache_size): This.
32997 (__x86_64_shared_cache_size_half): Renamed to ...
32998 (__x86_shared_cache_size_half): This.
32999 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33000 (__x86_raw_shared_cache_size_half): This.
33001 * sysdeps/x86_64/memcpy.S: Updated.
33002 * sysdeps/x86_64/memset.S: Likewise.
33003 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33005 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33007 2013-01-04 David S. Miller <davem@davemloft.net>
33009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33011 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33013 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33014 1 to avoid redefinition warning.
33015 (__USE_GNU): Don't define.
33016 (init_signaling_nan): Protoize.
33018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33020 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33022 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33024 (__cpymn): Likewise.
33025 (norm): Remove commented code.
33026 (denorm): Likewise.
33027 (__mp_dbl): Likewise.
33029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33030 (__cpymn): Likewise.
33031 (norm): Remove commented code.
33032 (denorm): Likewise.
33033 (__mp_dbl): Likewise.
33036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33037 mp_no value for 1.0 and 2.0.
33038 (norm): Use RADIXI instead of radixi.d.
33039 (denorm): Likewise.
33040 (__mul): Use 0.0 instead of zero.d.
33041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33042 mp_no value for 1.0 and 2.0.
33043 (norm): Use RADIXI instead of radixi.d.
33044 (denorm): Likewise.
33045 (__mul): Use 0.0 instead of zero.d.
33047 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33050 * math/s_casinh.c (__casinh): Reduce finite argument to first
33051 quadrant then set signs of results at the end.
33052 * math/s_casinhf.c (__casinhf): Likewise.
33053 * math/s_casinhl.c (__casinhl): Likewise.
33054 * math/libm-test.inc (casin_test): Add more tests.
33055 (casinh_test): Likewise.
33056 * sysdeps/i386/fpu/libm-test-ulps: Update.
33057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33059 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33061 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33063 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33065 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33067 (denorm): Likewise.
33068 (__mp_dbl): Likewise.
33071 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33072 and adjust the header comment.
33074 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33075 variable name from declaration.
33077 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33080 Initialize COMMON_CPUID_INDEX_7 element.
33081 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33082 (CPUID_RTM): Likewise.
33083 (HAS_RTM): Likewise.
33084 (COMMON_CPUID_INDEX_7): New enum.
33086 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33089 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33090 size is zero, record memory as freed.
33092 2013-01-03 Andreas Jaeger <aj@suse.de>
33094 * po/ia.po: Add new Interlingua translation.
33096 2012-01-03 Allan McRae <allan@archlinux.org>
33098 * locale/programs/localedef.c: Fix description of '--posix' flag.
33100 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33102 * NEWS: Update dates in second copyright notice.
33103 * README: Update copyright dates in example.
33104 * manual/libc.texinfo: Update copyright dates.
33105 * scripts/test-installation.pl: Update copyright date in --version
33108 * hurd/ctty-input.c: Fix copyright notice formatting.
33109 * hurd/ctty-output.c: Likewise.
33110 * hurd/dtable.c: Likewise.
33111 * hurd/hurd-raise.c: Likewise.
33112 * hurd/hurdprio.c: Likewise.
33113 * hurd/msgportdemux.c: Likewise.
33114 * misc/sys/file.h: Likewise.
33115 * misc/sys/ioctl.h: Likewise.
33116 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33117 * sysdeps/mach/hurd/chdir.c: Likewise.
33118 * sysdeps/mach/hurd/fchdir.c: Likewise.
33119 * sysdeps/mach/hurd/rename.c: Likewise.
33120 * sysdeps/mach/hurd/rmdir.c: Likewise.
33121 * sysdeps/mach/hurd/seekdir.c: Likewise.
33122 * sysdeps/mach/hurd/setsid.c: Likewise.
33123 * sysdeps/posix/wait3.c: Likewise.
33125 * All files with FSF copyright notices: Update copyright dates
33126 using scripts/update-copyrights.
33127 * intl/plural.c: Regenerated.
33128 * locale/programs/charmap-kw.h: Likewise.
33129 * locale/programs/locfile-kw.h: Likewise.
33131 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33133 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33136 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33137 calculation loop and add branch prediction.
33139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33140 check access beyond bounds of m1np.
33142 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33144 (__inv): Remove local variable MPTWO to use the global
33146 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33149 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33150 MP3HALFS static const.
33152 2013-01-01 David S. Miller <davem@davemloft.net>
33154 * po/ca.po: Update from translation team.
33156 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33158 * scripts/update-copyrights: New file.
33159 * Makeconfig: Reformat copyright notice.
33160 * ctype/ctype.h: Likewise.
33161 * debug/swprintf_chk.c: Likewise.
33162 * elf/dl-cache.c: Likewise.
33163 * elf/dl-debug.c: Likewise.
33164 * elf/dl-object.c: Likewise.
33165 * grp/initgroups.c: Likewise.
33166 * hurd/Makefile: Likewise.
33167 * hurd/hurd/signal.h: Likewise.
33168 * hurd/hurdfault.c: Likewise.
33169 * hurd/hurdioctl.c: Likewise.
33170 * hurd/hurdlookup.c: Likewise.
33171 * hurd/intr-msg.c: Likewise.
33172 * iconv/gconv_open.c: Likewise.
33173 * libio/swprintf.c: Likewise.
33174 * locale/lc-ctype.c: Likewise.
33175 * locale/nl_langinfo.c: Likewise.
33176 * mach/Machrules: Likewise.
33177 * mach/Makefile: Likewise.
33178 * malloc/obstack.h: Likewise.
33179 * manual/Makefile: Likewise.
33180 * manual/tsort.awk: Likewise.
33181 * misc/bits/stab.def: Likewise.
33182 * nis/nis_print_group_entry.c: Likewise.
33183 * nis/nis_table.c: Likewise.
33184 * nis/nss_compat/compat-pwd.c: Likewise.
33185 * nis/nss_compat/compat-spwd.c: Likewise.
33186 * po/Makefile: Likewise.
33187 * posix/fnmatch.c: Likewise.
33188 * posix/regex.h: Likewise.
33189 * resolv/Makefile: Likewise.
33190 * resolv/nss_dns/dns-network.c: Likewise.
33191 * resolv/res_hconf.c: Likewise.
33192 * scripts/gen-sorted.awk: Likewise.
33193 * soft-fp/soft-fp.h: Likewise.
33194 * stdio-common/printf.h: Likewise.
33195 * stdlib/monetary.h: Likewise.
33196 * stdlib/random.c: Likewise.
33197 * stdlib/random_r.c: Likewise.
33198 * sysdeps/generic/Makefile: Likewise.
33199 * sysdeps/gnu/Makefile: Likewise.
33200 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33202 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33204 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33208 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33210 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33211 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33212 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33213 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33214 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33215 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33216 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33217 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33218 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33220 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33221 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33222 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33228 * sysdeps/mach/hurd/errnos.awk: Likewise.
33229 * sysdeps/mach/hurd/fork.c: Likewise.
33230 * sysdeps/mach/hurd/getcwd.c: Likewise.
33231 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33232 * sysdeps/mach/hurd/mmap.c: Likewise.
33233 * sysdeps/mach/hurd/utimes.c: Likewise.
33234 * sysdeps/mach/hurd/xmknod.c: Likewise.
33235 * sysdeps/posix/profil.c: Likewise.
33236 * sysdeps/posix/readdir_r.c: Likewise.
33237 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33238 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33239 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33240 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33242 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33243 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33244 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33246 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33247 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33248 * sysdeps/pthread/lio_listio.c: Likewise.
33249 * sysdeps/sparc/dl-procinfo.h: Likewise.
33250 * sysdeps/unix/i386/sysdep.S: Likewise.
33251 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33252 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33253 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33254 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33256 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33257 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33258 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33259 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33260 * sysdeps/wordsize-32/divdi3.c: Likewise.
33261 * time/sys/time.h: Likewise.
33262 * wcsmbs/Makefile: Likewise.
33264 2013-01-01 David S. Miller <davem@davemloft.net>
33266 * po/fr.po: Update from translation team.
33268 * catgets/gencat.c: Update copyright year.
33269 * csu/version.c: Likewise.
33270 * debug/catchsegv.sh: Likewise.
33271 * debug/pcprofiledump.c: Likewise.
33272 * debug/xtrace.sh: Likewise.
33273 * elf/ldconfig.c: Likewise.
33274 * elf/ldd.bash.in: Likewise.
33275 * elf/pldd.c: Likewise.
33276 * elf/sotruss.ksh: Likewise.
33277 * elf/sprof.c: Likewise.
33278 * iconv/iconv_prog.c: Likewise.
33279 * iconv/iconvconfig.c: Likewise.
33280 * locale/programs/locale.c: Likewise.
33281 * locale/programs/localedef.c: Likewise.
33282 * login/programs/pt_chown.c: Likewise.
33283 * malloc/memusage.sh: Likewise.
33284 * malloc/memusagestat.c: Likewise.
33285 * malloc/mtrace.pl: Likewise.
33286 * nscd/nscd.c: Likewise.
33287 * nss/getent.c: Likewise.
33288 * nss/makedb.c: Likewise.
33289 * posix/getconf.c: Likewise.
33291 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33293 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33296 2012-12-30 Mike Frysinger <vapier@gentoo.org>
33298 * math/bits/mathcalls.h (modf): Use __nonnull.
33300 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33302 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33303 (split): Use macro CN instead of the bare value.
33304 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33306 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33307 instead of the bare value.
33308 (power1): Likewise.
33310 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33312 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33314 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33316 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33318 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33319 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33320 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33321 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33323 2012-12-28 Andreas Jaeger <aj@suse.de>
33325 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33326 values are from Linux 3.7.
33328 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33329 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33331 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33333 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33336 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33338 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33339 variables with preprocessor constants.
33340 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33341 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33342 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33344 2012-12-27 Bruno Haible <bruno@clisp.org>
33347 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33350 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33353 and use variable directly.
33354 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33356 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33358 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33361 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33363 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33364 include directive. Remove local variable MPONE.
33365 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33366 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33367 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33369 2012-12-25 David S. Miller <davem@davemloft.net>
33371 * version.h (RELEASE): Set to "development".
33372 (VERSION): Set to "2.17.90".
33373 * NEWS: Add 2.18 section.
33375 2012-12-21 David S. Miller <davem@davemloft.net>
33377 * po/hr.po: Update from translation team.
33379 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33381 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33383 2012-12-19 Steve Ellcey <sellcey@mips.com>
33385 * NEWS: Mention new memcpy for MIPS.
33387 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33389 * manual/contrib.texi (Contributors): Spelling correction.
33391 2012-12-15 David S. Miller <davem@davemloft.net>
33393 * po/ru.po: Update from translation team.
33395 2012-12-13 David S. Miller <davem@davemloft.net>
33397 * NEWS: Mention IFUNC testsuite enhancements.
33399 * po/pl.po: Update from translation team.
33400 * po/bg.po: Likewise.
33402 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33403 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33405 2012-12-11 David S. Miller <davem@davemloft.net>
33407 * po/sv.po: Update from translation team.
33409 * po/vi.po: Update from translation team.
33411 * po/cs.po: Update from translation team.
33413 * po/de.po: Update from translation team.
33414 * po/eo.po: Likewise.
33415 * po/nl.po: Likewise.
33417 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33420 * manual/argp.texi (Argp Helper Functions): Move node to follow
33421 Argp Parsing State.
33424 * manual/conf.texi (Limits on File System Capacity): Mention if
33425 terminating null is included in the max size.
33427 2012-12-10 Andreas Jaeger <aj@suse.de>
33429 * po/cs.po: Update from translation team.
33431 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33433 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33434 void pointer and cast to uintptr_t.
33435 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33437 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33438 * sysdeps/s390/s390-64/memset.S: Likewise.
33440 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
33443 * menual/message.texi (Message Translation): Fix typos.
33444 (Helper programs for gettext): Likewise.
33446 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33449 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33452 2012-12-07 David S. Miller <davem@davemloft.net>
33454 * po/libc.pot: Update.
33456 2012-12-07 Richard Henderson <rth@redhat.com>
33459 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33460 normal/normal case to before the switch.
33461 (_FP_DIV): Likewise.
33463 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33464 Mike Frysinger <vapier@gentoo.org>
33466 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33467 check for __NR_fadvise64_64.
33469 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33471 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33472 0, not just to plain "0" as a statement.
33473 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33476 2012-12-06 Joseph Myers <joseph@codesourcery.com>
33478 * NEWS: Use sourceware.org in Bugzilla URL.
33480 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33483 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33485 * stdio-common/tst-put-error.c (do_test): Add newline to the
33486 padded test to ensure flush.
33488 2012-12-05 Jeff Law <law@redhat.com>
33490 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33492 2012-12-05 Joseph Myers <joseph@codesourcery.com>
33494 * README: Don't refer to ports add-on as distributed separately.
33495 Mention AArch64 in list of systems supported in the ports add-on.
33497 * LICENSES: Add more non-FSF copyright and license notices.
33499 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33502 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33504 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33505 10000 as width of padded output.
33507 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33509 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33511 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33512 variable LX with __attribute__ ((unused)).
33513 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33515 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33516 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33517 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33518 with __attribute__ ((unused)).
33520 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
33522 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33524 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33526 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33527 (CFLAGS-nldbl-acos.c): New variable.
33528 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33529 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33530 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33531 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33532 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33533 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33534 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33535 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33536 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33537 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33538 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33539 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33540 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33541 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33542 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33543 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33544 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33545 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33546 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33547 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33548 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33549 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33550 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33551 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33552 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33553 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33554 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33555 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33556 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33557 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33558 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33559 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33560 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33561 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33562 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33563 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33564 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33565 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33566 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33567 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33568 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33569 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33570 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33571 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33572 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33573 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33574 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33575 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33576 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33577 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33578 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33579 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33580 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33581 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33582 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33583 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33584 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33585 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33586 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33587 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33588 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33589 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33590 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33591 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33592 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33593 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33594 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33595 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33596 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33597 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33598 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33599 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33600 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33601 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33602 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33603 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33604 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33605 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33606 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33607 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33608 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33609 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33610 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33611 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33612 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33613 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33614 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33615 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33616 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33617 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33618 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33619 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33620 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33621 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33622 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33623 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33624 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33627 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33631 whole low double instead of just low 47 bits when splitting values
33634 2012-12-03 Allan McRae <allan@archlinux.org>
33636 * manual/stdio.texi (Predefined Printf Handlers): Remove
33637 @hsep and @vsep usage.
33639 2012-12-03 Mike Frysinger <vapier@gentoo.org>
33641 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33642 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33644 2012-12-03 Jeff Law <law@redhat.com>
33646 * time/sys/time.h (settimeofday): Do not mark TV argument
33649 2012-12-01 Mike Frysinger <vapier@gentoo.org>
33651 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33652 when currently writing and seek to current position when not.
33653 * libio/Makefile (tests): Remove bug-fclose1.
33654 * libio/bug-fclose1.c: Delete.
33656 2012-12-01 Joseph Myers <joseph@codesourcery.com>
33658 * manual/arith.texi (feenableexcept): Fix typo.
33659 (fedisableexcept): Likewise.
33661 2012-11-30 Roland McGrath <roland@hack.frob.com>
33663 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33664 second, differently-typed declaration, rather than a cast.
33666 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33668 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33669 * include/rpc/svc.h: ... here.
33671 2012-11-30 Aurelien Jarno <aurel32@debian.org>
33674 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33675 depending n and resplen2 to catch cases where answer
33678 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33680 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33681 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33683 2012-11-29 Mike Frysinger <vapier@gentoo.org>
33685 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33687 2012-11-29 Roland McGrath <roland@hack.frob.com>
33689 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33691 2012-11-28 Jeff Law <law@redhat.com>
33694 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33695 dataset_temporary. Track alloca usage into alloca_used.
33696 If dataset is large allocate and release it via malloc/free.
33698 2012-06-04 Florian Weimer <fweimer@redhat.com>
33701 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33703 2012-11-28 David S. Miller <davem@davemloft.net>
33705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33707 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33710 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33711 of pi/2 rounded to nearest to 64 bits.
33712 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33713 nearest to 64 bits.
33714 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33717 2012-11-28 Jeff Law <law@redhat.com>
33718 Martin Osvald <mosvald@redhat.com>
33721 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33722 * sunrpc/svc.c: Include time.h.
33723 (__svc_accept_failed): New function.
33724 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33725 any reason other than EINTR, call __svc_accept_failed.
33726 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33727 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33729 2012-11-28 Andreas Schwab <schwab@suse.de>
33731 * scripts/abilist.awk: Also handle indirect functions in .opd
33734 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33737 * sysdeps/x86/fpu/powl_helper.c: New file.
33738 * sysdeps/x86/fpu/Makefile: Likewise.
33739 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33741 (__ieee754_powl): Use __powl_helper for finite arguments except
33742 integer exponents below 8.
33743 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33745 (__ieee754_powl): Use __powl_helper for finite arguments except
33746 integer exponents below 8.
33747 * math/libm-test.inc (pow_test): Add more tests and enable some
33748 previously disabled tests.
33749 * sysdeps/i386/fpu/libm-test-ulps: Update.
33750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33752 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33753 Carlos O'Donell <carlos_odonell@mentor.com>
33755 * nss/makedb.c (is_prime): Assert that input is odd and greater
33756 than 4. Note that fact in a comment too.
33757 (next_prime): Add 4 to input.
33759 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33762 * libio/Makefile (tests): Add test case tst-fwrite-error.
33763 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33764 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33765 * libio/tst-fwrite-error.c: New test case.
33767 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33769 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33770 before casting to void *.
33771 * include/libc-internal.h (__pointer_type): New macro.
33772 (__integer_if_pointer_type_sub): Likewise.
33773 (__integer_if_pointer_type): Likewise.
33774 (cast_to_integer): Likewise.
33775 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33776 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33777 before casting to atomic64_t.
33778 (atomic_exchange_acq): Likewise.
33779 (__arch_exchange_and_add_body): Likewise.
33780 (__arch_add_body): Likewise.
33781 (atomic_add_negative): Likewise.
33782 (atomic_add_zero): Likewise.
33784 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33786 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33787 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33788 (add_fdes): Likewise.
33789 (linear_search_fdes): Likewise.
33790 (binary_search_unencoded_fdes): Likewise.
33792 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33794 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33796 2012-11-24 Adam Conrad <adconrad@0c3.net>
33798 * configure.in: Autodetect C++ header directories.
33799 * configure: Regenerated.
33801 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33803 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33805 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33809 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33811 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33812 LDBL_MANT_DIG == 106]: Disable some tests.
33813 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33815 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33820 input for small inputs. Return +/- pi/2 for large inputs.
33821 * math/libm-test.inc (atan_test): Add more tests.
33823 * sysdeps/generic/unwind-dw2-fde-glibc.c
33824 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33825 __attribute__ ((unused)).
33828 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33829 x * y if x and y are nonzero and z is zero.
33832 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33833 nonzero exponents with absolute value below 0x1p-117 to +/-
33837 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33838 up arguments below 2**-450, not just those below 2**-500.
33839 * math/libm-test.inc (hypot_test): Add another test.
33842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33843 Return a+b for ratio over 2**120, not 2**60.
33844 * math/libm-test.inc (hypot_test): Add another test.
33846 * math/libm-test.inc (clog_test): Use
33847 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33848 (clog10_test): Likewise.
33851 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33853 2012-11-22 Andreas Schwab <schwab@suse.de>
33855 * sysdeps/i386/fpu/libm-test-ulps: Update.
33857 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33859 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33860 printf output with newline.
33862 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33865 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33866 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33867 -z nodlopen, -z initfirst and -z execstack support.
33868 * configure: Regenerated.
33870 * elf/elf.h (DF_1_NODIRECT): New macro.
33871 (DF_1_IGNMULDEF): Likewise.
33872 (DF_1_NOKSYMS): Likewise.
33873 (DF_1_NOHDR): Likewise.
33874 (DF_1_EDITED): Likewise.
33875 (DF_1_NORELOC): Likewise.
33876 (DF_1_SYMINTPOSE): Likewise.
33877 (DF_1_GLOBAUDIT): Likewise.
33878 (DF_1_SINGLETON): Likewise.
33879 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33880 DT_1_SUPPORTED_MASK bits.
33881 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33883 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33885 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33887 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33889 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33892 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33893 (sendmmsg): Move declarations...
33894 * socket/sys/socket.h: ... here.
33895 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33896 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33898 * socket/recvmmsg.c: ... this new file.
33899 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33900 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33901 definition of __sendmmsg hidden.
33902 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33903 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33904 Move ENOSYS stub into and include it from...
33905 * socket/sendmmsg.c: ... this new file.
33906 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33907 (sysdep_routines): Move recvmmsg and sendmmsg...
33908 * socket/Makefile (routines): ... here.
33909 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33910 (GLIBC_PRIVATE): Add __sendmmsg.
33911 * include/sys/socket.h (__sendmmsg): Add declarations.
33912 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33915 2012-11-20 Joseph Myers <joseph@codesourcery.com>
33917 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33918 variable I1 with __attribute__ ((unused)).
33919 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33921 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33923 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33924 DUMMY variables with __attribute__ ((unused)).
33926 * bits/byteswap.h: Include <bits/types.h>.
33927 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33929 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33931 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33932 string_t. Do not manually set errno.
33933 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33934 length with __strnlen. Make sure to both set errno and return it on
33937 2012-11-19 David S. Miller <davem@davemloft.net>
33939 With help from Joseph Myers.
33940 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33941 very large arguments properly.
33942 * math/libm-test.inc (atan_test): New tests.
33943 (atan2_test): New tests.
33944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33947 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33950 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33953 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33954 [POSIX] (EADDRNOTAVAIL): Likewise.
33955 [POSIX] (EAFNOSUPPORT): Likewise.
33956 [POSIX] (EALREADY): Likewise.
33957 [POSIX] (ECONNABORTED): Likewise.
33958 [POSIX] (ECONNREFUSED): Likewise.
33959 [POSIX] (ECONNRESET): Likewise.
33960 [POSIX] (EDESTADDRREQ): Likewise.
33961 [POSIX] (EDQUOT): Likewise.
33962 [POSIX] (EHOSTUNREACH): Likewise.
33963 [POSIX] (EIDRM): Likewise.
33964 [POSIX] (EISCONN): Likewise.
33965 [POSIX] (ELOOP): Likewise.
33966 [POSIX] (EMULTIHOP): Likewise.
33967 [POSIX] (ENETDOWN): Likewise.
33968 [POSIX] (ENETUNREACH): Likewise.
33969 [POSIX] (ENOBUFS): Likewise.
33970 [POSIX] (ENODATA): Likewise.
33971 [POSIX] (ENOLINK): Likewise.
33972 [POSIX] (ENOMSG): Likewise.
33973 [POSIX] (ENOPROTOOPT): Likewise.
33974 [POSIX] (ENOSR): Likewise.
33975 [POSIX] (ENOSTR): Likewise.
33976 [POSIX] (ENOTCONN): Likewise.
33977 [POSIX] (ENOTSOCK): Likewise.
33978 [POSIX] (EOPNOTSUPP): Likewise.
33979 [POSIX] (EOVERFLOW): Likewise.
33980 [POSIX] (EPROTO): Likewise.
33981 [POSIX] (EPROTONOSUPPORT): Likewise.
33982 [POSIX] (EPROTOTYPE): Likewise.
33983 [POSIX] (ESTALE): Likewise.
33984 [POSIX] (ETIME): Likewise.
33985 [POSIX] (ETXTBSY): Likewise.
33986 [POSIX] (EWOULDBLOCK): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33988 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33989 [POSIX] (SEEK_CUR): Likewise.
33990 [POSIX] (SEEK_END): Likewise.
33991 [POSIX || UNIX98] (mode_t): Do not require.
33992 [POSIX] (off_t): Likewise.
33993 [POSIX] (pid_t): Likewise.
33994 [POSIX] (sys/stat.h): Do not allow header.
33995 [POSIX] (unistd.h): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33997 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33999 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34001 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34002 sigevent): Specify elements.
34003 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34005 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34006 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34008 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34009 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34010 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34011 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34012 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34013 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34014 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34015 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34017 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34018 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34019 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34020 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34021 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34023 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34025 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34027 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34029 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34030 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34031 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34032 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34034 Specify lower bound on value.
34035 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34038 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34039 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34040 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34041 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34042 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34044 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34046 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34047 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34048 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34049 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34050 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34051 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34052 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34053 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34054 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34055 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34056 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34057 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34058 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34059 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34060 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34061 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34063 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34065 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34066 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34067 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34068 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34069 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34070 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34072 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34073 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34074 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34075 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34076 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34077 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34078 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34080 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34081 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34082 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34083 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34084 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34085 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34086 specify as optional.
34087 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34088 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34089 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34090 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34091 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34092 [XPG3] (NL_LANGMAX): Likewise.
34093 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34094 [POSIX || XPG3] (NL_NMAX): Likewise.
34095 [POSIX || XPG3] (NL_SETMAX): Likewise.
34096 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34097 [XPG3] (NZERO): Likewise.
34098 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34099 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34100 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34101 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34102 (REG_ERANGE): Expect.
34103 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34105 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34106 Use (void) in prototype.
34107 [POSIX] (*_t): Allow.
34108 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34109 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34110 (WRDE_BADVAL): Expect.
34112 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34114 [XPG3 || XPG4] (O_RSYNC): Likewise.
34115 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34117 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34118 [XPG3 || XPG4] (sigqueue): Likewise.
34119 [XPG3 || XPG4] (sigtimedwait): Likewise.
34120 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34121 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34122 [XPG3 || XPG4] (vsnprintf): Likewise.
34123 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34125 [XPG3 || XPG4] (blksize_t): Likewise.
34126 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34128 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34129 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34130 [XPG3 || XPG4] (struct itimerspec): Likewise.
34131 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34132 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34133 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34134 [XPG3 || XPG4] (clockid_t): Likewise.
34135 [XPG3 || XPG4] (timer_t): Likewise.
34136 [XPG3 || XPG4] (clock_getres): Likewise.
34137 [XPG3 || XPG4] (clock_gettime): Likewise.
34138 [XPG3 || XPG4] (clock_settime): Likewise.
34139 [XPG3 || XPG4] (nanosleep): Likewise.
34140 [XPG3 || XPG4] (timer_create): Likewise.
34141 [XPG3 || XPG4] (timer_delete): Likewise.
34142 [XPG3 || XPG4] (timer_gettime): Likewise.
34143 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34144 [XPG3 || XPG4] (timer_settime): Likewise.
34145 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34146 [XPG3 || XPG4] (getlogin_r): Likewise.
34147 [XPG3 || XPG4] (pread): Likewise.
34148 [XPG3 || XPG4] (pthread_atfork): Likewise.
34149 [XPG3 || XPG4] (pwrite): Likewise.
34152 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34155 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34157 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34158 finalizing MALLSTREAM.
34160 * sysdeps/mach/hurd/syncfs.c: New file.
34162 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34165 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34166 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34167 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34168 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34169 (_nss_dns_gethostbyname4_r): Likewise.
34170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34171 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34173 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34176 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34178 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34180 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34181 * elf/cache.c (print_entry): Print ",AArch64" for
34184 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34185 * elf/cache.c (print_entry): Print ",hard-float" for
34188 2012-11-18 David S. Miller <davem@davemloft.net>
34190 With help from Joseph Myers.
34191 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34193 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34195 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34196 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34198 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34199 * math/libm-test.inc (y0_test): New tests.
34200 (y1_test): New tests.
34201 * sysdeps/i386/fpu/libm-test-ulps: Update.
34202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34205 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34207 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34209 * configure: Regenerated.
34211 2012-11-17 David S. Miller <davem@davemloft.net>
34214 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34215 nonzero exponents with absolute value below 0x1p-128 to +/-
34218 2012-11-17 Joseph Myers <joseph@codesourcery.com>
34220 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34222 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34224 * posix/getconf-speclist.c: New file.
34225 * posix/posix-envs.def: Likewise.
34226 * posix/confstr.c (START_ENV_GROUP): New macro.
34227 (END_ENV_GROUP): Likewise.
34228 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34229 (KNOWN_PRESENT_ENV_STRING): Likewise.
34230 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34231 (UNKNOWN_ENVIRONMENT): Likewise.
34232 (confstr): Include posix-envs.def instead of handling
34233 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34234 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34235 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34236 (END_ENV_GROUP): Likewise.
34237 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34238 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34239 (UNKNOWN_ENVIRONMENT): Likewise.
34240 (__sysconf): Include posix-envs.def instead of handling associated
34241 cases directly here.
34242 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34243 preprocessing getconf-speclist.c rather than running getconf or
34244 generating empty file.
34246 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34248 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34250 2012-11-16 Andrej Lajovic <natrij@gmail.com>
34253 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34255 2012-11-16 David S. Miller <davem@davemloft.net>
34257 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34258 smaller than LDBL_EPSILON/2.0L, just return xm1.
34260 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34262 * elf/tst-array1.c (init): Set constructor priority to 1000.
34263 (fini): Set destructor priority to 1000.
34264 * elf/tst-array2dep.c: Likewise.
34266 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34269 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34270 (_IO_new_file_xsputn): Also return EOF if none of the input
34271 data was written when overflow failed.
34272 * libio/iopadn.c (_IO_padn): Likewise.
34273 * libio/iowpadn.c (_IO_wpadn): Likewise.
34274 * stdio-common/tst-put-error.c: Add copyright notice.
34275 (do_test): Add case for printing padded string.
34276 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34277 _IO_padn returned error.
34278 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34279 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34282 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34284 * libio/libioP.h: Add comment note that the references to C++
34285 bits are now obsolete.
34287 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34289 * math/libm-test.inc (check_complex): Use asprintf.
34291 2012-11-14 Joseph Myers <joseph@codesourcery.com>
34293 * debug/pcprofiledump.c (print_version): Update copyright year.
34294 * malloc/memusagestat.c (print_version): Likewise.
34296 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34299 * elf/Makefile (tests): Add tst-audit8.
34300 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34301 ($(objpfx)tst-audit8.out): New target.
34302 (tst-audit8-ENV): New variable.
34303 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34304 audit if l_reloc_result is NULL.
34305 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34306 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34307 * elf/tst-audit8.c: New file.
34309 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34311 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34312 * misc/Makefile (CFLAGS-select.c): Define.
34313 * posix/Makefile (CFLAGS-pause.c): Define.
34315 2012-11-13 David S. Miller <davem@davemloft.net>
34317 * crypt/Makefile: Move test targets after toplevel Rules
34318 inclusion. Grab any necessary sysdep routines when linking.
34319 * crypt/md5.c (md5_process_block): Remove define, we will always
34320 name it __md5_process_block.
34321 (md5_finish_ctx): Update md5_process_block call.
34322 (md5_stream): Likewise.
34323 (md5_process_bytes): Likewise.
34324 (md5_process_block): Rename to __md5_process_block and move to ...
34325 * crypt/md5-block.c: ... here.
34326 * crypt/sha256.c (sha256_process_block): Move to ...
34327 * crypt/sha256-block.c: ... here.
34328 * crypt/sha512.c (sha512_process_block): Move to ...
34329 * crypt/sha512-block.c: ... here.
34330 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34332 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34333 * sysdeps/sparc/sparc64/multiarch/Makefile
34334 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34336 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34337 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34339 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34340 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34341 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34342 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34343 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34344 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34345 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34346 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34347 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34349 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34350 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34352 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34354 2012-11-13 Joseph Myers <joseph@codesourcery.com>
34356 * timezone/tzselect.ksh: Update from tzcode git revision
34357 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34358 * timezone/zdump.c: Likewise.
34359 * timezone/zic.c: Likewise.
34360 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34361 in TZVERSION setting, not $(PKGVERSION).
34362 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34363 REPORT_BUGS_TO settings.
34366 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34369 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34371 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34372 detection to immediately after _FP_ROUND().
34373 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34376 2012-11-11 David S. Miller <davem@davemloft.net>
34378 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34380 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34381 __close rather than their public counterparts.
34383 2012-11-10 Joseph Myers <joseph@codesourcery.com>
34385 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34387 [UNIX98] (sem_timedwait): Do not expect.
34388 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34389 [XPG4 || UNIX98] (sockatmark): Do not expect.
34390 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34391 (clock_getcpuclockid): Do not expect.
34392 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34393 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34395 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34396 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34397 [UNIX98] (vwscanf): Likewise.
34398 [UNIX98] (vswscanf): Likewise.
34400 2012-11-09 Joseph Myers <joseph@codesourcery.com>
34402 * timezone/version.h: Remove file.
34403 * timezone/README: Do not refer to version.h.
34404 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34405 $(objpfx)version.h.
34406 ($(objpfx)zdump.o): Likewise.
34407 ($(objpfx)version.h): New target.
34409 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34411 * timezone/README: Don't mention modification to tzselect.ksh.
34412 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34413 work on unmodified tzselect.ksh. Substitute version numbers in
34416 * Makefile (format-me): Remove.
34417 (INSTALL): Adjust indentation. Use commands directly instead of
34418 using $(format-me).
34420 * aclocal.m4 (ACX_PKGVERSION): New macro.
34421 (ACX_BUGURL): Likewise.
34422 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34423 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34424 (REPORT_BUGS_TO): Likewise.
34425 * configure: Regenerated.
34426 * config.h.in (PKGVERSION): New macro.
34427 (REPORT_BUGS_TO): Likewise.
34428 * config.make.in (PKGVERSION): New variable.
34429 (PKGVERSION_TEXI): Likewise.
34430 (REPORT_BUGS_TO): Likewise.
34431 (REPORT_BUGS_TEXI): Likewise.
34432 * Makefile (format-me): Use -I$(common-objpfx)manual.
34433 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34434 ($(common-objpfx)manual/%): New target.
34435 (manual/%): Remove target.
34436 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34437 (print_version): Use PKGVERSION.
34438 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34439 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34440 and REPORT_BUGS_TO.
34441 ($(objpfx)xtrace): Likewise.
34442 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34443 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34444 (print_version): Use PKGVERSION.
34445 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34446 (do_version): Use PKGVERSION.
34447 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34449 (common-ldd-rewrite): Likewise.
34450 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34451 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34452 (print_version): Use PKGVERSION.
34453 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34454 * elf/pldd.c (argp_program_bug_address): Remove variable.
34455 (more_help): New function.
34456 (argp): Use more_help.
34457 (print_version): Use PKGVERSION.
34458 * elf/sln.c (main): Use PKGVERSION.
34459 (usage): Use REPORT_BUGS_TO.
34460 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34461 (top level): Use PKGVERSION.
34462 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34463 (print_version): Use PKGVERSION.
34464 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34465 (print_version): Use PKGVERSION.
34466 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34467 (print_version): Use PKGVERSION.
34468 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34469 (print_version): Use PKGVERSION.
34470 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34471 (print_version): Use PKGVERSION.
34472 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34473 (print_version): Use PKGVERSION.
34474 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34476 ($(objpfx)memusage): Likewise.
34477 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34478 (do_version): Use PKGVERSION.
34479 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34480 (print_version): Use PKGVERSION.
34481 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34482 ($PKGVERSION): New variable.
34483 ($REPORT_BUGS_TO): Likewise.
34484 (usage): Use $REPORT_BUGS_TO.
34485 (top level): Use $PKGVERSION.
34486 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34487 ($(objpfx)pkgvers.texi): New rule.
34488 ($(objpfx)stamp-pkgvers): Likewise.
34489 * manual/install.texi: Include pkgvers.texi.
34490 (--with-pkgversion): Document new configure option.
34491 (--with-bugurl): Likewise.
34492 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34493 than necessarily for this particular distribution. Use
34494 REPORT_BUGS_TO for where to report bugs.
34495 * INSTALL: Regenerated.
34496 * manual/libc.texinfo: Include pkgvers.texi.
34497 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34498 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34499 (print_version): Use PKGVERSION.
34500 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34501 (print_version): Use PKGVERSION.
34502 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34503 (print_version): Use PKGVERSION.
34504 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34505 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34507 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34508 (print_version): Use PKGVERSION.
34509 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34510 (print_version): Use PKGVERSION.
34511 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34514 * timezone/checktab.awk: Update from tzcode 2012i.
34515 * timezone/ialloc.c: Likewise.
34516 * timezone/private.h: Likewise.
34517 * timezone/scheck.c: Likewise.
34518 * timezone/tzfile.h: Likewise.
34519 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34520 (TZVERSION): Hardcode tzcode version number.
34521 * timezone/zdump.c: Update from tzcode 2012i.
34522 * timezone/zic.c: Likewise.
34523 * timezone/version.h: New file.
34524 * timezone/README: Describe version.h. Update upstream location.
34527 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34528 (mktemp): Enable declaration.
34529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34546 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34547 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34548 for copies of such integer values.
34549 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34550 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34552 2012-11-09 Andreas Jaeger <aj@suse.de>
34554 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34555 definitions and declarations that are provided by
34556 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34558 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34560 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34561 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34562 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34565 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34567 * elf/elf.h: Update comment before AArch64 relocations.
34569 2012-11-07 David S. Miller <davem@davemloft.net>
34571 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34572 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34573 (__start_context): Declare.
34574 (__makecontext_ret): Delete.
34575 (__makecontext): Hook up __start_context instead of
34577 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34578 (sysdep_routines): Add __start_context when in stdlib.
34580 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34582 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34583 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34584 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34586 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34587 (READELF): New variable. Use it instead of hardcoded "readelf".
34589 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34591 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34592 * sysdeps/x86/Makefile: Here.
34593 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34594 * sysdeps/x86/tst-xmmymm.sh: This.
34596 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34598 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34600 [UNIX98] (pthread_barrier_t): Do not expect.
34601 [UNIX98] (pthread_barrierattr_t): Likewise.
34602 [UNIX98] (pthread_spinlock_t): Likewise.
34603 [UNIX98] (pthread_barrier_destroy): Likewise.
34604 [UNIX98] (pthread_barrier_init): Likewise.
34605 [UNIX98] (pthread_barrier_wait): Likewise.
34606 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34607 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34608 [UNIX98] (pthread_barrierattr_init): Likewise.
34609 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34610 [UNIX98] (pthread_getcpuclockid): Likewise.
34611 [UNIX98] (pthread_mutex_timedlock): Likewise.
34612 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34613 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34614 [UNIX98] (pthread_sigmask): Likewise.
34615 [UNIX98] (pthread_spin_destroy): Likewise.
34616 [UNIX98] (pthread_spin_init): Likewise.
34617 [UNIX98] (pthread_spin_lock): Likewise.
34618 [UNIX98] (pthread_spin_trylock): Likewise.
34619 [UNIX98] (pthread_spin_unlock): Likewise.
34620 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34622 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34623 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34624 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34625 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34626 [XPG3 || XPG4] (pthread_key_t): Likewise.
34627 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34628 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34629 [XPG3 || XPG4] (pthread_once_t): Likewise.
34630 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34631 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34632 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34633 [XPG3 || XPG4] (pthread_t): Likewise.
34635 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34637 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34639 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34640 Change function return type to int.
34642 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34643 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34644 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34645 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34646 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34647 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34648 [!POSIX] (posix_madvise): Likewise.
34649 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34651 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34652 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34653 (mode_t): Likewise.
34654 (posix_mem_offset): Likewise.
34655 (posix_typed_mem_get_info): Likewise.
34656 (posix_typed_mem_open): Likewise.
34658 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34659 Change condition to [XOPEN2K8].
34661 * conform/conformtest.pl: Preprocess allow-header data with -x c
34662 instead of from stdin.
34663 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34664 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34665 [C99-based standards] (cerfc): Likewise.
34666 [C99-based standards] (cexp2): Likewise.
34667 [C99-based standards] (cexpm1): Likewise.
34668 [C99-based standards] (clog10): Likewise.
34669 [C99-based standards] (clog1p): Likewise.
34670 [C99-based standards] (clog2): Likewise.
34671 [C99-based standards] (clgamma): Likewise.
34672 [C99-based standards] (ctgamma): Likewise.
34673 [C99-based standards] (cerff): Likewise.
34674 [C99-based standards] (cerfcf): Likewise.
34675 [C99-based standards] (cexp2f): Likewise.
34676 [C99-based standards] (cexpm1f): Likewise.
34677 [C99-based standards] (clog10f): Likewise.
34678 [C99-based standards] (clog1pf): Likewise.
34679 [C99-based standards] (clog2f): Likewise.
34680 [C99-based standards] (clgammaf): Likewise.
34681 [C99-based standards] (ctgammaf): Likewise.
34682 [C99-based standards] (cerfl): Likewise.
34683 [C99-based standards] (cerfcl): Likewise.
34684 [C99-based standards] (cexp2l): Likewise.
34685 [C99-based standards] (cexpm1l): Likewise.
34686 [C99-based standards] (clog10l): Likewise.
34687 [C99-based standards] (clog1pl): Likewise.
34688 [C99-based standards] (clog2l): Likewise.
34689 [C99-based standards] (clgammal): Likewise.
34690 [C99-based standards] (ctgammal): Likewise.
34691 * conform/data/inttypes.h-data [C99-based standards]: Include
34692 stdint.h-data. Remove all expectations for stdint.h contents.
34693 [C99-based standards] (PRI*): Do not allow.
34694 [C99-based standards] (SCN*): Likewise.
34695 [C99-based standards] (*_t): Likewise.
34696 [C99-based-standards] (PRId8): Expect macro.
34697 [C99-based-standards] (PRIi8): Likewise.
34698 [C99-based-standards] (PRIo8): Likewise.
34699 [C99-based-standards] (PRIu8): Likewise.
34700 [C99-based-standards] (PRIx8): Likewise.
34701 [C99-based-standards] (PRIX8): Likewise.
34702 [C99-based-standards] (SCNd8): Likewise.
34703 [C99-based-standards] (SCNi8): Likewise.
34704 [C99-based-standards] (SCNo8): Likewise.
34705 [C99-based-standards] (SCNu8): Likewise.
34706 [C99-based-standards] (SCNx8): Likewise.
34707 [C99-based-standards] (PRIdLEAST8): Likewise.
34708 [C99-based-standards] (PRIiLEAST8): Likewise.
34709 [C99-based-standards] (PRIoLEAST8): Likewise.
34710 [C99-based-standards] (PRIuLEAST8): Likewise.
34711 [C99-based-standards] (PRIxLEAST8): Likewise.
34712 [C99-based-standards] (PRIXLEAST8): Likewise.
34713 [C99-based-standards] (SCNdLEAST8): Likewise.
34714 [C99-based-standards] (SCNiLEAST8): Likewise.
34715 [C99-based-standards] (SCNoLEAST8): Likewise.
34716 [C99-based-standards] (SCNuLEAST8): Likewise.
34717 [C99-based-standards] (SCNxLEAST8): Likewise.
34718 [C99-based-standards] (PRIdFAST8): Likewise.
34719 [C99-based-standards] (PRIiFAST8): Likewise.
34720 [C99-based-standards] (PRIoFAST8): Likewise.
34721 [C99-based-standards] (PRIuFAST8): Likewise.
34722 [C99-based-standards] (PRIxFAST8): Likewise.
34723 [C99-based-standards] (PRIXFAST8): Likewise.
34724 [C99-based-standards] (SCNdFAST8): Likewise.
34725 [C99-based-standards] (SCNiFAST8): Likewise.
34726 [C99-based-standards] (SCNoFAST8): Likewise.
34727 [C99-based-standards] (SCNuFAST8): Likewise.
34728 [C99-based-standards] (SCNxFAST8): Likewise.
34729 [C99-based-standards] (PRId16): Likewise.
34730 [C99-based-standards] (PRIi16): Likewise.
34731 [C99-based-standards] (PRIo16): Likewise.
34732 [C99-based-standards] (PRIu16): Likewise.
34733 [C99-based-standards] (PRIx16): Likewise.
34734 [C99-based-standards] (PRIX16): Likewise.
34735 [C99-based-standards] (SCNd16): Likewise.
34736 [C99-based-standards] (SCNi16): Likewise.
34737 [C99-based-standards] (SCNo16): Likewise.
34738 [C99-based-standards] (SCNu16): Likewise.
34739 [C99-based-standards] (SCNx16): Likewise.
34740 [C99-based-standards] (PRIdLEAST16): Likewise.
34741 [C99-based-standards] (PRIiLEAST16): Likewise.
34742 [C99-based-standards] (PRIoLEAST16): Likewise.
34743 [C99-based-standards] (PRIuLEAST16): Likewise.
34744 [C99-based-standards] (PRIxLEAST16): Likewise.
34745 [C99-based-standards] (PRIXLEAST16): Likewise.
34746 [C99-based-standards] (SCNdLEAST16): Likewise.
34747 [C99-based-standards] (SCNiLEAST16): Likewise.
34748 [C99-based-standards] (SCNoLEAST16): Likewise.
34749 [C99-based-standards] (SCNuLEAST16): Likewise.
34750 [C99-based-standards] (SCNxLEAST16): Likewise.
34751 [C99-based-standards] (PRIdFAST16): Likewise.
34752 [C99-based-standards] (PRIiFAST16): Likewise.
34753 [C99-based-standards] (PRIoFAST16): Likewise.
34754 [C99-based-standards] (PRIuFAST16): Likewise.
34755 [C99-based-standards] (PRIxFAST16): Likewise.
34756 [C99-based-standards] (PRIXFAST16): Likewise.
34757 [C99-based-standards] (SCNdFAST16): Likewise.
34758 [C99-based-standards] (SCNiFAST16): Likewise.
34759 [C99-based-standards] (SCNoFAST16): Likewise.
34760 [C99-based-standards] (SCNuFAST16): Likewise.
34761 [C99-based-standards] (SCNxFAST16): Likewise.
34762 [C99-based-standards] (PRId32): Likewise.
34763 [C99-based-standards] (PRIi32): Likewise.
34764 [C99-based-standards] (PRIo32): Likewise.
34765 [C99-based-standards] (PRIu32): Likewise.
34766 [C99-based-standards] (PRIx32): Likewise.
34767 [C99-based-standards] (PRIX32): Likewise.
34768 [C99-based-standards] (SCNd32): Likewise.
34769 [C99-based-standards] (SCNi32): Likewise.
34770 [C99-based-standards] (SCNo32): Likewise.
34771 [C99-based-standards] (SCNu32): Likewise.
34772 [C99-based-standards] (SCNx32): Likewise.
34773 [C99-based-standards] (PRIdLEAST32): Likewise.
34774 [C99-based-standards] (PRIiLEAST32): Likewise.
34775 [C99-based-standards] (PRIoLEAST32): Likewise.
34776 [C99-based-standards] (PRIuLEAST32): Likewise.
34777 [C99-based-standards] (PRIxLEAST32): Likewise.
34778 [C99-based-standards] (PRIXLEAST32): Likewise.
34779 [C99-based-standards] (SCNdLEAST32): Likewise.
34780 [C99-based-standards] (SCNiLEAST32): Likewise.
34781 [C99-based-standards] (SCNoLEAST32): Likewise.
34782 [C99-based-standards] (SCNuLEAST32): Likewise.
34783 [C99-based-standards] (SCNxLEAST32): Likewise.
34784 [C99-based-standards] (PRIdFAST32): Likewise.
34785 [C99-based-standards] (PRIiFAST32): Likewise.
34786 [C99-based-standards] (PRIoFAST32): Likewise.
34787 [C99-based-standards] (PRIuFAST32): Likewise.
34788 [C99-based-standards] (PRIxFAST32): Likewise.
34789 [C99-based-standards] (PRIXFAST32): Likewise.
34790 [C99-based-standards] (SCNdFAST32): Likewise.
34791 [C99-based-standards] (SCNiFAST32): Likewise.
34792 [C99-based-standards] (SCNoFAST32): Likewise.
34793 [C99-based-standards] (SCNuFAST32): Likewise.
34794 [C99-based-standards] (SCNxFAST32): Likewise.
34795 [C99-based-standards] (PRId64): Likewise.
34796 [C99-based-standards] (PRIi64): Likewise.
34797 [C99-based-standards] (PRIo64): Likewise.
34798 [C99-based-standards] (PRIu64): Likewise.
34799 [C99-based-standards] (PRIx64): Likewise.
34800 [C99-based-standards] (PRIX64): Likewise.
34801 [C99-based-standards] (SCNd64): Likewise.
34802 [C99-based-standards] (SCNi64): Likewise.
34803 [C99-based-standards] (SCNo64): Likewise.
34804 [C99-based-standards] (SCNu64): Likewise.
34805 [C99-based-standards] (SCNx64): Likewise.
34806 [C99-based-standards] (PRIdLEAST64): Likewise.
34807 [C99-based-standards] (PRIiLEAST64): Likewise.
34808 [C99-based-standards] (PRIoLEAST64): Likewise.
34809 [C99-based-standards] (PRIuLEAST64): Likewise.
34810 [C99-based-standards] (PRIxLEAST64): Likewise.
34811 [C99-based-standards] (PRIXLEAST64): Likewise.
34812 [C99-based-standards] (SCNdLEAST64): Likewise.
34813 [C99-based-standards] (SCNiLEAST64): Likewise.
34814 [C99-based-standards] (SCNoLEAST64): Likewise.
34815 [C99-based-standards] (SCNuLEAST64): Likewise.
34816 [C99-based-standards] (SCNxLEAST64): Likewise.
34817 [C99-based-standards] (PRIdFAST64): Likewise.
34818 [C99-based-standards] (PRIiFAST64): Likewise.
34819 [C99-based-standards] (PRIoFAST64): Likewise.
34820 [C99-based-standards] (PRIuFAST64): Likewise.
34821 [C99-based-standards] (PRIxFAST64): Likewise.
34822 [C99-based-standards] (PRIXFAST64): Likewise.
34823 [C99-based-standards] (SCNdFAST64): Likewise.
34824 [C99-based-standards] (SCNiFAST64): Likewise.
34825 [C99-based-standards] (SCNoFAST64): Likewise.
34826 [C99-based-standards] (SCNuFAST64): Likewise.
34827 [C99-based-standards] (SCNxFAST64): Likewise.
34828 [C99-based-standards] (PRIdMAX): Likewise.
34829 [C99-based-standards] (PRIiMAX): Likewise.
34830 [C99-based-standards] (PRIoMAX): Likewise.
34831 [C99-based-standards] (PRIuMAX): Likewise.
34832 [C99-based-standards] (PRIxMAX): Likewise.
34833 [C99-based-standards] (PRIXMAX): Likewise.
34834 [C99-based-standards] (SCNdMAX): Likewise.
34835 [C99-based-standards] (SCNiMAX): Likewise.
34836 [C99-based-standards] (SCNoMAX): Likewise.
34837 [C99-based-standards] (SCNuMAX): Likewise.
34838 [C99-based-standards] (SCNxMAX): Likewise.
34839 [C99-based-standards] (PRIdPTR): Likewise.
34840 [C99-based-standards] (PRIiPTR): Likewise.
34841 [C99-based-standards] (PRIoPTR): Likewise.
34842 [C99-based-standards] (PRIuPTR): Likewise.
34843 [C99-based-standards] (PRIxPTR): Likewise.
34844 [C99-based-standards] (PRIXPTR): Likewise.
34845 [C99-based-standards] (SCNdPTR): Likewise.
34846 [C99-based-standards] (SCNiPTR): Likewise.
34847 [C99-based-standards] (SCNoPTR): Likewise.
34848 [C99-based-standards] (SCNuPTR): Likewise.
34849 [C99-based-standards] (SCNxPTR): Likewise.
34850 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34852 * conform/data/stdint.h-data: Update comments to clarify
34854 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34856 [C99-based standards] (INT8_MAX): Likewise.
34857 [C99-based standards] (INT16_MIN): Likewise.
34858 [C99-based standards] (INT16_MAX): Likewise.
34859 [C99-based standards] (INT32_MIN): Likewise.
34860 [C99-based standards] (INT32_MAX): Likewise.
34861 [C99-based standards] (INT64_MIN): Likewise.
34862 [C99-based standards] (INT64_MAX): Likewise.
34863 [C99-based standards] (UINT8_MAX): Likewise.
34864 [C99-based standards] (UINT16_MAX): Likewise.
34865 [C99-based standards] (UINT32_MAX): Likewise.
34866 [C99-based standards] (UINT64_MAX): Likewise.
34867 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34868 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34869 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34870 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34871 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34872 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34873 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34874 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34875 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34876 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34877 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34878 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34879 [C99-based standards] (INT_FAST8_MIN): Likewise.
34880 [C99-based standards] (INT_FAST8_MAX): Likewise.
34881 [C99-based standards] (INT_FAST16_MIN): Likewise.
34882 [C99-based standards] (INT_FAST16_MAX): Likewise.
34883 [C99-based standards] (INT_FAST32_MIN): Likewise.
34884 [C99-based standards] (INT_FAST32_MAX): Likewise.
34885 [C99-based standards] (INT_FAST64_MIN): Likewise.
34886 [C99-based standards] (INT_FAST64_MAX): Likewise.
34887 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34888 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34889 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34890 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34891 [C99-based standards] (INTPTR_MIN): Likewise.
34892 [C99-based standards] (INTPTR_MAX): Likewise.
34893 [C99-based standards] (UINTPTR_MAX): Likewise.
34894 [C99-based standards] (INTMAX_MIN): Likewise.
34895 [C99-based standards] (INTMAX_MAX): Likewise.
34896 [C99-based standards] (UINTMAX_MAX): Likewise.
34897 [C99-based standards] (PTRDIFF_MIN): Likewise.
34898 [C99-based standards] (PTRDIFF_MAX): Likewise.
34899 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34900 [C99-based standards] (SIZE_MAX): Likewise.
34901 [C99-based standards] (WCHAR_MAX): Likewise.
34902 [C99-based standards] (WINT_MAX): Likewise.
34903 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34904 constraint on value.
34905 [C99-based standards] (WCHAR_MIN): Likewise.
34906 [C99-based standards] (WINT_MIN): Likewise.
34907 [C99-based standards] (*_t): Allow.
34908 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34909 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34910 Include math.h-data and complex.h-data. Remove all expectations
34911 of math.h and complex.h contents.
34912 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34914 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34915 (struct tm): Expect tag.
34916 [C99-based-standards] (wcstof): Expect function.
34917 [C99-based-standards] (wcstold): Likewise.
34918 [C99-based-standards] (wcstoll): Likewise.
34919 [C99-based-standards] (wcstoull): Likewise.
34920 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34921 macro-int-constant. Specify type.
34922 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34923 constraint on value.
34924 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34926 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34928 [ISO C standards]: Do not allow headers.
34929 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34930 wcs[abcdefghijklmnopqrstuvwxyz]*.
34931 [ISO C standards] (*_t): Do not allow.
34932 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34934 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34935 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34937 [ISO C standards]: Do not allow headers.
34938 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34939 is[abcdefghijklmnopqrstuvwxyz]*.
34940 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34941 to[abcdefghijklmnopqrstuvwxyz]*.
34942 [ISO C standards] (*_t): Do not allow.
34943 * conform/data/stdalign.h-data: New file.
34944 * conform/data/stdbool.h-data: Likewise.
34945 * conform/data/stdnoreturn.h-data: Likewise.
34947 2012-11-07 Roland McGrath <roland@hack.frob.com>
34950 * manual/filesys.texi (Directory Entries): Typo fix.
34951 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34953 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34955 * elf/elf.h (EM_AARCH64): New macro.
34956 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34957 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34958 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34959 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34960 (R_AARCH64_TLSDESC): Likewise.
34961 (NT_ARM_TLS): Likewise.
34962 (NT_ARM_HW_BREAK): Likewise.
34963 (NT_ARM_HW_WATCH): Likewise.
34965 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34968 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34969 (__ieee754_powl): Saturate nonzero exponents with absolute value
34970 below 0x1p-79 to +/- 0x1p-79.
34971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34972 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34973 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34974 nonzero exponents with absolute value below 0x1p-32 to +/-
34976 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34977 (__ieee754_powl): Saturate nonzero exponents with absolute value
34978 below 0x1p-79 to +/- 0x1p-79.
34979 * math/libm-test.inc (pow_test): Add more tests.
34981 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34983 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34984 _dl_s390_cap_flags with kernel. Increase string length.
34985 (_dl_s390_platforms): Add z196 and zEC12.
34987 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34989 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34990 Change XOPEN21K to XOPEN2K.
34992 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34994 * string/memmove.c: Use memcpy when possible.
34996 2012-11-06 Andreas Jaeger <aj@suse.de>
34998 * po/eo.po: Update from translation team.
35000 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35004 exponent and small x and y exponents, scale x or y up. Increase
35005 by 2 the exponent used in scaling up.
35006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35008 * math/libm-test.inc (fma_test): Add more tests.
35009 (fma_test_towardzero): Likewise.
35010 (fma_test_downward): Likewise.
35011 (fma_test_upward): Likewise.
35013 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35016 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35020 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35021 namespace for names of struct fields.
35022 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35024 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35025 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35027 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35030 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35032 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35034 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35038 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35041 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35045 definitely overflow as x * y not x * y + z.
35046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35048 * math/libm-test.inc (fma_test): Add more tests.
35049 (fma_test_towardzero): Likewise.
35050 (fma_test_downward): Likewise.
35051 (fma_test_upward): Likewise.
35053 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35057 * include/stub-tag.h: Remove file.
35058 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35060 * manual/maint.texi (Porting): Don't reference it.
35061 * Makerules ($(objpfx)stubs): Likewise.
35062 * dirent/closedir.c: Don't include <stub-tag.h>.
35063 * dirent/dirfd.c: Likewise.
35064 * dirent/fdopendir.c: Likewise.
35065 * dirent/getdents.c: Likewise.
35066 * dirent/getdents64.c: Likewise.
35067 * dirent/opendir.c: Likewise.
35068 * dirent/readdir.c: Likewise.
35069 * dirent/readdir64.c: Likewise.
35070 * dirent/readdir64_r.c: Likewise.
35071 * dirent/readdir_r.c: Likewise.
35072 * dirent/rewinddir.c: Likewise.
35073 * dirent/seekdir.c: Likewise.
35074 * dirent/telldir.c: Likewise.
35075 * gmon/profil.c: Likewise.
35076 * grp/setgroups.c: Likewise.
35077 * inet/if_index.c: Likewise.
35078 * io/access.c: Likewise.
35079 * io/chdir.c: Likewise.
35080 * io/chmod.c: Likewise.
35081 * io/chown.c: Likewise.
35082 * io/close.c: Likewise.
35083 * io/dup.c: Likewise.
35084 * io/dup2.c: Likewise.
35085 * io/dup3.c: Likewise.
35086 * io/euidaccess.c: Likewise.
35087 * io/faccessat.c: Likewise.
35088 * io/fchdir.c: Likewise.
35089 * io/fchmod.c: Likewise.
35090 * io/fchmodat.c: Likewise.
35091 * io/fchown.c: Likewise.
35092 * io/fchownat.c: Likewise.
35093 * io/fcntl.c: Likewise.
35094 * io/flock.c: Likewise.
35095 * io/fstatfs.c: Likewise.
35096 * io/fstatfs64.c: Likewise.
35097 * io/fstatvfs.c: Likewise.
35098 * io/fstatvfs64.c: Likewise.
35099 * io/futimens.c: Likewise.
35100 * io/fxstat.c: Likewise.
35101 * io/fxstat64.c: Likewise.
35102 * io/fxstatat.c: Likewise.
35103 * io/fxstatat64.c: Likewise.
35104 * io/getcwd.c: Likewise.
35105 * io/isatty.c: Likewise.
35106 * io/lchmod.c: Likewise.
35107 * io/lchown.c: Likewise.
35108 * io/link.c: Likewise.
35109 * io/linkat.c: Likewise.
35110 * io/lseek.c: Likewise.
35111 * io/lseek64.c: Likewise.
35112 * io/lxstat64.c: Likewise.
35113 * io/mkdir.c: Likewise.
35114 * io/mkdirat.c: Likewise.
35115 * io/mkfifo.c: Likewise.
35116 * io/mkfifoat.c: Likewise.
35117 * io/open.c: Likewise.
35118 * io/open64.c: Likewise.
35119 * io/openat.c: Likewise.
35120 * io/openat64.c: Likewise.
35121 * io/pipe.c: Likewise.
35122 * io/pipe2.c: Likewise.
35123 * io/poll.c: Likewise.
35124 * io/posix_fadvise.c: Likewise.
35125 * io/posix_fadvise64.c: Likewise.
35126 * io/posix_fallocate.c: Likewise.
35127 * io/posix_fallocate64.c: Likewise.
35128 * io/read.c: Likewise.
35129 * io/readlink.c: Likewise.
35130 * io/readlinkat.c: Likewise.
35131 * io/rmdir.c: Likewise.
35132 * io/sendfile.c: Likewise.
35133 * io/sendfile64.c: Likewise.
35134 * io/statfs.c: Likewise.
35135 * io/statfs64.c: Likewise.
35136 * io/statvfs.c: Likewise.
35137 * io/statvfs64.c: Likewise.
35138 * io/symlink.c: Likewise.
35139 * io/symlinkat.c: Likewise.
35140 * io/ttyname.c: Likewise.
35141 * io/ttyname_r.c: Likewise.
35142 * io/umask.c: Likewise.
35143 * io/unlink.c: Likewise.
35144 * io/unlinkat.c: Likewise.
35145 * io/utime.c: Likewise.
35146 * io/utimensat.c: Likewise.
35147 * io/write.c: Likewise.
35148 * io/xmknod.c: Likewise.
35149 * io/xmknodat.c: Likewise.
35150 * io/xstat.c: Likewise.
35151 * io/xstat64.c: Likewise.
35152 * login/getpt.c: Likewise.
35153 * login/grantpt.c: Likewise.
35154 * login/unlockpt.c: Likewise.
35155 * math/e_acoshl.c: Likewise.
35156 * math/e_acosl.c: Likewise.
35157 * math/e_asinl.c: Likewise.
35158 * math/e_atan2l.c: Likewise.
35159 * math/e_atanhl.c: Likewise.
35160 * math/e_coshl.c: Likewise.
35161 * math/e_expl.c: Likewise.
35162 * math/e_fmodl.c: Likewise.
35163 * math/e_gammal_r.c: Likewise.
35164 * math/e_hypotl.c: Likewise.
35165 * math/e_j0l.c: Likewise.
35166 * math/e_j1l.c: Likewise.
35167 * math/e_jnl.c: Likewise.
35168 * math/e_lgammal_r.c: Likewise.
35169 * math/e_log10l.c: Likewise.
35170 * math/e_log2l.c: Likewise.
35171 * math/e_logl.c: Likewise.
35172 * math/e_powl.c: Likewise.
35173 * math/e_rem_pio2l.c: Likewise.
35174 * math/e_sinhl.c: Likewise.
35175 * math/e_sqrtl.c: Likewise.
35176 * math/fclrexcpt.c: Likewise.
35177 * math/fedisblxcpt.c: Likewise.
35178 * math/feenablxcpt.c: Likewise.
35179 * math/fegetenv.c: Likewise.
35180 * math/fegetexcept.c: Likewise.
35181 * math/fegetround.c: Likewise.
35182 * math/feholdexcpt.c: Likewise.
35183 * math/fesetenv.c: Likewise.
35184 * math/fesetround.c: Likewise.
35185 * math/feupdateenv.c: Likewise.
35186 * math/fgetexcptflg.c: Likewise.
35187 * math/fraiseexcpt.c: Likewise.
35188 * math/fsetexcptflg.c: Likewise.
35189 * math/ftestexcept.c: Likewise.
35190 * math/k_cosl.c: Likewise.
35191 * math/k_rem_pio2l.c: Likewise.
35192 * math/k_sinl.c: Likewise.
35193 * math/k_tanl.c: Likewise.
35194 * math/s_asinhl.c: Likewise.
35195 * math/s_atanl.c: Likewise.
35196 * math/s_cbrtl.c: Likewise.
35197 * math/s_erfl.c: Likewise.
35198 * math/s_expm1l.c: Likewise.
35199 * math/s_log1pl.c: Likewise.
35200 * math/s_tanhl.c: Likewise.
35201 * misc/acct.c: Likewise.
35202 * misc/brk.c: Likewise.
35203 * misc/chflags.c: Likewise.
35204 * misc/chroot.c: Likewise.
35205 * misc/fchflags.c: Likewise.
35206 * misc/fgetxattr.c: Likewise.
35207 * misc/flistxattr.c: Likewise.
35208 * misc/fremovexattr.c: Likewise.
35209 * misc/fsetxattr.c: Likewise.
35210 * misc/fsync.c: Likewise.
35211 * misc/ftruncate.c: Likewise.
35212 * misc/futimes.c: Likewise.
35213 * misc/futimesat.c: Likewise.
35214 * misc/getdomain.c: Likewise.
35215 * misc/getdtsz.c: Likewise.
35216 * misc/gethostid.c: Likewise.
35217 * misc/gethostname.c: Likewise.
35218 * misc/getloadavg.c: Likewise.
35219 * misc/getpagesize.c: Likewise.
35220 * misc/getsysstats.c: Likewise.
35221 * misc/getxattr.c: Likewise.
35222 * misc/gtty.c: Likewise.
35223 * misc/ioctl.c: Likewise.
35224 * misc/lgetxattr.c: Likewise.
35225 * misc/listxattr.c: Likewise.
35226 * misc/llistxattr.c: Likewise.
35227 * misc/lremovexattr.c: Likewise.
35228 * misc/lsetxattr.c: Likewise.
35229 * misc/lutimes.c: Likewise.
35230 * misc/madvise.c: Likewise.
35231 * misc/mincore.c: Likewise.
35232 * misc/mlock.c: Likewise.
35233 * misc/mlockall.c: Likewise.
35234 * misc/mmap.c: Likewise.
35235 * misc/mprotect.c: Likewise.
35236 * misc/msync.c: Likewise.
35237 * misc/munlock.c: Likewise.
35238 * misc/munlockall.c: Likewise.
35239 * misc/munmap.c: Likewise.
35240 * misc/preadv.c: Likewise.
35241 * misc/preadv64.c: Likewise.
35242 * misc/ptrace.c: Likewise.
35243 * misc/pwritev.c: Likewise.
35244 * misc/pwritev64.c: Likewise.
35245 * misc/readv.c: Likewise.
35246 * misc/reboot.c: Likewise.
35247 * misc/remap_file_pages.c: Likewise.
35248 * misc/removexattr.c: Likewise.
35249 * misc/revoke.c: Likewise.
35250 * misc/select.c: Likewise.
35251 * misc/setdomain.c: Likewise.
35252 * misc/setegid.c: Likewise.
35253 * misc/seteuid.c: Likewise.
35254 * misc/sethostid.c: Likewise.
35255 * misc/sethostname.c: Likewise.
35256 * misc/setregid.c: Likewise.
35257 * misc/setreuid.c: Likewise.
35258 * misc/setxattr.c: Likewise.
35259 * misc/sstk.c: Likewise.
35260 * misc/stty.c: Likewise.
35261 * misc/swapoff.c: Likewise.
35262 * misc/swapon.c: Likewise.
35263 * misc/sync.c: Likewise.
35264 * misc/syncfs.c: Likewise.
35265 * misc/syscall.c: Likewise.
35266 * misc/truncate.c: Likewise.
35267 * misc/ualarm.c: Likewise.
35268 * misc/usleep.c: Likewise.
35269 * misc/ustat.c: Likewise.
35270 * misc/utimes.c: Likewise.
35271 * misc/vhangup.c: Likewise.
35272 * misc/writev.c: Likewise.
35273 * posix/_exit.c: Likewise.
35274 * posix/alarm.c: Likewise.
35275 * posix/execve.c: Likewise.
35276 * posix/fexecve.c: Likewise.
35277 * posix/fork.c: Likewise.
35278 * posix/fpathconf.c: Likewise.
35279 * posix/getaddrinfo.c: Likewise.
35280 * posix/getegid.c: Likewise.
35281 * posix/geteuid.c: Likewise.
35282 * posix/getgid.c: Likewise.
35283 * posix/getgroups.c: Likewise.
35284 * posix/getlogin.c: Likewise.
35285 * posix/getlogin_r.c: Likewise.
35286 * posix/getpgid.c: Likewise.
35287 * posix/getpid.c: Likewise.
35288 * posix/getppid.c: Likewise.
35289 * posix/getresgid.c: Likewise.
35290 * posix/getresuid.c: Likewise.
35291 * posix/getsid.c: Likewise.
35292 * posix/getuid.c: Likewise.
35293 * posix/glob64.c: Likewise.
35294 * posix/nanosleep.c: Likewise.
35295 * posix/pathconf.c: Likewise.
35296 * posix/pause.c: Likewise.
35297 * posix/posix_madvise.c: Likewise.
35298 * posix/pread.c: Likewise.
35299 * posix/pread64.c: Likewise.
35300 * posix/pwrite.c: Likewise.
35301 * posix/pwrite64.c: Likewise.
35302 * posix/sched_getaffinity.c: Likewise.
35303 * posix/sched_getp.c: Likewise.
35304 * posix/sched_gets.c: Likewise.
35305 * posix/sched_primax.c: Likewise.
35306 * posix/sched_primin.c: Likewise.
35307 * posix/sched_rr_gi.c: Likewise.
35308 * posix/sched_setaffinity.c: Likewise.
35309 * posix/sched_setp.c: Likewise.
35310 * posix/sched_sets.c: Likewise.
35311 * posix/sched_yield.c: Likewise.
35312 * posix/setgid.c: Likewise.
35313 * posix/setlogin.c: Likewise.
35314 * posix/setpgid.c: Likewise.
35315 * posix/setresgid.c: Likewise.
35316 * posix/setresuid.c: Likewise.
35317 * posix/setsid.c: Likewise.
35318 * posix/setuid.c: Likewise.
35319 * posix/sleep.c: Likewise.
35320 * posix/spawni.c: Likewise.
35321 * posix/sysconf.c: Likewise.
35322 * posix/times.c: Likewise.
35323 * posix/wait.c: Likewise.
35324 * posix/wait3.c: Likewise.
35325 * posix/wait4.c: Likewise.
35326 * posix/waitpid.c: Likewise.
35327 * resolv/gai_sigqueue.c: Likewise.
35328 * resource/getpriority.c: Likewise.
35329 * resource/getrlimit.c: Likewise.
35330 * resource/getrusage.c: Likewise.
35331 * resource/nice.c: Likewise.
35332 * resource/setpriority.c: Likewise.
35333 * resource/setrlimit.c: Likewise.
35334 * resource/ulimit.c: Likewise.
35335 * rt/aio_cancel.c: Likewise.
35336 * rt/aio_fsync.c: Likewise.
35337 * rt/aio_read.c: Likewise.
35338 * rt/aio_sigqueue.c: Likewise.
35339 * rt/aio_suspend.c: Likewise.
35340 * rt/aio_write.c: Likewise.
35341 * rt/clock_getres.c: Likewise.
35342 * rt/clock_gettime.c: Likewise.
35343 * rt/clock_nanosleep.c: Likewise.
35344 * rt/clock_settime.c: Likewise.
35345 * rt/lio_listio.c: Likewise.
35346 * rt/mq_close.c: Likewise.
35347 * rt/mq_getattr.c: Likewise.
35348 * rt/mq_notify.c: Likewise.
35349 * rt/mq_open.c: Likewise.
35350 * rt/mq_receive.c: Likewise.
35351 * rt/mq_send.c: Likewise.
35352 * rt/mq_setattr.c: Likewise.
35353 * rt/mq_timedreceive.c: Likewise.
35354 * rt/mq_timedsend.c: Likewise.
35355 * rt/mq_unlink.c: Likewise.
35356 * rt/shm_open.c: Likewise.
35357 * rt/shm_unlink.c: Likewise.
35358 * rt/timer_create.c: Likewise.
35359 * rt/timer_delete.c: Likewise.
35360 * rt/timer_getoverr.c: Likewise.
35361 * rt/timer_gettime.c: Likewise.
35362 * rt/timer_settime.c: Likewise.
35363 * setjmp/__longjmp.c: Likewise.
35364 * setjmp/setjmp.c: Likewise.
35365 * signal/kill.c: Likewise.
35366 * signal/killpg.c: Likewise.
35367 * signal/raise.c: Likewise.
35368 * signal/sigaction.c: Likewise.
35369 * signal/sigaltstack.c: Likewise.
35370 * signal/sigblock.c: Likewise.
35371 * signal/sigignore.c: Likewise.
35372 * signal/sigintr.c: Likewise.
35373 * signal/signal.c: Likewise.
35374 * signal/sigpause.c: Likewise.
35375 * signal/sigpending.c: Likewise.
35376 * signal/sigqueue.c: Likewise.
35377 * signal/sigreturn.c: Likewise.
35378 * signal/sigset.c: Likewise.
35379 * signal/sigsetmask.c: Likewise.
35380 * signal/sigstack.c: Likewise.
35381 * signal/sigsuspend.c: Likewise.
35382 * signal/sigtimedwait.c: Likewise.
35383 * signal/sigvec.c: Likewise.
35384 * signal/sigwait.c: Likewise.
35385 * signal/sigwaitinfo.c: Likewise.
35386 * signal/sysv_signal.c: Likewise.
35387 * socket/accept.c: Likewise.
35388 * socket/accept4.c: Likewise.
35389 * socket/bind.c: Likewise.
35390 * socket/connect.c: Likewise.
35391 * socket/getpeername.c: Likewise.
35392 * socket/getsockname.c: Likewise.
35393 * socket/getsockopt.c: Likewise.
35394 * socket/isfdtype.c: Likewise.
35395 * socket/listen.c: Likewise.
35396 * socket/recv.c: Likewise.
35397 * socket/recvfrom.c: Likewise.
35398 * socket/recvmsg.c: Likewise.
35399 * socket/send.c: Likewise.
35400 * socket/sendmsg.c: Likewise.
35401 * socket/sendto.c: Likewise.
35402 * socket/setsockopt.c: Likewise.
35403 * socket/shutdown.c: Likewise.
35404 * socket/sockatmark.c: Likewise.
35405 * socket/socket.c: Likewise.
35406 * socket/socketpair.c: Likewise.
35407 * stdio-common/ctermid.c: Likewise.
35408 * stdio-common/cuserid.c: Likewise.
35409 * stdio-common/remove.c: Likewise.
35410 * stdio-common/rename.c: Likewise.
35411 * stdio-common/renameat.c: Likewise.
35412 * stdio-common/tempname.c: Likewise.
35413 * stdlib/getcontext.c: Likewise.
35414 * stdlib/makecontext.c: Likewise.
35415 * stdlib/setcontext.c: Likewise.
35416 * stdlib/swapcontext.c: Likewise.
35417 * stdlib/system.c: Likewise.
35418 * streams/fattach.c: Likewise.
35419 * streams/fdetach.c: Likewise.
35420 * streams/getmsg.c: Likewise.
35421 * streams/getpmsg.c: Likewise.
35422 * streams/putmsg.c: Likewise.
35423 * streams/putpmsg.c: Likewise.
35424 * sysdeps/unix/bsd/getpt.c: Likewise.
35425 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35426 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35427 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35430 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35431 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35432 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35433 * sysvipc/msgctl.c: Likewise.
35434 * sysvipc/msgget.c: Likewise.
35435 * sysvipc/msgrcv.c: Likewise.
35436 * sysvipc/msgsnd.c: Likewise.
35437 * sysvipc/semctl.c: Likewise.
35438 * sysvipc/semget.c: Likewise.
35439 * sysvipc/semop.c: Likewise.
35440 * sysvipc/semtimedop.c: Likewise.
35441 * sysvipc/shmat.c: Likewise.
35442 * sysvipc/shmctl.c: Likewise.
35443 * sysvipc/shmdt.c: Likewise.
35444 * sysvipc/shmget.c: Likewise.
35445 * termios/tcdrain.c: Likewise.
35446 * termios/tcflow.c: Likewise.
35447 * termios/tcflush.c: Likewise.
35448 * termios/tcgetattr.c: Likewise.
35449 * termios/tcgetpgrp.c: Likewise.
35450 * termios/tcsendbrk.c: Likewise.
35451 * termios/tcsetattr.c: Likewise.
35452 * termios/tcsetpgrp.c: Likewise.
35453 * time/adjtime.c: Likewise.
35454 * time/clock.c: Likewise.
35455 * time/getitimer.c: Likewise.
35456 * time/gettimeofday.c: Likewise.
35457 * time/setitimer.c: Likewise.
35458 * time/settimeofday.c: Likewise.
35459 * time/stime.c: Likewise.
35460 * time/time.c: Likewise.
35462 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35464 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35467 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35469 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35471 2012-11-03 Joseph Myers <joseph@codesourcery.com>
35474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35475 FE_TONEAREST before applying Dekker multiplication and Knuth
35476 addition. Clear inexact exceptions and check for exact zero
35477 results afterwards.
35478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35479 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35481 * math/libm-test.inc (fma_test): Add more tests.
35482 (fma_test_towardzero): Likewise.
35483 (fma_test_downward): Likewise.
35484 (fma_test_upward): Likewise.
35485 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35487 (libc_fesetround): New macro.
35488 (libc_fesetroundf): Likewise.
35489 (libc_fesetroundl): Likewise.
35490 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35492 (libc_fesetround_387): Likewise.
35493 (libc_fesetroundf): New macro.
35494 (libc_fesetround): Likewise.
35495 (libc_fesetroundl): Likewise.
35496 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35498 (libc_fesetroundf): New macro.
35499 (libc_fesetround): Likewise.
35500 (libc_fesetroundl): Likewise.
35501 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35502 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35503 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35505 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35506 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35508 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35509 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35511 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35515 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35516 integer constant usable in #if and use that to give value to enum
35518 (FE_DIVBYZERO): Likewise.
35519 (FE_UNDERFLOW): Likewise.
35520 (FE_OVERFLOW): Likewise.
35521 (FE_INVALID): Likewise.
35522 (FE_INVALID_SNAN): Likewise.
35523 (FE_INVALID_ISI): Likewise.
35524 (FE_INVALID_IDI): Likewise.
35525 (FE_INVALID_ZDZ): Likewise.
35526 (FE_INVALID_IMZ): Likewise.
35527 (FE_INVALID_COMPARE): Likewise.
35528 (FE_INVALID_SOFTWARE): Likewise.
35529 (FE_INVALID_SQRT): Likewise.
35530 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35531 (FE_TONEAREST): Likewise.
35532 (FE_TOWARDZERO): Likewise.
35533 (FE_UPWARD): Likewise.
35534 (FE_DOWNWARD): Likewise.
35535 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35536 (FE_DIVBYZERO): Likewise.
35537 (FE_OVERFLOW): Likewise.
35538 (FE_UNDERFLOW): Likewise.
35539 (FE_INEXACT): Likewise.
35540 (FE_TONEAREST): Likewise.
35541 (FE_DOWNWARD): Likewise.
35542 (FE_UPWARD): Likewise.
35543 (FE_TOWARDZERO): Likewise.
35544 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35545 (FE_UNDERFLOW): Likewise.
35546 (FE_OVERFLOW): Likewise.
35547 (FE_DIVBYZERO): Likewise.
35548 (FE_INVALID): Likewise.
35549 (FE_TONEAREST): Likewise.
35550 (FE_TOWARDZERO): Likewise.
35551 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35552 (FE_OVERFLOW): Likewise.
35553 (FE_UNDERFLOW): Likewise.
35554 (FE_DIVBYZERO): Likewise.
35555 (FE_INEXACT): Likewise.
35556 (FE_TONEAREST): Likewise.
35557 (FE_TOWARDZERO): Likewise.
35558 (FE_UPWARD): Likewise.
35559 (FE_DOWNWARD): Likewise.
35560 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35561 (FE_DIVBYZERO): Likewise.
35562 (FE_OVERFLOW): Likewise.
35563 (FE_UNDERFLOW): Likewise.
35564 (FE_INEXACT): Likewise.
35565 (FE_TONEAREST): Likewise.
35566 (FE_DOWNWARD): Likewise.
35567 (FE_UPWARD): Likewise.
35568 (FE_TOWARDZERO): Likewise.
35570 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35572 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35574 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35576 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35577 commands. Quote $PWD.
35578 (blacklist_exports): Don't use remove_newlines. Replace "declare
35580 (remove_newlines): Remove.
35582 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35584 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35585 * stdlib/stdlib.h (atof): Moved to ...
35586 * include/bits/stdlib-float.h: Here. New file.
35587 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35588 * stdlib/bits/stdlib-float.h: New file.
35589 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35591 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35594 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35596 * conform/conformtest.pl (@headers): Add fenv.h.
35597 * conform/data/fenv.h-data: New file.
35598 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35599 include of <math/fenv.h>.
35601 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35602 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35603 && !UNIX98]. Enables tests for XOPEN2K8.
35604 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35605 POSIX2008]: Likewise.
35607 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35608 (struct rusage): Do not expect type or its members.
35611 * math/math.h (FP_NAN): Define macro to integer constant usable in
35612 #if and use that to give value to enum constant.
35613 (FP_INFINITE): Likewise.
35614 (FP_ZERO): Likewise.
35615 (FP_SUBNORMAL): Likewise.
35616 (FP_NORMAL): Likewise.
35618 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35620 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35621 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35624 2012-11-02 Roland McGrath <roland@hack.frob.com>
35626 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35627 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35628 autoconf-time if not.
35629 * configure.in: Remove AC_PREREQ.
35631 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35633 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35634 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35635 of the internal implementation.
35637 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35639 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35640 except include of <misc/sys/syslog.h>.
35642 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35645 function returns with a NULL context exit with zero.
35647 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35649 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35651 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35653 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35654 (run_program_cmd): This.
35655 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35656 (tst_langinfo): New variable. Use it.
35658 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35660 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35661 floating point opcodes.
35663 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35665 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35668 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35670 * sysdeps/mach/hurd/powerpc: Remove directory.
35671 * sysdeps/mach/powerpc: Likewise.
35673 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35675 * scripts/check-local-headers.sh: Ignore c++ headers.
35677 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35679 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35680 __libc_cleanup_region_start argument.
35682 2012-11-01 Joseph Myers <joseph@codesourcery.com>
35686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35687 x * y using scaling, not as x * y + z.
35688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35689 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35690 * math/libm-test.inc (fma_test): Add more tests.
35691 (fma_test_towardzero): Likewise.
35692 (fma_test_downward): Likewise.
35693 (fma_test_upward): Likewise.
35695 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35697 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35699 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35701 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35704 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35706 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35708 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35715 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35718 Fix the order of the list for glibc 2.17.
35719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35722 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35726 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35730 for low part of x being zero before using __atanl (y).
35731 * math/libm-test.inc (atan2_test): Add another test.
35733 * manual/install.texi (Configuring and compiling): Document
35734 general use of test-wrapper and test-wrapper-env.
35735 * INSTALL: Regenerated.
35737 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35738 (__fma): Do not extract and scale down low bits on after-rounding
35739 systems when result rounded to normal precision would have normal
35741 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35742 (__fmal): Do not extract and scale down low bits on after-rounding
35743 systems when result rounded to normal precision would have normal
35745 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35746 (__fmal): Do not extract and scale down low bits on after-rounding
35747 systems when result rounded to normal precision would have normal
35749 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35751 (fma_test): Add more tests.
35752 (fma_test_towardzero): Likewise.
35753 (fma_test_downward): Likewise.
35754 (fma_test_upward): Likewise.
35756 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35758 * sysdeps/i386/tininess.h: Renamed to ...
35759 * sysdeps/x86/tininess.h: This.
35760 * sysdeps/x86_64/tininess.h: Removed.
35762 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35764 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35765 input. Use $(build-program-cmd).
35766 ($(objpfx)tst-array1-static.out): Likewise.
35767 ($(objpfx)tst-array2.out): Likewise.
35768 ($(objpfx)tst-array3.out): Likewise.
35769 ($(objpfx)tst-array4.out): Likewise.
35770 ($(objpfx)tst-array5.out): Likewise.
35771 ($(objpfx)tst-array5-static.out): Likewise.
35773 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35775 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35778 * nss/nsswitch.h (nss_interface_function): Provide new
35779 macro for use with NSS functions.
35780 * grp/initgroups.c: Use new macro.
35781 * nss/getXXbyYY.c: Likewise.
35782 * nss/getXXbyYY_r.c: Likewise.
35783 * nss/getXXent.c: Likewise.
35784 * nss/getXXent_r.c: Likewise.
35785 * sysdeps/posix/getaddrinfo.c: Likewise.
35787 2012-10-30 Andreas Jaeger <aj@suse.de>
35789 * po/ru.po: Update Russion translation from translation project.
35791 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35796 result and shift together with sticky bit instead of replicating
35797 round-to-nearest rounding.
35798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35800 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35801 missing underflow exceptions.
35802 (fma_test_towardzero): Add more tests.
35803 (fma_test_downward): Likewise.
35804 (fma_test_upward): Likewise.
35807 * sysdeps/generic/tininess.h: New file.
35808 * sysdeps/i386/tininess.h: Likewise.
35809 * sysdeps/sh/tininess.h: Likewise.
35810 * sysdeps/x86_64/tininess.h: Likewise.
35811 * stdlib/tst-strtod-underflow.c: Likewise.
35812 * stdlib/tst-tininess.c: Likewise.
35813 * stdlib/strtod_l.c: Include <tininess.h>.
35814 (round_and_return): Do not set errno for exact underflow cases.
35815 Force an underflow exception when setting errno for underflow.
35816 Determine underflow based on rounding to normal precision if
35817 TININESS_AFTER_ROUNDING.
35818 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35819 ERANGE for exact underflow cases.
35820 * stdlib/Makefile (tests): Add tst-tininess and
35821 tst-strtod-underflow.
35822 ($(objpfx)tst-tininess): Use $(link-libm).
35823 ($(objpfx)tst-strtod-underflow): Likewise.
35825 2012-10-30 Andreas Jaeger <aj@suse.de>
35828 * elf/Makefile (tests): Remove conditional for have-initfini-array
35829 since this is now always required and the variable does not exist
35831 (tests-static): Likewise.
35832 (modules-names): Likewise.
35834 * po/eo.po: Add Esperanto translation from translation project.
35836 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35837 merged with constructor/destructor.
35838 (init_array): Likewise.
35839 * elf/tst-array2dep.c (fini_array): Likewise.
35840 (init_array): Likewise.
35842 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35844 * manual/message.texi: Delete @cartouche tags.
35846 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35848 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35850 * sysdeps/mach/hurd/fsync.c: Likewise.
35852 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35853 [_POSIX_REALTIME_SIGNALS]: Change condition to
35854 [_POSIX_REALTIME_SIGNALS > 0].
35856 2012-10-27 Andreas Jaeger <aj@suse.de>
35858 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35859 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35861 [__WORDSIZE != 64]: Likewise.
35863 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35865 * iconvdata/tst-table.sh: Remove ${SHELL}.
35866 * iconvdata/tst-tables.sh: Likewise.
35868 2012-10-25 David S. Miller <davem@davemloft.net>
35870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35871 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35876 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35877 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35878 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35881 2012-10-25 Roland McGrath <roland@hack.frob.com>
35883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35884 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35887 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35888 Jim Blandy <jimb@codesourcery.com>
35890 * scripts/cross-test-ssh.sh: New file.
35891 * manual/install.texi (Configuring and compiling): Document use of
35893 * INSTALL: Regenerated.
35895 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35897 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35900 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35902 * Makeconfig (run-program-prefix): Fix comment.
35904 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35905 Jim Blandy <jimb@codesourcery.com>
35907 * Makeconfig (test-wrapper): New variable,
35908 (test-wrapper-env): Likewise.
35909 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35910 (run-built-tests): Define to yes.
35911 (run-program-prefix): Use $(test-wrapper).
35912 (built-program-cmd): Likewise.
35913 * Rules (make-test-out): Use $(test-wrapper-env) and
35914 $(host-built-program-cmd).
35915 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35916 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35918 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35919 $(test-wrapper-env) to tst-rtld-load-self.sh.
35920 ($(objpfx)order2.out): Use $(test-wrapper).
35921 ($(objpfx)tst-initorder.out): Likewise.
35922 ($(objpfx)tst-initorder2.out): Likewise.
35923 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35924 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35925 (test_wrapper_env): New variable. Use it to run ld.so.
35926 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35927 Use it to run ld.so.
35928 (test_wrapper_env): Likewise.
35929 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35930 $(test-wrapper) to run-iconv-test.sh.
35931 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35932 (ICONV): Use $test_wrapper.
35933 * posix/Makefile ($(objpfx)globtest.out): Pass
35934 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35935 globtest.sh, not $(run-program-prefix).
35936 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35937 (test_wrapper): Likewise.
35938 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35939 set together with run_via_rtld_prefix.
35940 (run_program_prefix): Define in terms of test_wrapper and
35941 run_via_rtld_prefix.
35943 2012-10-24 Roland McGrath <roland@hack.frob.com>
35945 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35946 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35950 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35951 Declare __clock_getres, __clock_gettime, __clock_settime,
35952 __clock_nanosleep, and __clock_getcpuclockid.
35953 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35954 Remove librt_hidden_def (clock_gettime).
35955 * sysdeps/unix/clock_gettime.c: Likewise.
35956 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35957 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35958 * rt/clock_getres.c: Define __clock_getres as an alias.
35959 * sysdeps/posix/clock_getres.c: Likewise.
35960 * rt/clock_settime.c: Define __clock_settime as an alias.
35961 * sysdeps/unix/clock_settime.c: Likewise.
35962 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35963 * sysdeps/unix/clock_nanosleep.c: Likewise.
35964 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35965 * rt/clock-compat.c: New file.
35966 * rt/Makefile (librt-routines): Add clock-compat and move
35967 $(clock-routines) to ...
35968 (routines): ... here, new variable.
35969 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35970 Don't add get_clockfreq here.
35971 * rt/Versions (libc: GLIBC_2.17): New version set.
35972 Add clock_* symbols here.
35973 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35974 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35975 (GLIBC_2.17): Add clock_* symbols.
35976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35987 * NEWS: Mention the move.
35989 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35990 Use __open, __read, __close rather than their public counterparts.
35991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35992 (__get_clockfreq_via_cpuinfo): Likewise.
35993 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35994 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35996 * config.h.in (HAVE_IFUNC): New #undef.
35997 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35999 * configure: Regenerated.
36001 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36003 * configure.in: Move READELF check to start of file.
36004 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36005 libc_cv_asm_gnu_indirect_function in the process.
36006 * configure: Regenerated.
36008 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36010 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36011 send the output to /dev/null.
36012 (libc_cv_cc_with_libunwind): Likewise.
36013 (libc_cv_as_noexecstack): Likewise.
36014 * configure: Regenerate.
36016 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36018 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36020 * posix/globtest.sh (TMPDIR): Do not set.
36021 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36022 (testout): Likewise.
36024 2012-10-24 Andreas Jaeger <aj@suse.de>
36026 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36027 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36028 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36029 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36030 posix_fadvise64, posix_fallocate64.
36032 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36033 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36034 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36036 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36038 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36041 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36042 <bits/fcntl-linux.h>.
36043 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36046 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36047 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36048 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36049 [__WORDSIZE != 64]: Likewise.
36051 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36053 * Makeconfig (run-built-tests): New variable.
36054 * Rules [$(cross-compiling) = yes]: Change condition to
36055 [$(run-built-tests) = no].
36056 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36057 to [$(run-built-tests) = yes].
36058 * elf/Makefile [$(cross-compiling) = no]: Likewise
36059 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36060 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36061 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36062 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36063 * io/Makefile [$(cross-compiling) = no]: Likewise.
36064 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36065 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36066 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36067 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36068 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36069 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36070 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36071 * string/Makefile [$(cross-compiling) = no]: Likewise.
36073 * posix/Makefile ($(objpfx)globtest.out): Pass
36074 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36075 $(rtld-installed-name).
36076 * posix/globtest.sh (elf_objpfx): Remove variable.
36077 (rtld_installed_name): Likewise.
36078 (library_path): Likewise.
36079 (run_program_prefix): New variable. Use for running globtest
36082 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36083 Joseph Myers <joseph@codesourcery.com>
36085 * Makeconfig (host-built-program-cmd): New variable.
36086 * elf/Makefile (tst-stackguard1-ARGS): Use
36087 $(host-built-program-cmd).
36088 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36089 (tst-spawn-ARGS): Likewise.
36090 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36092 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36093 Jim Blandy <jimb@codesourcery.com>
36095 * Makeconfig (run-via-rtld-prefix): New variable.
36096 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36097 (built-program-cmd): Likewise.
36099 2012-10-22 Andreas Jaeger <aj@suse.de>
36101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36102 __O_RSYNC if it exists, otherwise to O_SYNC.
36104 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36105 Joseph Myers <joseph@codesourcery.com>
36107 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36109 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36111 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36114 2012-10-22 Andreas Jaeger <aj@suse.de>
36116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36121 bits/fcntl-linux.h.
36123 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36124 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36131 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36132 Joseph Myers <joseph@codesourcery.com>
36134 * config.make.in (NM): New variable.
36136 2012-10-21 Andreas Jaeger <aj@suse.de>
36138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36139 definitions and declarations that are provided by
36140 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36142 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36145 * elf/Makefile (tests-static): Add tst-leaks1-static.
36146 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36147 ($(objpfx)tst-leaks1-static): New rule.
36148 ($(objpfx)tst-leaks1-static-mem): Likewise.
36149 (tst-leaks1-static-ENV): New macro.
36150 * elf/dl-open.c (dl_open_worker): Check the main application
36151 only if SHARED is defined.
36152 * elf/tst-leaks1-static.c: New file.
36154 2012-10-20 Andreas Jaeger <aj@suse.de>
36156 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36157 generic values for Linux.
36158 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36159 and declarations that are provided by <bits/fcntl-linux.h> and
36160 include <bits/fcntl-linux.h>.
36161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36164 2012-10-20 Roland McGrath <roland@hack.frob.com>
36166 * io/fcntl.h: Move include of <bits/types.h> to the top and
36167 include it unconditionally.
36169 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36171 * wcsmbs/Makefile (tests-ifunc): New variable.
36172 (tests): Add $(tests-ifunc).
36173 * wcsmbs/test-wcschr-ifunc.c: New file.
36174 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36175 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36176 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36177 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36178 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36180 * string/Makefile (tests-ifunc): New variable.
36181 (tests): Add $(tests-ifunc).
36182 * string/test-memccpy.c (TEST_NAME): New macro.
36183 * string/test-memchr.c (TEST_NAME): Likewise.
36184 * string/test-memcmp.c (TEST_NAME): Likewise.
36185 * string/test-memcpy.c (TEST_NAME): Likewise.
36186 * string/test-memmem.c (TEST_NAME): Likewise.
36187 * string/test-memmove.c (TEST_NAME): Likewise.
36188 * string/test-memset.c (TEST_NAME): Likewise.
36189 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36190 * string/test-stpcpy.c (TEST_NAME): Likewise.
36191 * string/test-stpncpy.c (TEST_NAME): Likewise.
36192 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36193 * string/test-strcasestr.c (TEST_NAME): Likewise.
36194 * string/test-strcat.c (TEST_NAME): Likewise.
36195 * string/test-strchr.c (TEST_NAME): Likewise.
36196 * string/test-strcmp.c(TEST_NAME): Likewise.
36197 * string/test-strcpy.c (TEST_NAME): Likewise.
36198 * string/test-strcspn.c (TEST_NAME): Likewise.
36199 * string/test-strlen.c (TEST_NAME): Likewise.
36200 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36201 * string/test-strncmp.c (TEST_NAME): Likewise.
36202 * string/test-strncpy.c (TEST_NAME): Likewise.
36203 * string/test-strnlen.c (TEST_NAME): Likewise.
36204 * string/test-strpbrk.c (TEST_NAME): Likewise.
36205 * string/test-strrchr.c (TEST_NAME): Likewise.
36206 * string/test-strspn.c (TEST_NAME): Likewise.
36207 * string/test-strstr.c (TEST_NAME): Likewise.
36208 * string/test-bcopy-ifunc.c: New file.
36209 * string/test-bzero-ifunc.c: Likewise.
36210 * string/test-memccpy-ifunc.c: Likewise.
36211 * string/test-memchr-ifunc.c: Likewise.
36212 * string/test-memcmp-ifunc.c: Likewise.
36213 * string/test-memcpy-ifunc.c: Likewise.
36214 * string/test-memmem-ifunc.c: Likewise.
36215 * string/test-memmove-ifunc.c: Likewise.
36216 * string/test-mempcpy-ifunc.c: Likewise.
36217 * string/test-memset-ifunc.c: Likewise.
36218 * string/test-rawmemchr-ifunc.c: Likewise.
36219 * string/test-stpcpy-ifunc.c: Likewise.
36220 * string/test-stpncpy-ifunc.c: Likewise.
36221 * string/test-strcasecmp-ifunc.c: Likewise.
36222 * string/test-strcasestr-ifunc.c: Likewise.
36223 * string/test-strcat-ifunc.c: Likewise.
36224 * string/test-strchr-ifunc.c: Likewise.
36225 * string/test-strchrnul-ifunc.c: Likewise.
36226 * string/test-strcmp-ifunc.c: Likewise.
36227 * string/test-strcpy-ifunc.c: Likewise.
36228 * string/test-strcspn-ifunc.c: Likewise.
36229 * string/test-strlen-ifunc.c: Likewise.
36230 * string/test-strncasecmp-ifunc.c: Likewise.
36231 * string/test-strncat-ifunc.c: Likewise.
36232 * string/test-strncmp-ifunc.c: Likewise.
36233 * string/test-strncpy-ifunc.c: Likewise.
36234 * string/test-strnlen-ifunc.c: Likewise.
36235 * string/test-strpbrk-ifunc.c: Likewise.
36236 * string/test-strrchr-ifunc.c: Likewise.
36237 * string/test-strspn-ifunc.c: Likewise.
36238 * string/test-strstr-ifunc.c: Likewise.
36240 * debug/Makefile (tests-ifunc): New variable.
36241 (tests): Add $(tests-ifunc).
36242 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36243 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36244 * debug/test-stpcpy_chk-ifunc.c: New file.
36245 * debug/test-strcpy_chk-ifunc.c: Likewise.
36247 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36250 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36251 header is not read in.
36253 2012-10-19 Joseph Myers <joseph@codesourcery.com>
36255 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36256 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36257 directly. Pass built executable to script as
36258 $(built-program-cmd).
36259 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36260 $testprogram without using LD_LIBRARY_PATH and $ldso.
36262 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36263 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36264 $(rtld-installed-name).
36265 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36266 (rtld_installed_name): Likewise.
36267 (library_path): Likewise.
36268 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36269 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36270 $(run-program-prefix) to tst-tables.sh.
36271 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36272 it to run tst-table-from and tst-table-to.
36273 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36274 Pass it to tst-table.sh.
36275 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36276 $(run-program-prefix) to tst-gettext.sh.
36277 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36279 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36281 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36282 to run tst-gettext.
36283 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36284 to run tst-gettext2.
36285 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36286 to run tst-translit.
36287 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36288 $(run-program-prefix) to tst-mtrace.sh.
36289 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36291 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36292 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36293 $(rtld-installed-name).
36294 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36295 (rtld_installed_name): Likewise.
36296 (run_program_prefix): New variable. Use it to run wordexp-test.
36298 * Makeconfig (ARCH): Remove all definitions.
36299 (machine): Likewise.
36300 [ARCH]: Remove conditional code.
36301 [!objdir]: Give error.
36302 [!objdir] (objpfx): Remove.
36303 [!objdir] (common-objpfx): Likewise.
36304 [!objdir] (common-objdir): Likewise.
36305 * configure.in (config_makefile): Remove. Hardcode Makefile in
36306 AC_CONFIG_FILES call.
36307 * configure: Regenerated.
36310 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36312 (testout): Likewise.
36314 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36315 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36316 $(rtld-installed-name).
36317 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36318 (rtld_installed_name): Likwise.
36319 (runit): Remove function.
36320 (run_getconf): New variable, Use it for running getconf binary.
36322 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36325 * string/test-memmem.c (check_result): New function.
36326 (do_one_test): Use it.
36327 (check1): New function.
36328 (test_main): Use it.
36330 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36332 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36334 2012-10-18 Joseph Myers <joseph@codesourcery.com>
36336 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36337 (_G_LSEEK64): Likewise.
36338 (_G_MMAP64): Likewise.
36339 (_G_FSTAT64): Likewise.
36340 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36341 (_G_LSEEK64): Likewise.
36342 (_G_MMAP64): Likewise.
36343 (_G_FSTAT64): Likewise.
36344 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36345 unconditional. Call __mmap64 directly.
36346 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36347 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36348 __lseek64 directly.
36349 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36350 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36352 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36353 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36354 __lseek64 directly.
36355 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36356 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36357 __lseek64 directly.
36358 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36359 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36360 __lseek64 directly.
36361 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36362 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36363 __fxstat64 directly.
36364 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36365 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36367 (freopen64) [!_G_OPEN64]: Remove conditional code.
36368 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36370 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36371 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36373 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36374 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36376 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36377 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36379 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36380 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36382 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36383 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36385 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36386 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36388 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36390 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36393 * manual/memory.texi (Malloc Tunable Parameters): Add note
36394 about free list pointers overwriting some perturb bytes.
36395 Wording suggested by Roland McGrath.
36397 2012-10-17 Joseph Myers <joseph@codesourcery.com>
36399 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36400 (lgamma_test): Likewise.
36401 (tgamma_test): Likewise.
36403 2012-10-16 Florian Weimer <fweimer@redhat.com>
36406 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36407 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36409 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36411 * NEWS: Mention BZ #14716.
36412 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36413 when removing AVAILABLE1_USES_J macro.
36415 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36417 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36418 (__bswap_64): __uint64_t for unsigned 64-bit int.
36420 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36422 * include/string.h (memmem): Declare libc hidden alias.
36423 * string/memmem.c (memmem): Define libc hidden alias.
36424 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36425 __read, __close instead of open, read, close.
36427 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36430 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36432 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36433 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36434 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36436 (__rawmemchr_sse2): Likewise.
36437 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36438 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36439 (__strchr_sse2): Likewise.
36440 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36441 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36442 (__strcasecmp_sse2): Likewise.
36443 (__strncasecmp_sse2): Likewise.
36444 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36445 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36446 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36447 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36448 (__strrchr_sse2): Likewise.
36449 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36451 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36452 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36453 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36454 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36455 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36456 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36457 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36458 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36459 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36460 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36461 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36462 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36463 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36464 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36465 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36466 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36467 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36468 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36469 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36470 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36471 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36472 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36473 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36474 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36475 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36476 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36477 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36478 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36479 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36480 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36482 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36484 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36485 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36486 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36487 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36489 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36491 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36492 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36493 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36494 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36496 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36497 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36498 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36499 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36500 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36501 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36502 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36503 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36504 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36505 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36506 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36507 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36508 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36509 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36510 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36511 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36512 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36513 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36514 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36515 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36516 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36517 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36518 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36519 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36520 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36521 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36522 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36523 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36524 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36525 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36526 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36527 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36528 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36529 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36530 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36531 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36532 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36533 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36534 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36535 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36536 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36538 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36539 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36540 * include/ifunc-impl-list.h: New file.
36541 * misc/ifunc-impl-list.c: Likewise.
36542 * misc/Makefile (routines): Add ifunc-impl-list.
36543 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36544 * string/test-string.h: Include <ifunc-impl-list.h>.
36545 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36546 TEST_NAME]: New variables.
36547 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36549 (test_init): Call __libc_ifunc_impl_list to initialize
36550 func_list if TEST_IFUNC and TEST_NAME are defined.
36552 * string/Makefile (strop-tests): Add bcopy and bzero.
36553 * string/test-bcopy.c: New file.
36554 * string/test-bzero.c: Likewise.
36555 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36557 * string/test-memset.c: Support bzero test if TEST_BZERO is
36559 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36561 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36563 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36566 2012-10-10 Joseph Myers <joseph@codesourcery.com>
36568 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36569 * configure: Regenerated.
36571 * Makeconfig (+link-static-before-libc): Don't include
36572 $(link-static-libc).
36574 * libio/libio.h (_IO_pos_t): Remove.
36576 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36578 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36581 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36583 * crypt/crypt-entry.c: Include fips-private.h.
36584 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36585 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36586 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36587 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36589 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36591 * crypt/crypt-private.h: Include stdbool.h.
36592 (_ufc_setup_salt_r): Return bool.
36593 * crypt/crypt-entry.c: Include errno.h.
36594 (__crypt_r): Return NULL with EINVAL for bad salt.
36595 * crypt/crypt_util.c (bad_for_salt): New.
36596 (_ufc_setup_salt_r): Check that salt is long enough and within
36597 the specified alphabet.
36598 * crypt/badsalttest.c: New file.
36599 * crypt/Makefile (tests): Add it.
36600 ($(objpfx)badsalttest): New.
36602 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36604 * NEWS: Add entry for BZ #14602.
36606 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36608 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36610 * math/libm-test.inc: Update comment listing what functions and
36612 (isgreater_test): New function.
36613 (isgreaterequal_test): Likewise.
36614 (isless_test): Likewise.
36615 (islessequal_test): Likewise.
36616 (islessgreater_test): Likewise.
36617 (isunordered_test): Likewise.
36618 (main): Call the new functions.
36620 2012-10-09 Roland McGrath <roland@hack.frob.com>
36622 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36623 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36624 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36625 * sysdeps/i386/configure: Regenerated.
36626 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36627 * sysdeps/mach/configure: Regenerated.
36628 * sysdeps/mach/hurd/configure: Regenerated.
36629 * sysdeps/powerpc/configure: Regenerated.
36630 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36631 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36632 * sysdeps/s390/s390-32/configure: Regenerated.
36633 * sysdeps/s390/s390-64/configure: Regenerated.
36634 * sysdeps/sh/configure: Regenerated.
36635 * sysdeps/sparc/configure: Regenerated.
36636 * sysdeps/unix/sysv/linux/configure: Regenerated.
36637 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36638 * sysdeps/x86_64/configure: Regenerated.
36640 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36641 defined. Don't check if MAP is NULL.
36643 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36645 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36646 (_G_stat64): Likewise.
36647 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36648 (_G_stat64): Likewise.
36649 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36650 instead of struct _G_stat64.
36651 * libio/fileops.c (mmap_remap_check): Likewise.
36652 (decide_maybe_mmap): Likewise.
36653 (_IO_new_file_seekoff): Likewise.
36654 (_IO_file_stat): Likewise.
36655 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36657 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36658 instead of struct _G_stat64.
36659 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36661 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36664 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36666 (CHECK_EOL): New macro.
36667 (two_way_short_needle): Check beginning of haystack for EOL. Use
36669 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36670 Replace with CHECK_EOL.
36671 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36672 Replace with CHECK_EOL.
36674 2012-10-08 Joseph Myers <joseph@codesourcery.com>
36676 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36678 * math/libm-test.inc: Update comment listing what functions and
36680 (finite_test): New function.
36681 (isinf_test): Likewise.
36682 (isnan_test): Likewise.
36683 (fpclassify_test): Test subnormal input.
36684 (isfinite_test): Likewise.
36685 (isnormal_test): Likewise.
36686 (main): Call the new functions.
36688 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36691 * Makerules (%.dynsym): Force C locale when running
36692 $(OBJDUMP) --dynamic-syms.
36694 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36696 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36699 2012-10-06 David S. Miller <davem@davemloft.net>
36701 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36702 upper 32-bits of the length value in %o2 since we use branch-on-register
36703 tests which consider the entire 64-bit register.
36705 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36707 * string/test-strstr.c (check2): Add a test for page boundary.
36709 2012-10-05 David S. Miller <davem@davemloft.net>
36711 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36712 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36714 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36716 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36717 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36718 and bzero when HWCAP_SPARC_CRYPTO is present.
36720 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36723 * string/test-strstr.c (check2): New function.
36724 (test_main): Call check2.
36726 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36728 * string/bug-strcasestr1.c (do_test): Moved to ...
36729 * string/test-strcasestr.c (check1): Here. New function.
36730 (do_one_test): Break out result checking code into ...
36731 (check_result): This. New function.
36732 (do_one_test): Call check_result.
36733 (test_main): Call check1.
36734 * string/bug-strchr1.c (do_test): Moved to ...
36735 * string/test-strchr.c (check1): Here. New function.
36736 (do_one_test): Break out result checking code into ...
36737 (check_result): This. New function.
36738 (do_one_test): Call check_result.
36739 (test_main): Call check1.
36740 * string/bug-strstr1.c (main): Moved to ...
36741 * string/test-strstr.c (check1): Here. New function.
36742 (do_one_test): Break out result checking code into ...
36743 (check_result): This. New function.
36744 (do_one_test): Call check_result.
36745 (test_main): Call check1.
36746 * string/bug-strcasestr1.c: Removed.
36747 * string/bug-strchr1.c: Likewise.
36748 * string/bug-strstr1.c: Likewise.
36750 * elf/Makefile (dl-routines): Add hwcaps.
36751 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36752 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36753 (_dl_important_hwcaps): Moved to ...
36754 * elf/dl-hwcaps.c: Here. New file.
36755 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36758 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36759 if IS_IN_rtld isn't defined.
36761 * elf/dl-support.c (_dl_sysinfo_map): New.
36762 Include "get-dynamic-info.h" and "setup-vdso.h".
36763 (_dl_non_dynamic_init): Call setup_vdso.
36764 * elf/dynamic-link.h: Don't include <assert.h>.
36765 (elf_get_dynamic_info): Moved to ...
36766 * elf/get-dynamic-info.h: Here. New file.
36767 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36768 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36769 * elf/setup-vdso.h: Here. New file.
36770 * elf/rtld.c: Include "setup-vdso.h".
36771 (dl_main): Call setup_vdso.
36773 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36775 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36776 creal in comment listing functions tested. List finite, isinf,
36777 isnan, isless, islessequal, isgreater, isgreaterequal,
36778 islessgreater, isunordered, lgamma_r and pow10 as functions and
36779 macros not tested. Mention which functions not tested are aliases
36780 for other functions. Fix typo. Note that signs of NaNs are not
36783 * scripts/config.guess: Update from config.git.
36784 * scripts/config.sub: Likewise.
36786 2012-10-04 Roland McGrath <roland@hack.frob.com>
36788 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36789 * misc/madvise.c (madvise): Renamed to __madvise.
36790 Make madvise a weak alias.
36791 * include/sys/mman.h: Declare __madvise.
36792 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36793 * sysdeps/unix/syscalls.list
36794 (madvise): Make __madvise the strong name, and madvise a weak alias.
36795 * sysdeps/unix/sysv/linux/syscalls.list
36796 (madvise, mmap): Remove redundant entries.
36797 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36798 * malloc/malloc.c (mtrim): Likewise.
36799 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36801 2012-10-03 Roland McGrath <roland@hack.frob.com>
36803 * sysdeps/mach/hurd/dl-cache.c: File removed.
36804 * config.h.in (USE_LDCONFIG): New #undef.
36805 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36806 * configure: Regenerated.
36807 * elf/Makefile (dl-routines): Add dl-cache only under
36808 [$(use-ldconfig) = yes].
36809 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36810 cache on [USE_LDCONFIG].
36811 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36813 * elf/rtld.c (dl_main): Likewise.
36815 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36817 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36818 _SC_LEVEL4_CACHE_LINESIZE.
36820 2012-10-03 Roland McGrath <roland@hack.frob.com>
36822 * sysdeps/unix/bsd/confstr.h: File removed.
36824 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36826 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36829 2012-10-02 Roland McGrath <roland@hack.frob.com>
36831 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36832 Make 'mapoff' field ElfW(Off) rather than off_t.
36834 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36836 * nscd/Makefile: Remove nscd-cflags and all its users.
36837 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36838 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36841 * malloc.c (malloc_printerr): Clarify error message.
36843 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36847 Set bit_FMA_Usable if FMA is supported.
36848 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36850 (bit_FMA4_Usable): Updated.
36851 (index_FMA_Usable): New macro.
36852 (CPUID_FMA): Likewise
36853 (HAS_FMA): Defined with bit_FMA_Usable.
36855 2012-10-01 Roland McGrath <roland@hack.frob.com>
36857 * bits/types.h (__swblk_t): Type removed.
36858 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36859 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36861 (__SWBLK_T_TYPE): Likewise.
36862 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36863 (__SWBLK_T_TYPE): Likewise.
36864 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36865 (__SWBLK_T_TYPE): Likewise.
36866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36867 (__SWBLK_T_TYPE): Likewise.
36869 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36870 Honza Horak <hhorak@redhat.com>
36872 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36873 (xdr_mapname): Use YPMAXMAP as maxsize.
36874 (xdr_peername): Use YPMAXPEER as maxsize.
36875 (xdr_keydat): Use YPAXRECORD as maxsize.
36876 (xdr_valdat): Use YPMAXRECORD as maxsize.
36878 2012-10-01 Roland McGrath <roland@hack.frob.com>
36880 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36882 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36883 * csu/init-first.c: ... here.
36884 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36885 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36886 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36887 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36888 * sysdeps/i386/init-first.c: File removed.
36889 * sysdeps/sh/init-first.c: File removed.
36891 2012-10-01 Joseph Myers <joseph@codesourcery.com>
36894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36895 if x * y might underflow to zero and z is zero.
36896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36897 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36898 * math/libm-test.inc (min_subnorm_value): New variable.
36899 (fma_test): Add more tests.
36900 (fma_test_towardzero): Likewise.
36901 (fma_test_downward): Likewise
36902 (fma_test_upward): Likewise.
36903 (initialize): Set min_subnorm_value.
36905 2012-09-29 Joseph Myers <joseph@codesourcery.com>
36908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36910 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36911 mode for addition resulting in exact zero.
36912 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36915 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36916 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36917 * math/libm-test.inc (fma_test): Add more tests.
36918 (fma_test_towardzero): New function.
36919 (fma_test_downward): Likewise.
36920 (fma_test_upward): Likewise.
36921 (main): Call the new functions.
36923 2012-09-28 David S. Miller <davem@davemloft.net>
36925 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36927 2012-09-28 Roland McGrath <roland@hack.frob.com>
36929 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36930 instead of SIGALRM.
36932 * sysdeps/gnu/_G_config.h: Moved to ...
36933 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36934 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36935 * sysdeps/generic/_G_config.h: ... here.
36937 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36939 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36941 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36942 Conditionalize target on [libnss_test1.so-version].
36944 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36946 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36947 (elfobjdir): Move out of conditionals.
36949 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36950 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36951 (__nss_lookup_function): Conditionalize label remove_from_tree on
36952 [!DO_STATIC_NSS || SHARED], matching its only use.
36954 2012-09-28 David S. Miller <davem@davemloft.net>
36956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36957 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36959 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36961 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36963 when HWCAP_SPARC_CRYPTO is present.
36965 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36967 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36969 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36972 * stdio-common/vfprintf.c (process_string_arg): Revert
36975 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36977 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36979 * stdio-common/tst-sprintf.c: Include <locale.h>
36980 (main): Test sprintf's handling of incomplete multibyte
36983 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36985 * elf/dl-runtime.c (VERSYMIDX): Removed.
36986 * elf/dl-version.c (VERSYMIDX): Likewise.
36987 * elf/do-rel.h (VERSYMIDX): Likewise.
36988 (VALIDX): Likewise.
36989 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36990 * elf/rtld.c (VALIDX): Likewise.
36991 (ADDRIDX): Likewise.
36992 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36993 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36994 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36995 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36996 (VALIDX): Likewise.
36997 (ADDRIDX): Likewise.
36999 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37001 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37003 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37006 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37008 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37009 addresses are in the same scope as 192.0.2/24.
37010 * posix/gai.conf: Document new scope table defaults.
37012 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37015 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37016 for ftell. Compute offsets from write pointers instead.
37017 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37019 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37022 * libio/Makefile (tests): New test case tst-fseek.
37023 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37024 combination works in wide mode.
37025 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37026 state when the external buffer state changes.
37028 2012-09-27 David S. Miller <davem@davemloft.net>
37031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37032 pass reloc->r_addend in as the 'high' argument to
37033 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37037 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37039 * rt/tst-aio2.c: Include <pthread.h>.
37040 * rt/tst-aio3.c: Likewise.
37042 2012-09-27 Steve Ellcey <sellcey@mips.com>
37044 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37046 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37048 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37049 contents on [SHARED].
37051 2012-09-26 Marek Polacek <polacek@redhat.com>
37055 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37056 for C++ and GCC <4.3 as well as for non GCC compilers.
37058 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37062 2012-09-25 Roland McGrath <roland@hack.frob.com>
37064 * Makefile.in (all, install): Declare with .PHONY.
37065 Reported by Michael Hope <michael.hope@linaro.org>.
37067 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37069 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37070 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37072 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37074 (sydep_routines): Add the new and the internal functions.
37075 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37076 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37078 (GLIBC_2.17): Add the new function.
37079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37080 (GLIBC_2.17): Likewise.
37081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37082 (GLIBC_2.17): Likewise.
37083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37084 (GLIBC_2.17): Likewise.
37085 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37087 2012-09-25 Alan Modra <amodra@gmail.com>
37089 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37090 Add release barrier before setting once_control to say
37091 initialisation is done. Add hints on lwarx. Use macro in
37093 (clear_once_control): Add release barrier.
37095 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37098 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37100 * math/s_clog10.c (__clog10): Likewise.
37101 * math/s_clog10f.c (__clog10f): Likewise.
37102 * math/s_clog10l.c (__clog10l): Likewise.
37103 * math/s_clogf.c (__clogf): Likewise.
37104 * math/s_clogl.c (__clogl): Likewise.
37105 * math/Makefile (libm-calls): Add x2y2m1.
37106 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37107 (__x2y2m1): Likewise.
37108 (__x2y2m1l): Likewise.
37109 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37110 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37111 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37112 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37113 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37114 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37115 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37116 * sysdeps/i386/fpu/libm-test-ulps: Update.
37117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37120 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37121 int as type of variable DEPTH.
37122 (glob): Use size_t instead of int as type of variables NEWCOUNT
37125 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37127 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37128 Add s_sincosf-sse2.
37129 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37130 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37131 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37132 macros for using routine as __sincosf_ia32.
37133 Use macro for function declaration and weak_alias.
37134 * sysdeps/i386/fpu/libm-test-ulps: Update.
37136 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37139 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37140 subnormal argument.
37141 * math/s_cexpf.c (__cexpf): Likewise.
37142 * math/s_csinf.c (__csinf): Likewise.
37143 * math/s_csinhf.c (__csinhf): Likewise.
37144 * math/s_ctanf.c (__ctanf): Likewise.
37145 * math/s_ctanhf.c (__ctanhf): Likewise.
37146 * math/s_ccosh.c (__ccoshf): Likewise.
37147 * math/s_cexp.c (__cexpl): Likewise.
37148 * math/s_csin.c (__csin): Likewise.
37149 * math/s_csinh.c (__csinh): Likewise.
37150 * math/s_ctan.c (__ctan): Likewise.
37151 * math/s_ctanh.c (ctanh): Likewise.
37152 * math/s_ccoshl.c (__ccoshl): Likewise.
37153 * math/s_cexpl.c (__cexpl): Likewise.
37154 * math/s_csinl.c (__csinl): Likewise.
37155 * math/s_csinhl.c (__csinhl): Likewise.
37156 * math/s_ctanl.c (__ctanl): Likewise.
37157 * math/s_ctanhl.c (__ctanhl): Likewise.
37159 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37161 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37162 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37163 (_IO_off_t): Define to __off_t, not _G_off_t.
37164 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37165 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37166 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37167 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37168 type of __dummy and __dummy2 fields.
37169 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37170 (_G_ssize_t): Likewise.
37171 (_G_off_t): Likewise.
37172 (_G_pid_t): Likewise.
37173 (_G_uid_t): Likewise.
37174 (_G_wchar_t): Likewise.
37175 (_G_wint_t): Likewise.
37176 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37177 (_G_ssize_t): Likewise.
37178 (_G_off_t): Likewise.
37179 (_G_pid_t): Likewise.
37180 (_G_uid_t): Likewise.
37181 (_G_wchar_t): Likewise.
37182 (_G_wint_t): Likewise.
37183 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37184 (_G_ssize_t): Likewise.
37185 (_G_off_t): Likewise.
37186 (_G_pid_t): Likewise.
37187 (_G_uid_t): Likewise.
37188 (_G_wchar_t): Likewise.
37189 (_G_wint_t): Likewise.
37191 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37193 * malloc/arena.c: Include malloc-sysdep.h.
37194 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37195 is sufficient to shrink the heap or an unmap is needed.
37196 * sysdeps/generic/malloc-sysdep.h: New file. Define
37197 new function check_may_shrink_heap.
37198 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37199 new function check_may_shrink_heap.
37201 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37203 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37206 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37208 * catgets/test-gencat.sh: Add "set -e".
37209 * elf/tst-pathopt.sh: Likewise.
37210 * grp/tst_fgetgrent.sh: Likewise.
37211 * iconvdata/run-iconv-test.sh: Likewise.
37212 * intl/tst-gettext.sh: Likewise.
37213 * intl/tst-gettext2.sh: Likewise.
37214 * intl/tst-gettext4.sh: Likewise.
37215 * intl/tst-gettext6.sh: Likewise.
37216 * intl/tst-translit.sh: Likewise.
37217 * io/ftwtest-sh: Likewise.
37218 * libio/test-freopen.sh: Likewise.
37219 * malloc/tst-mtrace.sh: Likewise.
37220 * posix/globtest.sh: Likewise.
37221 * posix/tst-getconf.sh: Likewise.
37222 * posix/wordexp-tst.sh: Likewise.
37223 * stdio-common/tst-printf.sh: Likewise.
37224 * stdio-common/tst-unbputc.sh: Likewise.
37225 * stdlib/tst-fmtmsg.sh: Likewise.
37226 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37227 * catgets/Makefile: Do not specify -e option when running
37228 testsuite shell scripts.
37229 * elf/Makefile: Likewise.
37230 * grp/Makefile: Likewise.
37231 * iconvdata/Makefile: Likewise.
37232 * intl/Makefile: Likewise.
37233 * io/Makefile: Likewise.
37234 * libio/Makefile: Likewise.
37235 * malloc/Makefile: Likewise.
37236 * posix/Makefile: Likewise.
37237 * stdio-common/Makefile: Likewise.
37238 * stdlib/Makefile: Likewise.
37239 * sysdeps/x86_64/Makefile: Likewise.
37241 * io/ftwtest-sh: Add copyright header.
37242 * posix/globtest.sh: Likewise.
37243 * posix/tst-getconf.sh: Likewise.
37244 * posix/wordexp-tst.sh: Likewise.
37245 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37247 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37250 * Makeconfig (+link): Defined as $(+link-static) if
37251 $(build-shared) isn't yes.
37252 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37254 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37256 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37259 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37260 new chunk size with MALLOC_ALIGN_MASK.
37262 2012-09-24 Joseph Myers <joseph@codesourcery.com>
37265 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37267 (__printf_fphex): Determine rounding using get_rounding_mode and
37269 * stdio-common/tst-printf-round.c (struct hex_test): New
37271 (hex_tests): New variable.
37272 (test_hex_in_one_mode): New function.
37273 (do_test): Also run tests for hex float output.
37275 2012-09-21 Joseph Myers <joseph@codesourcery.com>
37277 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37278 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37279 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37280 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37281 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37282 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37283 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37284 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37286 2012-09-20 Joseph Myers <joseph@codesourcery.com>
37288 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37289 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37290 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37291 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37293 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37296 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37298 * elf/tst-rtld-load-self.sh: New test.
37299 * elf/Makefile: Run it.
37301 2012-09-18 Joseph Myers <joseph@codesourcery.com>
37303 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37304 (tst-writev-ENV): Remove.
37305 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37307 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37309 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37311 2012-09-17 Joseph Myers <joseph@codesourcery.com>
37313 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37315 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37317 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37318 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37319 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37322 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37325 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37326 * config.make.in (have-cpp-asm-debuginfo): Removed.
37327 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37328 * configure: Regenerated.
37330 2012-09-14 Joseph Myers <joseph@codesourcery.com>
37333 * stdio-common/printf_fp.c: Include <stdbool.h> and
37335 (___printf_fp): Determine rounding using get_rounding_mode and
37337 * stdio-common/tst-printf-round.c: New file.
37338 * stdio-common/Makefile (tests): Add tst-printf-round.
37339 (link-libm): New variable.
37340 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37342 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37345 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37346 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37348 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37351 2012-09-13 Joseph Myers <joseph@codesourcery.com>
37353 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37354 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37355 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37356 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37358 2012-09-12 Joseph Myers <joseph@codesourcery.com>
37361 * include/rounding-mode.h: New file.
37362 * sysdeps/generic/get-rounding-mode.h: Likewise.
37363 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37364 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37365 (MAX_VALUE): New macro.
37366 (MIN_VALUE): Likewise.
37367 (overflow_value): New function.
37368 (underflow_value): Likewise.
37369 (round_and_return): Use overflow_value and underflow_value to
37370 determine return values in overflow and underflow cases. Use
37371 round_away to determine rounding depending on rounding mode.
37372 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37373 determine return values in overflow and underflow cases.
37374 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37375 (struct test_results): New structure.
37376 (struct test): Use struct test_results to store expected results
37377 for all rounding modes.
37378 (TEST): Include expected results for all rounding modes.
37379 (test_in_one_mode): New function.
37380 (do_test): Use test_in_one_mode to compute and check results.
37381 Check results for all rounding modes.
37382 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37385 2012-12-09 Allan McRae <allan@archlinux.org>
37387 * sysdeps/i386/fpu/libm-test-ulps: Update
37389 2012-09-11 Joseph Myers <joseph@codesourcery.com>
37391 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37392 (_G_int32_t): Likewise.
37393 (_G_uint16_t): Likewise.
37394 (_G_uint32_t): Likewise.
37395 (_G_HAVE_BOOL): Likewise.
37396 (_G_HAVE_ATEXIT): Likewise.
37397 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37398 (_G_HAVE_IO_FILE_OPEN): Likewise.
37399 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37400 (_G_int32_t): Likewise.
37401 (_G_uint16_t): Likewise.
37402 (_G_uint32_t): Likewise.
37403 (_G_HAVE_BOOL): Likewise.
37404 (_G_HAVE_ATEXIT): Likewise.
37405 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37406 (_G_HAVE_IO_FILE_OPEN): Likewise.
37407 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37408 (_G_int32_t): Likewise.
37409 (_G_uint16_t): Likewise.
37410 (_G_uint32_t): Likewise.
37411 (_G_HAVE_BOOL): Likewise.
37412 (_G_HAVE_ATEXIT): Likewise.
37413 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37414 (_G_HAVE_IO_FILE_OPEN): Likewise.
37416 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37418 * csu/libc-tls.c: Update copyright years.
37420 2012-09-10 Joseph Myers <joseph@codesourcery.com>
37422 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37423 [!_G_USING_THUNKS]: Remove conditional code.
37424 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37425 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37427 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37428 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37429 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37430 (_G_VTABLE_LABEL_PREFIX): Likewise.
37431 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37432 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37433 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37434 (_G_VTABLE_LABEL_PREFIX): Likewise.
37435 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37436 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37437 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37438 (_G_VTABLE_LABEL_PREFIX): Likewise.
37439 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37441 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37443 * libio/Makefile: Include ../Makeconfig before tests.
37444 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37445 only if $(build-shared) is yes.
37447 * iconv/gconv_db.c: Update copyright years.
37449 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37451 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37452 unwind info if defined PIC. Fix special cases description.
37453 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37455 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37457 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37459 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37461 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37463 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37466 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37467 (LDLIBS-tst-chk4): This.
37468 (LDFLAGS-tst-chk5): Renamed to ...
37469 (LDLIBS-tst-chk5): This.
37470 (LDFLAGS-tst-chk6): Renamed to ...
37471 (LDLIBS-tst-chk6): This.
37472 (LDFLAGS-tst-lfschk4): Renamed to ...
37473 (LDLIBS-tst-lfschk4): This.
37474 (LDFLAGS-tst-lfschk5): Renamed to ...
37475 (LDLIBS-tst-lfschk5): This.
37476 (LDFLAGS-tst-lfschk6): Renamed to ...
37477 (LDLIBS-tst-lfschk6): This.
37479 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37480 on $(common-objpfx)soversions.mk.
37482 2012-09-07 Joseph Myers <joseph@codesourcery.com>
37485 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37488 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37490 * malloc/arena.c (arena_get_retry): New function that gets
37491 another arena for the caller to try its request on.
37492 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37493 current arena cannot fulfill the request.
37494 (__libc_memalign): Likewise.
37495 (__libc_memalign): Likewise.
37496 (__libc_pvalloc): Likewise.
37497 (__libc_calloc): Likewise.
37499 2012-09-05 John Tobey <john.tobey@gmail.com>
37502 * manual/arith.texi (Operations on Complex): Fix description
37503 of carg branch cut.
37505 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37508 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37512 * manual/memory.texi (Memory): Make order of menu items match
37515 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37517 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37518 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37519 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37521 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37523 * csu/libc-tls.c (static_dtv): Renamed to ...
37524 (_dl_static_dtv): This. Make it global.
37525 (_dl_initial_dtv): Removed.
37526 (__libc_setup_tls): Updated.
37527 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37528 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37531 2012-09-06 Petr Machata <pmachata@redhat.com>
37533 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37534 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37535 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37536 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37538 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37541 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37542 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37545 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37548 * Makeconfig (link-static-before-libc): Replace $(+prector)
37550 (link-static-after-libc): Replace $(+postctor) with
37552 (link-bounded): Replace $(+prector)/$(+postctor) with
37553 $(+prectorT)/$(+postctorT).
37554 (+prectorT): New macro.
37555 (+postctorT): Likewise.
37557 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37559 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37560 (round_str): Handle values above the maximum for IBM long double
37562 * stdlib/tst-strtod-round.c (tests): Regenerated.
37564 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37566 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37568 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37569 zarch_nohighgprs around the zarch optimized routines.
37570 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37571 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37575 2012-09-05 David S. Miller <davem@davemloft.net>
37577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37579 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37580 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37581 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37582 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37585 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37587 * malloc/arena.c: Fold copyright years.
37588 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37590 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37592 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37594 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37596 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37598 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37600 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37601 change internal state upon failure.
37603 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37605 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37606 * malloc/memusage.c (mmap): Likewise.
37607 (mmap64, mremap): Likewise. Adjust name in comment.
37609 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37611 * libio/fileops.c: Fix typos in comments.
37612 * libio/oldfileops.c: Likewise.
37613 * libio/wfileops.c: Likewise.
37615 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37618 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37619 (tst-malloc-usable-ENV): Set environment for test case.
37620 * malloc/hooks.c (malloc_check_get_size): New function to get
37622 * malloc/malloc.c (musable): Use malloc_check_get_size.
37623 * malloc/tst-malloc-usable.c: New test case.
37625 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37627 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37629 2012-09-05 Allan McRae <allan@archlinux.org>
37632 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37633 determine header location.
37634 * configure: Regenerated.
37636 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37638 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37640 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37641 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37643 (test): Regenerate.
37645 2012-09-04 David S. Miller <davem@davemloft.net>
37647 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37648 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37649 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37651 2012-09-04 Florian Weimer <fweimer@redhat.com>
37653 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37656 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37658 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37661 * libio/iogetdelim.c: Include <limits.h>.
37662 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37663 + len + 1 would overflow.
37665 2012-09-03 Andreas Jaeger <aj@suse.de>
37667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37668 * sysdeps/i386/fpu/libm-test-ulps: Update.
37670 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37672 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37673 Add s_sinf-sse2, s_conf-sse2.
37675 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37676 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37677 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37678 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37680 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37681 for using routine as __sinf_ia32.
37682 Use macro for function declaration and weak_alias.
37683 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37684 for using routine as __cosf_ia32.
37685 Use macro for function declaration and weak_alias.
37687 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37688 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37690 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37691 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37694 * math/libm-test.inc (cos_test): Add more test cases.
37695 (sin_test): Likewise.
37696 (sincos_test): Likewise.
37698 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37700 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37701 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37703 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37705 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37708 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37709 first element of the GOT.
37710 (elf_machine_load_address): Return the difference between
37711 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37713 2012-09-01 Allan McRae <allan@archlinux.org>
37716 * configure.in (AWK): Require gawk version 3.0 or later.
37717 * configure: Regenerated.
37719 2012-09-01 Joseph Myers <joseph@codesourcery.com>
37721 * sysdeps/unix/sysv/linux/kernel-features.h
37722 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37723 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37724 [__NR_clock_getres]: Make code unconditional.
37725 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37726 (clock_getcpuclockid): Remove code left unreachable by removal of
37728 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37729 code unconditional.
37730 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37731 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37732 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37733 Make code unconditional.
37734 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37735 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37736 * sysdeps/unix/sysv/linux/clock_settime.c
37737 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37739 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37740 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37742 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37745 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37746 scripts/test-installation.pl.
37748 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37749 and $ld_so_version if it is set.
37751 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37754 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37755 failure if reading from procfs failed.
37756 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37758 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37760 * sysdeps/unix/sysv/linux/kernel-features.h
37761 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37762 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37763 Remove conditional code.
37764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37765 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37766 Remove conditional code.
37767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37768 * sysdeps/unix/sysv/linux/i386/fxstat.c
37769 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37771 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37772 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37773 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37774 * sysdeps/unix/sysv/linux/i386/lxstat.c
37775 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37776 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37777 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37778 Remove conditional code.
37779 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37780 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37781 Remove conditional code.
37782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37783 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37784 <kernel-features.h>.
37785 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37787 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37788 Remove conditional code.
37789 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37790 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37791 Remove conditional.
37793 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37796 * NEWS: Add fixed bug number.
37798 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37801 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37802 underflowing exponent in case of negative sign.
37803 * stdlib/tst-strtod-round-data: Add more tests.
37804 * stdlib/tst-strtod-round.c (tests): Regenerated.
37807 * stdlib/strtod_l.c (NDIG): Remove.
37808 (HEXNDIG): Likewise.
37809 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37810 smallest representable value.
37811 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37812 lie within an exact representation of 1/2 ulp of the result.
37813 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37815 (TENS_P9_IDX): Define unconditionally.
37816 (TENS_P9_SIZE): Likewise.
37817 (TENS_P10_IDX): Likewise.
37818 (TENS_P10_SIZE): Likewise.
37819 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37820 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37821 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37822 entries for 10^2^13 and 10^2^14.
37823 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37824 (TENS_P13_IDX): Define.
37825 (TENS_P13_SIZE): Likewise.
37826 (TENS_P14_IDX): Likewise.
37827 (TENS_P14_SIZE): Likewise.
37828 (_fpioconst_pow10): Change array size to
37829 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37831 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37832 1024]: Add entries for 10^2^13 and 10^2^14.
37833 [LAST_POW10 > _LAST_POW10]: Remove #error.
37834 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37835 (_fpioconst_pow10): Change array size to
37836 FPIOCONST_POW10_ARRAY_SIZE.
37837 * stdlib/gen-fpioconst.c: New file.
37838 * stdlib/gen-tst-strtod-round.c: Likewise.
37839 * stdlib/tst-strtod-round-data: Likewise.
37840 * stdlib/tst-strtod-round.c: Likewise.
37841 * stdlib/Makefile (tests): Add tst-strtod-round.
37844 * stdlib/strtod_l.c: Include <stdint.h>.
37845 (NDEBUG): Do not define.
37846 (round_and_return): Change EXPONENT parameter to type intmax_t.
37847 Rearrange calculations to avoid internal overflow possibilities.
37848 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37849 Rearrange calculations to avoid internal overflow possibilities.
37850 Assert that number fits inside MPNSIZE limbs.
37851 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37852 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37853 calculations and add assertions to avoid internal overflow
37854 possibilities. Add casts to avoid signed/unsigned operations.
37855 * stdlib/tst-strtod-overflow.c: New file.
37856 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37858 2012-08-25 Marek Polacek <polacek@redhat.com>
37860 * time/time.h: Fix some typos in comments.
37862 2012-08-23 Roland McGrath <roland@hack.frob.com>
37864 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37865 * posix/tst-rfc3484-2.c: Likewise.
37866 * posix/tst-rfc3484-3.c: Likewise.
37868 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37870 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37871 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37873 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37875 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37876 #include of fxstatat64.c.
37878 2012-08-22 Roland McGrath <roland@hack.frob.com>
37880 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37881 * shadow/getspent_r.c: Likewise.
37882 * shadow/getspnam.c: Likewise.
37883 * shadow/getspnam_r.c: Likewise.
37884 * gshadow/getsgent.c: Likewise.
37885 * gshadow/getsgent_r.c: Likewise.
37886 * gshadow/getsgnam.c: Likewise.
37887 * gshadow/getsgnam_r.c: Likewise.
37888 * inet/getnetbyad.c: Likewise.
37889 * inet/getnetbyad_r.c: Likewise.
37890 * inet/getnetbynm.c: Likewise.
37891 * inet/getnetbynm_r.c: Likewise.
37892 * inet/getnetent.c: Likewise.
37893 * inet/getnetent_r.c: Likewise.
37894 * inet/getproto.c: Likewise.
37895 * inet/getproto_r.c: Likewise.
37896 * inet/getprtent.c: Likewise.
37897 * inet/getprtent_r.c: Likewise.
37898 * inet/getprtname.c: Likewise.
37899 * inet/getprtname_r.c: Likewise.
37900 * inet/getrpcbyname.c: Likewise.
37901 * inet/getrpcbyname_r.c: Likewise.
37902 * inet/getrpcbynumber.c: Likewise.
37903 * inet/getrpcbynumber_r.c: Likewise.
37904 * inet/getrpcent.c: Likewise.
37905 * inet/getrpcent_r.c: Likewise.
37906 * inet/getaliasent.c: Likewise.
37907 * inet/getaliasent_r.c: Likewise.
37908 * inet/getaliasname.c: Likewise.
37909 * inet/getaliasname_r.c: Likewise.
37910 * nscd/getgrgid_r.c: Likewise.
37911 * nscd/getgrnam_r.c: Likewise.
37912 * nscd/gethstbyad_r.c: Likewise.
37913 * nscd/gethstbynm3_r.c: Likewise.
37914 * nscd/getpwnam_r.c: Likewise.
37915 * nscd/getpwuid_r.c: Likewise.
37916 * nscd/getsrvbynm_r.c: Likewise.
37917 * nscd/getsrvbypt_r.c: Likewise.
37918 * nscd/gai.c: Likewise.
37920 * configure.in (build_nscd): New substituted variable, set
37921 by --disable-build-nscd and defaults to $use_nscd.
37922 * configure: Regenerated.
37923 * config.make.in (build-nscd): New substituted variable.
37924 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37925 Change conditional to require [$(build-nscd) = yes] as well.
37926 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37929 * configure.in (use_nscd): New substituted variable, set by
37930 --disable-nscd. If enabled, define USE_NSCD.
37931 * configure: Regenerated.
37932 * config.h.in: Add USE_NSCD.
37933 * config.make.in (use-nscd): New substituted variable.
37934 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37935 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37936 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37937 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37938 (CFLAGS-getgrnam_r.c): Likewise.
37939 (CFLAGS-initgroups.c): Likewise.
37940 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37941 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37943 * inet/getnetgrent_r.c
37944 (nscd_setnetgrent): New function, broken out of ...
37945 (setnetgrent): ... here. Call it.
37946 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37947 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37948 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37949 * nscd/Makefile (routines, aux): Move definitions after include of
37950 Makeconfig. Conditionalize on [$(use-nscd) != no].
37951 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37952 Conditionalize on [USE_NSCD].
37953 (is_nscd, nscd_init_cb): Likewise.
37954 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37955 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37956 * nss/nss_db/db-init.c: Likewise.
37957 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37959 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37960 (make_request): Use it.
37961 (cache_valid_p): New function.
37962 (__check_pf): Use it.
37963 * NEWS: Add item for --disable-nscd.
37965 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37967 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37968 to support sed >= 4.2.1-20-ga9bf076.
37969 * configure: Regenerated.
37971 2012-08-22 Roland McGrath <roland@hack.frob.com>
37973 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37974 Conditionalize whole body on [IREL].
37976 2012-08-22 Jeff Law <law@redhat.com>
37979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37980 if the family is PF_UNSPEC.
37982 2012-08-22 Mike Frysinger <vapier@gentoo.org>
37984 * Makerules (lib-version): Rename from V.
37985 (install-lib-nosubdir): Change V to lib-version.
37987 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37990 * powerpc32/power6/wcschr.c: New file.
37991 * powerpc32/power6/wcscpy.c: New file.
37992 * powerpc32/power6/wcsrchr.c: New file.
37993 * powerpc64/power6/wcschr.c: New file.
37994 * powerpc64/power6/wcscpy.c: New file.
37995 * powerpc64/power6/wcsrchr.c: New file.
37997 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37999 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38000 (two_way_short_needle): Use it.
38001 * string/strstr.c (AVAILABLE1_USES_J): Define.
38002 * string/strcasestr.c: Likewise.
38004 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38006 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38009 * NEWS: Add an entry.
38010 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38011 define their defaults.
38012 (two_way_short_needle): Detect end-of-string on-the-fly.
38013 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38014 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38015 * string/bug-strcasestr1.c: New test.
38016 * string/Makefile: Run it.
38018 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38021 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38022 the first character.
38024 2012-08-21 Roland McGrath <roland@hack.frob.com>
38026 * csu/elf-init.c (__libc_csu_irel): Function removed.
38027 * csu/libc-start.c (apply_irel): New function.
38028 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38030 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38032 * sysdeps/unix/sysv/linux/kernel-features.h
38033 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38034 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38035 <kernel-features.h>.
38036 [__NR_fadvise64_64]: Make code unconditional.
38037 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38038 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38039 !__NR_fadvise64_64)]: Likewise.
38040 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38041 !__NR_fadvise64_64))]: Likewise.
38042 [__NR_fadvise64]: Make code unconditional.
38043 [!__NR_fadvise64]: Remove conditional code.
38044 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38045 <kernel-features.h>.
38046 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38048 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38051 not include <kernel-features.h>.
38052 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38054 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38056 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38057 include <kernel-features.h>.
38058 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38060 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38063 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38065 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38066 slight instruction rearrangements per scrollpipe analysis.
38067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38069 2012-08-20 Roland McGrath <roland@hack.frob.com>
38071 * manual/syslog.texi (syslog; vsyslog, closelog):
38072 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38073 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38075 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38076 DSOCAPS to match condition on defining it.
38078 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38080 * sysdeps/unix/sysv/linux/kernel-features.h
38081 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38083 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38084 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38086 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38087 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38089 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38090 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38092 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38093 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38095 * sysdeps/unix/sysv/linux/kernel-features.h
38096 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38097 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38099 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38100 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38101 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38102 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38103 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38104 Make code unconditional.
38105 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38106 (__mmap64) [!__NR_mmap2]: Likewise.
38107 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38108 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38109 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38110 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38111 [__NR_mmap2]: Make code unconditional.
38112 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38113 (__mmap64) [!__NR_mmap2]: Likewise.
38115 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38117 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38119 2012-08-18 Andreas Jaeger <aj@suse.de>
38121 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38123 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38125 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38126 * include/unistd.h (__have_sock_cloexec): Likewise.
38127 (__have_pipe2): Likewise.
38128 (__have_dup3): Likewise.
38130 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38133 * include/unistd.h (__have_pipe2): Change define into an extern int.
38134 (__have_dup3): Likewise.
38135 * socket/have_sock_cloexec.c: Include fcntl.h.
38136 (__have_pipe2): New variable.
38137 (__have_dup3): Likewise.
38139 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38141 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38143 2012-08-17 Marek Polacek <polacek@redhat.com>
38145 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38146 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38148 2012-08-17 Roland McGrath <roland@hack.frob.com>
38150 * configure.in: Add AC_SUBST for sysheaders.
38151 * configure: Regenerated.
38152 * config.make.in (sysheaders): New substituted variable.
38154 * sysdeps/unix/mkfifo.c: Moved ...
38155 * sysdeps/posix/mkfifo.c: ... here.
38156 * sysdeps/unix/mkfifoat.c: Moved ...
38157 * sysdeps/posix/mkfifoat.c: ... here.
38159 * sysdeps/unix/utime.c: Moved ...
38160 * sysdeps/posix/utime.c: ... here.
38162 * sysdeps/unix/time.c: Moved ...
38163 * sysdeps/posix/time.c: ... here.
38164 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38165 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38167 * sysdeps/unix/nice.c: Moved ...
38168 * sysdeps/posix/nice.c: ... here.
38170 * sysdeps/unix/alarm.c: Moved ...
38171 * sysdeps/posix/alarm.c: ... here.
38173 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38175 2012-08-17 Jeff Law <law@redhat.com>
38177 * intl/Makefile (codeset_mo): New variable.
38178 ($(codeset_mo)): New target.
38179 (tst-codeset.out): Depend on that. Remove explicit rule.
38180 (tst-gettext3.out, tst-gettext5.out): Likewise.
38181 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38182 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38183 * intl/tst-codeset.sh: Remove.
38184 * intl/tst-gettext3.sh: Likewise.
38185 * intl/tst-gettext5.sh: Likewise.
38187 2012-08-17 Roland McGrath <roland@hack.frob.com>
38189 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38190 * sysdeps/unix/syscalls.list: ... here.
38192 * sysdeps/posix/getaddrinfo.c
38193 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38194 (gaiconf_init, gaiconf_reload): Use them.
38195 [!_STATBUF_ST_NSEC]
38196 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38197 Define using time_t rather than struct timespec.
38199 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38200 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38202 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38204 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38205 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38208 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38209 __libc_cleanup_push argument.
38211 * bits/param.h: New file.
38212 * misc/sys/param.h: New file.
38213 * include/sys/param.h: New file.
38214 * misc/Makefile (headers): Add bits/param.h.
38215 * sysdeps/generic/sys/param.h: File removed.
38216 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38217 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38218 * sysdeps/mach/hurd/bits/param.h: New file.
38219 * sysdeps/mach/hurd/sys/param.h: File removed.
38221 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38224 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38226 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38227 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38230 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38231 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38232 rather than -D_IO_MTSAFE_IO conditionally.
38233 * stdio-common/Makefile (CPPFLAGS): Likewise.
38234 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38235 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38236 Use $(libio-mtsafe).
38237 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38238 of -D_IO_MTSAFE_IO.
38239 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38240 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38241 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38242 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38243 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38244 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38245 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38246 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38247 (CFLAGS-fread_u_chk.c): Likewise.
38248 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38249 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38250 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38251 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38252 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38253 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38254 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38255 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38256 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38258 * libio/Makefile: Test [$(libc-reentrant) = yes]
38259 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38262 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38263 * sysdeps/pthread/configure: File removed.
38264 * sysdeps/pthread/Makeconfig: New file.
38265 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38266 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38268 2012-08-16 Gary Benson <gbenson@redhat.com>
38270 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38271 unmapping the first object in a namespace.
38273 2012-08-16 Roland McGrath <roland@hack.frob.com>
38275 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38276 (__internal_setnetgrent): ... this. Add internal_function to
38277 definition. Add libc_hidden_def.
38278 (setnetgrent): Update caller.
38279 (internal_endnetgrent): Renamed to ...
38280 (__internal_endnetgrent): ... this. Add internal_function to
38281 definition. Add libc_hidden_def.
38282 (endnetgrent): Update caller.
38283 (internal_getnetgrent_r): Renamed to ...
38284 (__internal_getnetgrent_r): ... this. Add internal_function to
38285 definition. Add libc_hidden_def.
38286 (__getnetgrent_r): Update caller.
38287 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38289 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38291 * stdlib/longlong.h: Update from GCC.
38293 2012-08-16 Roland McGrath <roland@hack.frob.com>
38295 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38296 on _QL, which is set by umul_ppmm but never used.
38297 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38298 variables, which are set by GMP macros but never used.
38299 * stdio-common/_itowa.c (_itowa): Likewise.
38300 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38301 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38303 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38305 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38306 struct La_sh_regs is not constant.
38307 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38308 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38309 and struct La_sparc64_regs are not constant.
38311 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38313 * sysdeps/unix/sysv/linux/kernel-features.h
38314 (__ASSUME_POSIX_TIMERS): Remove.
38315 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38316 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38317 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38318 Make code unconditional.
38319 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38320 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38321 Make code unconditional.
38322 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38323 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38324 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38325 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38326 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38327 Make code unconditional.
38328 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38329 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38330 (__libc_missing_posix_timers): Remove.
38332 2012-08-15 Roland McGrath <roland@hack.frob.com>
38334 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38335 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38337 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38339 * elf/dl-sym.c: Include <stdlib.h>.
38341 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38342 constants, which avoids warnings in 32-bit builds.
38344 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38345 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38347 * misc/lseek.c: File moved to ...
38348 * io/lseek.c: ... here.
38350 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38352 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38353 shifting LEN more than 31 bits at once.
38355 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38358 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38359 segmentation fault for a case of two empty input strings.
38360 * string/test-strncasecmp.c (check1): Renamed to...
38361 (bz12205): ...this.
38362 (bz14195): Add new testcase for two empty input strings and N > 0.
38363 (test_main): Call new testcase, adapt for renamed function.
38365 2012-08-15 Andreas Jaeger <aj@suse.de>
38368 * crypt/md5test2.c: New test, based on test supplied by Serge
38369 Belyshev <belyshev@depni.sinp.msu.ru>.
38370 * crypt/Makefile (xtests): Add md5test-giant..
38371 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38373 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38376 * crypt/md5.c (md5_process_block): Don't assume the buffer
38377 length is less than 2**32.
38378 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38379 length is less than 2**64.
38381 2012-08-15 Roland McGrath <roland@hack.frob.com>
38383 * string/str-two-way.h: Include <sys/param.h>.
38384 (MAX): Macro removed.
38386 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38387 Move #define and #undef of memmove to just before and after
38388 including <string.h>.
38390 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38391 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38392 and after including <string.h>. Move declarations of
38393 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38394 to before #include "string/memmove.c".
38396 * include/dirent.h: Declare __getdirentries.
38398 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38399 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38401 2012-08-14 Mike Frysinger <vapier@gentoo.org>
38403 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38404 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38405 * sysdeps/i386/configure: Regenerated.
38406 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38407 STABS_CURRENT_FILE, and STABS_FUN.
38408 (END): Remove call to STABS_FUN_END.
38409 (STABS_CURRENT_FILE1): Delete.
38410 (STABS_CURRENT_FILE): Likewise.
38411 (STABS_FUN): Likewise.
38412 (STABS_FUN_END): Likewise.
38413 (STABS_FUN2): Likewise.
38414 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38415 * sysdeps/x86_64/configure: Regenerated.
38417 2012-08-14 Roland McGrath <roland@hack.frob.com>
38419 * elf/dl-open.c: Include <atomic.h>.
38420 * elf/dl-lookup.c: Likewise.
38422 2012-08-14 Joseph Myers <joseph@codesourcery.com>
38424 * sysdeps/unix/sysv/linux/kernel-features.h
38425 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38426 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38428 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38430 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38431 condition on __ASSUME_CLONE_THREAD_FLAGS.
38433 2012-08-14 Andreas Jaeger <aj@suse.de>
38435 * sysdeps/i386/fpu/libm-test-ulps: Update.
38437 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38439 * include/atomic.h (atomic_exchange_and_add): Split into ...
38440 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38443 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38447 2012-08-13 Jeff Law <law@redhat.com>
38449 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38450 null byte in the output string.
38452 2012-08-10 Joseph Myers <joseph@codesourcery.com>
38454 * sysdeps/unix/sysv/linux/kernel-features.h
38455 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38456 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38457 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38458 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38459 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38460 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38461 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38463 2012-08-09 Jeff Law <law@redhat.com>
38466 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38467 When avoid_arena is set, don't retry in the that arena. Pick the
38468 next one, whatever it might be.
38469 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38470 (arena_lock): Pass in new parameter to arena_get2.
38471 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38473 (__libc_malloc): Unify retrying after main arena failure with
38474 __libc_memalign version.
38475 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38477 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38480 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38481 to __redirect_strstr.
38482 (__strstr_sse42): Use typeof __redirect_strstr.
38483 (__strstr_ia32): Likewise.
38484 (__libc_strstr): New prototype.
38485 (strstr): Renamed to ...
38486 (__libc_strstr): This.
38487 (strstr): New strong alias of __libc_strstr.
38488 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38489 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38492 (__libc_time): New prototype.
38493 (time_ifunc): Replace time with __libc_time.
38494 (time): New strong alias and hidden definition of __libc_time.
38495 (__GI_time): Remove strong alias.
38496 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38497 Include <stddef.h>.
38498 (memmove): Redefined to __redirect_memmove.
38499 (__memmove_sse2): Use typeof __redirect_memmove.
38500 (__memmove_ssse3): Likewise.
38501 (__memmove_ssse3_back): Likewise.
38502 (__libc_memmove): New prototype.
38503 (memmove): Renamed to ...
38504 (__libc_memmove): This.
38505 (memmove): New strong alias of __libc_memmove.
38507 2012-08-08 Mark Salter <msalter@redhat.com>
38510 (R_MN10300_TLS_GD): Define.
38511 (R_MN10300_TLS_LD): Likewise.
38512 (R_MN10300_TLS_LDO): Likewise.
38513 (R_MN10300_TLS_GOTIE): Likewise.
38514 (R_MN10300_TLS_IE): Likewise.
38515 (R_MN10300_TLS_LE): Likewise.
38516 (R_MN10300_TLS_DTPMOD): Likewise.
38517 (R_MN10300_TLS_DTPOFF): Likewise.
38518 (R_MN10300_TLS_TPOFF): Likewise.
38519 (R_MN10300_SYM_DIFF): Likewise.
38520 (R_MN10300_ALIGN): Likewise.
38521 (R_MN10300_NUM): Update.
38523 2012-08-08 Joseph Myers <joseph@codesourcery.com>
38525 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38528 2012-08-08 Roland McGrath <roland@hack.frob.com>
38530 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38532 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38533 sysdeps/unix -> sysdeps/posix move.
38534 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38536 2012-08-07 Allan McRae <allan@archlinux.org>
38539 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38540 (SUNOS_CPP): Likewise.
38541 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38543 (open_input): Call CPP using execvp.
38545 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38547 * sysdeps/unix/sysv/linux/kernel-features.h
38548 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38549 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38550 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38551 (__ASSUME_WAITID_SYSCALL): Likewise.
38552 * sysdeps/unix/sysv/linux/dl-execstack.c
38553 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38554 code unconditional.
38555 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38557 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38558 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38559 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38561 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38563 [__ASSUME_WAITID_SYSCALL]: Likewise.
38564 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38566 2012-08-07 Roland McGrath <roland@hack.frob.com>
38568 * sysdeps/unix/closedir.c: Renamed to ...
38569 * sysdeps/posix/closedir.c: ... here.
38570 * sysdeps/unix/dirfd.c: Renamed to ...
38571 * sysdeps/posix/dirfd.c: ... here.
38572 * sysdeps/unix/dirstream.h: Renamed to ...
38573 * sysdeps/posix/dirstream.h: ... here.
38574 * sysdeps/unix/fdopendir.c: Renamed to ...
38575 * sysdeps/posix/fdopendir.c: ... here.
38576 * sysdeps/unix/opendir.c: Renamed to ...
38577 * sysdeps/posix/opendir.c: ... here.
38578 * sysdeps/unix/readdir.c: Renamed to ...
38579 * sysdeps/posix/readdir.c: ... here.
38580 * sysdeps/unix/readdir_r.c: Renamed to ...
38581 * sysdeps/posix/readdir_r.c: ... here.
38582 * sysdeps/unix/rewinddir.c: Renamed to ...
38583 * sysdeps/posix/rewinddir.c: ... here.
38584 * sysdeps/unix/seekdir.c: Renamed to ...
38585 * sysdeps/posix/seekdir.c: ... here.
38586 * sysdeps/unix/telldir.c: Renamed to ...
38587 * sysdeps/posix/telldir.c: ... here.
38588 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38589 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38590 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38591 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38593 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38594 * bits/fcntl.h: ... here.
38596 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38598 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38599 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38600 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38601 (struct flock): Move l_start, l_len to the beginning.
38602 Use __pid_t for l_pid.
38603 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38604 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38605 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38606 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38607 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38608 [__USE_LARGEFILE64] (struct flock64): New type.
38609 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38611 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38612 * bits/dirent.h: ... here.
38614 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38615 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38617 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38620 Change from 2.6.0 to 2.6.16.
38621 * sysdeps/unix/sysv/linux/configure: Regenerated.
38622 * sysdeps/unix/sysv/linux/kernel-features.h
38623 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38624 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38626 (__ASSUME_UTIMES): Likewise.
38627 (__ASSUME_CLONE_STOPPED): Remove.
38628 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38629 architectures, not kernel version.
38630 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38631 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38632 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38633 (__ASSUME_WAITID_SYSCALL): Likewise.
38634 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38635 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38636 * README: State 2.6.16 as minimum Linux kernel version. Do not
38637 refer to older versions.
38639 2012-08-06 Roland McGrath <roland@hack.frob.com>
38641 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38642 Define alphasort64 as an alias.
38643 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38644 Define versionsort64 as an alias.
38645 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38646 Define scandir64 as an alias.
38647 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38648 Define scandirat64 as an alias.
38649 * dirent/alphasort64.c (alphasort64):
38650 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38651 * dirent/versionsort64.c: Likewise.
38652 * dirent/scandir64.c: Likewise.
38653 * dirent/scandirat64.c: Likewise.
38654 * sysdeps/wordsize-64/alphasort.c: File removed.
38655 * sysdeps/wordsize-64/alphasort64.c: File removed.
38656 * sysdeps/wordsize-64/scandir.c: File removed.
38657 * sysdeps/wordsize-64/scandir64.c: File removed.
38658 * sysdeps/wordsize-64/scandirat.c: File removed.
38659 * sysdeps/wordsize-64/scandirat64.c: File removed.
38660 * sysdeps/wordsize-64/versionsort.c: File removed.
38661 * sysdeps/wordsize-64/versionsort64.c: File removed.
38662 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38664 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38665 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38666 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38667 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38668 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38669 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38671 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38673 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38675 [defined __arch64__ || defined __sparcv9]
38676 (__INO_T_MATCHES_INO64_T): New macro.
38677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38678 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38679 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38680 * sysdeps/unix/sysv/linux/bits/dirent.h
38681 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38682 (_DIRENT_MATCHES_DIRENT64): New macro.
38684 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38685 Define lockf64 as an alias.
38686 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38687 Define fseeko64 as an alias.
38688 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38689 Define ftello64 as an alias.
38690 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38691 Define _IO_fgetpos64 and fgetpos64 as aliases.
38692 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38693 Define _IO_fsetpos64 and fsetpos64 as aliases.
38694 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38695 Conditionalize body on this.
38696 * libio/fseeko64.c: Likewise.
38697 * libio/ftello64.c: Likewise.
38698 * libio/iofgetpos64.c: Likewise.
38699 * libio/iofsetpos64.c: Likewise.
38700 * sysdeps/wordsize-64/lockf.c: File removed.
38701 * sysdeps/wordsize-64/lockf64.c: File removed.
38702 * sysdeps/wordsize-64/fseeko.c: File removed.
38703 * sysdeps/wordsize-64/fseeko64.c: File removed.
38704 * sysdeps/wordsize-64/ftello.c: File removed.
38705 * sysdeps/wordsize-64/ftello64.c: File removed.
38706 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38707 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38708 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38709 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38710 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38711 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38716 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38717 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38718 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38719 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38721 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38723 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38725 [defined __arch64__ || defined __sparcv9]
38726 (__OFF_T_MATCHES_OFF64_T): New macro.
38727 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38728 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38730 (__OFF_T_MATCHES_OFF64_T): New macro.
38732 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38734 * stdlib/secure-getenv.c (__secure_getenv): Replace
38735 GLIBC_2_16 with GLIBC_2_17.
38737 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38739 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38740 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38742 2012-08-03 David S. Miller <davem@davemloft.net>
38744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38746 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38748 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38750 (__ASSUME_CORRECT_SI_PID): Likewise.
38751 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38752 (__ASSUME_TMPFS_NAME): Likewise.
38753 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38754 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38755 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38756 (HAVE_AUX_SECURE): Make definition unconditional.
38757 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38758 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38760 2012-08-03 Roland McGrath <roland@hack.frob.com>
38762 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38763 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38764 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38765 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38766 __eloop_threshold instead of SYMLOOP_MAX.
38768 * sysdeps/generic/eloop-threshold.h: New file.
38769 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38771 * elf/chroot_canon.c (chroot_canon): Likewise.
38773 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38777 Change to 2.6.0 everywhere.
38778 * sysdeps/unix/sysv/linux/configure: Regenerated.
38779 * sysdeps/unix/sysv/linux/kernel-features.h
38780 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38781 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38783 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38784 (__ASSUME_FUTEX_REQUEUE): Remove.
38785 (__ASSUME_STATFS64): Define unconditionally.
38786 (__ASSUME_AT_SECURE): Likewise.
38787 (__ASSUME_CORRECT_SI_PID): Likewise.
38788 (__ASSUME_TGKILL): Define without depending on kernel version for
38790 (__ASSUME_UTIMES): Likewise.
38791 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38793 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38794 (__ASSUME_TMPFS_NAME): Likewise.
38795 * README: Update reference to Linux kernel versions.
38797 2012-08-02 Marek Polacek <polacek@redhat.com>
38800 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38801 libc_cv_asm_type_prefix with %.
38802 * configure: Regenerated.
38803 * include/libc-symbols.h: Remove comment about
38804 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38805 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38806 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38807 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38808 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38809 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38810 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38811 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38812 * elf/tst-unique2mod1.c: Likewise.
38813 * elf/tst-unique1mod2.c: Likewise.
38814 * elf/tst-unique1mod1.c: Likewise.
38815 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38816 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38817 Replace ASM_TYPE_DIRECTIVE with .type.
38818 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38819 * sysdeps/i386/sysdep.h: Likewise.
38820 * sysdeps/x86_64/sysdep.h: Likewise.
38821 * sysdeps/sh/sysdep.h: Likewise.
38822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38823 Do not define ASM_TYPE_DIRECTIVE.
38824 * sysdeps/powerpc/sysdep.h: Likewise.
38825 * sysdeps/powerpc/powerpc32/sysdep.h:
38826 Replace ASM_TYPE_DIRECTIVE with .type.
38827 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38828 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38829 * sysdeps/i386/fpu/e_powf.S: Likewise.
38830 * sysdeps/i386/fpu/e_expl.S: Likewise.
38831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38832 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38833 * sysdeps/i386/fpu/e_pow.S: Likewise.
38834 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38835 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38836 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38837 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38838 * sysdeps/i386/fpu/e_log2.S: Likewise.
38839 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38840 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38841 * sysdeps/i386/fpu/e_powl.S: Likewise.
38842 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38843 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38844 * sysdeps/i386/fpu/e_logl.S: Likewise.
38845 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38846 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38847 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38848 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38849 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38850 * sysdeps/i386/fpu/e_log.S: Likewise.
38851 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38852 * sysdeps/i386/fpu/e_logf.S: Likewise.
38853 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38854 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38855 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38856 * sysdeps/i386/fpu/e_log10.S: Likewise.
38857 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38858 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38859 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38860 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38861 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38862 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38863 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38864 * sysdeps/i386/i686/strtok.S: Likewise.
38865 * sysdeps/i386/i386-mcount.S: Likewise.
38866 * sysdeps/i386/strtok.S: Likewise.
38867 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38868 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38869 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38870 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38871 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38872 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38873 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38874 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38876 * sysdeps/x86_64/_mcount.S: Likewise.
38877 * sysdeps/x86_64/strtok.S: Likewise.
38878 * sysdeps/sh/_mcount.S: Likewise.
38880 2012-08-01 Roland McGrath <roland@hack.frob.com>
38882 * libio/iofopen.c: Include <fcntl.h>.
38883 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38884 (_IO_fopen64, fopen64): Define as aliases.
38885 * libio/iofopen64.c: Include <fcntl.h>.
38886 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38887 Conditionalize body on this.
38888 * sysdeps/wordsize-64/iofopen.c: File removed.
38889 * sysdeps/wordsize-64/iofopen64.c: File removed.
38891 2012-08-01 Marek Polacek <polacek@redhat.com>
38893 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38894 Use dlfcn directly instead of a variable.
38895 (binfmt-subdir): Do not define.
38898 2012-08-01 Joseph Myers <joseph@codesourcery.com>
38900 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38901 Remove all definitions.
38902 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38903 <kernel-features.h>.
38904 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38905 (miss_F_GETOWN_EX): Remove all definitions.
38906 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38908 [!__ASSUME_FCNTL64]: Remove conditional code.
38909 [__ASSUME_FCNTL64]: Make code unconditional.
38910 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38911 <kernel-features.h>.
38912 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38913 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38914 (lockf64) [__NR_fcntl64]: Make code unconditional.
38915 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38917 * sysdeps/unix/sysv/linux/kernel-features.h
38918 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38919 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38920 Make code unconditional.
38921 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38922 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38924 [__NR_vfork]: Make code unconditional.
38925 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38926 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38928 [__NR_vfork]: Make code unconditional.
38929 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38930 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38932 2012-08-01 Roland McGrath <roland@hack.frob.com>
38934 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38935 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38937 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38938 Define mkstemp64 as an alias.
38939 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38940 Define mkstemps64 as an alias.
38941 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38942 Define mkostemp64 as an alias.
38943 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38944 Define mkostemps64 as an alias.
38945 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38946 Conditionalize body on this.
38947 * misc/mkostemp64.c: Likewise.
38948 * misc/mkostemps64.c: Likewise.
38949 * misc/mkstemps64.c: Likewise.
38950 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38951 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38952 * sysdeps/wordsize-64/mkostemp.c: File removed.
38953 * sysdeps/wordsize-64/mkstemp.c: File removed.
38954 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38955 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38956 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38957 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38960 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38961 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38962 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38963 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38965 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38966 compat_symbol macros from <shlib-compat.h> rather than the underlying
38967 default_symbol_version and symbol_version macros, so that DEFAULT
38968 lines in shlib-versions are respected.
38969 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38971 2012-08-01 Florian Weimer <fweimer@redhat.com>
38973 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38974 Declare with warn_unused_result.
38975 (setgid, setregid, setegid, setresgid): Likewise.
38976 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38978 * WUR-REPORT: Remove set*id functions.
38980 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38982 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38984 2012-07-31 Roland McGrath <roland@hack.frob.com>
38987 * include/sys/socket.h (__libc_accept, __libc_accept4):
38988 Add attribute_hidden.
38989 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38991 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38993 * inet/getnetgrent_r.c (setup): Likewise.
38995 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38997 2012-07-31 David S. Miller <davem@davemloft.net>
38999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39001 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39004 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39005 value between 1.0 and 2.0 and smaller part has absolute value less
39007 * math/s_clog10.c (__clog10): Likewise.
39008 * math/s_clog10f.c (__clog10f): Likewise.
39009 * math/s_clog10l.c (__clog10l): Likewise.
39010 * math/s_clogf.c (__clogf): Likewise.
39011 * math/s_clogl.c (__clogl): Likewise.
39012 * math/libm-test.inc (clog_test): Add more tests.
39013 (clog10_test): Likewise.
39014 * sysdeps/i386/fpu/libm-test-ulps: Update.
39015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39017 2012-07-31 Florian Weimer <fweimer@redhat.com>
39019 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39020 Exit with zero in case no suitable GID is found, and write a
39021 message to standard error.
39023 2012-07-30 Roland McGrath <roland@hack.frob.com>
39025 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39027 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39028 (MAXPATHLEN): Removed.
39029 (NOGROUP, NODEV): New macros.
39030 (setbit, clrbit, isset, isclr): New macros.
39031 (howmany, roundup, powerof2): New macros.
39032 (DEV_BSIZE): New macro.
39034 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39035 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39037 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39038 definition on [!__NO_LONG_DOUBLE_MATH].
39040 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39041 PTR_MANGLE and PTR_DEMANGLE.
39043 * socket/accept4.c (accept4): Rename to __libc_accept4.
39044 Define accept4 as a weak alias.
39046 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39047 on [_DIRENT_HAVE_D_TYPE].
39048 * io/ftw.c (ftw_dir): Likewise.
39050 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39052 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39054 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39055 Use the BSD numbers rather than the arbitrary ones we had.
39056 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39057 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39058 (SIGXCPU, SIGXFSZ): New macros.
39061 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39062 initializer on [_LIBC_REENTRANT].
39064 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39065 definitions inside [_POSIX_MAPPED_FILES].
39067 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39069 * dirent/opendir.c: Include <fcntl.h>.
39071 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39072 (__libc_getspecific): Likewise.
39073 (__libc_key_create): Likewise.
39075 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39076 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39077 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39078 (tmpfile64): Define as alias.
39079 * sysdeps/wordsize-64/tmpfile.c: File removed.
39080 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39081 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39084 * stdio-common/vfscanf.c: Include <stdbool.h>.
39085 * nss/makedb.c: Likewise.
39086 * stdio-common/_i18n_number.h: Likewise.
39087 * argp/argp-help.c: Likewise.
39088 * posix/wordexp.c: Likewise.
39089 * sysdeps/posix/spawni.c: Likewise.
39090 * nss/nss_files/files-initgroups.c: Likewise.
39091 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39092 * nss/nss_files/files-initgroups.c: Likewise.
39093 * nss/nss_db/db-netgrp.c: Likewise.
39094 * nss/nss_db/db-initgroups.c: Likewise.
39095 * io/fchmodat.c: Include <sys/stat.h>.
39097 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39098 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39100 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39103 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39104 Add multiple inclusion protection.
39106 2012-07-27 David S. Miller <davem@davemloft.net>
39108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39110 2012-07-27 Gary Benson <gbenson@redhat.com>
39113 * elf/rtld.c: Include <stap-probe.h>.
39114 (dl_main): Added static probes "init_start" and "init_complete".
39115 * elf/dl-load.c: Include <stap-probe.h>.
39116 (lose): Take new parameter "nsid".
39117 Added static probe "map_failed".
39118 (_dl_map_object_from_fd): Pass namespace id to lose.
39119 Added static probe "map_start".
39120 (open_verify): Pass namespace id to lose.
39121 * elf/dl-open.c: Include <stap-probe.h>.
39122 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39123 and "reloc_complete".
39124 * elf/dl-close.c: Include <stap-probe.h>.
39125 (_dl_close_worker): Added static probes "unmap_start" and
39127 * elf/rtld-debugger-interface.txt: New file documenting the above.
39129 2012-07-26 Roland McGrath <roland@hack.frob.com>
39131 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39132 rather than a string variable.
39133 * sunrpc/rpc_main.c (h_output): Likewise.
39134 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39136 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39138 * inet/check_native.c: New file.
39140 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39143 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39144 if larger part has absolute value 1.0.
39145 * math/s_clog10.c (__clog10): Likewise.
39146 * math/s_clog10f.c (__clog10f): Likewise.
39147 * math/s_clog10l.c (__clog10l): Likewise.
39148 * math/s_clogf.c (__clogf): Likewise.
39149 * math/s_clogl.c (__clogl): Likewise.
39150 * math/libm-test.inc (clog_test): Add more tests.
39151 (clog10_test): Likewise.
39152 * sysdeps/i386/fpu/libm-test-ulps: Update.
39153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39155 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39156 (pltexit): Likewise.
39157 (La_regs): Likewise.
39158 (La_retval): Likewise.
39159 (int_retval): Likewise.
39160 Update #error for removed macros to refer only to definitions in
39162 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39164 (pltexit): Likewise.
39165 (La_regs): Likewise.
39166 (La_retval): Likewise.
39167 (int_retval): Likewise.
39168 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39170 (pltexit): Likewise.
39171 (La_regs): Likewise.
39172 (La_retval): Likewise.
39173 (int_retval): Likewise.
39174 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39176 (pltexit): Likewise.
39177 (La_regs): Likewise.
39178 (La_retval): Likewise.
39179 (int_retval): Likewise.
39180 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39182 (pltexit): Likewise.
39183 (La_regs): Likewise.
39184 (La_retval): Likewise.
39185 (int_retval): Likewise.
39186 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39188 (pltexit): Likewise.
39189 (La_regs): Likewise.
39190 (La_retval): Likewise.
39191 (int_retval): Likewise.
39192 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39194 (pltexit): Likewise.
39195 (La_regs): Likewise.
39196 (La_retval): Likewise.
39197 (int_retval): Likewise.
39198 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39199 macro definitions in tst-audit.h.
39200 * sysdeps/i386/tst-audit.h: New file.
39201 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39202 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39203 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39204 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39205 * sysdeps/sh/tst-audit.h: Likewise.
39206 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39207 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39208 * sysdeps/x86_64/tst-audit.h: Likewise.
39210 2012-07-26 Andreas Jaeger <aj@suse.de>
39212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39215 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39216 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39217 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39219 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39220 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39221 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39223 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39226 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39228 (si_call_addr, si_syscall, si_arch): Define new macro.
39229 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39231 (si_call_addr, si_syscall, si_arch): Define new marcro.
39232 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39234 (si_call_addr, si_syscall, si_arch): Define new macro.
39235 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39237 (si_call_addr, si_syscall, si_arch): Define new macro.
39239 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39242 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39243 Change to 2.4.21 where previously 2.4.1.
39244 * sysdeps/unix/sysv/linux/configure: Regenerated.
39245 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39246 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39247 Linux kernel version.
39248 (__ASSUME_STD_AUXV): Remove.
39249 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39251 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39252 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39253 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39254 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39255 (__ASSUME_NETLINK_SUPPORT): Likewise.
39256 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39257 (__no_netlink_support): Remove conditional definition.
39258 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39260 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39261 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39262 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39263 (if_nameindex_ioctl): Remove.
39264 (if_nameindex_netlink): Do not handle __no_netlink_support.
39265 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39267 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39268 Remove conditional code.
39269 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39271 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39273 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39274 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39275 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39277 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39278 [!__ASSUME_STD_AUXV]: Remove conditional code.
39279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39280 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39281 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39283 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39284 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39286 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39288 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39289 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39291 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39293 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39296 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39299 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39300 code unconditional.
39301 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39303 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39305 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39308 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39310 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39313 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39314 code unconditional.
39315 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39317 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39319 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39322 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39323 code unconditional.
39324 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39326 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39328 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39331 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39333 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39334 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39335 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39336 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39337 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39338 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39339 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39340 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39341 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39342 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39343 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39344 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39345 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39346 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39347 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39348 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39349 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39350 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39351 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39353 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39354 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39357 2012-07-25 Florian Weimer <fweimer@redhat.com>
39359 * Versions.def: Add GLIBC_2.17.
39360 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39361 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39362 Introduce __libc_secure_getenv.
39363 * stdlib/Versions (2.17): Add secure_getenv
39364 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39365 * stdlib/secure-getenv.c: Rename __secure_getenv to
39366 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39367 symbol __secure_getenv for GLIBC_2.0.
39368 * stdlib/tst-secure-getenv.c: New.
39369 * stdlib/Makefile (tests): Add testcase.
39370 * manual/startup.texi (Environment Access): Document
39372 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39373 __libc_secure_getenv.
39374 * inet/ruserpass.c (ruserpass): Likewise.
39375 * malloc/mtrace.c (mtrace): Likewise.
39376 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39377 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39378 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39379 * sysdeps/posix/tempname.c: Likewise. Evaluate
39380 HAVE_SECURE_GETENV.
39381 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39382 __secure_getenv to __libc_secure_getenv.
39383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39390 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39396 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39398 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39399 (struct La_i86_retval): Likewise.
39400 (struct La_x86_64_regs): Likewise.
39401 (struct La_x86_64_retval): Likewise.
39402 (struct La_x32_regs): Likewise.
39403 (struct La_x32_retval): Likewise.
39404 (struct La_ppc32_regs): Likewise.
39405 (struct La_ppc32_retval): Likewise.
39406 (struct La_ppc64_regs): Likewise.
39407 (struct La_ppc64_retval): Likewise.
39408 (struct La_sh_regs): Likewise.
39409 (struct La_sh_retval): Likewise.
39410 (struct La_s390_32_regs): Likewise.
39411 (struct La_s390_32_retval): Likewise.
39412 (struct La_s390_64_regs): Likewise.
39413 (struct La_s390_64_retval): Likewise.
39414 (struct La_sparc32_regs): Likewise.
39415 (struct La_sparc32_retval): Likewise.
39416 (struct La_sparc64_regs): Likewise.
39417 (struct La_sparc64_retval): Likewise.
39418 (struct audit_ifaces): Remove architecture-specific pltenter and
39420 * sysdeps/i386/ldsodefs.h: New file.
39421 * sysdeps/powerpc/ldsodefs.h: Likewise.
39422 * sysdeps/s390/ldsodefs.h: Likewise.
39423 * sysdeps/sh/ldsodefs.h: Likewise.
39424 * sysdeps/sparc/ldsodefs.h: Likewise.
39425 * sysdeps/x86_64/ldsodefs.h: Likewise.
39427 2012-07-25 Marek Polacek <polacek@redhat.com>
39430 * math/libm-test.inc (yn_test): Add another test.
39431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39432 to ERANGE when the result is +-Inf.
39433 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39434 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39435 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39436 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39438 2012-07-24 Joseph Myers <joseph@codesourcery.com>
39440 * conform/data/time.h-data (NULL): Use macro-constant. Require
39442 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39444 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39446 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39448 * configure.in <sysdeps resolving>: Correct printing
39450 * configure: Regenerate.
39452 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39454 * math/w_ilogb.c: Include <limits.h>.
39455 * math/w_ilogbl.c: Likewise.
39457 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39459 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39460 va_copy. Document allowing for unavailable va_copy only as
39461 pre-C99 compatibility.
39462 * manual/string.texi (Copying and Concatenation): Use va_copy
39463 instead of __va_copy in concat example.
39465 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39467 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39468 (__sendto): Use create_address_port. Initialize APORT and deallocate
39471 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39472 with O_NOLINK passed to __file_name_lookup.
39474 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39475 with O_NOLINK passed to __file_name_lookup.
39477 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39478 negative N or less than NGIDS.
39480 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39481 type to string_t. Set ERANGE as errno and return it if NAME is not big
39482 enough. Use memcpy instead of strncpy.
39484 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39486 * elf/Makefile (check-data): Remove.
39487 (localplt.data): New vpath directive.
39488 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39489 instead of $(check-data).
39490 * scripts/data/localplt-generic.data: Move to ...
39491 * sysdeps/generic/localplt.data: ... here.
39492 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39493 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39494 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39497 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39500 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39503 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39506 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39509 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39513 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39515 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39516 PPC32 and PPC64 files.
39517 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39518 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39520 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39522 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39523 __makecontext_ret to ...
39524 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39525 ... here and call exit if uc_link is NULL. New file.
39526 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39527 __makecontext_ret.S.
39528 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39529 __makecontext_ret to ...
39530 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39531 ... here and call exit if uc_link is NULL. New file.
39532 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39533 __makecontext_ret.S.
39535 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39537 * elf/elf.h (R_390_IRELATIVE): New definition.
39538 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39539 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39540 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39541 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39542 (elf_machine_lazy_rel): Likewise.
39543 * sysdeps/s390/dl-irel.h: New file.
39544 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39545 * sysdeps/s390/s390-64/memset.S: New asm code.
39546 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39547 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39548 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39549 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39550 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39551 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39552 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39553 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39554 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39555 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39556 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39557 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39558 * sysdeps/s390/s390-32/memset.S: New asm code.
39559 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39561 2012-07-17 Marek Polacek <polacek@redhat.com>
39564 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39565 * sysdeps/s390/s390-64/configure.in: Likewise.
39566 * sysdeps/sparc/configure.in: Likewise.
39567 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39568 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39569 * sysdeps/i386/configure.in: Likewise.
39570 * sysdeps/x86_64/configure.in: Likewise.
39571 * sysdeps/sh/configure.in: Likewise.
39572 * sysdeps/s390/s390-32/configure: Regenerated.
39573 * sysdeps/s390/s390-64/configure: Likewise.
39574 * sysdeps/x86_64/configure: Likewise.
39575 * sysdeps/sh/configure: Likewise.
39576 * sysdeps/powerpc/powerpc64/configure: Likewise.
39577 * sysdeps/powerpc/powerpc32/configure: Likewise.
39578 * sysdeps/sparc/configure: Likwise.
39579 * sysdeps/i386/configure: Likewise.
39581 * elf/dl-open.c: Comment fixes.
39583 2012-07-17 Joseph Myers <joseph@codesourcery.com>
39585 * Makefile [CXX] (check-data): Remove.
39586 [CXX] (c++-types.data): New vpath directive.
39587 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39588 vpath. Do not allow for C++ type data being missing.
39589 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39590 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39591 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39592 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39593 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39594 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39595 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39598 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39601 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39604 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39607 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39610 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39613 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39616 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39619 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39620 definitions to architecture-specific files.
39621 (TLS_IE): Likewise.
39622 (TLS_LD): Likewise.
39623 (TLS_GD): Likewise.
39624 * sysdeps/i386/tls-macros.h: New file.
39625 * sysdeps/powerpc/tls-macros.h: Likewise.
39626 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39627 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39628 * sysdeps/sh/tls-macros.h: Likewise.
39629 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39630 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39631 * sysdeps/x86_64/tls-macros.h: Likewise.
39633 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39635 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39636 zero value for regular exit case.
39638 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39639 (__start_context): Preserve zero value for regular exit case.
39641 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39642 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39644 * manual/setjmp.texi (setcontext): Clarify normal process
39645 termination when uc_link is the null pointer.
39646 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39649 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39651 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39652 preprocessor. Test for each exception mask separately.
39654 2012-07-16 Andreas Jaeger <aj@suse.de>
39656 * po/ru.po: Update from translation team.
39658 2012-07-15 Joseph Myers <joseph@codesourcery.com>
39660 * conform/data/string.h-data (NULL): Use macro-constant. Require
39662 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39663 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39664 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39665 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39668 2012-07-13 Andreas Jaeger <aj@suse.de>
39670 * po/fr.po: Update from translation team.
39672 2012-07-12 Marek Polacek <polacek@redhat.com>
39675 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39676 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39679 2012-07-12 Joseph Myers <joseph@codesourcery.com>
39682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39683 Change to 2.4.1 where previously 2.4.0.
39684 * sysdeps/unix/sysv/linux/configure: Regenerated.
39685 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39686 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39688 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39689 (__ASSUME_AT_CLKTCK): Remove.
39690 (__ASSUME_AT_PAGESIZE): Likewise.
39691 (__ASSUME_AT_XID): Likewise.
39692 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39693 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39694 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39696 (HAVE_AUX_PAGESIZE): Likewise.
39697 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39698 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39699 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39701 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39705 the temporary buffer used to invoke __gethostbyname2_r,
39706 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39707 host_data / struct gaih_addrtuple.
39708 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39709 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39710 header file nss/nsswitch.h.
39711 * nss/nsswitch.h (global scope): Add definition of implementation
39712 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39713 resolv/nss_dns/dns-host.c).
39715 2012-07-11 Andreas Jaeger <aj@suse.de>
39717 * po/fr.po: Update from translation team.
39719 * po/sv.po: Update from translation team
39720 * po/fr.po: Another update from translation team.
39722 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39724 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39725 for subnormals or multiply small sinh result by itself.
39726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39729 2012-07-11 David S. Miller <davem@davemloft.net>
39731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39733 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39736 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39737 (INTERNAL_MARK): Shift it here.
39739 2012-07-10 Marek Polacek <polacek@redhat.com>
39742 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39743 libc_cv_asm_global_directive with .globl.
39744 * configure: Regenerated.
39745 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39747 * sysdeps/i386/configure: Regenerated.
39748 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39750 * sysdeps/x86_64/configure: Regenerated.
39751 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39752 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39753 * elf/tst-unique2mod2.c: Likewise.
39754 * elf/tst-unique2mod1.c: Likewise.
39755 * elf/tst-unique1mod2.c: Likewise.
39756 * elf/tst-unique1mod1.c: Likewise.
39757 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39758 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39759 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39760 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39761 * sysdeps/mach/sysdep.h: Likewise.
39762 * sysdeps/i386/sysdep.h: Likewise.
39763 * sysdeps/i386/i386-mcount.S: Likewise.
39764 * sysdeps/x86_64/_mcount.S: Likewise.
39765 * sysdeps/x86_64/sysdep.h: Likewise.
39766 * sysdeps/sh/_mcount.S: Likewise.
39767 * sysdeps/sh/sysdep.h: Likewise.
39768 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39769 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39770 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39771 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39772 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39773 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39774 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39775 * locale/localeinfo.h: Likewise.
39776 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39777 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39779 2012-07-09 Roland McGrath <roland@hack.frob.com>
39782 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39784 * manual/message.texi (The Uniforum approach): Likewise.
39785 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39786 (glibc iconv Implementation): Likewise.
39788 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39791 * math/s_clog.c (__clog): Avoid scaling a value down where that
39792 could result in underflow.
39793 * math/s_clog10.c (__clog10): Likewise.
39794 * math/s_clog10f.c (__clog10f): Likewise.
39795 * math/s_clog10l.c (__clog10l): Likewise.
39796 * math/s_clogf.c (__clogf): Likewise.
39797 * math/s_clogl.c (__clogl): Likewise.
39798 * math/libm-test.inc (clog_test): Add more tests.
39799 (clog10_test): Likewise.
39800 * sysdeps/i386/fpu/libm-test-ulps: Update.
39801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39803 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39806 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39807 by 7 not 8 to examine high bit of fractional part.
39810 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39811 for call to __mcount_internal.
39812 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39813 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39814 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39816 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39819 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39820 approximation for values within 0x1p-13f of an odd multiple of
39822 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39823 exception. Add more tests.
39824 * sysdeps/i386/fpu/libm-test-ulps: Update.
39827 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39828 inputs and return -1 for them. Do not check for +Inf in case not
39829 reachable for +Inf.
39830 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39831 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39832 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39833 and return -1 for them. Do not check for +Inf in case not
39834 reachable for +Inf.
39835 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39837 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39838 and return -1 for them. Do not check for +Inf in case not
39839 reachable for +Inf.
39840 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39841 spurious underflow.
39842 * sysdeps/i386/fpu/libm-test-ulps: Update.
39843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39845 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39847 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39849 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39853 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39854 could result in spurious underflow. Scale down values above
39855 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39856 * math/s_csqrtf.c (__csqrtf): Likewise.
39857 * math/s_csqrtl.c (__csqrtl): Likewise.
39858 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39859 spurious underflow.
39860 * sysdeps/i386/fpu/libm-test-ulps: Update.
39861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39863 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39865 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39867 * catgets/xopen-msg.awk: New file.
39868 * catgets/xopen-msg.sed: Removed.
39870 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39872 * intl/po2test.awk: New file.
39873 * intl/po2test.sed: Removed.
39875 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39878 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39879 or multiply small sinh result by itself.
39880 * math/s_ctanf.c (__ctanf): Likewise.
39881 * math/s_ctanh.c (__ctanh): Likewise.
39882 * math/s_ctanhf.c (__ctanhf): Likewise.
39883 * math/s_ctanhl.c (__ctanhl): Likewise.
39884 * math/s_ctanl.c (__ctanl): Likewise.
39885 * math/libm-test.inc (ctan_test_tonearest): New function.
39886 (ctan_test_towardzero): Likewise.
39887 (ctan_test_downward): Likewise.
39888 (ctan_test_upward): Likewise.
39889 (ctanh_test_tonearest): Likewise.
39890 (ctanh_test_towardzero): Likewise.
39891 (ctanh_test_downward): Likewise.
39892 (ctanh_test_upward): Likewise.
39893 (main): Call these new functions.
39894 * sysdeps/i386/fpu/libm-test-ulps: Update.
39895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39897 2012-07-03 Mike Frysinger <vapier@gentoo.org>
39899 * .gitignore: Delete /ports entry.
39901 2012-07-03 Andreas Jaeger <aj@suse.de>
39903 * po/bg.po: Update from translation team.
39904 * po/cs.po: Likewise.
39905 * po/de.po: Likewise.
39906 * po/hr.po: Likewise.
39907 * po/nl.pl: Likewise.
39908 * po/pl.po: Likewise.
39909 * po/vi.po: Likewise.
39911 2012-07-03 Joseph Myers <joseph@codesourcery.com>
39913 * Makeconfig [!+link] (+link-before-libc): New variable.
39914 [!+link] (+link-after-libc): Likewise.
39915 [!+link] (+link-tests): Likewise.
39916 [!+link] (+link): Define in terms of $(+link-before-libc) and
39917 $(+link-after-libc).
39918 [!+link-static] (+link-static-before-libc): New variable.
39919 [!+link-static] (+link-static-after-libc): Likewise.
39920 [!+link-static] (+link-static-tests): Likewise.
39921 [!+link-static] (+link-static): Define in terms of
39922 $(+link-static-before-libc) and $(+link-static-after-libc).
39923 [build-shared] (link-libc-before-gnulib): New variable.
39924 [build-shared] (link-libc-tests): Likewise.
39925 [build-shared] (link-libc): Define in terms of
39926 $(link-libc-before-gnulib).
39927 [!build-shared] (link-libc-tests): New variable.
39928 (link-libc-static-tests): New variable.
39929 [!gnulib] (gnulib-arch): New variable.
39930 [!gnulib] (gnulib-tests): Likewise.
39931 [!gnulib] (static-gnulib-arch): Likewise.
39932 [!gnulib] (static-gnulib-tests): Likewise.
39933 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39934 Define with "=" instead of ":=".
39935 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39936 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39937 * Rules (binaries-all-notests): New variable.
39938 (binaries-all-tests): Likewise.
39939 (binaries-static-notests): Likewise.
39940 (binaries-static-tests): Likewise.
39941 (binaries-all): Define using $(binaries-all-notests) and
39942 $(binaries-all-tests).
39943 (binaries-static): Define using $(binaries-static-notests) and
39944 $(binaries-static-tests).
39945 (binaries-shared-tests): New variable.
39946 (binaries-shared-notests): Likewise.
39947 (binaries-shared): Remove variable.
39948 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39949 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39950 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39951 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39952 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39953 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39954 * elf/Makefile (sln-modules): New variable.
39955 (extra-objs): Add $(sln-modules:=.o).
39956 (ldconfig-modules): Add static-stubs.
39957 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39958 * elf/static-stubs.c: New file.
39961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39962 by 7 not 8 to examine high bit of fractional part. Use volatile
39963 variables when splitting into final array of floats if
39964 __FLT_EVAL_METHOD__ != 0.
39965 * math/libm-test.inc (cos_test): Add another test.
39966 (sin_test): Likewise.
39967 * sysdeps/i386/fpu/libm-test-ulps: Update.
39970 * math/libm-test.inc (cosh_test): Add more tests.
39972 * version.h (RELEASE): Set to "development".
39973 (VERSION): Set to "2.16.90".
39975 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39977 * NEWS: Update copyright. Remove last-updated date.
39978 Mention math library bug fixes and timezone data changes.
39979 * README: Mention GNU/Hurd, x32, and HPPA support status.
39981 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39983 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39985 2012-06-27 Andreas Jaeger <aj@suse.de>
39987 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39989 2012-06-25 Andreas Jaeger <aj@suse.de>
39991 * sysdeps/s390/fpu/libm-test-ulps: Update.
39993 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39994 Thomas Schwinge <thomas@codesourcery.com>
39996 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39997 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40001 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40003 * sysdeps/mach/start.c: Remove file.
40004 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40005 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40006 * sysdeps/sh/init-first.c: Likewise.
40008 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40009 registers for frame unwinding purposes, add CFI directives.
40010 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40011 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40012 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40015 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40016 __fortify_fail returning.
40017 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40019 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40020 sysdeps/sh/____longjmp_chk.S.
40021 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40022 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40023 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40024 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40026 * sysdeps/sh/abort-instr.h: New file.
40027 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40028 process in case exit returns.
40030 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40031 initialize the GOT register before use.
40033 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40034 calculation of ARGC > 4.
40036 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40037 meaningful names to some local labels.
40039 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40040 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40042 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40043 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40044 (__arch_compare_and_exchange_val_16_acq): Likewise.
40045 (__arch_compare_and_exchange_val_32_acq): Likewise.
40046 (atomic_exchange_and_add): Fix gUSA sequence.
40047 (atomic_add): Likewise.
40048 (atomic_add_negative): Likewise.
40049 (atomic_add_zero): Likewise.
40050 (atomic_bit_test_set): Likewise.
40052 2012-06-22 Andreas Schwab <schwab@redhat.com>
40055 * include/link.h (struct link_map): Add l_free_initfini.
40056 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40058 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40059 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40060 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40063 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40065 * configure.in: Use AC_LANG_SOURCE.
40066 * configure: Regenerate.
40068 2012-06-22 Roland McGrath <roland@hack.frob.com>
40070 * configure.in (libc_cv_localstatedir): New substituted variable.
40071 * configure: Regenerated.
40072 * config.make.in (localstatedir): New variable, substituted from
40073 libc_cv_localstatedir.
40074 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40075 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40076 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40077 * sysdeps/gnu/configure: Regenerated.
40079 2012-06-21 Jeff Law <law@redhat.com>
40082 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40083 free. Simplify list management for _LIBC case.
40085 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40088 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40089 Clear sign bit of 64-bit integer value before comparing against
40092 * sysdeps/mach/configure: Regenerated.
40094 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40097 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40099 2012-06-21 Jeff Law <law@redhat.com>
40102 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40103 uint16_t for elements in the "seen" array to avoid char overflows.
40104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40105 * elf/dl-open.c (dl_open_worker): Likewise.
40107 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40109 * scripts/list-sources.sh: Scan PORTS for translations.
40110 * po/libc.pot: Regenerated.
40112 2012-06-21 Andreas Jaeger <aj@suse.de>
40115 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40117 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40118 * bits/byteswap-16.h (__bswap_16): Likewise.
40119 * bits/byteswap.h (__bswap_constant_16): Likewise.
40121 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40124 * sysdeps/i386/fpu_control.h: Removed.
40125 * sysdeps/x86_64/fpu_control.h: Moved to ...
40126 * sysdeps/x86/fpu_control.h: Here.
40128 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40129 (_FPU_SETCW): Likewise.
40131 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40134 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40135 * sysdeps/x86/fpu/bits/mathinline.h: This.
40136 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40140 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40141 functions if __x86_64__ is defined.
40143 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40145 * string/endian.h: Add !__ASSEMBLER__ condition for including
40146 conversion interfaces.
40148 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40152 of ABS(x) in calculating zero to negative powers other than odd
40154 * math/libm-test.inc (pow_test): Add more tests.
40156 2012-06-15 Andreas Jaeger <aj@suse.de>
40158 * manual/contrib.texi (Contributors): Update entry of Liubov
40159 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40162 2012-06-15 Cyril Hrubis <metan@ucw.cz>
40164 * string/string.h: Add __wur to GNU version of strerror_r.
40166 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40169 * string/Makefile (tests): Add tst-strtok_r.
40170 * string/tst-strtok_r.c: New file.
40171 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40172 RAX_LP/RDX_LP on SAVE_PTR.
40174 2012-06-14 Roland McGrath <roland@hack.frob.com>
40176 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40178 2012-06-14 Joseph Myers <joseph@codesourcery.com>
40180 * libm_test.inc (csqrt_test): Allow more spurious underflow
40182 (j0_test): Likewise.
40183 (j1_test): Likewise.
40184 (y0_test): Likewise.
40185 (y1_test): Likewise.
40187 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40189 * po/Makefile (libc.pot): Use UTF-8 charset.
40191 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40194 Suppress sign-conversion warning from FD_SET.
40195 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40196 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40197 not unsigned long int.
40198 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40200 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40204 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40205 __extern_always_inline instead of __extern_inline.
40206 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40207 (__signbit): Likewise.
40208 (__signbitl): Support C++ namespace.
40209 (lrintf): New inline function.
40211 (llrintf): Likewise.
40212 (llrint): Likewise.
40222 (floorf): Likewise.
40223 (nearbyint): Likewise.
40224 (nearbyintf): Likewise.
40226 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40228 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40229 non-default versions.
40231 2012-06-11 Roland McGrath <roland@hack.frob.com>
40234 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40236 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40238 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40239 (FE_UPWARD, FE_DOWNWARD): Don't define.
40240 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40241 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40243 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40245 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40246 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40248 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40250 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40252 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40253 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40255 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40258 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40259 * sysdeps/i386/fpu/Implies: New file.
40260 * sysdeps/x86_64/fpu/Implies: Likewise.
40261 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40262 * sysdeps/x86/fpu/bits/fenv.h: This.
40264 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40267 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40270 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40271 character 0xffff that matches the last element of the
40274 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40279 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40282 values higher than 25.6283.
40284 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40286 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40287 subnormal exponent extraction and add some __builtin_expect.
40288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40289 Fix for subnormal mantissa calculation.
40291 2012-06-04 Mike Frysinger <vapier@gentoo.org>
40293 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40294 cpu2 is -1 and errno is not ENOSYS.
40296 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40299 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40300 * sysdeps/x86/bits/string.h: This.
40301 * sysdeps/x86_64/bits/string.h: Removed.
40303 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40304 if not compiling for x86-64, but compiling for >= i486.
40306 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40307 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40309 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40310 New macro from Linux kernel 3.4.0.
40311 (FP_XSTATE_MAGIC2): Likewise.
40312 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40313 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40314 (struct _fpx_sw_bytes): New struct.
40315 (struct _xsave_hdr): Likewise.
40316 (struct _ymmh_state): Likewise.
40317 (struct _xstate): Likewise.
40319 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40320 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40321 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40322 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40323 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40324 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40326 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40327 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40328 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40329 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40330 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40331 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40333 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40336 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40337 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40338 (sysdep_headers): Include sys/platform/ppc.h.
40339 * sysdeps/powerpc/test-gettimebase.c: Test for
40340 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40341 * manual/Makefile (appendices): Include platform.texi.
40342 * manual/contrib.texi (Contributors): Update @node pointers.
40343 * manual/maint.texi (Maintenance): Likewise.
40344 (Platform): New node.
40345 * manual/platform.texi: New file. Document the new features.
40347 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40348 Jakub Jelinek <jakub@redhat.com>
40351 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40352 where __builtin_expect is unavailable.
40354 2012-06-03 David S. Miller <davem@davemloft.net>
40356 * stdlib/longlong.h: Updated from GCC.
40358 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40361 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40362 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40365 (GLIBC_2.16): Likewise.
40367 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40369 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40371 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40374 (default-abi): New variable.
40375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40376 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40378 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40380 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40382 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40385 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40386 definition. Document in comment.
40388 2012-06-01 David S. Miller <davem@davemloft.net>
40390 * stdlib/longlong.h: Updated from GCC.
40392 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40395 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40396 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40397 sys/debugreg.h sys/io.h here.
40398 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40399 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40401 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40402 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40403 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40404 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40405 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40406 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40408 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40409 Define only if __x86_64__ is defined.
40411 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40414 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40415 Use int64_t for variable i.
40416 * math/libm-test.inc (fmod_test): Add more tests.
40418 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40419 z computation is not scheduled after fetestexcept.
40420 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40421 Use math_force_eval instead of asm to ensure calculation scheduled
40422 before exception test.
40423 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40424 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40426 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40429 computation is not scheduled after fetestexcept.
40431 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40434 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40435 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40437 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40439 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40440 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40442 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40445 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40447 (__WCHAR_MIN): Support __WORDSIZE == 64.
40448 (__WCHAR_MAX): Likewise.
40450 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40451 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40454 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40455 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40458 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40459 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40461 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40462 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40464 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40465 Defined to 1 if __x86_64__ isn't defined.
40466 (_STAT_VER_LINUX_OLD): New.
40467 (st_atime): Remove duplicate.
40468 (st_mtime): Likewise.
40469 (st_ctime): Likewise.
40471 2012-05-31 David S. Miller <davem@davemloft.net>
40473 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40476 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40478 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40482 * elf/dl-reloc.c: Include <_itoa.h>.
40483 (_dl_reloc_bad_type): Remove use of INTUSE.
40484 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40485 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40486 * stdio-common/psiginfo.c (psiginfo): Likewise.
40487 * stdio-common/psignal.c (psignal): Likewise.
40488 * string/strsignal.c (strsignal): Likewise.
40489 * include/signal.h (_sys_siglist): Declare hidden proto.
40490 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40491 INTVARDEF with libc_hidden_data_def.
40492 * stdio-common/itoa-udigits.c: Likewise.
40493 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40494 (_itoa_lower_digits_internal): Remove declaration.
40495 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40496 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40497 (_sys_sigabbrev_internal): Remove aliases.
40498 (_sys_siglist): Define hidden alias.
40500 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40505 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40508 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40509 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40511 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40512 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40513 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40514 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40515 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40516 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40518 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40519 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40520 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40522 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40530 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40532 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40534 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40535 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40537 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40538 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40539 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40541 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40542 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40544 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40545 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40549 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40551 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40552 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40554 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40556 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40557 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40558 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40560 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40562 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40564 2012-05-31 Joseph Myers <joseph@codesourcery.com>
40566 * math/math.h (M_El): Use two more decimal places.
40567 (M_LOG2El): Likewise.
40568 (M_LOG10El): Likewise.
40569 (M_LN2l): Likewise.
40570 (M_LN10l): Likewise.
40572 (M_PI_2l): Likewise.
40573 (M_PI_4l): Likewise.
40574 (M_1_PIl): Likewise.
40575 (M_2_PIl): Likewise.
40576 (M_2_SQRTPIl): Likewise.
40577 (M_SQRT2l): Likewise.
40578 (M_SQRT1_2l): Likewise.
40580 2012-05-31 David S. Miller <davem@davemloft.net>
40582 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40583 values between float registers.
40584 * sysdeps/sparc/sparc64/memset.S: Likewise.
40585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40587 2012-05-31 Mike Frysinger <vapier@gentoo.org>
40589 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40590 -D_FORTIFY_SOURCE=1.
40591 (CPPFLAGS-tst-longjmp_chk.c): Define.
40592 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40593 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40594 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40595 CFLAGS-tst-wchar-h.c.
40597 2012-05-31 Marek Polacek <polacek@redhat.com>
40600 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40601 __endmntent_internal): Remove declaration.
40602 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40603 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40604 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40606 2012-05-30 David S. Miller <davem@davemloft.net>
40608 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40609 (___Q_simulate_exceptions): Use real FP ops rather than writing
40611 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40614 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40617 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40618 * sysdeps/x86/bits/xtitypes.h: This.
40620 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40621 * sysdeps/x86/bits/wordsize.h: This.
40623 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40624 * sysdeps/x86/bits/huge_vall.h: This.
40626 * sysdeps/i386/bits/select.h: Removed.
40627 * sysdeps/x86_64/bits/select.h: Renamed to ...
40628 * sysdeps/x86/bits/select.h: This.
40630 * sysdeps/i386/bits/setjmp.h: Removed.
40631 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40632 * sysdeps/x86/bits/setjmp.h: This.
40634 * sysdeps/i386/bits/mathdef.h: Removed.
40635 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40636 * sysdeps/x86/bits/mathdef.h: This.
40638 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40641 * include/sys/socket.h (__connect_internal)
40642 (__libc_sa_len_internal): Remove declaration.
40643 (__connect, __libc_sa_len): Declare hidden_proto.
40644 (SA_LEN): Remove use of INTUSE.
40645 * socket/connect.c: Add libc_hidden_def.
40646 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40647 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40648 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40650 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40651 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40652 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40653 of adding _internal alias.
40655 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40658 * sysdeps/i386/bits/link.h: Removed.
40659 * sysdeps/i386/bits/linkmap.h: Likewise.
40660 * sysdeps/x86_64/bits/link.h: Renamed to ...
40661 * sysdeps/x86/bits/link.h: This.
40662 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40663 * sysdeps/x86/bits/linkmap.h: This.
40665 * sysdeps/i386/bits/endian.h: Removed.
40666 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40667 * sysdeps/x86/bits/endian.h: This.
40669 * sysdeps/i386/bits/byteswap.h: Removed.
40670 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40671 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40672 * sysdeps/x86/bits/byteswap.h: This.
40673 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40674 * sysdeps/x86/bits/byteswap-16.h: This.
40675 * sysdeps/i386/Implies: Add x86.
40676 * sysdeps/x86_64/Implies: Likewise.
40678 2012-05-30 David S. Miller <davem@davemloft.net>
40680 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40681 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40682 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40683 (FP_TRAPPING_EXCEPTIONS): Define.
40684 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40685 (FP_TRAPPING_EXCEPTIONS): Define.
40686 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40687 subnormals only when inexact has been signalled or underflow
40688 exceptions are enabled.
40689 (_FP_PACK_CANONICAL): Likewise.
40691 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40694 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40695 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40697 2012-05-30 Richard Henderson <rth@twiddle.net>
40699 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40700 with #ifndef NOT_IN_libc.
40702 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40703 marked to avoid plt entry.
40705 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40708 * Makeconfig (default-abi): New macro.
40709 (abi-includes): Likewise.
40710 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40711 $(abi-$(default-abi)-lib-soname) for soname if defined.
40712 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40714 * Makefile (installed-stubs): Likewise.
40715 * include/stubs-biarch.h: Removed.
40716 * scripts/lib-names.awk: Only handle one library at a time.
40717 * scripts/soversions.awk: Remove WORDSIZE support.
40718 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40720 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40722 (syscall-list-default-condition): Likewise.
40723 (syscall-list-default-condition): Likewise.
40724 (syscall-list-includes): Likewise.
40725 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40726 syscall-list-* with abi-*. Handle undefined abi-variants.
40727 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40728 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40729 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40730 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40731 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40732 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40734 (syscall-list-32-options): Likewise.
40735 (syscall-list-32-condition): Likewise.
40736 (syscall-list-64-options): Likewise.
40737 (syscall-list-64-condition): Likewise.
40738 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40740 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40743 (abi-64-ld-soname): New macro.
40744 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40745 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40748 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40749 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40751 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40753 * sysdeps/unix/sysv/linux/kernel-features.h
40754 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40755 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40756 include <kernel-features.h>.
40757 [!__NR_ftruncate64]: Remove conditional code.
40758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40759 [__NR_ftruncate64]: Make code unconditional.
40760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40761 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40762 include <kernel-features.h>.
40763 [!__NR_ftruncate64]: Remove conditional code.
40764 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40765 [__NR_ftruncate64]: Make code unconditional.
40766 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40768 include <kernel-features.h>.
40769 [!__NR_ftruncate64]: Remove conditional code.
40770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40771 [__NR_ftruncate64]: Make code unconditional.
40772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40774 include <kernel-features.h>.
40775 [!__NR_ftruncate64]: Remove conditional code.
40776 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40777 [__NR_ftruncate64]: Make code unconditional.
40778 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40780 * configure.in (libc_cv_fpie): Weaken to a compile test using
40781 LIBC_TRY_CC_OPTION.
40782 * configure: Regenerated.
40784 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40799 2012-05-27 David S. Miller <davem@davemloft.net>
40801 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40803 (__Q_simulate_exceptions): Return void. Change to simulate
40804 exceptions by writing into the %fsr.
40805 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40806 (__Qp_handle_exceptions): Likewise.
40808 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40809 __Qp_handle_exceptions.
40810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40811 __Qp_handle_exceptions.
40812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40813 as unused and give dummy FP_RND_NEAREST initializer.
40814 (FP_INHIBIT_RESULTS): Define.
40815 (___Q_simulate_exceptions): Update declaration.
40816 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40818 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40819 as unused and give dummy FP_RND_NEAREST initializer.
40820 (__Qp_handle_exceptions): Update declaration.
40821 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40824 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40826 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40827 the temporary FPU control word.
40828 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40829 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40830 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40831 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40832 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40833 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40834 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40835 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40836 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40837 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40838 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40840 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40842 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40845 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40847 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40848 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40849 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40850 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40852 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40853 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40856 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40858 * po/h.po: Update from translation team.
40860 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40862 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40864 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40865 handling of denormals.
40866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40867 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40868 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40869 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40875 2012-05-26 Marek Polacek <polacek@redhat.com>
40878 * math/libm-test.inc (fma_test): Don't always expect underflow
40881 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40884 * elf/tst-execstack.c: Include stackinfo.h.
40885 (do_test): Adjust test case to ensure that pthread_getattr_np
40886 behaviour remains the same after marking stack executable.
40888 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40890 * sysdeps/unix/sysv/linux/kernel-features.h
40891 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40892 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40894 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40895 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40896 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40898 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40899 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40901 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40903 * configure.in: Define the default includes to being none.
40904 * configure: Regenerated.
40906 2012-05-25 Roland McGrath <roland@hack.frob.com>
40908 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40909 * sysdeps/x86_64/setjmp.S: Likewise.
40910 * sysdeps/i386/bsd-setjmp.S: Likewise.
40911 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40912 * sysdeps/i386/setjmp.S: Likewise.
40913 * sysdeps/i386/__longjmp.S: Likewise.
40914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40915 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40917 * include/stap-probe.h: New file.
40918 * configure.in: Handle --enable-systemtap.
40919 * configure: Regenerated.
40920 * config.h.in (USE_STAP_PROBE): New #undef.
40921 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40922 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40923 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40925 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40929 to 2.4.0 where earlier.
40930 * sysdeps/unix/sysv/linux/configure: Regenerated.
40931 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40932 <kernel-features.h>.
40933 [__ASSUME_32BITUIDS]: Make code unconditional.
40934 [!__ASSUME_32BITUIDS]: Remove conditional code.
40935 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40936 <kernel-features.h>.
40937 [__ASSUME_32BITUIDS]: Make code unconditional.
40938 [!__ASSUME_32BITUIDS]: Remove conditional code.
40939 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40940 [__ASSUME_32BITUIDS]: Make code unconditional.
40941 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40942 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40943 <kernel-features.h>.
40944 [__ASSUME_32BITUIDS]: Make code unconditional.
40945 [!__ASSUME_32BITUIDS]: Remove conditional code.
40946 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40947 <kernel-features.h>.
40948 [__ASSUME_32BITUIDS]: Make code unconditional.
40949 [!__ASSUME_32BITUIDS]: Remove conditional code.
40950 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40951 <kernel-features.h>.
40952 [__ASSUME_32BITUIDS]: Make code unconditional.
40953 [!__ASSUME_32BITUIDS]: Remove conditional code.
40954 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40955 <kernel-features.h>.
40956 [__ASSUME_32BITUIDS]: Make code unconditional.
40957 [!__ASSUME_32BITUIDS]: Remove conditional code.
40958 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40959 <kernel-features.h>.
40960 [__ASSUME_32BITUIDS]: Make code unconditional.
40961 [!__ASSUME_32BITUIDS]: Remove conditional code.
40962 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40963 <kernel-features.h>.
40964 [__ASSUME_32BITUIDS]: Make code unconditional.
40965 [!__ASSUME_32BITUIDS]: Remove conditional code.
40966 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40967 <kernel-features.h>.
40968 [__ASSUME_32BITUIDS]: Make code unconditional.
40969 [!__ASSUME_32BITUIDS]: Remove conditional code.
40970 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.c: Do not include
40979 <kernel-features.h>.
40980 [__ASSUME_32BITUIDS]: Make code unconditional.
40981 [!__ASSUME_32BITUIDS]: Remove conditional code.
40982 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40983 <kernel-features.h>.
40984 [__NR_setresgid] (__setresgid): Do not declare.
40985 [__ASSUME_32BITUIDS]: Make code unconditional.
40986 [!__ASSUME_32BITUIDS]: Remove conditional code.
40987 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40988 <kernel-features.h>.
40989 [__NR_setresuid] (__setresuid): Do not declare.
40990 [__ASSUME_32BITUIDS]: Make code unconditional.
40991 [!__ASSUME_32BITUIDS]: Remove conditional code.
40992 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40993 <kernel-features.h>.
40994 [__ASSUME_32BITUIDS]: Make code unconditional.
40995 [!__ASSUME_32BITUIDS]: Remove conditional code.
40996 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40997 <kernel-features.h>.
40998 [__ASSUME_32BITUIDS]: Make code unconditional.
40999 [!__ASSUME_32BITUIDS]: Remove conditional code.
41000 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41001 <kernel-features.h>.
41002 [__ASSUME_32BITUIDS]: Make code unconditional.
41003 [!__ASSUME_32BITUIDS]: Remove conditional code.
41004 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41005 <kernel-features.h>.
41006 [__ASSUME_32BITUIDS]: Make code unconditional.
41007 [!__ASSUME_32BITUIDS]: Remove conditional code.
41008 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41009 <kernel-features.h>.
41010 [__ASSUME_32BITUIDS]: Make code unconditional.
41011 [!__ASSUME_32BITUIDS]: Remove conditional code.
41012 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41013 <kernel-features.h>.
41014 [__ASSUME_32BITUIDS]: Make code unconditional.
41015 [!__ASSUME_32BITUIDS]: Remove conditional code.
41016 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41017 <kernel-features.h>.
41018 [__ASSUME_32BITUIDS]: Make code unconditional.
41019 [!__ASSUME_32BITUIDS]: Remove conditional code.
41020 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41021 <kernel-features.h>.
41022 [__ASSUME_32BITUIDS]: Make code unconditional.
41023 [!__ASSUME_32BITUIDS]: Remove conditional code.
41024 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41025 <kernel-features.h>.
41026 [__ASSUME_32BITUIDS]: Make code unconditional.
41027 [!__ASSUME_32BITUIDS]: Remove conditional code.
41028 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41029 <kernel-features.h>.
41030 [__ASSUME_32BITUIDS]: Make code unconditional.
41031 [!__ASSUME_32BITUIDS]: Remove conditional code.
41032 * sysdeps/unix/sysv/linux/kernel-features.h
41033 (__ASSUME_SETRESUID_SYSCALL): Remove.
41034 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41035 (__ASSUME_32BITUIDS): Likewise.
41036 (__ASSUME_LDT_WORKS): Likewise.
41037 (__ASSUME_O_DIRECTORY): Likewise.
41038 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41039 architecture but not kernel version.
41040 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41041 (__ASSUME_MMAP2_SYSCALL): Likewise.
41042 (__ASSUME_STAT64_SYSCALL): Likewise.
41043 (__ASSUME_IPC64): Likewise.
41044 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41045 <kernel-features.h>.
41046 [__ASSUME_32BITUIDS]: Make code unconditional.
41047 [!__ASSUME_32BITUIDS]: Remove conditional code.
41048 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41049 <kernel-features.h>.
41050 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41051 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41052 132096]: Remove conditional code.
41053 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41054 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41055 <kernel-features.h>.
41056 [__ASSUME_32BITUIDS]: Make code unconditional.
41057 [!__ASSUME_32BITUIDS]: Remove conditional code.
41058 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41059 <kernel-features.h>.
41060 [__ASSUME_32BITUIDS]: Make code unconditional.
41061 [!__ASSUME_32BITUIDS]: Remove conditional code.
41062 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41063 <kernel-features.h>.
41064 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41066 (__setresgid): Do not declare.
41067 [__ASSUME_32BITUIDS]: Make code unconditional.
41068 [!__ASSUME_32BITUIDS]: Remove conditional code.
41069 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41070 <kernel-features.h>.
41071 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41073 (__setresuid): Do not declare.
41074 [__ASSUME_32BITUIDS]: Make code unconditional.
41075 [!__ASSUME_32BITUIDS]: Remove conditional code.
41076 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41077 <kernel-features.h>.
41078 [__ASSUME_32BITUIDS]: Make code unconditional.
41079 [!__ASSUME_32BITUIDS]: Remove conditional code.
41080 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41081 <kernel-features.h>.
41082 [__ASSUME_32BITUIDS]: Make code unconditional.
41083 [!__ASSUME_32BITUIDS]: Remove conditional code.
41085 2012-05-25 Richard Henderson <rth@twiddle.net>
41087 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41088 dl_hwcap to ifunc resolver.
41089 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41091 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41092 dl_hwcap to ifunc resolver.
41093 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41095 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41098 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41099 for |x| <= 2**-26, not 2**-57.
41100 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41103 2012-05-24 Jeff Law <law@redhat.com>
41105 * stdio-common/Makefile (tests): Add bug25.
41106 * stdio-common/bug25.c: New test.
41108 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41111 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41112 multiple of MALLOC_ALIGNMENT in size.
41113 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41115 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41117 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41119 (FILENAME_MAX): Use macro-int-constant.
41120 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41121 (_IOFBF): Use macro-int-constant.
41122 (_IOLBF): Likewise.
41123 (_IONBF): Likewise.
41124 (SEEK_CUR): Likewise.
41125 (SEEK_END): Likewise.
41126 (SEEK_SET): Likewise.
41127 (TMP_MAX): Likewise.
41128 (EOF): Use macro-int-constant. Require < 0.
41129 (NULL): Use macro-constant. Require == 0.
41130 (stdin): Require type to be FILE *.
41131 (stdout): Likewise.
41132 (stderr): Likewise.
41133 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41134 macro-int-constant.
41135 (EXIT_SUCCESS): Likewise.
41136 (NULL): Use macro-constant. Require == 0.
41137 (RAND_MAX): Use macro-int-constant.
41138 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41139 [C99-based standards] (strtof): Require function.
41140 [C99-based standards] (strtold): Likewise.
41141 [C99-based standards] (strtoll): Likewise.
41142 [C99-based standards] (strtoull): Likewise.
41143 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41144 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41145 [ISO || ISO99 || ISO11] (math.h): Likewise.
41146 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41147 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41150 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41153 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41154 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41155 * intl/dgettext.c (DCGETTEXT): Likewise.
41156 * intl/gettext.c (DCGETTEXT): Likewise.
41157 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41158 * posix/regex_internal.h (gettext): Likewise.
41159 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41160 Remove declaration.
41161 * include/argz.h (__argz_count_internal)
41162 (__argz_stringify_internal): Remove declaration.
41163 (__argz_count, __argz_stringify): Declare hidden proto.
41164 * intl/dcgettext.c: Remove use of INTDEF.
41165 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41166 * string/argz-stringify.c: Likewise.
41167 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41168 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41169 Declare hidden proto.
41170 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41171 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41172 Declare hidden proto.
41173 * include/stdio.h (__asprintf_internal): Don't declare.
41174 (__asprintf): Don't define as macro. Declare hidden proto.
41175 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41176 (__fsetlocking): Declare hidden proto.
41177 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41178 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41180 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41181 (_IO_setlinebuf): Remove use of INTUSE.
41182 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41183 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41184 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41185 Remove declaration.
41186 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41187 (_IO_do_flush): Remove use of INTUSE.
41188 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41189 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41190 (_IO_adjust_column, _IO_least_wmarker)
41191 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41192 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41193 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41194 (_IO_default_doallocate, _IO_wdefault_doallocate)
41195 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41196 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41197 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41198 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41199 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41200 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41201 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41202 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41203 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41204 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41205 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41206 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41207 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41209 (_IO_flush_all_internal, _IO_adjust_column_internal)
41210 (_IO_default_uflow_internal, _IO_default_finish_internal)
41211 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41212 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41213 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41214 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41215 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41216 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41217 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41218 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41219 (_IO_file_close_internal, _IO_file_close_it_internal)
41220 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41221 (_IO_file_init_internal, _IO_file_attach_internal)
41222 (_IO_file_fopen_internal, _IO_file_read_internal)
41223 (_IO_file_sync_internal, _IO_file_seek_internal)
41224 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41225 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41226 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41227 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41228 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41229 (_IO_list_all_internal, _IO_link_in_internal)
41230 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41231 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41232 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41233 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41234 (_IO_do_write_internal, _IO_padn_internal)
41235 (_IO_getline_info_internal, _IO_getline_internal)
41236 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41237 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41238 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41239 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41240 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41241 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41242 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41243 with libc_hidden_ver, remove use of INTUSE.
41244 * libio/genops.c: Likewise.
41245 * libio/freopen.c: Likewise.
41246 * libio/freopen64.c: Likewise.
41247 * libio/iofclose.c: Likewise.
41248 * libio/iofdopen.c: Likewise.
41249 * libio/iofflush.c: Likewise.
41250 * libio/iofflush_u.c: Likewise.
41251 * libio/iofgets.c: Likewise.
41252 * libio/iofgets_u.c: Likewise.
41253 * libio/iofopen.c: Likewise.
41254 * libio/iofopncook.c: Likewise.
41255 * libio/iofread.c: Likewise.
41256 * libio/iofread_u.c: Likewise.
41257 * libio/ioftell.c: Likewise.
41258 * libio/iofwrite.c: Likewise.
41259 * libio/iogetline.c: Likewise.
41260 * libio/iogets.c: Likewise.
41261 * libio/iogetwline.c: Likewise.
41262 * libio/iopadn.c: Likewise.
41263 * libio/iopopen.c: Likewise.
41264 * libio/ioseekoff.c: Likewise.
41265 * libio/ioseekpos.c: Likewise.
41266 * libio/iosetbuffer.c: Likewise.
41267 * libio/iosetvbuf.c: Likewise.
41268 * libio/ioungetc.c: Likewise.
41269 * libio/ioungetwc.c: Likewise.
41270 * libio/iovdprintf.c: Likewise.
41271 * libio/iovsprintf.c: Likewise.
41272 * libio/iovsscanf.c: Likewise.
41273 * libio/memstream.c: Likewise.
41274 * libio/obprintf.c: Likewise.
41275 * libio/oldfileops.c: Likewise.
41276 * libio/oldiofclose.c: Likewise.
41277 * libio/oldiofdopen.c: Likewise.
41278 * libio/oldiofopen.c: Likewise.
41279 * libio/oldiopopen.c: Likewise.
41280 * libio/oldstdfiles.c: Likewise.
41281 * libio/putc.c: Likewise.
41282 * libio/setbuf.c: Likewise.
41283 * libio/setlinebuf.c: Likewise.
41284 * libio/stdfiles.c: Likewise.
41285 * libio/strops.c: Likewise.
41286 * libio/vasprintf.c: Likewise.
41287 * libio/vscanf.c: Likewise.
41288 * libio/vsnprintf.c: Likewise.
41289 * libio/vswprintf.c: Likewise.
41290 * libio/wfiledoalloc.c: Likewise.
41291 * libio/wfileops.c: Likewise.
41292 * libio/wgenops.c: Likewise.
41293 * libio/wmemstream.c: Likewise.
41294 * libio/wstrops.c: Likewise.
41295 * libio/__fpurge.c: Likewise.
41296 * libio/__fsetlocking.c: Likewise.
41297 * assert/assert.c: Likewise.
41298 * debug/fgets_chk.c: Likewise.
41299 * debug/fgets_u_chk.c: Likewise.
41300 * debug/fread_chk.c: Likewise.
41301 * debug/fread_u_chk.c: Likewise.
41302 * debug/gets_chk.c: Likewise.
41303 * debug/obprintf_chk.c: Likewise.
41304 * debug/vasprintf_chk.c: Likewise.
41305 * debug/vdprintf_chk.c: Likewise.
41306 * debug/vsnprintf_chk.c: Likewise.
41307 * debug/vsprintf_chk.c: Likewise.
41308 * malloc/mtrace.c: Likewise.
41309 * misc/error.c: Likewise.
41310 * misc/syslog.c: Likewise.
41311 * stdio-common/asprintf.c: Likewise.
41312 * stdio-common/fxprintf.c: Likewise.
41313 * stdio-common/getw.c: Likewise.
41314 * stdio-common/isoc99_fscanf.c: Likewise.
41315 * stdio-common/isoc99_scanf.c: Likewise.
41316 * stdio-common/isoc99_vfscanf.c: Likewise.
41317 * stdio-common/isoc99_vscanf.c: Likewise.
41318 * stdio-common/isoc99_vsscanf.c: Likewise.
41319 * stdio-common/printf-prs.c: Likewise.
41320 * stdio-common/printf_fp.c: Likewise.
41321 * stdio-common/printf_fphex.c: Likewise.
41322 * stdio-common/printf_size.c: Likewise.
41323 * stdio-common/putw.c: Likewise.
41324 * stdio-common/scanf.c: Likewise.
41325 * stdio-common/sprintf.c: Likewise.
41326 * stdio-common/tmpfile.c: Likewise.
41327 * stdio-common/vfprintf.c: Likewise.
41328 * stdio-common/vfscanf.c: Likewise.
41329 * stdlib/strfmon_l.c: Likewise.
41330 * sunrpc/openchild.c: Likewise.
41331 * sunrpc/xdr_stdio.c: Likewise.
41332 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41333 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41335 2012-05-24 Roland McGrath <roland@hack.frob.com>
41337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41339 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41340 in the third column, to generate for the shared library an IFUNC
41341 that uses _dl_vdso_vsym.
41342 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41343 * Makeconfig (object-suffixes-noshared): New variable.
41345 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41346 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41347 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41348 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41351 * include/sys/time.h (__gettimeofday): Remove macro.
41352 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41353 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41355 (__gettimeofday): Add libc_hidden_def.
41356 (gettimeofday): Add libc_hidden_weak.
41357 * sysdeps/mach/gettimeofday.c: Likewise.
41358 * sysdeps/posix/gettimeofday.c: Likewise.
41359 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41360 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41362 (__gettimeofday_internal): Remove strong_alias.
41363 (__gettimeofday): Add libc_hidden_def.
41364 (gettimeofday): Add libc_hidden_weak.
41365 * sysdeps/unix/syscalls.list (gettimeofday):
41366 Remove __gettimeofday_internal alias.
41368 2012-05-24 Daniel Jacobowitz <drow@false.org>
41369 H.J. Lu <hongjiu.lu@intel.com>
41372 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41373 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41374 (largebin_index_32_big): New.
41375 (largebin_index): Use it for 16-byte alignment.
41376 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41377 correction with front_misalign.
41379 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41407 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41408 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41410 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41414 * math/libm-test.inc (exp_test): Add test from bug 14036.
41415 (pow_test): Add test from bug 10846.
41417 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41419 (special_function): Do not include flags in test name.
41420 (parse_args): Likewise.
41421 * sysdeps/i386/fpu/libm-test-ulps: Update.
41422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41423 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41424 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41427 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41429 * math/libm-test.inc ("Philosophy"): Update comment about
41431 (UNDERFLOW_EXCEPTION): New macro.
41432 (UNDERFLOW_EXCEPTION_OK): Likewise.
41433 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41434 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41435 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41436 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41437 (INVALID_EXCEPTION_OK): Update value.
41438 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41439 (OVERFLOW_EXCEPTION_OK): Likewise.
41440 (IGNORE_ZERO_INF_SIGN): Likewise.
41441 (test_exceptions): Handle underflow exceptions.
41442 (acos_test): Update for underflow exception expectations.
41443 (cexp_test): Likewise.
41444 (clog_test): Likewise.
41445 (clog10_test): Likewise.
41446 (csqrt_test): Likewise.
41447 (ctan_test): Likewise.
41448 (ctanh_test): Likewise.
41449 (exp_test): Likewise.
41450 (exp10_test): Likewise.
41451 (exp2_test): Likewise.
41452 (expm1_test): Likewise.
41453 (fma_test): Likewise.
41454 (j0_test): Likewise.
41455 (jn_test): Likewise.
41456 (nexttoward_test): Likewise.
41457 (pow_test): Likewise.
41458 (scalbn_test): Likewise.
41459 (scalbln_test): Likewise.
41460 (tan_test): Likewise.
41461 (y1_test): Likewise.
41462 * sysdeps/i386/fpu/libm-test-ulps: Update.
41463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41465 2012-05-23 David S. Miller <davem@davemloft.net>
41467 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41468 (__libc_sigaction): Remove unused local variables.
41470 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41472 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41474 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41476 mktime: avoid signed integer overflow
41477 * time/mktime.c (__mktime_internal): Do not mishandle the case
41478 where diff == INT_MIN.
41480 mktime: simplify computation of average
41481 * time/mktime.c (ranged_convert): Use new time_t_avg function
41482 instead of rolling our own (probably-slower) code.
41484 mktime: do not assume signed right shift propagates sign bit
41485 * time/mktime.c (isdst_differ): New static function.
41486 (__mktime_internal): No need to normalize tm_isdst now.
41487 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41490 mktime: merge another wrapv change from gnulib
41491 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41492 from some compilers.
41494 mktime: remove incorrect attempt at unusual arithmetics
41495 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41496 The code didn't really work on such machines anyway.
41497 (TYPE_MINIMUM): Assume two's complement.
41498 (twos_complement_arithmetic): Verify that long_int and time_t
41499 are two's complement (or unsigned, in the latter case).
41501 mktime: check signed shifts on long_int and time_t, too
41502 * time/mktime.c (SHR): Check that shifts work as desired
41503 on the types long_int and time_t too, as SHR is used on
41506 mktime: do not assume 'long' is wide enough
41507 * time/mktime.c (verify): Move decl up.
41508 (long_int): New type.
41509 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41510 to remove assumption in the code that 'long' is wide enough to
41511 store year values. This assumption is not true on x32 and on
41512 some non-glibc platforms.
41514 mktime: merge wrapv change from gnulib
41515 * time/mktime.c (WRAPV): New macro.
41516 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41517 (guess_time_tm, __mktime_internal): Do not assume that signed
41518 integer overflow wraps around; modern compilers generate code
41519 where this assumption is no longer valid.
41521 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41523 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41524 Replace "jmp L(pseudo_end)" with "ret".
41525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41528 2012-05-23 Andreas Jaeger <aj@suse.de>
41530 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41531 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41533 2012-05-23 Andreas Jaeger <aj@suse.de>
41534 Maximilian Attems <max@stro.at>
41536 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41539 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41541 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41542 code so that pseudo_end is just ret and the stack pointer is
41543 correct also for static library in error case.
41545 2012-05-23 Joseph Myers <joseph@codesourcery.com>
41547 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41548 move to syscalls.list.
41549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41554 * manual/install.texi (Running make install): Do not mention Linux
41555 kernel version for which pt_chown is not needed.
41556 (Linux): Do not mention problems with nscd with 2.0 kernels.
41557 * INSTALL: Regenerated.
41559 2012-05-23 Andreas Jaeger <aj@suse.de>
41561 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41562 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41564 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41566 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41568 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41569 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41571 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41572 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41573 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41574 * sysdeps/unix/sysv/linux/bits/in.h
41575 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41577 2012-05-22 Roland McGrath <roland@hack.frob.com>
41579 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41580 (PREPARE_VERSION): Just use assert instead, it will be elided
41581 under [NDEBUG] anyway.
41583 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41585 * sysdeps/unix/sysv/linux/Makefile: Include
41586 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41587 (sysdep_routines): Remove sysctl.
41588 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41589 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41590 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41591 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41592 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41594 2012-05-22 Andreas Jaeger <aj@suse.de>
41596 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41597 that pseudo_end is just ret and the stack pointer is correct also
41598 for static library in error case.
41600 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41603 * nss/nsswitch.c (defconfig_entries): New variable.
41604 (__nss_database_lookup): Don't leak defconfig entries.
41605 (nss_parse_service_list): Don't leak on error paths.
41606 (free_database_entries): New function.
41607 (free_defconfig): New function.
41608 (free_mem): Move common code to free_database_entries.
41610 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41612 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41614 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41616 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41617 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41620 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41621 (INTERNAL_SYSCALL_TYPES): Likewise.
41622 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41623 (LOAD_REGS_TYPES_[1-6]): Likewise.
41624 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41625 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41627 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41629 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41630 copysignl for GLIBC_2_0.
41631 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41632 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41634 logbl for GLIBC_2_0.
41635 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41636 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41638 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41641 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41643 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41646 * time/mktime.c: Update copyright years.
41648 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41650 mktime: merge comment-quoting-style change from gnulib
41651 * time/mktime.c: Quote 'like this' in comments.
41652 The GNU coding standards suggest that we no longer quote `like this',
41653 as "`" and "'" are typically rendered asymmetrically nowadays.
41654 The typical gnulib style is to quote 'like this' when quoting
41655 code, and "like this" when quoting English.
41657 * time/mktime.c (compile-command): Add "-I.".
41659 mktime: merge mktime-internal.h change from gnulib
41660 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41662 mktime: merge time_r change from gnulib
41663 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41665 mktime: merge DEBUG change from gnulib
41666 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41667 case system <time.h> has a #define.
41669 mktime: merge <sys/types.h> change from gnulib
41670 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41671 since <time.t> is now guaranteed to define time_t.
41673 mktime: merge HAVE_CONFIG_H change from gnulib
41674 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41676 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41681 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41683 (struct rusage): Use anonymous union to pad each field to
41686 2012-05-21 David S. Miller <davem@davemloft.net>
41688 * Makefules (o-iterator): Remove .s cases.
41689 (compile-command.s): Delete.
41690 (COMPILE.s): Delete.
41691 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41693 2012-05-21 Joseph Myers <joseph@codesourcery.com>
41695 * configure.in (libc_cv_predef_stack_protector): Only consider
41696 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41697 * configure: Regenerated.
41699 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41702 New macro. Use R*LP on int and pointer.
41703 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41704 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41705 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41706 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41708 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41709 [__WORDSIZE_TIME64_COMPAT32] instead of
41710 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41711 (struct utmp): Likewise.
41712 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41713 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41715 (__WORDSIZE_TIME64_COMPAT32): This.
41716 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41717 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41718 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41719 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41720 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41721 (__WORDSIZE_TIME64_COMPAT32): New macro.
41723 2012-05-21 Andreas Jaeger <aj@suse.de>
41725 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41726 only if [SHARED]. Add prototype for __wcschr_ia32.
41728 2012-05-21 Roland McGrath <roland@hack.frob.com>
41730 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41731 of %rbp unmolested in the jmp_buf while mangling the low bits.
41732 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41733 unmolested high bits of %rbp while demangling the low bits.
41734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41736 2012-05-21 Andreas Jaeger <aj@suse.de>
41738 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41739 * sunrpc/svc_simple.c: Use it for registerrpc.
41740 * sunrpc/xcrypt.c: Use it for passwd2des.
41742 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41744 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41746 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41747 Don't define if [__SYSCALL_WORDSIZE != 32].
41748 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41751 2012-05-21 Bruno Haible <bruno@clisp.org>
41752 Andreas Jaeger <aj@suse.de>
41754 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41755 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41756 inptr and inend for must_buffer_ch.
41757 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41758 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41759 * stdio-common/Makefile (tests): Remove bug15.
41760 (bug15-ENV): Remove macro.
41761 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41764 2012-05-19 Andreas Jaeger <aj@suse.de>
41765 Roland McGrath <roland@hack.frob.com>
41767 * manual/contrib.texi: Completely rewritten. It contains now an
41768 alphabetical list of contributors and their contributions.
41770 2012-05-21 Richard Henderson <rth@twiddle.net>
41772 * misc/getauxval.c (__getauxval): Use unsigned long int.
41773 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41774 (getauxval): Use unsigned long int.
41776 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41778 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41780 2012-05-21 Roland McGrath <roland@hack.frob.com>
41782 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41783 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41784 __alignof__ (long double).
41786 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41790 2012-05-20 Richard Henderson <rth@twiddle.net>
41792 * misc/getauxval.c: New file.
41793 * misc/sys/auxv.h: New file.
41794 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41795 (routines): Add getauxval.
41796 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41797 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41798 * elf/dl-sysdep.c (_dl_auxv): Remove.
41799 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41800 * elf/dl-support.c (_dl_auxv): New variable.
41801 (_dl_aux_init): Initialize it.
41802 * manual/startup.texi (Auxiliary Vector): New node.
41803 * sysdeps/generic/bits/hwcap.h: New file.
41804 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41805 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41806 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41807 * sysdeps/sparc/sysdep.h: ... here. Include it.
41808 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41809 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41815 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41821 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41825 2012-05-19 David S. Miller <davem@davemloft.net>
41827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41829 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41832 * math/s_ccosh.c: Include <float.h>
41833 (__ccosh): Avoid internal overflow calculating sinh and cosh
41834 values before multiplying by sin and cos values.
41835 * math/s_ccoshf.c: Likewise.
41836 * math/s_ccoshl.c: Likewise.
41837 * math/s_csin.c: Likewise.
41838 * math/s_csinf.c: Likewise.
41839 * math/s_csinl.c: Likewise.
41840 * math/s_csinh.c: Likewise.
41841 * math/s_csinhf.c: Likewise.
41842 * math/s_csinhl.c: Likewise.
41843 * math/libm-test.inc (ccos_test): Add more tests.
41844 (ccosh_test): Likewise.
41845 (csin_test): Likewise.
41846 (csinh_test): Likewise.
41847 * sysdeps/i386/fpu/libm-test-ulps: Update.
41848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41850 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41852 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41853 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41855 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41857 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41859 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41860 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41861 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41862 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41863 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41864 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41865 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41866 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41867 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41868 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41869 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41870 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41871 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41872 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41873 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41874 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41875 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41876 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41877 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41878 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41879 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41880 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41881 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41882 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41883 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41884 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41885 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41886 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41887 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41888 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41889 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41891 2012-05-18 Andreas Jaeger <aj@suse.de>
41893 * csu/.gitignore: Delete.
41895 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41897 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41898 (timex): Use __syscall_slong_t.
41900 2012-05-18 Andreas Jaeger <aj@suse.de>
41901 Carlos O'Donell <carlos_odonell@mentor.com>
41903 * manual/install.texi (Configuring and compiling): Update
41904 description about files modified in the source directory.
41905 * INSTALL: Regenerated.
41907 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41909 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41910 value. Use "or" to set return value to -1.
41911 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41912 negate return value.
41914 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41916 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41917 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41918 failure if the compiler has Graphite support disabled.
41919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41921 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41922 (CFLAGS-memmove.c): Likewise.
41923 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41926 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41928 * sysdeps/x86_64/x32/_itoa.h: New file.
41930 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41931 getdents system call only if kernel and user dirents have the
41932 same d_ino and d_off.
41934 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41935 LLONG_MAX != LONG_MAX.
41936 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41937 (_fitoa_word): Likewise.
41939 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41941 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41942 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41943 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41945 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41946 include <bits/wordsize.h>. Check __x86_64__ instead of
41948 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41949 if __x86_64__ is defined. Use anonymous union on fpstate.
41951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41954 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41956 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41957 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41958 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41959 Refer to _rtld_local_ro instead of _rtld_global_ro.
41960 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41962 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41964 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41966 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41967 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41968 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41970 * sysdeps/powerpc/powerpc32/dl-machine.c
41971 (__elf_machine_runtime_setup) [PROF]: Don't reference
41974 2012-05-18 Andreas Jaeger <aj@suse.de>
41976 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41977 function only available for GCCs before 3.4 since GCC 3.4
41978 introduced a builtin.
41980 (llrintf): Likewise.
41981 (llrint): Likewise.
41988 (nearbyint): Likewise.
41989 (nearbyintf): Likewise.
41993 (floorf): Likewise.
41995 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41997 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41998 on both fields and cast pointer to __syscall_ulong_t.
42000 * bits/types.h (__fsword_t): New type.
42001 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42002 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42004 (__FSWORD_T_TYPE): Likewise.
42005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42006 (__FSWORD_T_TYPE): Likewise.
42007 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42008 (__FSWORD_T_TYPE): Likewise.
42009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42010 (__FSWORD_T_TYPE): Likewise.
42011 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42012 __SWORD_TYPE with __fsword_t.
42013 (statfs64): Likewise.
42015 2012-05-17 David S. Miller <davem@davemloft.net>
42017 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42019 2012-05-17 Andreas Jaeger <aj@suse.de>
42021 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42024 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42026 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42028 2012-05-17 Andreas Jaeger <aj@suse.de>
42030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42033 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42035 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42037 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42039 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42040 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42042 2012-05-17 Andreas Jaeger <aj@suse.de>
42043 Carlos O'Donell <carlos_odonell@mentor.com>
42046 * sysdeps/x86_64/multiarch/init-arch.h
42047 (bit_YMM_Usable): Rename to...
42048 (bit_AVX_Usable): ... this.
42049 (bit_FMA4_Usable): New macro.
42050 (bit_XMM_state): New macro.
42051 (bit_YMM_state): New macro.
42052 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42053 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42054 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42055 (CPUID_OSXSAVE): New macro.
42056 (CPUID_AVX): New macro.
42057 (CPUID_FMA4): New macro.
42058 (index_YMM_Usable): Rename to...
42059 (index_AVX_Usable): ... this.
42060 (HAS_AVX): Use HAS_ARCH_FEATURE.
42061 (HAS_FMA4): Likewise.
42062 (HAS_YMM_USABLE): Remove.
42063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42064 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42066 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42067 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42068 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42069 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42070 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42072 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42074 * math/libm-test.c: Support platforms without multiple rounding modes.
42075 * math/bug-nextafter.c: Support platforms without FP exceptions.
42076 * math/bug-nexttoward.c: Likewise.
42077 * math/test-fenv.c: Likewise.
42078 * math/test-misc.c: Likewise.
42079 * stdlib/bug-getcontext.c: Likewise.
42081 2012-05-17 Andreas Jaeger <aj@suse.de>
42083 * manual/examples/search.c (critter_cmp): Change signature to
42085 * manual/string.texi (Collation Functions): Likewise.
42087 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42089 * bits/types.h: Fold copyright years.
42090 * bits/typesizes.h: Likewise.
42091 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42095 * time/time.h: Likewise.
42097 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42100 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42101 in instead of returning them. Return void.
42102 (__libc_mallinfo): Accumulate over all arenas.
42103 (__malloc_stats): Adjust for change in int_mallinfo interface.
42105 2012-05-16 Roland McGrath <roland@hack.frob.com>
42108 * configure.in (NM): Add AC_CHECK_TOOL for it.
42109 (libc_extra_cflags): New substituted variable.
42110 Check for -fstack-protector being used implicitly.
42111 * configure: Regenerated.
42112 * config.make.in (config-extra-cflags): New variable,
42113 gets @libc_extra_cflags@.
42114 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42117 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42118 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42119 * configure: Regenerated.
42120 * config.make.in (CPPUNDEFS): New substituted variable.
42121 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42122 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42123 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42125 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42127 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42128 (mq_attr): Use __syscall_slong_t.
42130 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42132 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42133 Check __x86_64__ instead of __WORDSIZE.
42134 (_STAT_VER_LINUX): Likewise.
42135 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42136 __syscall_ulong_t and __syscall_slong_t.
42137 (stat64): Likewise.
42139 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42141 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42143 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42145 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42147 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42149 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42152 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42153 include <bits/wordsize.h>. Check __x86_64__ instead of
42155 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42157 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42159 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42160 include <bits/wordsize.h>. Check __x86_64__ instead of
42162 (user_regs_struct): Use "__extension__ unsigned long long"
42163 instead of "unsigned long" if __x86_64__ is defined.
42164 (user): Likewise. Pad after pointer field if __ILP32__ is
42167 2012-05-16 Joseph Myers <joseph@codesourcery.com>
42169 * configure.in (makeinfo): Require version 4.5 or later. Allow
42171 * configure: Regenerated.
42172 * manual/install.texi (texinfo): Increase version requirement to
42174 * INSTALL: Regenerated.
42176 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42178 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42180 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42182 * sysdeps/x86_64/x32/ffs.c: New file.
42184 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42186 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42187 defined. Use __syscall_ulong_t.
42188 (shminfo): Use __syscall_ulong_t.
42189 (shm_info): Likewise.
42191 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42194 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42196 (msgqnum_t): Use __syscall_ulong_t.
42197 (msglen_t): Likewise.
42198 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42201 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42202 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42204 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42206 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42207 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42209 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42212 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42213 include <bits/wordsize.h>. Check __x86_64__ instead of
42216 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42217 "unsigned long long int" if __x86_64__ is defined.
42218 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42220 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42221 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42222 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42224 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42226 (GET_PC): Cast to uintptr_t first.
42227 (GET_FRAME): Likewise.
42228 (GET_STACK): Likewise.
42230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42236 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42237 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42238 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42239 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42241 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42243 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42245 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42247 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42248 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42249 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42251 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42253 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42255 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42256 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42260 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42262 * Makerules (+depfiles): Also collect depfiles from .oS in
42264 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42265 .oS, $(libnldbl-routines)).
42267 * Makerules (native-compile-mkdep-flags): Define.
42268 * sunrpc/Makefile (extra-objs): Add $(addprefix
42269 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42270 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42271 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42272 calling $(make-target-directory).
42274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42276 * bits/types.h (__snseconds_t): Removed.
42277 * time/time.h (struct timespec): Replace __snseconds_t with
42279 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42280 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42283 (__SNSECONDS_T_TYPE): Likewise.
42284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42285 (__SNSECONDS_T_TYPE): Likewise.
42286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42287 (__SNSECONDS_T_TYPE): Likewise.
42289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42291 * sysdeps/mach/hurd/bits/typesizes.h
42292 (__SYSCALL_SLONG_TYPE): New macro.
42293 (__SYSCALL_ULONG_TYPE): Likewise.
42295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42297 * bits/types.h (__syscall_slong_t): New type.
42298 (__syscall_ulong_t): Likewise.
42300 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42301 (__SYSCALL_ULONG_TYPE): Likewise.
42302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42303 (__SYSCALL_SLONG_TYPE): Likewise.
42304 (__SYSCALL_ULONG_TYPE): Likewise.
42305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42306 (__SYSCALL_SLONG_TYPE): Likewise.
42307 (__SYSCALL_ULONG_TYPE): Likewise.
42308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42309 (__SYSCALL_SLONG_TYPE): Likewise.
42310 (__SYSCALL_ULONG_TYPE): Likewise.
42312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42314 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42315 Add sigaltstack-offsets.sym.
42316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42317 <sigaltstack-offsets.h>.
42318 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42319 longjmp_msg pointer.
42320 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42321 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42323 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42325 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42327 * elf/stackguard-macros.h: Remove file.
42328 * sysdeps/generic/stackguard-macros.h: New file.
42329 * sysdeps/i386/stackguard-macros.h: Likewise.
42330 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42331 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42332 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42333 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42334 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42335 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42336 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42337 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42338 <elf/stackguard-macros.h>.
42341 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42342 __aligned__ in attribute.
42343 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42344 (gregset_t): Likewise.
42346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42348 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42349 * sysdeps/x86_64/64/Implies-after: Here. New file.
42350 * sysdeps/x86_64/x32/Implies-after: New file.
42352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42354 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42355 and access return value for _dl_profile_fixup. Use R10_LP to
42358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42360 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42362 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42364 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42365 * sysdeps/x86_64/x32/sysdep.h: New file.
42367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42369 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42370 * sysdeps/x86_64/setjmp.S: Likewise.
42372 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42376 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42377 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42378 remove unused global constant.
42380 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42382 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42383 include of <not-cancel.h>.
42385 2012-05-15 Roland McGrath <roland@hack.frob.com>
42387 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42389 2012-05-15 Jeff Law <law@redhat.com>
42390 Andreas Jaeger <aj@suse.de>
42393 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42395 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42396 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42397 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42398 code changing __hst_map_handle.map.
42400 2012-05-15 Roland McGrath <roland@hack.frob.com>
42402 * configure.in (sysnames): Look for Implies-before and Implies-after
42404 * configure: Regenerated.
42406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42408 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42409 8-byte data alignment with LP_SIZE alignment.
42411 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42413 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42418 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42422 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42423 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42424 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42430 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42431 (stackinfo_sub_sp): Likewise.
42433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42450 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42452 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42454 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42455 into R11_LP and load __x86_64_shared_cache_size_half into
42458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42460 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42463 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42471 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42472 powerpc32/power7/fpu/s_logb.c via #include.
42473 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42474 powerpc32/power7/fpu/s_logbf.c via #include.
42475 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42476 powerpc32/power7/fpu/s_logbl.c via #include.
42478 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42480 * README.libm: Remove file.
42482 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42484 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42485 count for x32. Use R*_LP and omit operand-size suffix.
42487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42489 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42490 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42491 * sysdeps/x86_64/x32/shlib-versions: New file.
42493 2012-05-14 Roland McGrath <roland@hack.frob.com>
42495 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42496 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42497 Use _dl_fatal_printf instead.
42499 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42501 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42502 set if not set by the user. Do not allow for being unset.
42503 * sysdeps/unix/sysv/linux/configure: Regenerated.
42505 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42507 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42508 the `q' suffix from lea and replace .quad with ASM_ADDR.
42510 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42513 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42515 (PTR_DEMANGLE): Likewise.
42517 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42519 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42521 (ASM_ADDR): Likewise.
42522 (RAX_LP): Likewise.
42523 (RBP_LP): Likewise.
42524 (RBX_LP): Likewise.
42525 (RCX_LP): Likewise.
42526 (RDI_LP): Likewise.
42527 (RSI_LP): Likewise.
42528 (RSP_LP): Likewise.
42531 (R10_LP): Likewise.
42532 (R10_LP): Likewise.
42533 (R11_LP): Likewise.
42534 (R12_LP): Likewise.
42535 (R13_LP): Likewise.
42536 (R14_LP): Likewise.
42537 (R15_LP): Likewise.
42539 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42541 * sysdeps/x86_64/x32/dl-machine.h: New file.
42543 2012-05-14 Andreas Jaeger <aj@suse.de>
42545 * manual/Makefile (subdir): Remove export of subdir.
42546 (all): Remove target.
42547 (.PHONY): Remove all from list.
42548 (mkinstalldirs): Remove.
42549 (.PHONY): Remove installdirs from list.
42550 ($(inst_infodir)/libc.info): Use make-target-directory.
42551 (installdirs): Remove.
42552 (subdir_%): Remove.
42553 (glibc-targets): Remove.
42556 ($(objpfx)stubs ../po/manual.pot): Remove.
42557 ($(objpfx)stamp%): Remove.
42558 (make-target-directory): Remove.
42559 (subdir_install): Remove.
42560 (routines): Remove.
42567 * manual/.gitignore: Remove, it's not needed anymore.
42568 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42570 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42572 (texis): Renamed to $(objpfx)texis.
42573 (texis-path): New, contains path to generated files.
42574 (chapters.%): Use texis-path for complete path, add extra argument
42576 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42577 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42578 (summary,texi, stamp-summary): Use complete path of
42579 files. Generate files in build dir.
42580 (dir-add.texi): Build in build dir.
42581 (libm-err.texi,stamp-libm-err): Likewise.
42582 (version.texi, stamp-version): Likewise.
42583 (.%c.texi): Likewise.
42584 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42585 (mostlyclean): Remove target.
42586 (realclean): Remove target.
42587 (generated): Add new variable with contents from mostlyclean and
42588 realclean, remove entries duplicated in common-mostlyclean, add
42589 stamp-libm-err and stamp-version.
42590 (generated-dirs): Add libc directory.
42591 ($(inst_infodir)/libc.info): Install files from build dir.
42593 * manual/install.texi (Configuring and compiling): Adjust since
42594 the info files are not part of the tar ball anymore.
42596 2012-05-14 Andreas Jaeger <aj@suse.de>
42598 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42601 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42605 to 2.2.0 where earlier.
42606 * sysdeps/unix/sysv/linux/configure: Regenerated.
42607 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42608 Remove conditional code.
42609 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42610 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42611 Remove conditional code.
42612 [!__NR_lchown]: Likewise.
42613 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42614 [__NR_lchown]: Likewise.
42615 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42616 comment referencing __ASSUME_LCHOWN_SYSCALL.
42617 * sysdeps/unix/sysv/linux/i386/sigaction.c
42618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42620 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42621 Remove conditional code.
42622 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42623 (__protocol_available): Remove #if 0 code.
42624 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42626 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42627 * sysdeps/unix/sysv/linux/kernel-features.h
42628 (__ASSUME_GETCWD_SYSCALL): Don't define.
42629 (__ASSUME_REALTIME_SIGNALS): Likewise.
42630 (__ASSUME_PREAD_SYSCALL): Likewise.
42631 (__ASSUME_PWRITE_SYSCALL): Likewise.
42632 (__ASSUME_POLL_SYSCALL): Likewise.
42633 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42634 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42636 (__ASSUME_SIOCGIFNAME): Don't define.
42637 (__ASSUME_MSG_NOSIGNAL): Likewise.
42638 (__ASSUME_SENDFILE): Define unconditionally.
42639 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42640 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42642 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42643 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42644 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42645 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42646 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42647 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42648 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42650 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42653 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42654 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42656 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42659 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42660 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42662 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42665 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42671 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42673 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42674 Remove conditional code.
42675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42676 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42677 Remove conditional code.
42678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42679 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42680 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42681 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42682 Remove conditional code.
42683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42684 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42685 Remove conditional code.
42686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42687 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42688 Remove conditional code.
42689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42690 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42691 Remove conditional code.
42692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42693 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42694 Remove conditional code.
42695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42696 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42699 * sysdeps/unix/sysv/linux/sigaction.c
42700 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42701 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42702 * sysdeps/unix/sysv/linux/sigpending.c
42703 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42704 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42705 * sysdeps/unix/sysv/linux/sigprocmask.c
42706 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42707 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42708 * sysdeps/unix/sysv/linux/sigsuspend.c
42709 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42710 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42711 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42712 (__libc_missing_rt_sigs): Remove.
42713 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42714 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42715 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42716 Remove conditional code.
42717 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42718 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42720 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42721 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42722 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42723 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42725 2012-05-14 Andreas Jaeger <aj@suse.de>
42727 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42728 it's not used in glibc.
42729 (__coshm1): Likewise.
42730 (__acosh1p): Likewise.
42733 * manual/string.texi (Copying and Concatenation): Add missing
42734 variable in concat example.
42735 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42737 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42740 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42741 __builtin_clzl with __builtin_clzll.
42743 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42746 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42749 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42751 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42752 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42753 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42754 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42756 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42758 * NEWS: Update ia64 info.
42760 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42762 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42765 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42767 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42768 * sysdeps/unix/syscalls.list (dup3): Likewise.
42769 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42770 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42772 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42774 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42775 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42777 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42779 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42781 (TLS_IE): Use mov/add instead of movq/addq to load thread
42783 (TLS_GD_PREFIX): New.
42786 2012-05-11 David S. Miller <davem@davemloft.net>
42788 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42789 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42790 (_FPU_SETCW): Likewise.
42792 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42794 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42795 is 32-byte aligned.
42797 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42800 * iconvdata/gb18030.c: Update tables.
42801 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42802 characters specially.
42803 (BODY for TO_LOOP): Add encoding of missing ranges.
42805 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42808 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42809 * sysdeps/mach/hurd/dup3.c: Likewise.
42810 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42811 * sysdeps/powerpc/memmove.c:: Likewise.
42813 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42816 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42818 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42820 * elf/elf.h (R_X86_64_RELATIVE64): New.
42821 (R_X86_64_NUM): Updated.
42822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42823 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42824 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42825 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42826 tst-quad1pie tst-quad2pie
42827 (modules-names): Add tst-quadmod1 tst-quadmod2.
42828 ($(objpfx)tst-quad1): New dependency.
42829 ($(objpfx)tst-quad2): Likewise.
42830 ($(objpfx)tst-quad1pie): Likewise.
42831 ($(objpfx)tst-quad2pie): Likewise.
42832 * sysdeps/x86_64/tst-quad1.c: New file.
42833 * sysdeps/x86_64/tst-quad1pie.c: New file.
42834 * sysdeps/x86_64/tst-quad2.c: Likewise.
42835 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42836 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42837 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42838 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42839 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42841 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42843 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42844 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42845 * streams/stropts.h (t_scalar_t): Define type.
42847 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42848 (_PATH_PRESERVE): Set to "/var/lib".
42849 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42851 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42854 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42855 if __dir_mkfile succeeded.
42857 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42858 checking for _hurd_dtablesize. Unlock it right after having
42859 finished _hurd_dtable allocation.
42861 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42863 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42864 * sysdeps/mach/hurd/configure: Regenerated.
42865 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42866 special-casing to...
42867 * sysdeps/gnu/configure.in: ... this new file.
42868 * sysdeps/unix/sysv/linux/configure: Regenerated.
42869 * sysdeps/gnu/configure: New generated file.
42871 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42872 for Linux: use nsec instead of usec, as well as:
42873 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42874 members of type struct timespec.
42875 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42877 (struct stat64): Likewise.
42878 (_STATBUF_ST_NSEC): New macro.
42879 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42881 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42882 __strtoul_internal rather than strtoul.
42884 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42886 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42889 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42891 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42892 which preserves existing values.
42893 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42895 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42897 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42898 TIMEOUT values. Return EINVAL for NFDS values either negative or
42899 greater than FD_SETSIZE.
42901 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42903 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42904 allocated, call __vm_protect to finish enabling the existing space, and
42905 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42906 allocate the remainder.
42908 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42910 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42911 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42913 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42915 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42916 sysdeps/mach/hurd/readlink.c.
42918 * posix/tst-sysconf.c (posix_options): Only use
42919 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42920 _POSIX_SYNCHRONIZED_IO when they are defined
42921 * sysdeps/mach/hurd/bits/posix_opt.h:
42922 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42923 (_XOPEN_REALTIME): Undefine macro.
42924 (_XOPEN_REALTIME_THREADS): Undefine macro.
42925 (_XOPEN_SHM): Undefine macro.
42926 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42928 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42930 (_POSIX_ASYNC_IO): Undefine macro.
42931 (_POSIX_PRIORITIZED_IO): Undefine macro.
42932 (_POSIX_SPIN_LOCKS): Define macro to -1.
42934 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42935 SA_NODEFER, SA_RESETHAND.
42936 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42937 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42940 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42942 * elf/Makefile (pldd-modules): Define unconditionally.
42944 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42946 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42948 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42950 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42951 Return ENOENT when name is empty.
42952 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42954 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42956 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42958 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42960 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42962 Fix mlock in all cases except non-readable pages.
42963 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42964 instead of VM_PROT_ALL as parameter to __vm_wire function.
42966 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42967 (__mkdir): When path is `/', just fail with EEXIST.
42968 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42970 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42972 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42973 <sys/uio.h> (for writev).
42974 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42975 and <sys/param.h> (for MIN).
42977 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42979 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42980 REQUESTED_TIME. Properly set the remaining time and return EINTR
42983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42985 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42986 Depend on against $(link-rpcuserlibs).
42988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42990 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42991 (__libc_stack_end): Do not use attribute_relro.
42992 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42993 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42994 to libthread-provided value.
42995 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42998 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43001 * bits/libc-lock.h (__libc_once_get): New macro.
43002 * sysdeps/mach/bits/libc-lock.h: Likewise.
43003 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43005 instead of using implementation details.
43007 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43008 * libio/freopen.c: Likewise.
43009 * libio/freopen64.c: Likewise.
43010 * misc/syslog.c: Likewise.
43011 * nscd/connections.c: Likewise.
43012 * nscd/netgroupcache.c: Likewise.
43013 * sysdeps/posix/getcwd.c: Likewise.
43015 2012-05-10 Roland McGrath <roland@hack.frob.com>
43017 * math/w_ilogbf.c: Add #include <limits.h>.
43019 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43021 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43022 path instead of returning without unlocking.
43024 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43025 immediate-write ioctls.
43026 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43028 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43030 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43031 __builtin_frame_address instead of making assumptions about the
43032 location of the return address relative to DATA. Force early load of
43033 the return address.
43034 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43035 __builtin_frame_address.
43038 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43039 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43040 implement dup3 and do some further code clean-ups.
43041 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43042 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43044 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43046 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43048 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43049 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43050 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43051 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43052 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43055 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43056 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43057 when handler == SIG_ERR, not when handler != SIG_ERR.
43059 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43061 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43062 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43065 accept4 for GNU Hurd.
43066 * include/sys/socket.h (__libc_accept4): New prototype.
43067 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43068 to implement __libc_accept4.
43069 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43071 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43073 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43074 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43075 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43076 signal-defines.sym.
43078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43080 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43082 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43084 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43085 assertion on O_CLOEXEC flag.
43086 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43087 * hurd/intern-fd.c: Likewise.
43088 * hurd/port2fd.c: Likewise.
43090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43093 * bits/in.h (IPV6_PKTINFO): Define new macro.
43094 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43096 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43101 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43103 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43104 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43105 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43106 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43107 * math/libm-test.inc (logb_test) : Additional logb tests.
43109 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43110 Andreas Jaeger <aj@suse.de>
43112 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43113 * configure: Regenerated.
43114 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43115 * config.make.in (link-obsolete-rpc): New substituted variable.
43116 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43117 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43118 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43119 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43120 so that libc.a contains the symbols.
43121 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43122 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43123 * sunrpc/auth_none.c: Likewise.
43124 * sunrpc/auth_unix.c: Likewise.
43125 * sunrpc/authdes_prot.c: Likewise.
43126 * sunrpc/authuxprot.c: Likewise.
43127 * sunrpc/clnt_gen.c: Likewise.
43128 * sunrpc/clnt_perr.c: Likewise.
43129 * sunrpc/clnt_raw.c: Likewise.
43130 * sunrpc/clnt_simp.c: Likewise.
43131 * sunrpc/clnt_tcp.c: Likewise.
43132 * sunrpc/clnt_udp.c: Likewise.
43133 * sunrpc/clnt_unix.c: Likewise.
43134 * sunrpc/des_crypt.c: Likewise.
43135 * sunrpc/des_soft.c: Likewise.
43136 * sunrpc/get_myaddr.c: Likewise.
43137 * sunrpc/key_call.c: Likewise.
43138 * sunrpc/key_prot.c: Likewise.
43139 * sunrpc/netname.c: Likewise.
43140 * sunrpc/pm_getmaps.c: Likewise.
43141 * sunrpc/pm_getport.c: Likewise.
43142 * sunrpc/pmap_clnt.c: Likewise.
43143 * sunrpc/pmap_prot.c: Likewise.
43144 * sunrpc/pmap_prot2.c: Likewise.
43145 * sunrpc/pmap_rmt.c: Likewise.
43146 * sunrpc/publickey.c: Likewise.
43147 * sunrpc/rpc_cmsg.c: Likewise.
43148 * sunrpc/rpc_common.c: Likewise.
43149 * sunrpc/rpc_dtable.c: Likewise.
43150 * sunrpc/rpc_prot.c: Likewise.
43151 * sunrpc/rpc_thread.c: Likewise.
43152 * sunrpc/rtime.c: Likewise.
43153 * sunrpc/svc.c: Likewise.
43154 * sunrpc/svc_auth.c: Likewise.
43155 * sunrpc/svc_raw.c: Likewise.
43156 * sunrpc/svc_run.c: Likewise.
43157 * sunrpc/svc_tcp.c: Likewise.
43158 * sunrpc/svc_udp.c: Likewise.
43159 * sunrpc/svc_unix.c: Likewise.
43160 * sunrpc/svcauth_des.c: Likewise.
43161 * sunrpc/xcrypt.c: Likewise.
43162 * sunrpc/xdr.c: Likewise.
43163 * sunrpc/xdr_array.c: Likewise.
43164 * sunrpc/xdr_float.c: Likewise.
43165 * sunrpc/xdr_intXX_t.c: Likewise.
43166 * sunrpc/xdr_mem.c: Likewise.
43167 * sunrpc/xdr_rec.c: Likewise.
43168 * sunrpc/xdr_ref.c: Likewise.
43169 * sunrpc/xdr_sizeof.c: Likewise.
43170 * sunrpc/xdr_stdio.c: Likewise.
43172 2012-05-10 Roland McGrath <roland@hack.frob.com>
43174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43175 change. Update copyright years.
43177 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43179 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43181 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43182 Joseph Myers <joseph@codesourcery.com>
43183 Paul Pluzhnikov <ppluzhnikov@google.com>
43186 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43188 [cross-compiling] (extra-libs): Likewise.
43189 [cross-compiling] (extra-libs-others): Likewise.
43190 [cross-compiling] (librpcsvc-routines): Likewise.
43191 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43192 [cross-compiling] (omit-deps): Likewise.
43193 (sunrpc-CPPFLAGS): New variable.
43194 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43195 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43196 (cross-rpcgen-objs): New variable.
43197 (extra-objs): Append $(cross-rpcgen-objs).
43198 ($(cross-rpcgen-objs)): New rule.
43199 ($(objpfx)cross-rpcgen): Likewise.
43200 (rpcgen-cmd): Define to use $(built-program-file). Expand
43202 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43203 ($(objpfx)x%.stmp): Likewise.
43204 * sunrpc/proto.h [IS_IN_build] (_): Define.
43205 [IS_IN_build] (_libc_intl_domainname): Likewise.
43207 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43210 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43211 and R_X86_64_TPOFF64.
43213 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43215 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43216 sysdeps/unix/sysv/syscalls.list.
43219 * sysdeps/unix/sysv/syscalls.list: Remove file.
43221 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43224 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43225 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43226 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43227 (__LC_IDENTIFICATION): Make these macros useful in #if
43228 expressions, as required by C99.
43230 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43232 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43233 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43236 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43238 * stdlib/longlong.h: Updated from GCC.
43240 2012-05-09 Andreas Jaeger <aj@suse.de>
43242 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43243 default is first entry.
43244 (run_mode): Set type.
43245 (main): Remove informal message about syslog.
43246 (options): Fix typo.
43249 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43252 (llrintf): Likewise.
43253 (llrint): Likewise.
43256 (nearbyint): Likewise.
43257 (nearbyintf): Likewise.
43259 2012-05-09 Andreas Jaeger <aj@suse.de>
43260 Pedro Alves <palves@redhat.com>
43262 * nscd/nscd.c (run_mode): Use enum.
43263 (main): Cleanup coding style issue.
43265 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
43266 Andreas Jaeger <aj@suse.de>
43268 * nscd/nscd.c (go_background): Replaced with...
43269 (run_mode): ... this.
43270 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43271 (options): Add -F --foreground.
43272 (main): Implement it.
43273 (parse_opt): Parse it.
43275 2012-05-09 Andreas Jaeger <aj@suse.de>
43278 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43279 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43280 -Wconversion warning.
43281 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43284 2012-05-09 Joseph Myers <joseph@codesourcery.com>
43286 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43288 (LC_ALL): Use macro-int-constant.
43289 (LC_COLLATE): Likewise.
43290 (LC_CTYPE): Likewise.
43291 (LC_MESSAGES): Likewise.
43292 (LC_MONETARY): Likewise.
43293 (LC_NUMERIC): Likewise.
43294 (LC_TIME): Likewise.
43295 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43296 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43298 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43300 [C99-based standards] (float_t): Expect type.
43301 [C99-based standards] (double_t): Expect type.
43302 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43304 [C99-based standards] (HUGE_VALL): Likewise.
43305 [C99-based standards] (INFINITY): Likewise.
43306 [C99-based standards] (NAN): Likewise.
43307 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43308 [C99-based standards] (FP_NAN): Likewise.
43309 [C99-based standards] (FP_NORMAL): Likewise.
43310 [C99-based standards] (FP_SUBNORMAL): Likewise.
43311 [C99-based standards] (FP_ZERO): Likewise.
43312 [C99-based standards] (FP_FAST_FMA): Use
43313 optional-macro-int-constant. Specify type. Require == 1.
43314 [C99-based standards] (FP_FAST_FMAF): Likewise.
43315 [C99-based standards] (FP_FAST_FMAL): Likewise.
43316 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43317 [C99-based standards] (FP_ILOGBNAN): Likewise.
43318 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43320 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43321 [C99-based standards] (math_errhandling): Specify type.
43322 [ISO99 || ISO11] (signgam): Do not allow.
43323 [non-C99-based standards] (copysignf): Do not allow.
43324 [non-C99-based standards] (exp2f): Likewise.
43325 [non-C99-based standards] (log2f): Likewise.
43326 [non-C99-based standards] (modff): Allow.
43327 [non-C99-based standards] (erff): Do not allow.
43328 [non-C99-based standards] (erfcf): Likewise.
43329 [non-C99-based standards] (gammaf): Likewise.
43330 [non-C99-based standards] (hypotf): Likewise.
43331 [non-C99-based standards] (j0f): Likewise.
43332 [non-C99-based standards] (j1f): Likewise.
43333 [non-C99-based standards] (jnf): Likewise.
43334 [non-C99-based standards] (lgammaf): Likewise.
43335 [non-C99-based standards] (tgammaf): Likewise.
43336 [non-C99-based standards] (y0f): Likewise.
43337 [non-C99-based standards] (y1f): Likewise.
43338 [non-C99-based standards] (ynf): Likewise.
43339 [non-C99-based standards] (isnanf): Likewise.
43340 [non-C99-based standards] (acoshf): Likewise.
43341 [non-C99-based standards] (asinhf): Likewise.
43342 [non-C99-based standards] (atanhf): Likewise.
43343 [non-C99-based standards] (cbrtf): Likewise.
43344 [non-C99-based standards] (expm1f): Likewise.
43345 [non-C99-based standards] (ilogbf): Likewise.
43346 [non-C99-based standards] (log1pf): Likewise.
43347 [non-C99-based standards] (logbf): Likewise.
43348 [non-C99-based standards] (nextafterf): Likewise.
43349 [non-C99-based standards] (remainderf): Likewise.
43350 [non-C99-based standards] (rintf): Likewise.
43351 [non-C99-based standards] (scalbf): Likewise.
43352 [non-C99-based standards] (copysignl): Likewise.
43353 [non-C99-based standards] (exp2l): Likewise.
43354 [non-C99-based standards] (log2l): Likewise.
43355 [non-C99-based standards] (modfl): Allow.
43356 [non-C99-based standards] (erfl): Do not allow.
43357 [non-C99-based standards] (erfcl): Likewise.
43358 [non-C99-based standards] (gammal): Likewise.
43359 [non-C99-based standards] (hypotl): Likewise.
43360 [non-C99-based standards] (j0l): Likewise.
43361 [non-C99-based standards] (j1l): Likewise.
43362 [non-C99-based standards] (jnl): Likewise.
43363 [non-C99-based standards] (lgammal): Likewise.
43364 [non-C99-based standards] (tgammal): Likewise.
43365 [non-C99-based standards] (y0l): Likewise.
43366 [non-C99-based standards] (y1l): Likewise.
43367 [non-C99-based standards] (ynl): Likewise.
43368 [non-C99-based standards] (isnanl): Likewise.
43369 [non-C99-based standards] (acoshl): Likewise.
43370 [non-C99-based standards] (asinhl): Likewise.
43371 [non-C99-based standards] (atanhl): Likewise.
43372 [non-C99-based standards] (cbrtl): Likewise.
43373 [non-C99-based standards] (expm1l): Likewise.
43374 [non-C99-based standards] (ilogbl): Likewise.
43375 [non-C99-based standards] (log1pl): Likewise.
43376 [non-C99-based standards] (logbl): Likewise.
43377 [non-C99-based standards] (nextafterl): Likewise.
43378 [non-C99-based standards] (remainderl): Likewise.
43379 [non-C99-based standards] (rintl): Likewise.
43380 [non-C99-based standards] (scalbl): Likewise.
43381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43382 [non-C99-based standards] (FP_*): Do not allow.
43383 [C99-based standards] (FP_*): Change to
43384 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43385 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43387 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43388 (SIG_ERR): Likewise.
43389 [X/Open-based standards] (SIG_HOLD): Likewise.
43390 (SIG_IGN): Likewise.
43391 (SIGABRT): Use macro-int-constant. Specify type. Require
43393 (SIGFPE): Likewise.
43394 (SIGILL): Likewise.
43395 (SIGINT): Likewise.
43396 (SIGSEGV): Likewise.
43397 (SIGTER): Likewise.
43398 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43399 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43400 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43401 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43402 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43403 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43404 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43405 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43406 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43407 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43408 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43409 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43410 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43411 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43412 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43413 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43414 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43415 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43416 [X/Open-based standards] (SIGTRAP): Likewise.
43417 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43418 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43419 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43420 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43421 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43424 2012-05-08 Ian Wienand <ianw@vmware.com>
43427 * time/tzset.c (__tzset_parse_tz): Update default rules for
43428 daylight time changes in the Energy Policy Act of 2005.
43430 2012-05-09 Andreas Jaeger <aj@suse.de>
43433 * elf/ldconfig.c (parse_conf): Change string to make clear that
43434 ldconfig only issued a warning if ld.so.conf does not exist.
43436 2012-05-08 David S. Miller <davem@davemloft.net>
43438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43439 movxtod instead of popping the value on the stack.
43441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43443 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43445 * config.h.in: Add HAVE_ARM_PCS_VFP.
43447 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
43450 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43451 checking but the checks are disabled for any reason.
43453 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43455 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43456 and ELF64_R_TYPE with ELFW(R_TYPE).
43458 2012-05-08 Joseph Myers <joseph@codesourcery.com>
43460 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43461 (ulimit): Likewise.
43463 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43464 (settimeofday): Likewise.
43466 2012-05-08 Mike Frysinger <vapier@gentoo.org>
43468 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43469 a struct th_u2 inside the union, and move tu_block/tu_code into
43470 a new th_u3 union of tu_block/tu_code inside of that. Move
43471 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43472 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43473 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43474 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43475 (th_stuff): Change to th_u1.tu_stuff.
43477 (th_msg): Change to th_u1.th_u2.tu_data.
43479 2012-05-07 David S. Miller <davem@davemloft.net>
43481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43484 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43485 (SETUP_PIC_REG): Use it.
43486 (SETUP_PIC_REG_LEAF): Use it.
43488 2012-05-07 Joseph Myers <joseph@codesourcery.com>
43492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43494 (EXPL_FINITE): Likewise.
43495 (FLDLOG): Likewise.
43496 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43497 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43499 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43501 (EXPL_FINITE): Likewise.
43502 (FLDLOG): Likewise.
43503 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43504 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43506 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43507 test of -max_value argument for long double.
43508 * sysdeps/i386/fpu/libm-test-ulps: Update.
43509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43511 2012-05-06 David S. Miller <davem@davemloft.net>
43513 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43514 quad soft-float symbols whose references which are compiler
43516 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43518 2012-05-06 Joseph Myers <joseph@codesourcery.com>
43522 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43524 (EXPL_FINITE): Likewise.
43525 (FLDLOG): Likewise.
43528 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43529 Adjust comments for base varying.
43530 (__expl_finite): Change alias to EXPL_FINITE.
43531 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43533 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43534 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43535 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43536 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43537 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43539 (EXPL_FINITE): Likewise.
43540 (FLDLOG): Likewise.
43543 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43544 Adjust comments for base varying.
43545 (__expl_finite): Change alias to EXPL_FINITE.
43546 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43551 * math/libm-test.inc (check_float_internal): Correct ulp
43552 calculation for subnormal expected results.
43554 2012-05-06 Andreas Jaeger <aj@suse.de>
43556 * Makeconfig (+math-flags): New, set to -frounding-math.
43557 (+cflags): Add +math-flags so that all of glibc gets compiled with
43560 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43562 2012-05-05 Joseph Myers <joseph@codesourcery.com>
43564 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43570 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43571 (__ieee754_expl): Allow for and saturate large arguments.
43572 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43573 (u_threshold): Likewise.
43574 (__exp): Call __ieee754_exp before checking for overflow and
43576 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43577 (u_threshold): Likewise.
43578 (__expf): Call __ieee754_expf before checking for overflow and
43580 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43581 (u_threshold): Likewise.
43582 (__expl): Call __ieee754_expl before checking for overflow and
43584 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43585 (__ieee754_expl): Allow for and saturate large arguments.
43586 * math/libm-test.inc (exp_test): Add another test. Do not allow
43587 missing overflow exception on overflow.
43588 (expm1_test): Do not allow missing overflow exception on overflow.
43590 * sysdeps/i386/fpu/e_expl.c: Move to ...
43591 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43592 rather than using inline asm.
43593 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43594 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43595 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43597 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43600 (signal): Likewise.
43604 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43606 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43607 sysdeps/unix/common/syscalls.list.
43608 (fchmod): Likewise.
43609 (fchown): Likewise.
43610 (ftruncate): Likewise.
43611 (getrusage): Likewise.
43612 (gettimeofday): Likewise.
43613 (setpgid): Likewise.
43614 (setregid): Likewise.
43615 (setreuid): Likewise.
43616 (sigaction): Likewise.
43617 (truncate): Likewise.
43618 (vhangup): Likewise.
43619 * sysdeps/unix/common/syscalls.list: Remove file.
43620 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43621 * sysdeps/unix/sysv/linux/Implies: Likewise.
43623 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43625 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43627 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43631 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43634 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43637 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43640 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43643 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43646 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43649 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43653 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43657 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43660 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43664 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43668 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43670 * sysdeps/unix/common/bits/dirent.h: Remove file.
43671 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43673 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43674 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43675 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43676 * sysdeps/unix/bsd/isatty.c: Likewise.
43677 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43678 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43679 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43681 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43685 long double comparison inaccuracies.
43686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43689 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43691 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43692 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43694 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43698 nonzero digits before rounding a hex value.
43699 * stdlib/tst-strtod.c (tests): Add another test.
43701 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43703 * sysdeps/s390/fpu/libm-test-ulps: Update.
43705 2012-05-03 Andreas Jaeger <aj@suse.de>
43707 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43708 does not get optimized out.
43709 (malloc_opt_barrier): New.
43711 2012-05-03 Andreas Jaeger <aj@suse.de>
43712 Roland McGrath <roland@hack.frob.com>
43714 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43715 intermediate file deletion.
43716 (generated): Add .symlist files.
43718 2012-05-03 Joseph Myers <joseph@codesourcery.com>
43721 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43722 Redirect under this condition.
43723 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43724 [__USE_GNU] (__dprintf_chk): Not under this condition.
43725 [__USE_GNU] (__vdprintf_chk): Likewise.
43726 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43727 under this condition.
43728 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43729 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43730 [__USE_XOPEN2K8] (vdprintf): Likewise.
43731 [__USE_GNU] (__dprintf_chk): Not under this condition.
43732 [__USE_GNU] (__vdprintf_chk): Likewise.
43733 [__USE_GNU] (dprintf): Likewise.
43734 [__USE_GNU] (vdprintf): Likewise.
43736 2012-05-03 Roland McGrath <roland@hack.frob.com>
43738 * elf/Makefile (common-generated): Set this instead of generated for
43739 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43740 $(all-built-dso)-derived lists.
43742 2012-05-03 Andreas Jaeger <aj@suse.de>
43744 * sysdeps/i386/fpu/libm-test-ulps: Update.
43747 * FAQ.in: Likewise.
43748 * scripts/gen-FAQ.pl: Likewise.
43749 * manual/install.texi (Installation): Point to online location of
43751 * Makefile (files-for-dist): Remove FAQ.
43754 2012-05-02 Allan McRae <allan@archlinux.org>
43756 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43757 (LDFLAGS-reldepmod5.so): Likewise.
43758 (LDFLAGS-reldep6mod1.so): Likewise.
43759 (LDFLAGS-reldep6mod4.so): Likewise.
43760 (LDFLAGS-reldep8mod3.so): Likewise.
43761 (LDFLAGS-unload4mod1.so): Likewise.
43762 (LDFLAGS-unload4mod2.so): Likewise.
43763 (LDFLAGS-tst-initorder): Likewise.
43764 (LDFLAGS-tst-initordera2.so): Likewise.
43765 (LDFLAGS-tst-initordera3.so): Likewise.
43766 (LDFLAGS-tst-initordera4.so): Likewise.
43767 (LDFLAGS-tst-initorderb2.so): Likewise.
43768 (LDFLAGS-noload): Likewise.
43769 (LDFLAGS-next): Likewise.
43770 (LDFLAGS-order2mod1.so): Likewise.
43771 (LDFLAGS-order2mod2.so): Likewise.
43772 (LDFLAGS-tst-initorder2): Likewise.
43773 (LDFLAGS-tst-initorder2a.so): Likewise.
43774 (LDFLAGS-tst-initorder2b.so): Likewise.
43775 (LDFLAGS-tst-initorder2c.so): Likewise.
43776 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43778 2012-05-02 David S. Miller <davem@davemloft.net>
43780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43782 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43785 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43787 2012-05-02 Andreas Jaeger <aj@suse.de>
43789 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43790 since we manipulate rounding mode.
43791 (CPPFLAGS-test-idouble.c): Likewise.
43792 (CPPFLAGS-test-ifloat.c): Likewise.
43793 (CFLAGS-test-ldouble.c): Likewise.
43794 (CFLAGS-test-double.c): Likewise.
43795 (CFLAGS-test-float.c): Likewise.
43796 (CFLAGS-test-misc.c): Likewise.
43797 (CFLAGS-test-test-fenv.c): Likewise.
43799 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43804 comparisons to determine direction to adjust input.
43806 2012-05-01 Roland McGrath <roland@hack.frob.com>
43808 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43809 output to the target.
43811 * scripts/localplt.awk: New file.
43812 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43813 (check-localplt-CFLAGS): Variable removed.
43814 ($(all-built-dso:=.jmprel)): New static pattern rule.
43815 (generated): Add those targets.
43816 (localplt-built-dso): New variable.
43817 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43819 * elf/check-localplt.c: File removed.
43821 * scripts/check-execstack.awk: New file.
43822 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43823 (check-execstack-CFLAGS): Variable removed.
43824 ($(objpfx)check-execstack.h): Target removed.
43825 ($(objpfx)execstack-default): New target.
43826 (generated): Add that instead of check-execstack.h.
43827 ($(all-built-dso:=.phdr)): New static pattern rule.
43828 (generated): Add those targets.
43829 * elf/check-execstack.c: File removed.
43831 * scripts/check-textrel.awk: New file.
43832 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43833 (check-textrel-CFLAGS): Variable removed.
43834 (all-built-dso): Use := to define.o
43835 ($(all-built-dso:=.dyn)): New static pattern rule.
43836 (generated): Add those targets.
43837 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43838 * config.make.in (READELF): New substituted variable.
43839 * elf/check-textrel.c: File removed.
43841 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43843 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43845 * conform/data/ctype.h-data [C99-based standards] (isblank):
43847 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43848 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43850 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43851 Specify type. Require positive value.
43852 (EILSEQ): Likewise.
43853 (ERANGE): Likewise.
43854 [ISO || POSIX] (EILSEQ): Do not expect.
43855 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43856 Specify type. Require positive value.
43857 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43858 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43859 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43860 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43861 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43862 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43863 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43864 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43865 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43866 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43867 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43868 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43869 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43870 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43871 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43872 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43873 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43874 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43875 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43876 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43877 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43878 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43879 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43880 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43881 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43882 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43883 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43884 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43885 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43886 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43887 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43888 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43889 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43890 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43891 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43892 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43893 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43894 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43895 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43896 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43897 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43898 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43899 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43900 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43901 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43902 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43903 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43904 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43905 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43906 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43907 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43908 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43909 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43910 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43911 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43912 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43913 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43914 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43915 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43916 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43917 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43918 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43919 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43920 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43921 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43922 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43923 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43924 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43925 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43926 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43927 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43928 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43929 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43930 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43931 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43932 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43933 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43935 (FLT_ROUNDS): Expect as macro, not constant.
43936 (FLT_MANT_DIG): Use macro-int-constant.
43937 (DBL_MANT_DIG): Likewise.
43938 (LDBL_MANT_DIG): Likewise.
43939 (FLT_DIG): Likewise.
43940 (DBL_DIG): Likewise.
43941 (LDBL_DIG): Likewise.
43942 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43943 (DBL_MIN_EXP): Likewise.
43944 (LDBL_MIN_EXP): Likewise.
43945 (FLT_MAX_EXP): Use macro-int-constant.
43946 (DBL_MAX_EXP): Likewise.
43947 (LDBL_MAX_EXP): Likewise.
43948 (FLT_MAX_10_EXP): Likewise.
43949 (DBL_MAX_10_EXP): Likewise.
43950 (LDBL_MAX_10_EXP): Likewise.
43951 (FLT_MAX): Use macro-constant.
43952 (DBL_MAX): Likewise.
43953 (LDBL_MAX): Likewise.
43954 (FLT_EPSILON): Use macro-constant. Give upper bound.
43955 (DBL_EPSILON): Likewise.
43956 (LDBL_EPSILON): Likewise.
43957 (FLT_MIN): Likewise.
43958 (DBL_MIN): Likewise.
43959 (LDBL_MIN): Likewise.
43960 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43961 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43962 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43963 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43964 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43965 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43966 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43967 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43968 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43969 [ISO11] (FLT_TRUE_MIN): Likewise.
43970 [ISO11] (LDBL_TRUE_MIN): Likewise.
43971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43972 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43973 (SCHAR_MIN): Use macro-int-constant. Specify type.
43974 (SCHAR_MAX): Likewise.
43975 (UCHAR_MAX): Likewise.
43976 (CHAR_MIN): Likewise.
43977 (CHAR_MAX): Likewise.
43978 (MB_LEN_MAX): Use macro-int-constant.
43979 (SHRT_MIN): Use macro-int-constant. Specify type.
43980 (SHRT_MAX): Likewise.
43981 (USHRT_MAX): Likewise.
43982 (INT_MAX): Likewise.
43983 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43985 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43987 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43989 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43990 bound negative. Suffix upper bound with "L".
43991 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43993 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43995 [C99-based standards] (LLONG_MAX): Likewise.
43996 [C99-based standards] (ULLONG_MAX): Likewise.
43997 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43999 [ISO11] (max_align_t): Require type.
44000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44002 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44003 from $CFLAGS, without defining away __attribute__ calls.
44004 (checknamespace): Use $CFLAGS_namespace.
44006 * conform/conformtest.pl (@keywords): Only include C99 keywords
44007 for standards based on C99 or C11.
44009 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44011 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44014 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44015 usability of symbols in #if.
44017 * conform/conformtest.pl: If macro or constant types start
44018 "promoted:", expect the symbol to be of the following type
44019 promoted by the integer promotions.
44021 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44022 in one place. Also handle "macro-constant".
44024 * conform/conformtest.pl: Only accept expected macro values with
44025 "==". Parse all "macro" lines in one place.
44026 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44028 * conform/conformtest.pl: Handle braced types on "constant" lines
44029 instead of handling "typed-constant".
44030 * conform/data/signal.h-data: Use "constant" instead of
44033 * conform/conformtest.pl: Handle "optional-" at start of lines in
44034 one place rather than duplicating several cases. Handle each
44035 format of "macro" line with initial "optional-".
44037 * conform/conformtest.pl: Only accept expected constant or
44038 optional-constant values with "==". Parse all "constant" lines in
44039 one place. Parse all "optional-constant" lines in one place.
44040 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44041 * conform/data/fmtmsg.h-data: Likewise.
44042 * conform/data/netinet/in.h-data: Likewise.
44043 * conform/data/tar.h-data: Likewise.
44044 * conform/data/limits.h-data: Use "==" form on "constant" and
44045 "optional-constant" lines.
44047 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44048 Use -std=c99 for XOPEN2K.
44049 (@knownproblems): Remove.
44050 (newtoken): Don't check %isknown.
44052 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44053 Do not expect macro.
44054 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44055 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44056 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44057 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44058 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44059 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44060 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44061 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44062 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44063 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44064 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44065 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44066 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44067 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44068 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44069 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44070 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44071 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44072 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44073 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44074 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44075 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44078 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44079 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44080 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44081 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44082 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44083 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44084 [XPG3] (acosh): Likewise.
44085 [XPG3] (asinh): Likewise.
44086 [XPG3] (atanh): Likewise.
44087 [XPG3] (cbrt): Likewise.
44088 [XPG3] (expm1): Likewise.
44089 [XPG3] (ilogb): Likewise.
44090 [XPG3] (log1p): Likewise.
44091 [XPG3] (logb): Likewise.
44092 [XPG3] (nextafter): Likewise.
44093 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44094 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44095 [XPG3] (remainder): Likewise.
44096 [XPG3] (rint): Likewise.
44097 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44098 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44099 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44100 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44101 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44102 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44103 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44104 [UNIX98 || XOPEN2K] (scalb): Expect.
44105 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44106 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44107 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44108 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44109 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44110 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44111 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44112 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44113 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44114 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44115 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44116 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44117 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44118 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44119 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44120 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44121 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44122 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44123 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44124 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44125 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44126 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44127 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44128 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44129 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44130 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44131 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44132 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44133 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44134 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44135 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44136 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44137 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44138 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44143 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44144 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44145 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44149 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44150 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44155 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44156 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44157 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44158 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44159 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44160 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44161 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44162 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44163 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44164 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44165 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44166 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44167 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44168 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44169 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44170 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44171 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44172 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44173 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44174 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44175 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44176 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44177 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44178 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44179 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44180 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44181 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44182 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44183 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44184 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44185 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44186 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44187 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44188 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44189 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44190 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44191 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44192 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44193 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44194 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44195 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44196 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44197 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44198 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44199 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44200 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44201 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44202 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44203 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44204 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44205 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44208 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44209 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44214 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44215 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44217 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44218 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44219 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44222 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44223 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44224 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44225 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44226 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44227 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44228 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44229 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44230 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44231 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44232 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44233 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44234 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44235 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44236 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44237 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44238 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44239 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44240 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44241 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44243 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44244 _XOPEN_SOURCE_EXTENDED for XPG4.
44246 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44248 * Makeconfig (localtime): Remove variable.
44249 (inst_localtime-file): Likewise.
44251 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44272 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44276 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44277 comparisons to determine direction to adjust input.
44278 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44279 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44280 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44282 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44284 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44286 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44287 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44289 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44291 * math/libm-test.inc (nexttoward_test): Add more tests.
44293 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44297 in version GLIBC_2.1, not GLIBC_2.0.
44298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44301 2012-04-30 Joseph Myers <joseph@codesourcery.com>
44304 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44306 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44307 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44308 * math/libm-test.inc (acos_test): Add more tests.
44309 (asin_test): Likewise.
44310 * sysdeps/i386/fpu/libm-test-ulps: Update.
44311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44314 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44316 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44317 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44318 * math/libm-test.inc (acos_test_tonearest): New function.
44319 (acos_test_towardzero): Likewise.
44320 (acos_test_downward): Likewise.
44321 (acos_test_upward): Likewise.
44322 (asin_test_tonearest): Likewise.
44323 (asin_test_towardzero): Likewise.
44324 (asin_test_downward): Likewise.
44325 (asin_test_upward): Likewise.
44326 (main): Call the new functions.
44327 * sysdeps/i386/fpu/libm-test-ulps: Update.
44328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44332 * math/e_exp10.c: Include <float.h>.
44333 (__ieee754_exp10): Handle underflow here rather than multiplying
44334 large negative argument by M_LN10.
44335 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44337 * math/e_exp10l.c: Include <float.h>.
44338 (__ieee754_exp10l): Handle underflow here rather than multiplying
44339 large negative argument by M_LN10l.
44340 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44341 spurious overflow exception on underflow.
44343 2012-04-29 Marek Polacek <polacek@redhat.com>
44345 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44346 (__fortify_function): New macro.
44347 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44348 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44349 __extern_always_inline.
44350 * libio/bits/stdio2.h: Likewise.
44351 * libio/bits/stdio.h: Likewise.
44352 * string/string.h: Likewise.
44353 * string/bits/string3.h: Likewise.
44354 * include/stdio.h: Likewise.
44355 * stdlib/bits/stdlib.h: Likewise.
44356 * stdlib/stdlib.h: Likewise.
44357 * rt/bits/mqueue2.h: Likewise.
44358 * rt/mqueue.h: Likewise.
44359 * posix/bits/unistd.h: Likewise.
44360 * posix/unistd.h: Likewise.
44361 * io/bits/poll2.h: Likewise.
44362 * io/bits/fcntl2.h: Likewise.
44363 * io/fcntl.h: Likewise.
44364 * io/sys/poll.h: Likewise.
44365 * misc/bits/syslog.h: Likewise.
44366 * misc/bits/syslog-ldbl.h: Likewise.
44367 * misc/sys/syslog.h: Likewise.
44368 * socket/bits/socket2.h: Likewise.
44369 * socket/sys/socket.h: Likewise.
44370 * debug/tst-chk1.c: Likewise.
44371 * wcsmbs/bits/wchar2.h: Likewise.
44372 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44373 * wcsmbs/wchar.h: Likewise.
44375 2012-04-29 Andreas Jaeger <aj@suse.de>
44377 * Makerules (tests): Remove enable-check-abi protection.
44378 (check-abi-warn): Remove.
44379 (check-abi-%): Remove check-abi-warn usage.
44381 * configure.in: Remove check-abi configure option.
44382 * configure: Regenerated.
44383 * config.make.in (enable-check-abi): Remove.
44385 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44388 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44389 double functions to double *_finite functions.
44392 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44393 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44395 * stdio-common/Makefile (tests): Add tst-sprintf3.
44396 * stdio-common/tst-sprintf3.c: New file.
44398 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44399 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44401 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44403 * conform/conformtest.pl: Remove duplicate typed-constant
44406 2012-04-28 David S. Miller <davem@davemloft.net>
44408 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44409 (check-abi-%): Remove AWK script prerequisite and explicit
44411 (check-abi): Rewrite to just diff the symlist with the abilist.
44412 (config-tls, config-abi-config): Delete, no longer used.
44413 (update-abi-%): Remove AWK script and explicit abilist directory.
44414 (update-abi): Rewrite to simply compare and conditionally copy the
44415 symlist and the sysdep abilist file. Remove update-abi-config
44417 * abilist/ld.abilist: Remove.
44418 * abilist/libBrokenLocale.abilist: Remove.
44419 * abilist/libanl.abilist: Remove.
44420 * abilist/libcrypt.abilist: Remove.
44421 * abilist/libdl.abilist: Remove.
44422 * abilist/librt.abilist: Remove.
44423 * abilist/libthread_db.abilist: Remove.
44424 * abilist/libutil.abilist: Remove.
44425 * scripts/extract-abilist.awk: Remove.
44426 * scripts/merge-abilist.awk: Remove.
44427 * sysdeps/generic/libcidn.abilist: New file.
44428 * sysdeps/generic/libnss_compat.abilist: New file.
44429 * sysdeps/generic/libnss_db.abilist: New file.
44430 * sysdeps/generic/libnss_dns.abilist: New file.
44431 * sysdeps/generic/libnss_files.abilist: New file.
44432 * sysdeps/generic/libnss_hesiod.abilist: New file.
44433 * sysdeps/generic/libnss_nis.abilist: New file.
44434 * sysdeps/generic/libnss_nisplus.abilist: New file.
44435 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44436 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44437 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44440 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44441 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44442 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44443 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44444 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44445 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44446 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44447 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44449 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44450 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44451 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44452 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44454 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44455 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44456 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44457 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44458 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44459 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44461 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44462 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44463 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44465 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44568 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44569 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44570 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44573 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44574 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44575 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44576 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44577 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44578 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44579 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44580 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44581 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44633 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44635 * conform/conformtest.pl: Fix typo in handling typed-constant from
44638 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44640 * README: Cut down references to pre-2.6 Linux kernels and
44641 Linuxthreads. Update lists of configurations in libc and ports
44642 and sort alphabetically. Say "or newer" with Linux kernel version
44645 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44647 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44650 * math/libm-test.inc (logb_test_downward): New test to expose
44651 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44654 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44657 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44659 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44660 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44662 2012-04-26 Joseph Myers <joseph@codesourcery.com>
44664 * sysdeps/unix/i386/brk.S: Remove file.
44665 * sysdeps/unix/i386/dl-brk.S: Likewise.
44666 * sysdeps/unix/i386/pipe.S: Likewise.
44667 * sysdeps/unix/i386/sigreturn.S: Likewise.
44668 * sysdeps/unix/i386/syscall.S: Likewise.
44669 * sysdeps/unix/i386/vfork.S: Likewise.
44670 * sysdeps/unix/i386/wait.S: Likewise.
44672 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44673 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44675 * configure.in (arm*-none*): Do not allow without
44676 --enable-hacker-mode.
44677 (netbsd*): Remove case setting base_os.
44678 (386bsd*): Likewise.
44679 (freebsd*): Likewise.
44682 (sunos*): Likewise.
44683 (ultrix*): Likewise.
44684 (newsos*): Likewise.
44685 (dynix*): Likewise.
44691 (minix*): Likewise.
44692 (irix4*): Likewise.
44693 (irix6*): Likewise.
44694 (solaris[2-9]*): Likewise.
44696 * configure: Regenerated.
44698 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44701 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44702 overflow or cancellation in calculating denominator.
44703 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44705 down expression to avoid unexpected rounding in newer GCCs.
44706 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44708 2012-04-26 David S. Miller <davem@davemloft.net>
44710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44711 long-double compat symbols.
44712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44726 2012-04-25 David S. Miller <davem@davemloft.net>
44728 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44729 HWCAP_* values only after the memory barriers have been defined.
44730 (atomic_full_barrier): Define.
44731 (atomic_read_barrier): Define.
44732 (atomic_write_barrier): Define.
44734 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44736 * shlib-versions: Add libgcc_s version information.
44737 * sysdeps/generic/libgcc_s.h: Remove.
44738 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44740 * sysdeps/gnu/unwind-resume.c: Likewise.
44741 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44743 2012-04-25 David S. Miller <davem@davemloft.net>
44745 * sysdeps/unix/sparc/brk.S: Delete.
44746 * sysdeps/unix/sparc/dl-brk.S: Delete.
44747 * sysdeps/unix/sparc/pipe.S: Delete.
44748 * sysdeps/unix/sparc/sysdep.S: Delete.
44749 * sysdeps/unix/sparc/sysdep.h: Delete.
44750 * sysdeps/unix/sparc/vfork.S: Delete.
44751 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44752 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44754 (ret_ERRVAL, r0, r1, MOVE): Define.
44755 (JUMPTARGET): Remove.
44756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44757 sysdeps/unix/sparc/sysdep.h
44758 (ENTRY, END): Remove.
44759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44761 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44763 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44764 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44767 * timezone/README: Update upstream location and email address for
44769 * timezone/zdump.c: Update from tzcode 2012b.
44770 * timezone/zic.c: Likewise.
44772 * configure.in (libc_cv_as_needed): Remove test.
44773 * configure: Regenerated.
44774 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44775 conditional definition.
44776 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44777 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44778 * config.make.in (have-as-needed): Remove variable.
44780 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44781 Paul Pluzhnikov <ppluzhnikov@google.com>
44783 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44786 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44788 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44789 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44790 * sysdeps/sh/strlen.S: Likewise.
44792 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44794 * sysdeps/unix/fork.S: Remove file.
44795 * sysdeps/unix/i386/fork.S: Likewise.
44796 * sysdeps/unix/sparc/fork.S: Likewise.
44798 * sysdeps/unix/system.c: Remove file.
44799 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44801 * sysdeps/unix/getegid.S: Remove file.
44802 * sysdeps/unix/geteuid.S: Likewise.
44804 2012-04-24 Roland McGrath <roland@hack.frob.com>
44806 * scripts/check-localplt.awk: New file.
44807 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44809 * scripts/data/localplt-generic.data: Add a comment.
44811 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44812 NODE when __dir_mkfile failed.
44813 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44814 Reported by Ludovic Courtès <ludo@gnu.org>.
44816 2012-04-24 Andreas Jaeger <aj@suse.de>
44818 * Makerules (common-clean): Also remove gen-as-const-headers
44821 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44823 * Makerules (native-compile): Do not change working directory for
44824 build. Use $(OUTPUT_OPTION) in command.
44825 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44827 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44830 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44831 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44832 * math/libm-test.inc (floor_test): Add more tests.
44833 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44835 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44837 * sysdeps/unix/getdents.c: Remove file.
44838 * sysdeps/unix/sysv/getdents.c: Likewise.
44839 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44841 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44842 sysdeps/unix/mman/syscalls.list.
44844 (mprotect): Likewise.
44846 (munmap): Likewise.
44847 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44848 * sysdeps/unix/mman/syscalls.list: Remove.
44849 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44851 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44852 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44853 * configure: Regenerated.
44854 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44855 $(libgcc_s_suffix).
44856 * config.make.in (libgcc_s_suffix): Remove variable.
44858 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44860 * sysdeps/unix/sysv/gethostname.c: Move to ...
44861 * sysdeps/posix/gethostname.c: ... here.
44863 * sysdeps/unix/execve.S: Remove file.
44865 * sysdeps/unix/_exit.S: Remove file.
44867 2012-04-23 Andreas Jaeger <aj@suse.de>
44870 * manual/Makefile: Remove make dist support, there's no
44871 need for a stand-alone documentation tar ball.
44872 (TEXI2DVI): Define always, it's not in Makeconfig.
44875 (edition): Removed.
44876 (glibc-doc-$(edition).tar): Removed
44880 (ETAGS): Remove, it's in Makeconfig.
44881 (move-if-change): Remove, it's in Makeconfig.
44883 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44886 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44887 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44888 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44889 (strtod_l, strtof_l, strtold_l): Remove __wur.
44890 It is not necessarily an error to ignore strtol's return value.
44891 One can reliably look at the stored endptr to decide whether
44892 the number had valid syntax.
44894 2012-04-21 Andreas Jaeger <aj@suse.de>
44897 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44899 2012-04-21 Joseph Myers <joseph@codesourcery.com>
44901 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44902 * sysdeps/unix/sysv/Versions: Remove file.
44904 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44909 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
44912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44913 version from __vm86.
44915 2012-04-20 Joseph Myers <joseph@codesourcery.com>
44917 * sysdeps/unix/common/lxstat.c: Remove file.
44918 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44920 * sysdeps/unix/sysv/Makefile: Remove file.
44922 * sysdeps/unix/sysv/direct.h: Remove file.
44924 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44925 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44926 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44927 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44928 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44929 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44930 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44932 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44934 * sysdeps/unix/xmknod.c: Remove file.
44935 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44937 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44939 * sysdeps/unix/sysv/i386/time.S: Remove file.
44941 * sysdeps/unix/fxstat.c: Remove file.
44942 * sysdeps/unix/xstat.c: Likewise.
44943 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44945 * sysdeps/unix/sysv/sigaction.c: Remove file.
44947 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44948 (sysdep_headers): Remove variable.
44949 [termio.h not in sysdep_headers] (generated): Likewise.
44950 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44951 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44952 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44953 * sysdeps/unix/sysv/tcflow.c: Likewise.
44954 * sysdeps/unix/sysv/tcflush.c: Likewise.
44955 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44956 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44957 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44958 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44959 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44961 * sysdeps/unix/siglist.c: Remove file.
44963 * sysdeps/unix/getppid.S: Remove file.
44965 * sysdeps/unix/mkdir.c: Remove file.
44966 * sysdeps/unix/rmdir.c: Likewise.
44968 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44970 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44972 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44973 errlist-compat value.
44975 2012-04-18 David S. Miller <davem@davemloft.net>
44977 * sysdeps/generic/memcopy.h (reg_char): Delete.
44978 * debug/strcat_chk.c: Use char, not reg_char.
44979 * debug/strcpy_chk.c: Likewise.
44980 * debug/strncat_chk.c: Likewise.
44981 * debug/strncpy_chk.c: Likewise.
44982 * string/memchr.c: Likewise.
44983 * string/memrchr.c: Likewise.
44984 * string/rawmemchr.c: Likewise.
44985 * string/strcat.c: Likewise.
44986 * string/strchr.c: Likewise.
44987 * string/strchrnul.c: Likewise.
44988 * string/strcmp.c: Likewise.
44989 * string/strcpy.c: Likewise.
44990 * string/strncat.c: Likewise.
44991 * string/strncmp.c: Likewise.
44992 * string/strncpy.c: Likewise.
44994 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44996 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44997 __builtin_memcopy is called when src and dest ranges are known to not
45000 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45002 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45003 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45004 fwd_align_merge macro call.
45005 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45006 bwd_align_merge macro call.
45007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45009 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45011 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45012 bwd_align_merge macros.
45013 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45014 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45015 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45017 2012-04-18 David S. Miller <davem@davemloft.net>
45019 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45021 2012-04-18 Andreas Jaeger <aj@suse.de>
45024 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45025 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45026 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45028 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45029 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45030 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45032 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45033 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45034 Adjust for changed ldbl-128 files.
45036 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45037 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45038 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45040 2012-04-17 David S. Miller <davem@davemloft.net>
45042 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45044 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45046 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45047 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45048 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45049 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45050 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45051 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45053 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45056 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45057 * math/libm-test.inc: Add ilogb errno and exception tests.
45058 * math/w_ilogb.c: New file: ilogb wrapper.
45059 * math/w_ilogbf.c: New file: ilogbf wrapper.
45060 * math/w_ilogbl.c: New file: ilogbl wrapper.
45061 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45062 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45063 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45064 exception being thrown with 0.0 as argument.
45065 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45066 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45067 exception being thrown with 0.0 as argument.
45068 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45069 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45070 exception being thrown with 0.0 as argument.
45071 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45072 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45073 exception being thrown with 0.0 as argument.
45074 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45075 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45076 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45077 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45078 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45079 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45080 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45081 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45082 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45084 2012-04-17 Petr Baudis <pasky@ucw.cz>
45086 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45089 2012-04-16 Marek Polacek <polacek@redhat.com>
45091 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45093 2012-04-16 Marek Polacek <polacek@redhat.com>
45095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45096 operands of fdivp instruction.
45098 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45100 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45101 * elf/tst-auditmod3b.c: Likewise.
45102 * elf/tst-auditmod4b.c: Likewise.
45103 * elf/tst-auditmod5b.c: Likewise.
45104 * elf/tst-auditmod6b.c: Likewise.
45105 * elf/tst-auditmod6c.c: Likewise.
45106 * elf/tst-auditmod7b.c: Likewise.
45107 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45108 * sysdeps/x86_64/preconfigure.in: Likewise.
45109 * sysdeps/x86_64/preconfigure: Regenerated.
45111 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45113 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45116 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45118 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45119 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45121 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45124 * locale/iso-639.def: Fix gl language name. Spotted by
45127 2012-04-12 Roland McGrath <roland@hack.frob.com>
45130 * libio/libio.h (__io_write_fn): Update comment.
45132 2012-04-12 Petr Baudis <pasky@ucw.cz>
45135 * stdio.texi (Hook Functions): The user provided writer function
45136 is not allowed to return -1.
45138 2012-04-11 David S. Miller <davem@davemloft.net>
45140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45142 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45144 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45145 Add a leading slash to rtkaio.
45147 2012-04-11 Jim Meyering <meyering@redhat.com>
45150 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45151 It is not necessarily an error to ignore fwrite's return
45152 value. One can reliably use ferror to test for errors after
45155 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45157 * bits/types.h (__snseconds_t): New type.
45158 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45160 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45162 (__SNSECONDS_T_TYPE): Likewise.
45163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45164 (__SNSECONDS_T_TYPE): Likewise.
45165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45166 (__SNSECONDS_T_TYPE): Likewise.
45168 2012-04-10 Andreas Jaeger <aj@suse.de>
45171 * manual/time.texi (Processor Time): Return type of times is
45172 elapsed real time since an arbitrary point in the past.
45173 (CPU Time): Move CLK_TCK from here...
45174 (Processor Time): ...to here. Correct description.
45175 * manual/conf.texi (Constants for Sysconf): Correct description of
45178 2012-04-10 David S. Miller <davem@davemloft.net>
45181 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45182 where the is a gap between DT_REL(A) and DT_JMPREL.
45184 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45186 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45187 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45188 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45190 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45192 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45193 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45194 (dl_main): Handle --inhibit-cache.
45195 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45197 * elf/dl-load.c (_dl_map_object): Use it.
45198 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45200 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45203 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45204 (__ieee754_powl): Saturate large exponents rather than testing for
45205 overflow of y*log2(x).
45206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45207 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45211 * math/s_ctan.c: Include <float.h>.
45212 (__ctan): Avoid internal overflow or cancellation in calculating
45214 * math/s_ctanf.c: Likewise.
45215 * math/s_ctanl.c: Likewise.
45216 * math/s_ctanh.c: Likewise.
45217 * math/s_ctanhf.c: Likewise.
45218 * math/s_ctanhl.c: Likewise.
45219 * math/libm-test.inc (ctan_test): Add more tests.
45220 (ctanh_test): Likewise.
45221 * sysdeps/i386/fpu/libm-test-ulps: Update.
45222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45224 2012-04-09 Andreas Jaeger <aj@suse.de>
45227 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45228 is an optional BSD extension.
45231 * manual/stdio.texi (Opening Streams): Document additional fopen
45234 2012-04-09 Roland McGrath <roland@hack.frob.com>
45236 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45237 %eax without telling the compiler.
45239 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45242 * manual/install.texi: Use sourceware.org.
45244 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45247 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45248 (__ieee754_pow): Generate overflow and underflow using huge*huge
45249 and tiny*tiny rather than just returning constant infinity or zero
45250 for large exponents.
45251 * math/libm-test.inc (pow_test): Require overflow exceptions for
45252 applicable cases of large exponents.
45255 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45256 (__ieee754_pow): Use iterative multiplication algorithm only for
45257 integer exponents with absolute value below 1024. Check for odd
45258 integer exponents when using algorithm for real exponents.
45259 * math/libm-test.inc (pow_test): Add more tests.
45260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45262 2012-04-08 Joseph Myers <joseph@codesourcery.com>
45265 * math/libm-test.inc (exp_test): Do not allow overflow exception
45268 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45271 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45272 instead of __kernel_standard_f.
45274 2012-04-08 Mike Frysinger <vapier@gentoo.org>
45276 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45277 * sysdeps/x86_64/memset_chk.S: Likewise.
45279 2012-04-08 Andreas Jaeger <aj@suse.de>
45282 * manual/startup.texi (Environment Access): Describe return value
45283 for putenv and setenv.
45286 * manual/filesys.texi (Directory Entries): Add description for
45290 * manual/filesys.texi (Directory Entries): Clarify that it's file
45291 system not operating system in the description of DT_UNKNOWN.
45294 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45296 2012-04-08 Stephen Compall <s11@member.fsf.org>
45299 * manual/llio.texi (Opening and Closing Files): Add cross
45300 reference to explain mode argument.
45302 2012-04-07 Mike Frysinger <vapier@gentoo.org>
45304 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45305 * sysdeps/x86_64/memset_chk.S: Likewise.
45307 2012-04-07 David S. Miller <davem@davemloft.net>
45309 * elf/elf.h (R_SPARC_WDISP10): Define.
45310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45313 R_SPARC_SIZE64 and R_SPARC_H34.
45315 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45317 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45318 conditions and remove no longer applicable assertion.
45320 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45322 * bits/byteswap.h: Include <features.h>.
45323 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45324 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45326 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45328 * bits/byteswap.h (__bswap_16): Removed.
45329 Include <bits/byteswap-16.h> to get __bswap_16.
45330 * sysdeps/i386/bits/byteswap.h: Likewise.
45331 * sysdeps/s390/bits/byteswap.h: Likewise.
45332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45333 * bits/byteswap-16.h: New file.
45334 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45335 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45336 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45337 * string/Makefile (headers): Add bits/byteswap-16.h.
45339 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45342 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45344 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45345 * nss/tst-nss-static.c: New.
45347 2012-04-06 Robert Millan <rmh@gnu.org>
45350 * manual/llio.texi (File Position Primitive): lseek
45351 refers to WHENCE when it really means OFFSET.
45353 2012-04-06 Andreas Jaeger <aj@suse.de>
45355 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45356 strncmp declarations.
45358 * abilist/libc.abilist: Add __poll and __ppoll.
45360 2012-04-05 David S. Miller <davem@davemloft.net>
45362 * scripts/check-local-headers.sh: Accept a host triplet in the
45363 path matched by the exclude regexp.
45365 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45367 * sysdeps/powerpc/powerpc32/dl-machine.h
45368 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45369 * sysdeps/s390/s390-32/dl-machine.h
45370 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45371 * sysdeps/sparc/sparc32/dl-machine.h
45372 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45373 * sysdeps/sparc/sparc64/dl-machine.h
45374 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45376 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45378 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45379 undefined symbol errors.
45381 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45384 2012-04-05 Michael Matz <matz@suse.de>
45387 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45389 2012-04-05 Andreas Jaeger <aj@suse.de>
45392 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45395 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45397 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45398 which ROUND is no valid rounding mode.
45400 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45402 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45404 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45406 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45408 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45409 an exception using FPU order intentionally.
45411 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45413 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45414 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45415 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45416 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45418 2012-04-05 Simon Josefsson <simon@josefsson.org>
45421 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45422 EINVAL when BUFLEN is too smal.
45424 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45427 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45428 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45430 2012-04-03 Andreas Jaeger <aj@suse.de>
45433 * manual/setjmp.texi (System V contexts): Fix sentence.
45436 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45437 New macro for this case.
45438 [!__GNUC__] (__bswap_64): New inline function for this case.
45439 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45440 * bits/byteswap.h: Likewise.
45441 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45442 ull, guard with __GLIBC_HAVE_LONG_LONG.
45444 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45445 __GLIBC_HAVE_LONG_LONG.
45447 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45448 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45450 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45453 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45454 inptr and inend, rather than using last_ch.
45456 2012-04-02 David S. Miller <davem@davemloft.net>
45458 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45459 * stdio-common/printf-parse.h (read_int): Change return type to
45460 'int', return -1 on INT_MAX overflow.
45461 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45462 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45463 overflows INT_MAX. Check for overflow of in-format-string precision
45464 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45465 SIZE_MAX not INT_MAX for integer overflow test.
45466 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45467 skip the construct in the format string but do not record anything.
45468 * stdio-common/bug22.c: Adjust to test both width/prevision
45469 INT_MAX overflow as well as total length INT_MAX overflow. Check
45470 explicitly for proper errno values.
45472 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45474 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45476 * string/test-strcmp.c [! WIDE]: Likewise.
45477 * time/tst-mktime2.c: Likewise for INT_MAX.
45478 * string/test-string.h: #include <sys/param.h> for MIN.
45480 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45481 * sysdeps/i386/init-first.c (init): Likewise.
45482 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45483 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45484 * sysdeps/sh/init-first.c (init): Likewise.
45486 2012-04-01 Ulrich Drepper <drepper@gmail.com>
45488 * po/ru.po: Update from translation team.
45489 * po/vi.po: Likewise.
45491 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45493 * resolv/nss_dns/dns-host.c: Merge copyright years.
45495 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45498 Optimize memcpy with prefetch if
45499 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45500 src, dst pointers have unequal 16 byte alignments.
45502 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45505 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45506 from a CNAME entry and return the minimum ttl for the query.
45507 (gaih_getanswer_slice): Likewise.
45509 2012-03-30 Jeff Law <law@redhat.com>
45511 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45513 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45514 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45516 * resolv/nss_dns/dns-host.c: Update copyright year.
45518 2012-03-30 Ulrich Drepper <drepper@gmail.com>
45520 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45521 requests to save a system call. Fix check that all bytes are sent.
45523 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45524 comments for sendmmsg.
45526 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45529 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45530 with only 1 character between 0x0041 and 0x01b0.
45531 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45532 * wcsmbs/tst-mbsnrtowcs.c: New file.
45534 2012-03-29 David S. Miller <davem@davemloft.net>
45536 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45537 small copies by hand.
45539 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45542 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45543 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45546 2012-03-28 David S. Miller <davem@davemloft.net>
45548 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45549 that branches into memcpy.
45550 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45553 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45556 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45557 implementation too.
45558 * sysdeps/sparc/mempcpy.S: New file.
45560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45561 the IFUNC routine in the libc case.
45562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45564 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45565 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45566 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45567 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45568 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45569 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45570 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45571 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45573 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45574 loop to 256 bytes instead of 64 bytes and fix test signedness.
45576 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45577 * sysdeps/sparc/sparc32/Makefile: rather than here...
45578 * sysdeps/sparc/sparc64/Makefile: and here.
45580 2012-03-28 Ulrich Drepper <drepper@gmail.com>
45582 * malloc/mallocbug.c: Avoid warnings about unused variables.
45584 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45587 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45588 in the right place. Discard and retry query if response is
45589 larger than input buffer size.
45591 2012-03-28 Joseph Myers <joseph@codesourcery.com>
45596 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45597 x for large integer exponent.
45598 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45599 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45600 sign of result as needed afterwards.
45601 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45602 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45603 result for underflowing pow the same as for overflow.
45604 (__kernel_standard_l): Handle powl overflow and underflow here
45605 rather than calling __kernel_standard.
45606 * math/libm-test.inc (pow_test): Add more tests.
45621 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45622 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45623 (__kernel_standard_l): New function.
45624 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45626 * math/w_acosl.c (__acosl): Likewise.
45627 * math/w_asinl.c (__asinl): Likewise.
45628 * math/w_atan2l.c (__atan2l): Likewise.
45629 * math/w_atanhl.c (__atanhl): Likewise.
45630 * math/w_coshl.c (__coshl): Likewise.
45631 * math/w_exp10l.c (__exp10l): Likewise.
45632 * math/w_exp2l.c (__exp2l): Likewise.
45633 * math/w_fmodl.c (__fmodl): Likewise.
45634 * math/w_hypotl.c (__hypotl): Likewise.
45635 * math/w_j0l.c (__j0l, __y0l): Likewise.
45636 * math/w_j1l.c (__j1l, __y1l): Likewise.
45637 * math/w_jnl.c (__jnl, __ynl): Likewise.
45638 * math/w_lgammal.c (__lgammal): Likewise.
45639 * math/w_log10l.c (__log10l): Likewise.
45640 * math/w_log2l.c (__log2l): Likewise.
45641 * math/w_logl.c (__logl): Likewise.
45642 * math/w_powl.c (__powl): Likewise.
45643 * math/w_remainderl.c (__remainderl): Likewise.
45644 * math/w_scalbl.c (sysv_scalbl): Likewise.
45645 * math/w_sinhl.c (__sinhl): Likewise.
45646 * math/w_sqrtl.c (__sqrtl): Likewise.
45647 * math/w_tgammal.c (__tgammal): Likewise.
45648 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45649 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45650 * math/libm-test.inc (acos_test): Add more tests.
45651 (acosh_test): Likewise.
45652 (asin_test): Likewise.
45653 (atanh_test): Likewise.
45654 (exp_test): Likewise.
45655 (exp10_test): Likewise.
45656 (exp2_test): Likewise.
45657 (expm1_test): Likewise.
45658 (lgamma_test): Likewise.
45659 (log_test): Likewise.
45660 (log10_test): Likewise.
45661 (log1p_test): Likewise.
45662 (log2_test): Likewise.
45663 (pow_test): Do not allow some spurious overflow exceptions.
45664 (sqrt_test): Add more tests.
45665 (tgamma_test): Likewise.
45666 (y0_test): Likewise.
45667 (y1_test): Likewise.
45668 (yn_test): Likewise.
45670 2012-03-27 Anton Blanchard <anton@samba.org>
45672 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45675 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45678 2012-03-27 David S. Miller <davem@davemloft.net>
45680 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45682 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45683 have-as-vis3 check.
45685 2012-03-27 Andreas Jaeger <aj@suse.de>
45687 * sysdeps/x86_64/elf/configure.in: Moved to ...
45688 * sysdeps/x86_64/configure.in: ... here.
45689 * sysdeps/x86_64/elf/start.S: Moved to ...
45690 * sysdeps/x86_64/start.S: ... here.
45691 * sysdeps/x86_64/elf/configure: Delete.
45693 * sysdeps/x86_64/configure.in: Merge contents from
45694 sysdeps/i386/configure.in (without i686 check).
45696 * sysdeps/i386/elf/Versions: Merge into ...
45697 * sysdeps/i386/Versions: ... this.
45698 * sysdeps/i386/elf/Versions: Delete file.
45699 * sysdeps/i386/elf/start.S: Moved to ...
45700 * sysdeps/i386/start.S: ...here.
45701 * sysdeps/i386/elf/configure.in: Merge into...
45702 * sysdeps/i386/configure.in: ...here.
45703 * sysdeps/i386/elf/configure.in: Delete file.
45704 * sysdeps/i386/elf/configure: Delete file.
45706 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45707 * debug/backtracesyms.c: ... here.
45708 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45709 * debug/backtracesymsfd.c: ... here.
45710 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45711 * sysdeps/generic/ifunc-sel.h: ... here.
45713 * sysdeps/unix/i386/start.c: Delete file.
45714 * sysdeps/unix/sparc/start.c: Delete file.
45715 * sysdeps/unix/start.c: Delete file.
45717 * sysdeps/sh/elf/configure.in: Moved to ...
45718 * sysdeps/sh/configure.in: ... here.
45719 * sysdeps/sh/elf/start.S: Moved to ...
45720 * sysdeps/sh/start.S: ... here.
45721 * sysdeps/sh/elf/configure: Delete file.
45723 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45724 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45725 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45726 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45727 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45728 * sysdeps/powerpc/powerpc64/start.S: here.
45729 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45730 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45731 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45732 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45733 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45735 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45736 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45737 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45738 * sysdeps/powerpc/powerpc32/start.S: ... here.
45739 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45740 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45741 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45743 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45744 * sysdeps/powerpc/ifunc-sel.h: ... here.
45745 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45746 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45748 * sysdeps/sparc/elf/configure.in: Moved to ...
45749 * sysdeps/sparc/configure.in: ... here.
45750 * sysdeps/sparc/elf/configure: Delete file.
45751 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45752 * sysdeps/sparc/sparc32/start.S: ... here.
45753 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45754 * sysdeps/sparc/sparc64/start.S: ... here.
45755 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45756 * sysdeps/sparc/sparc32/Makefile: ... this.
45757 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45758 * sysdeps/sparc/sparc64/Makefile: ... this.
45760 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45761 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45762 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45763 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45764 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45765 * sysdeps/s390/s390-32/setjmp.S: ... here.
45766 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45767 * sysdeps/s390/s390-32/configure.in: ... here.
45768 * sysdeps/s390/s390-32/elf/configure: Delete file.
45769 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45770 * sysdeps/s390/s390-32/start.S: ... here.
45772 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45773 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45774 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45775 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45776 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45777 * sysdeps/s390/s390-64/setjmp.S: ... here.
45778 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45779 * sysdeps/s390/s390-64/configure.in: ... here
45780 * sysdeps/s390/s390-64/elf/configure: Delete file.
45781 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45782 * sysdeps/s390/s390-64/start.S: ... here.
45783 * sysdeps/s390/s390-64/elf/configure: Delete.
45785 * configure.in: Remove support for elf directories in sysdeps.
45787 * configure: Regenerated.
45788 * sysdeps/i386/configure: Regenerated.
45789 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45790 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45791 * sysdeps/s390/s390-32/configure: Regenerated.
45792 * sysdeps/s390/s390-64/configure: Regenerated.
45793 * sysdeps/sh/configure: Regenerated.
45794 * sysdeps/sparc/configure: Regenerated.
45795 * sysdeps/x86_64/configure: Regenerated.
45797 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45802 denormal result into account.
45804 2012-03-25 Roland McGrath <roland@hack.frob.com>
45806 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45807 Reported by Allan McRae <allan@archlinux.org>.
45809 2012-03-23 Jeff Law <law@redhat.com>
45811 * nss/getnssent.c (__nss_getent): Fix typo.
45813 2012-03-23 David S. Miller <davem@davemloft.net>
45815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45817 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45819 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45820 to pad to uint64_t for each field.
45821 (dl_tls_index): Replace unsigned long with uint64_t.
45823 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45824 Paul Pluzhnikov <ppluzhnikov@google.com>
45827 * grp/Makefile (otherlibs): Don't set it.
45828 * inet/Makefile (otherlibs): Likewise.
45829 * login/Makefile (otherlibs): Likewise.
45830 * nscd/Makefile (otherlibs): Likewise.
45831 * posix/Makefile (otherlibs): Likewise.
45832 * pwd/Makefile (otherlibs): Likewise.
45833 * rt/Makefile (otherlibs): Likewise.
45834 * sunrpc/Makefile (otherlibs): Likewise.
45835 * nss/Makefile (otherlibs): Likewise.
45836 Add libnss_files to routines and static-only-routines.
45837 ($(objpfx)getent): Remove rule.
45838 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45839 static-only-routines.
45841 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45844 * math/s_cexp.c: Include <float.h>.
45845 (__cexp): Handle exp result overflowing not necessarily
45846 overflowing both real and imaginary parts of result.
45847 * math/s_cexpf.c: Likewise.
45848 * math/s_cexpl.c: Likewise.
45849 * math/libm-test.inc (cexp_test): Add more tests.
45850 * sysdeps/i386/fpu/libm-test-ulps: Update.
45851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45853 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45855 * include/link.h (ELFW): New macro.
45856 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45857 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45859 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45861 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45864 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45866 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45868 (struct La_x32_retval): Likewise.
45870 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45872 * sysdeps/x86_64/preconfigure.in: New file.
45873 * sysdeps/x86_64/preconfigure: New generated file.
45875 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45878 * math/e_exp2l.c: Include <float.h>.
45879 (__ieee754_exp2l): Handle overflow and underflow cases
45880 separately. Only pass fractional part of argument to
45882 * math/libm-test.inc (exp2_test): Add more tests.
45884 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45885 negating x to take absolute value.
45886 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45888 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45889 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45891 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45892 computing low part if x was negated.
45893 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45895 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45897 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45898 la_x32_gnu_pltexit.
45899 (pltexit): Cast int_retval to ptrdiff_t.
45900 * elf/tst-auditmod3b.c: Likewise.
45901 * elf/tst-auditmod4b.c: Likewise.
45902 * elf/tst-auditmod5b.c: Likewise.
45903 * elf/tst-auditmod6b.c: Likewise.
45904 * elf/tst-auditmod6c.c: Likewise.
45905 * elf/tst-auditmod7b.c: Likewise.
45907 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45908 and x32_gnu_pltexit.
45910 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45911 __ELF_NATIVE_CLASS.
45912 (La_x32_regs): New macro.
45913 (La_x32_retval): Likewise.
45914 (la_x32_gnu_pltenter): New function prototype.
45915 (la_x32_gnu_pltexit): Likewise.
45917 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45924 * configure.in (libc_cv_cc_nofma): Check for option to disable
45925 generation of FMA instructions.
45926 * configure: Regenerate.
45927 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45928 * sysdeps/ieee754/dbl-64/Makefile: New file.
45929 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45930 Remove brandred-fma4.
45931 (CFLAGS-brandred-fma4.c): Remove.
45932 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45933 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45935 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45938 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45940 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45941 LLONG_MAX != LONG_MAX.
45942 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45943 (_fitoa_word): Likewise.
45944 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45945 LLONG_MAX != LONG_MAX.
45946 * stdio-common/_itowa.h: Include <_itoa.h>.
45947 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45948 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45949 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45950 only if not defined.
45951 (_ITOA_WORD_TYPE): Likewise.
45952 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45953 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45955 2012-03-21 David S. Miller <davem@davemloft.net>
45957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45959 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45961 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45962 of x86_64 when setting libc_cv_slibdir, libdir and
45964 * sysdeps/unix/sysv/linux/configure: Regenerated.
45966 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45968 * manual/lang.texi (Old Varargs): Remove section.
45969 (How Variadic): Update menu.
45970 (va_start): Do not mention varargs.h.
45972 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45973 Joseph Myers <joseph@codesourcery.com>
45975 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45977 * configure: Regenerated.
45979 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45981 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45982 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45985 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45988 * Makefile (files-for-dist): Remove NOTES.
45989 (NOTES): Remove rule.
45990 * README: Don't refer to NOTES.
45991 * manual/creature.texi: Don't include macros.texi.
45992 * manual/intro.texi (creature.texi): Remove comment referring to
45995 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45996 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45997 * configure: Regenerated.
45998 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45999 LIBC_TRY_CC_OPTION.
46000 (libc_cv_as_i686): Likewise.
46001 (libc_cv_cc_avx): Likewise.
46002 (libc_cv_cc_sse2avx): Likewise.
46003 (libc_cv_cc_fma4): Likewise.
46004 (libc_cv_cc_novzeroupper): Likewise.
46005 * sysdeps/i386/configure: Regenerated.
46008 * sysdeps/i386/fpu/s_cexp.S: Remove.
46009 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46010 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46011 * math/libm-test.inc (cexp_test): Add more tests.
46012 * sysdeps/i386/fpu/libm-test-ulps: Update.
46013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46015 2012-03-21 Allan McRae <allan@archlinux.org>
46017 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46019 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46022 * math/w_exp2.c: Do not include <float.h>.
46023 (o_threshold, u_threshold): Remove.
46024 (__exp2): Calculate result before checking finiteness and calling
46026 * math/w_exp2f.c: Likewise.
46027 * math/w_exp2l.c: Likewise.
46028 * math/libm-test.inc (exp2_test): Require overflow exception for
46032 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46033 range of signed 64-bit integers before using fistpll. Remove
46034 checks for whether integers fit in mantissa bits.
46035 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46036 the range of signed 32-bit integers before using fistpl. Remove
46037 checks for whether integers fit in mantissa bits.
46038 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46039 (__ieee754_powl): Test for y outside the range of signed 64-bit
46040 integers before using fistpll. Reduce 64-bit values to 63-bit
46042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46043 divide-by-zero is raised for zero to large negative powers.
46044 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46045 (__ieee754_powl): Test for y outside the range of signed 64-bit
46046 integers before using fistpll. Reduce 64-bit values to 63-bit
46048 * math/libm-test.inc (pow_test): Add more tests.
46050 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46052 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46053 <stdio-common/_itoa.h>.
46054 * debug/segfault.c: Likewise.
46055 * elf/dl-cache.c: Likewise.
46056 * elf/dl-minimal.c: Likewise.
46057 * elf/dl-misc.c: Likewise.
46058 * elf/dl-sysdep.c: Likewise.
46059 * elf/dl-version.c: Likewise.
46060 * elf/rtld.c: Likewise.
46061 * hurd/hurdsock.c: Likewise.
46062 * hurd/lookup-retry.c: Likewise.
46063 * malloc/malloc.c: Likewise.
46064 * malloc/mtrace.c: Likewise.
46065 * nscd/nscd_getgr_r.c: Likewise.
46066 * nscd/nscd_getpw_r.c: Likewise.
46067 * nscd/nscd_getserv_r.c: Likewise.
46068 * posix/getopt_init.c: Likewise.
46069 * posix/wordexp.c: Likewise.
46070 * stdio-common/_itoa.c: Likewise.
46071 * stdio-common/printf_fphex.c: Likewise.
46072 * stdio-common/vfprintf.c: Likewise.
46073 * string/_strerror.c: Likewise.
46074 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46075 * sysdeps/i386/i686/hp-timing.h: Likewise.
46076 * sysdeps/mach/_strerror.c: Likewise.
46077 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46078 * sysdeps/mach/hurd/sethostid.c: Likewise.
46079 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46080 * sysdeps/mach/xpg-strerror.c: Likewise.
46081 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46083 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46084 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46085 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46086 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46087 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46088 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46089 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46090 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46091 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46092 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46093 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46094 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46095 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46096 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46097 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46098 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46099 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46100 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46101 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46103 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46105 * stdio-common/_itoa.h: Moved to ...
46106 * sysdeps/generic/_itoa.h: Here.
46108 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46110 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46111 instead of "_itoa.h" and "_itowa.h".
46112 * stdio-common/vfprintf.: Likewise.
46114 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46116 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46118 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46119 (__signbit): Likwise.
46120 (llrintf): Likwise.
46123 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46125 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46128 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46130 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46131 OVERFLOW_EXCEPTION_OK.
46132 * math/libm-test.inc ("Philosophy"): Update comment about
46134 (OVERFLOW_EXCEPTION): Define.
46135 (OVERFLOW_EXCEPTION_OK): Likewise.
46136 (INVALID_EXCEPTION_OK): Renumber.
46137 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46138 (IGNORE_ZERO_INF_SIGN): Likewise.
46139 (test_exceptions): Handle FE_OVERFLOW.
46140 (exp10_test): Expect overflow exceptions.
46141 (exp2_test): Likewise.
46142 (expm1_test): Likewise.
46143 (nextafter_test): Likewise.
46144 (pow_test): Likewise.
46145 (scalbn_test): Likewise.
46146 (scalbln_test): Likewise.
46148 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46150 * sysdeps/x86_64/bits/atomic.h
46151 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46153 (atomic_exchange_acq): Likewise.
46154 (__arch_exchange_and_add_body): Likewise.
46155 (__arch_add_body): Likewise.
46156 (atomic_add_negative): Likewise.
46157 (atomic_add_zero): Likewise.
46159 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46161 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46162 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46164 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46166 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46167 Check __x86_64__ instead of __WORDSIZE.
46169 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46171 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46173 2012-03-19 David S. Miller <davem@davemloft.net>
46175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46177 * sysdeps/sparc/fpu/fenv_private.h: New file.
46178 * sysdeps/sparc/fpu/math_private.h: Use it.
46179 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46181 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46182 (libc_feholdexcept_setroundl): Remove.
46183 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46185 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46186 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46188 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46190 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46191 int64_t instead of long int.
46192 (INSERT_WORDS64): Likwise.
46194 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46196 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46197 _Unwind_GetCFA return to _Unwind_Ptr first.
46199 2012-03-19 Joseph Myers <joseph@codesourcery.com>
46202 * math/s_clog.c: Include <float.h>.
46203 (__clog): Scale large or subnormal inputs.
46204 * math/s_clogf.c: Likewise.
46205 * math/s_clogl.c: Likewise.
46206 * math/s_clog10.c: Include <float.h>.
46207 (M_LOG10_2): Define.
46208 (__clog10): Scale large or subnormal inputs.
46209 * math/s_clog10f.c: Likewise.
46210 * math/s_clog10l.c: Likewise.
46211 * math/libm-test.inc (clog_test): Add more tests.
46212 (clog10_test): Likewise.
46213 * sysdeps/i386/fpu/libm-test-ulps: Update.
46214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46217 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46219 * math/libm-test.inc (atan2_test): Add another test.
46221 * Makerules (common-objdir-compile): Remove.
46222 * sysdeps/unix/Makefile (config-generated): Do not add
46223 $(unix-generated) to variable.
46224 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46225 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46227 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46229 [generic bits/local_lim.h] (before-compile): Do not append to
46231 [generic bits/local_lim.h] (common-generated): Likewise.
46232 [generic sys/param.h] (before-compile): Do not append to variable.
46233 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46234 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46235 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46236 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46238 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46239 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46240 [generic sys/param.h] ($(addprefix
46241 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46242 [generic sys/param.h] (common-generated): Do not append to
46244 [generic sys/param.h] (sysdep_headers): Likewise.
46245 [generic bits/errno.h] (before-compile): Do not append to
46247 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46249 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46250 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46251 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46252 [generic bits/errno.h] (common-generated): Do not append to
46254 [generic bits/ioctls.h] (before-compile): Do not append to
46256 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46258 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46259 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46260 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46262 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46263 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46264 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46265 [generic bits/ioctls.h] (common-generated): Do not append to
46267 [generic sys/syscall.h] (syscall.h): Remove variable.
46268 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46270 [generic sys/syscall.h] (before-compile): Do not append to
46272 [generic sys/syscall.h] (common-generated): Likewise.
46273 * sysdeps/unix/errnos-tmpl.c: Remove file.
46274 * sysdeps/unix/errnos.awk: Likewise.
46275 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46276 * sysdeps/unix/ioctls.awk: Likewise.
46277 * sysdeps/unix/mk-local_lim.c: Likewise.
46278 * sysdeps/unix/snarf-ioctls: Likewise.
46280 2012-03-19 Richard Henderson <rth@twiddle.net>
46282 * sysdeps/i386/fpu/fenv_private.h: New file.
46283 * sysdeps/i386/fpu/math_private.h: Use it.
46284 (math_opt_barrier, math_force_eval): Remove.
46285 (libc_feholdexcept_setround_53bit): Remove.
46286 (libc_feupdateenv_53bit): Remove.
46287 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46288 (math_opt_barrier, math_force_eval): Remove.
46289 (libc_feholdexcept): Remove.
46290 (libc_feholdexcept_setround): Remove.
46291 (libc_fetestexcept, libc_fesetenv): Remove.
46292 (libc_feupdateenv_test): Remove.
46293 (libc_feupdateenv, libc_feholdsetround): Remove.
46294 (libc_feresetround): Remove.
46296 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46297 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46299 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46300 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46301 (libc_feupdateenv_testl): New.
46302 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46303 (libc_feupdateenv_testf): New.
46304 (libc_feupdateenv): Use libc_feupdateenv_test.
46305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46308 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46309 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46310 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46311 (libc_feresetround_noex): New.
46312 (libc_feresetround_noexf): New.
46313 (libc_feresetround_noexl): New.
46314 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46315 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46316 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46317 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46322 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46323 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46324 SET_RESTORE_ROUND_NOEX.
46325 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46326 SET_RESTORE_ROUND_NOEXF.
46327 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46328 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46329 (libc_feholdsetroundf): New.
46330 (libc_feresetround, libc_feresetroundf): New.
46332 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46333 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46334 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46336 * sysdeps/generic/math_private.h: Include <fenv.h>.
46337 (default_libc_feholdexcept): New.
46338 (default_libc_feholdexcept_setround): New.
46339 (default_libc_fesetenv, default_libc_feupdateenv): New.
46340 (libc_feholdexcept): Only define if undefined.
46341 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46342 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46343 (libc_feholdexcept_setroundl): Likewise.
46344 (libc_feholdexcept_setround_53bit): Likewise.
46345 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46346 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46347 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46348 (libc_feupdateenv_53bit): Likewise.
46349 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46350 (libc_feholdexcept): Convert from macro to inline function.
46351 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46352 (libc_fesetenv, libc_feupdateenv): Likewise.
46354 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46355 not previously defined.
46356 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46357 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46358 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46359 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46360 * sysdeps/ieee754/flt-32/math_private.h: New file.
46361 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46362 math_private.h below SET_FLOAT_WORD.
46363 (__isnan, __isinf_ns, __finite): Remove.
46364 (__isnanf, __isinf_nsf, __finitef): Remove.
46366 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46370 2012-03-17 David S. Miller <davem@davemloft.net>
46373 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46376 2012-03-16 David S. Miller <davem@davemloft.net>
46378 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46382 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46384 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46385 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46386 sysdep_routines when subdir is sysvipc.
46387 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46388 __getshmlba helper.
46390 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46392 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46394 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46397 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46399 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46400 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46401 (__lround): Renamed to ...
46402 (__llround): This. Replace long int with long long int.
46403 Define lround functions as aliases of llround functions.
46404 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46406 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46408 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46409 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46410 adresses to uintptr_t. Replace "long int" and "unsigned long
46411 int" with "greg_t" on va_arg.
46413 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46415 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46416 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46418 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46419 Move e_machine check before EI_CLASS check. Handle x32
46420 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46421 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46422 SKIP_EM_IA_64 and include
46423 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46425 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46426 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46427 (add_system_dir): New macro.
46429 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46430 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46432 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46443 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46445 * math/w_j0f.c (j0f): Likewise.
46447 * math/w_j0l.c (__j0l): Likewise.
46449 * math/w_j1.c (j1): Likewise.
46451 * math/w_j1f.c (j1f): Likewise.
46453 * math/w_j1l.c (__j1l): Likewise.
46455 * math/w_jn.c (jn): Likewise.
46457 * math/w_jnf.c (jnf): Likewise.
46459 * math/w_jnl.c (__jnl): Likewise.
46461 * math/libm-test.inc (j0_test): Add more tests.
46462 (j1_test): Likewise.
46463 (jn_test): Likewise. Add trailing semicolon to existing test.
46464 (y0_test): Likewise.
46465 (y1_test): Likewise.
46466 * sysdeps/i386/fpu/libm-test-ulps: Update.
46467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46471 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46472 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46473 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46474 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46475 (__tanl): Set errno for infinite argument.
46476 * sysdeps/i386/fpu/mptan.c: Remove.
46477 * sysdeps/i386/fpu/s_tan.S: Likewise.
46478 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46479 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46480 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46481 * math/libm-test.inc (tan_test): Add more tests and enable more
46482 tests for double and long double.
46483 * sysdeps/i386/fpu/libm-test-ulps: Update.
46484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46486 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46488 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46489 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46491 2012-03-16 Roland McGrath <roland@hack.frob.com>
46493 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46494 * configure.in: Use it for both main tree and add-ons.
46495 * configure: Regenerated.
46497 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46499 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46501 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46503 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46507 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46508 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46509 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46510 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46511 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46513 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46515 != 0 for prec == 2.
46516 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46517 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46518 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46519 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46520 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46521 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46522 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46523 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46524 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46525 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46526 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46527 * math/libm-test.inc (cos_test): Add more tests and enable more
46528 tests for long double.
46529 (sin_test): Likewise.
46530 (sincos_test): Likewise.
46531 * sysdeps/i386/fpu/libm-test-ulps: Update.
46532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46534 2012-03-16 David S. Miller <davem@davemloft.net>
46536 * sysdeps/sparc/fpu/math_private.h: New file.
46538 2012-03-15 David S. Miller <davem@davemloft.net>
46540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46554 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46555 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46557 * sysdeps/sparc/sparc-ifunc.h: New file.
46558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46600 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46603 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46605 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46609 2012-03-15 Andreas Jaeger <aj@suse.de>
46612 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46613 ieee754/flt-32 implementation for sin, cos and sincos.
46614 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46615 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46616 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46617 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46618 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46619 ieee754/flt-32 implementation for tan.
46621 * math/libm-test.inc (cos_test): Enable some large input tests for
46623 (sin_test): Likewise.
46624 (sincos_test): Likewise.
46625 (tan_test): Add tests for large input.
46627 * sysdeps/i386/fpu/libm-test-ulps: Update.
46629 2012-03-15 Andreas Jaeger <aj@suse.de>
46632 * math/libm-test.inc (cos_test): Add more test cases.
46633 (sin_test): Likewise.
46634 (sincos_test): Likewise.
46636 2012-03-15 Andreas Jaeger <aj@suse.de>
46639 * math/libm-test.inc (cos_test): Add a test case for large input
46641 (sin_test): Likewise.
46642 (sincos_test): Likewise.
46644 2012-03-15 Andreas Jaeger <aj@suse.de>
46645 Joseph Myers <joseph@codesourcery.com>
46648 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46649 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46650 * sysdeps/i386/fpu/branred.c: Likewise.
46651 * sysdeps/i386/fpu/dosincos.c: Likewise.
46652 * sysdeps/i386/fpu/mpa.c: Likewise.
46653 * sysdeps/i386/fpu/s_cos.S: Likewise.
46654 * sysdeps/i386/fpu/s_sin.S: Likewise.
46655 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46656 * sysdeps/i386/fpu/sincos32.c: Likewise.
46658 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46660 (libc_feupdateenv_53bit): Define.
46661 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46663 (libc_feupdateenv_53bit): Define.
46665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46666 53 bit (without extend i386 double precision).
46668 * math/libm-test.inc (sincos_test): Add tests for large input.
46672 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46674 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46678 2012-03-15 David S. Miller <davem@davemloft.net>
46680 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46681 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46682 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46683 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46708 fmin/fmax sysdep routines.
46709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46711 2012-03-14 David S. Miller <davem@davemloft.net>
46713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46785 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46790 * sysdeps/sparc/configure.in: New file.
46791 * sysdeps/sparc/configure: Generate.
46792 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46793 * configure: Regenerate.
46794 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46795 * config.make.in (have-as-vis3): New.
46796 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46797 available use -Av9d instead of -Av9a.
46798 * sysdeps/sparc/sparc64/Makefile: Likewise.
46799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46814 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46815 fzeros/fnegs to load 0x80000000 into a float register instead of
46817 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46819 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46823 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46824 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46825 ($(inst_includedir)/bits/syscall.h): Remove rule.
46826 ($(objpfx)bits/syscall.d): Include instead of
46827 $(objpfx)syscall-list.d.
46828 (generated): Change syscall-list.h and syscall-list.d to
46829 bits/syscall.h and bits/syscall.d.
46831 2012-03-14 Roland McGrath <roland@hack.frob.com>
46834 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46836 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46839 * math/s_csqrt.c: Include <float.h>.
46840 (__csqrt): Scale large or subnormal inputs.
46841 * math/s_csqrtf.c: Likewise.
46842 * math/s_csqrtl.c: Likewise.
46843 * math/libm-test.inc (csqrt_test): Add more tests.
46844 * sysdeps/i386/fpu/libm-test-ulps: Update.
46845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46848 * math/libm-test.inc (hypot_test): Add more tests.
46850 2012-03-13 David S. Miller <davem@davemloft.net>
46853 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46854 double-precision for the calculation instead of scaling.
46856 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46858 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46859 manipulate bits before adding and subtracting TWO52[sx].
46860 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46861 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46863 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46865 2012-03-13 David S. Miller <davem@davemloft.net>
46867 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46868 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46870 rtld-global-offsets.h
46871 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46873 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46876 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46878 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46879 'err' in the ifdef scope in which it is actually used.
46881 * nss/nss_db/db-init.c: Include string.h
46883 2012-03-12 David S. Miller <davem@davemloft.net>
46885 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46886 masking out of the most significant byte of random value used.
46887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46888 Fix coding style in previous change.
46890 * sysdeps/unix/sysv/linux/kernel-features.h
46891 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46892 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46894 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46897 2012-03-11 David S. Miller <davem@davemloft.net>
46899 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46900 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46901 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46902 for 'resultvar' otherwise things get truncated on 64-bit.
46904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46905 Fix masking out of the most significant byte of random value used.
46907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46909 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46913 2012-03-09 David S. Miller <davem@davemloft.net>
46915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46916 variables with appropriate CPP guards.
46917 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46918 from the frame pointer, not the stack pointer. Correct layout
46919 comments. Fix test on resulting framesize and the management of
46920 the outregs buffer for pltexit. Preserve floating point return
46921 values across _dl_call_pltexit call.
46922 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46923 framesize and the management of the outregs buffer for pltexit.
46924 Preserve floating point return values across _dl_call_pltexit
46926 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46927 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46928 (la_sparc64_gnu_pltexit): New functions.
46929 (print_exit): Fix format string for return register value.
46931 2012-03-10 Joseph Myers <joseph@codesourcery.com>
46933 * sunrpc/Makefile (others): Add rpcgen.
46934 ($(objpfx)rpcgen): Remove special build rule and dependency on
46936 * sunrpc/rpcgen.c: New file.
46938 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46941 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46942 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46943 * sysdeps/i386/crti.S: Likewise.
46944 * sysdeps/i386/crtn.S: Likewise.
46945 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46946 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46947 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46948 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46949 * sysdeps/sh/crti.S: Likewise.
46950 * sysdeps/sh/crtn.S: Likewise.
46951 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46954 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46956 * locale/programs/locfile-kw.gperf: Likewise.
46957 * locale/programs/charmap-kw.h: Regenerated.
46958 * locale/programs/locfile-kw.h: Likewise.
46961 * intl/plural.y: Replace FSF snail mail address with URL.
46962 * intl/plural.c: Regenerated.
46964 2012-03-09 Richard Henderson <rth@twiddle.net>
46966 * include/math_private.h: Remove file.
46967 * math/math_private.h: Move file ...
46968 * sysdeps/generic/math_private.h: ... here.
46970 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46971 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46972 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46974 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46975 and <math_private.h>.
46976 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46977 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46978 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46979 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46980 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46981 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46982 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46984 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46985 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46987 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46988 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46990 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46991 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46992 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46993 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46994 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46995 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46997 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46998 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47000 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47001 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47002 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47003 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47004 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47006 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47007 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47008 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47009 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47010 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47011 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47012 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47013 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47014 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47015 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47016 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47017 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47018 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47019 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47020 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47021 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47022 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47023 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47024 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47025 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47026 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47027 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47028 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47029 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47030 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47031 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47032 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47033 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47034 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47035 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47036 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47037 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47038 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47039 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47040 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47041 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47042 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47043 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47045 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47046 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47047 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47048 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47049 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47050 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47053 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47054 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47055 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47056 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47057 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47058 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47059 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47060 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47063 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47064 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47065 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47066 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47067 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47068 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47069 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47070 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47071 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47072 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47073 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47074 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47075 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47076 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47077 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47078 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47079 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47080 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47081 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47082 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47083 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47084 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47085 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47086 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47087 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47088 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47089 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47090 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47092 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47093 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47094 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47095 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47096 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47097 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47098 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47099 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47100 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47101 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47102 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47103 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47104 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47105 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47106 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47107 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47108 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47109 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47110 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47111 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47112 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47113 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47114 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47115 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47116 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47117 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47118 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47119 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47120 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47121 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47122 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47123 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47124 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47125 * sysdeps/ieee754/k_standard.c: Likewise.
47126 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47127 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47128 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47129 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47130 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47131 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47132 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47133 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47134 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47135 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47136 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47137 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47138 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47139 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47140 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47141 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47142 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47143 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47144 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47145 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47146 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47147 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47148 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47149 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47150 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47151 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47152 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47153 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47154 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47155 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47156 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47157 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47158 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47160 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47161 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47162 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47163 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47164 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47165 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47166 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47167 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47168 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47169 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47170 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47171 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47172 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47173 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47174 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47175 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47176 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47177 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47178 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47179 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47180 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47181 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47182 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47183 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47184 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47185 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47186 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47187 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47188 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47192 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47193 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47195 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47196 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47197 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47198 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47199 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47200 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47201 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47203 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47205 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47206 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47207 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47208 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47209 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47210 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47211 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47212 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47213 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47214 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47216 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47218 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47219 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47221 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47222 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47223 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47224 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47225 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47226 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47227 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47230 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47233 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47234 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47236 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47237 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47238 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47240 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47241 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47242 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47244 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47245 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47246 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47248 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47252 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47253 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47256 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47257 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47258 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47259 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47260 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47263 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47264 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47268 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47269 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47270 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47271 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47272 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47273 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47274 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47275 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47276 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47277 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47278 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47281 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47285 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47286 * sysdeps/ieee754/s_lib_version.c: Likewise.
47287 * sysdeps/ieee754/s_matherr.c: Likewise.
47288 * sysdeps/ieee754/s_signgam.c: Likewise.
47289 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47290 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47291 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47292 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47293 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47294 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47295 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47296 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47297 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47298 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47299 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47300 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47301 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47302 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47303 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47304 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47305 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47306 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47307 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47309 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47311 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47313 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47314 * sunrpc/rpc_main.c: Likewise.
47315 * sunrpc/rpc_svcout.c: Likewise.
47317 2012-03-09 David S. Miller <davem@davemloft.net>
47319 * include/math_private.h: New file.
47321 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47323 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47324 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47325 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47326 from <bits/socket_type.h>.
47327 (enum __socket_type): Don't define here.
47328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47330 bits/socket_type.h.
47333 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47334 checking __USE_GNU.
47336 * Makerules ($(inst_includedir)/%.h): New rule.
47337 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47338 (install-others): Remove variable setting.
47339 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47341 2012-03-08 Richard Henderson <rth@twiddle.net>
47343 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47344 from macro to inline function; merge with the
47345 !__LIBC_INTERNAL_MATH_INLINES version.
47346 (__ieee754_sqrtf): Likewise.
47348 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47349 to inline function.
47350 (__rintf, __floor, __floorf): Likewise.
47352 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47353 macro to inline function.
47354 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47357 not <math/math_private.h>.
47359 2012-03-08 David S. Miller <davem@davemloft.net>
47361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47363 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47365 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47367 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47369 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47370 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47372 2012-03-08 Ulrich Drepper <drepper@gmail.com>
47374 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47375 be defined individually, they must be defined as a block. Define
47376 S for printing a string instead of hidint the different by using a
47377 macro for adding the 'l'.
47378 * stdio-common/tst-fphex-wide.c: Adjust.
47380 2012-03-07 Marek Polacek <polacek@redhat.com>
47382 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47384 2012-03-08 Marek Polacek <polacek@redhat.com>
47387 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47388 * stdio-common/tst-fphex.c: Define a few macros to make the
47389 test reusable. Use them.
47390 * stdio-common/tst-fphex-wide.c: New file.
47392 2012-03-08 Joseph Myers <joseph@codesourcery.com>
47395 * manual/macros.texi (gnusystems): New macro.
47396 (nongnusystems): Likewise.
47397 (gnulinuxhurdsystems): Likewise.
47398 (gnuhurdsystems): Likewise..
47399 (gnulinuxsystems): Likewise.
47400 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47401 variants of the GNU system, not "GNU system".
47402 * manual/conf.texi: Likewise.
47403 * manual/errno.texi: Likewise. Update example of errno macro
47405 * manual/filesys.texi: Likewise.
47406 (getumask): Document as specific to GNU/Hurd.
47407 * manual/install.texi: Likewise. Reword some references to
47409 * manual/intro.texi: Likewise.
47410 * manual/io.texi: Likewise.
47411 (File Name Portability): Detail which constraints are inapplicable
47412 to all GNU systems and which are only inapplicable to GNU/Hurd.
47413 * manual/job.texi: Likewise.
47414 * manual/llio.texi: Likewise.
47415 (O_NOCTTY): Document as present on GNU/Linux.
47416 * manual/maint.texi: Likewise.
47417 * manual/memory.texi: Likewise.
47418 * manual/pattern.texi: Likewise.
47419 * manual/pipe.texi: Likewise.
47420 * manual/process.texi: Likewise.
47421 * manual/resource.texi: Likewise.
47422 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47424 * manual/setjmp.texi: Likewise.
47425 * manual/signal.texi: Likewise.
47426 * manual/startup.texi: Likewise.
47427 * manual/stdio.texi: Likewise.
47428 * manual/terminal.texi: Likewise.
47429 (ONLCR): Document as POSIX.
47430 (OXTABS): Document availability on GNU/Linux as XTABS.
47431 (ONOEOT): Document availability separately from other bits.
47432 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47433 * manual/time.texi: Likewise.
47434 * manual/users.texi: Likewise.
47435 * INSTALL: Regenerated.
47436 * sysdeps/gnu/errlist.c: Regenerated.
47438 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47439 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47440 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47442 * configure: Regenerated.
47444 2012-03-07 Joseph Myers <joseph@codesourcery.com>
47446 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47447 default includes instead of AC_HEADER_CHECK.
47448 * sysdeps/i386/configure: Regenerated.
47451 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47452 * math/s_cacoshf.c (__cacoshf): Likewise.
47453 * math/s_cacoshl.c (__cacoshl): Likewise.
47454 * math/s_casinh.c (__casinh): Set signs of result from argument.
47455 * math/s_casinhf.c (__casinhf): Likewise.
47456 * math/s_casinhl.c (__casinhl): Likewise.
47457 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47458 (casinh_test): Add more tests.
47459 * sysdeps/i386/fpu/libm-test-ulps: Update.
47460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47462 2012-03-07 Ulrich Drepper <drepper@gmail.com>
47464 * po/zh_TW.po: Update from translation team.
47466 * login/Makefile (distribute): Remove variable.
47467 * catgets/Makefile: Likewise.
47468 * mach/Makefile: Likewise.
47469 * malloc/Makefile: Likewise.
47470 * misc/Makefile: Likewise.
47471 * iconv/Makefile: Likewise.
47472 * nscd/Makefile: Likewise.
47473 * hurd/Makefile: Likewise.
47474 * manual/Makefile: Likewise.
47475 * locale/Makefile: Likewise.
47476 * intl/Makefile: Likewise.
47477 * conform/Makefile: Likewise.
47478 * nss/Makefile: Likewise.
47479 * time/Makefile: Likewise.
47480 * soft-fp/Makefile: Likewise.
47481 * dirent/Makefile: Likewise.
47482 * gmon/Makefile: Likewise.
47483 * po/Makefile: Likewise.
47484 * rt/Makefile: Likewise.
47485 * socket/Makefile: Likewise.
47486 * math/Makefile: Likewise.
47487 * signal/Makefile: Likewise.
47488 * debug/Makefile: Likewise.
47489 * elf/Makefile: Likewise.
47490 * timezone/Makefile: Likewise.
47491 * stdlib/Makefile: Likewise.
47492 * iconvdata/Makefile: Likewise.
47493 * sunrpc/Makefile: Likewise.
47494 * io/Makefile: Likewise.
47495 * argp/Makefile: Likewise.
47496 * inet/Makefile: Likewise.
47497 * hesiod/Makefile: Likewise.
47498 * grp/Makefile: Likewise.
47499 * csu/Makefile: Likewise.
47500 * wctype/Makefile: Likewise.
47501 * crypt/Makefile: Likewise.
47502 * libio/Makefile: Likewise.
47503 * string/Makefile: Likewise.
47504 * nis/Makefile: Likewise.
47505 * resolv/Makefile: Likewise.
47506 * stdio-common/Makefile: Likewise.
47507 * wcsmbs/Makefile: Likewise.
47508 * dlfcn/Makefile: Likewise.
47509 * posix/Makefile: Likewise.
47512 * timezone/Makefile: Don't install timezone files, just the programs
47515 2012-03-06 Ulrich Drepper <drepper@gmail.com>
47517 * nss/databases.def: Add missing gshadow entry.
47519 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47521 2012-03-06 Marek Polacek <polacek@redhat.com>
47524 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47525 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47526 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47527 * stdio-common/tst-long-dbl-fphex.c: New file.
47529 2012-03-06 David S. Miller <davem@davemloft.net>
47531 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47532 (set_obp_int): New function.
47533 (get_obp_int): New function.
47534 (__get_clockfreq_via_dev_openprom): Likewise.
47535 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47536 Avoid unused variable warnings on 'val' and use builtin_expect.
47537 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47539 (INLINE_CLONE_SYSCALL): Likewise.
47541 2012-03-05 David S. Miller <davem@davemloft.net>
47543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47545 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47550 only for |x| >= 40.
47551 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47553 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
47555 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47556 Replace gettimeofday with __vdso_gettimeofday.
47558 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47559 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47560 __vdso_clock_gettime and __vdso_getcpu.
47562 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47563 time with __vdso_time.
47565 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47567 * manual/lang.texi (size_t): Note types to which size_t may be
47568 equivalent with the GNU C Library, but do not describe when
47569 differences between them are significant.
47571 2012-03-05 Andreas Jaeger <aj@suse.de>
47573 * sysdeps/i386/fpu/libm-test-ulps: Update.
47575 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47578 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47579 (__ieee754_pow): Save and restore rounding mode and use
47580 round-to-nearest for main computations.
47581 * math/libm-test.inc (pow_test_tonearest): New function.
47582 (pow_test_towardzero): Likewise.
47583 (pow_test_downward): Likewise.
47584 (pow_test_upward): Likewise.
47585 (main): Call the new functions.
47586 * sysdeps/i386/fpu/libm-test-ulps: Update.
47587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47590 * math/libm-test.inc (cosh_test_tonearest): New function.
47591 (cosh_test_towardzero): Likewise.
47592 (cosh_test_downward): Likewise.
47593 (cosh_test_upward): Likewise.
47594 (sinh_test_tonearest): Likewise.
47595 (sinh_test_towardzero): Likewise.
47596 (sinh_test_downward): Likewise.
47597 (sinh_test_upward): Likewise.
47598 (main): Call the new functions.
47599 * sysdeps/i386/fpu/libm-test-ulps: Update.
47600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47602 2012-03-05 Tom de Vries <tom@codesourcery.com>
47604 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47605 default stack guard is set in last bytes.
47606 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47608 2012-03-05 Kees Cook <keescook@chromium.org>
47610 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47613 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47614 possibly allocate from heap instead of stack.
47615 * stdio-common/bug-vfprintf-nargs.c: New file.
47616 * stdio-common/Makefile (tests): Add nargs overflow test.
47618 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47622 2012-03-03 Marek Polacek <polacek@redhat.com>
47624 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47625 * math/math_private.h: Likewise.
47626 * stdlib/tst-strtod.c: Likewise.
47627 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47628 * sysdeps/x86_64/bits/atomic.h: Likewise.
47630 2012-03-02 David S. Miller <davem@davemloft.net>
47632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47636 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47637 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47638 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47639 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47641 2012-03-02 Roland McGrath <roland@hack.frob.com>
47644 * manual/examples/README: New file, says the example source files
47645 can be used under GPL>=2.
47646 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47647 line containing just "*/".
47648 * manual/examples/add.c: Add copyright header (GPL>=2).
47649 * manual/examples/argp-ex1.c: Likewise.
47650 * manual/examples/argp-ex2.c: Likewise.
47651 * manual/examples/argp-ex3.c: Likewise.
47652 * manual/examples/argp-ex4.c: Likewise.
47653 * manual/examples/atexit.c: Likewise.
47654 * manual/examples/db.c: Likewise.
47655 * manual/examples/dir.c: Likewise.
47656 * manual/examples/dir2.c: Likewise.
47657 * manual/examples/execinfo.c: Likewise.
47658 * manual/examples/filecli.c: Likewise.
47659 * manual/examples/filesrv.c: Likewise.
47660 * manual/examples/fmtmsgexpl.c: Likewise.
47661 * manual/examples/genpass.c: Likewise.
47662 * manual/examples/inetcli.c: Likewise.
47663 * manual/examples/inetsrv.c: Likewise.
47664 * manual/examples/isockad.c: Likewise.
47665 * manual/examples/longopt.c: Likewise.
47666 * manual/examples/memopen.c: Likewise.
47667 * manual/examples/memstrm.c: Likewise.
47668 * manual/examples/mkfsock.c: Likewise.
47669 * manual/examples/mkisock.c: Likewise.
47670 * manual/examples/mygetpass.c: Likewise.
47671 * manual/examples/pipe.c: Likewise.
47672 * manual/examples/popen.c: Likewise.
47673 * manual/examples/rprintf.c: Likewise.
47674 * manual/examples/search.c: Likewise.
47675 * manual/examples/select.c: Likewise.
47676 * manual/examples/setjmp.c: Likewise.
47677 * manual/examples/sigh1.c: Likewise.
47678 * manual/examples/sigusr.c: Likewise.
47679 * manual/examples/stpcpy.c: Likewise.
47680 * manual/examples/strdupa.c: Likewise.
47681 * manual/examples/strftim.c: Likewise.
47682 * manual/examples/strncat.c: Likewise.
47683 * manual/examples/subopt.c: Likewise.
47684 * manual/examples/swapcontext.c: Likewise.
47685 * manual/examples/termios.c: Likewise.
47686 * manual/examples/testopt.c: Likewise.
47687 * manual/examples/testpass.c: Likewise.
47688 * manual/examples/timeval_subtract.c: Likewise.
47691 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47693 * manual/timeval_subtract.c.texi: ... here, new file.
47695 2012-03-02 David S. Miller <davem@davemloft.net>
47697 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47699 2012-03-02 Joseph Myers <joseph@codesourcery.com>
47702 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47703 (__sin): Save and restore rounding mode and use round-to-nearest
47704 for all computations.
47705 (__cos): Save and restore rounding mode and use round-to-nearest
47706 for all computations.
47707 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47709 (tan): Save and restore rounding mode and use round-to-nearest for
47711 * math/libm-test.inc (cos_test_tonearest): New function.
47712 (cos_test_towardzero): Likewise.
47713 (cos_test_downward): Likewise.
47714 (cos_test_upward): Likewise.
47715 (sin_test_tonearest): Likewise.
47716 (sin_test_towardzero): Likewise.
47717 (sin_test_downward): Likewise.
47718 (sin_test_upward): Likewise.
47719 (tan_test_tonearest): Likewise.
47720 (tan_test_towardzero): Likewise.
47721 (tan_test_downward): Likewise.
47722 (tan_test_upward): Likewise.
47723 (main): Call the new functions.
47724 * sysdeps/i386/fpu/libm-test-ulps: Update.
47725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47728 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47729 small n, then large n, before computing and testing k+n.
47730 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47735 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47736 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47737 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47738 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47739 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47740 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47741 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47743 * math/libm-test.inc (scalbn_test): Add more tests.
47744 (scalbln_test): Likewise.
47746 * manual/filesys.texi (mode_t): Describe constraints on size and
47747 signedness, not exact equivalence to a particular type.
47749 (ino64_t): Likewise.
47751 (nlink_t): Likewise.
47752 (blkcnt_t): Likewise.
47753 (blkcnt64_t): Likewise.
47754 * manual/llio.texi (off_t): Likewise.
47757 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47758 (__ieee754_exp): Save and restore rounding mode and use
47759 round-to-nearest for all computations.
47760 * math/libm-test.inc (exp_test_tonearest): New function.
47761 (exp_test_towardzero): Likewise.
47762 (exp_test_downward): Likewise.
47763 (exp_test_upward): Likewise.
47764 (main): Call the new functions.
47765 * sysdeps/i386/fpu/libm-test-ulps: Update.
47766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47768 2012-03-01 Chris Demetriou <cgd@google.com>
47770 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47771 have predictable order.
47773 2012-03-01 David S. Miller <davem@davemloft.net>
47775 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47777 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47778 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47779 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47780 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47782 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47783 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47784 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47786 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47787 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47788 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47789 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47790 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47794 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47795 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47796 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47798 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47799 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47800 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47801 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47802 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47804 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47805 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47806 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47807 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47808 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47809 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47811 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47812 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47814 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47815 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47816 * sysdeps/sparc/elf/configure: Regenerated.
47818 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47820 * configure.in (AS, LD): Require binutils 2.20 or later.
47821 * configure: Regenerated.
47822 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47823 as required minimum version.
47824 * INSTALL: Regenerated.
47828 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47829 before squaring exponent.
47830 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47831 bottom long double and 27 bits of top long double before squaring
47833 * math/libm-test.inc (erfc_test): Add more tests.
47834 * sysdeps/i386/fpu/libm-test-ulps: Update.
47835 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47838 2012-03-01 Kai Tietz <ktietz@redhat.com>
47840 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47841 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47842 containing bit-fields.
47843 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47844 * soft-fp/single.h (_FP_UNION_S): Likewise.
47845 * soft-fp/double.h (_FP_UNION_D): Likewise.
47847 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47850 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47851 not include ../strcmp.S.
47852 [USE_AS_STRNCASECMP_L]: Likewise.
47853 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47854 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47855 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47856 (__strncasecmp_l_ia32): Define as alias to
47857 __strncasecmp_l_nonascii.
47860 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47861 * sysdeps/i386/fpu/libm-test-ulps: Update.
47862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47864 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47867 2012-02-29 Jeff Law <law@redhat.com>
47869 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47870 out of bounds read.
47872 2012-02-29 Marek Polacek <polacek@redhat.com>
47875 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47876 * elf/Makefile: Add rules to run tst-unused-dep.out.
47878 2012-02-28 David S. Miller <davem@davemloft.net>
47880 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47881 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47883 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47884 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47885 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47887 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47889 * math/libm-test.inc (llround_test): Move one test from
47890 lround_test. Use TEST_f_L in moved test.
47891 (lround_test): Move misplaced test to llround_test. Add testcase
47894 2012-02-28 Ulrich Drepper <drepper@gmail.com>
47896 * sysdeps/x86_64/fpu/e_expf.S: New file.
47897 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47899 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47902 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47903 of remain_len that may cause incomplete multi-byte character and
47905 * posix/bug-regex33.c: New file.
47906 * posix/Makefile (tests): Add bug-regex33.
47908 2012-02-28 Joseph Myers <joseph@codesourcery.com>
47910 * manual/macros.texi: New file.
47911 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47912 * manual/libc.texinfo: Include macros.texi.
47913 * manual/creatute.texi: Likewise.
47914 * manual/install.texi: Likewise.
47915 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47916 @glibcadj{} in references to the GNU C Library.
47917 * manual/charset.texi: Likewise.
47918 * manual/conf.texi: Likewise.
47919 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47920 when not using those macros.
47921 * manual/creature.texi: Likewise.
47922 * manual/crypt.texi: Likewise.
47923 * manual/errno.texi: Likewise.
47924 * manual/filesys.texi: Likewise.
47925 * manual/header.texi: Likewise.
47926 * manual/install.texi: Likewise.
47927 * manual/intro.texi: Likewise.
47928 * manual/io.texi: Likewise.
47929 * manual/job.texi: Likewise.
47930 * manual/lang.texi: Likewise.
47931 * manual/libc.texiinfo: Likewise.
47932 * manual/llio.texi: Likewise.
47933 * manual/locale.texi: Likewise.
47934 * manual/maint.texi: Likewise.
47935 * manual/math.texi: Likewise.
47936 * manual/memory.texi: Likewise.
47937 * manual/message.texi: Likewise.
47938 * manual/nss.texi: Likewise.
47939 * manual/pattern.texi: Likewise.
47940 * manual/process.texi: Likewise.
47941 * manual/resource.texi: Likewise.
47942 * manual/search.texi: Likewise.
47943 * manual/setjmp.texi: Likewise.
47944 * manual/signal.texi: Likewise.
47945 * manual/socket.texi: Likewise.
47946 * manual/startup.texi: Likewise.
47947 * manual/stdio.texi: Likewise.
47948 * manual/string.texi: Likewise.
47949 * manual/sysinfo.texi: Likewise.
47950 * manual/syslog.texi: Likewise.
47951 * manual/terminal.texi: Likewise.
47952 * manual/time.texi: Likewise.
47953 * manual/users.texi: Likewise.
47954 * INSTALL: Regenerated.
47955 * NOTES: Regenerated.
47956 * sysdeps/gnu/errlist.c: Regenerated.
47958 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47960 * include/dirent.h: Include <dirstream.h> before
47963 2012-02-28 David S. Miller <davem@davemloft.net>
47965 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47966 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47967 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47968 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47970 2012-02-27 David S. Miller <davem@davemloft.net>
47972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47974 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47975 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47978 frame pointer instead of stack pointer relative arg slot.
47979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47980 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47981 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47983 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47986 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47988 2012-02-27 David S. Miller <davem@davemloft.net>
47990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47994 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47995 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47996 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47997 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47999 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48001 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48002 later. Allow versions 5-9.
48003 * configure: Regenerated.
48004 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48005 required minimum version and 4.6 as recommended version. Do not
48006 mention bugs in GCC 2.7 and 2.8.
48007 * INSTALL: Regenerated.
48009 2012-02-27 David S. Miller <davem@davemloft.net>
48011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48015 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48016 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48017 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48018 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48020 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48021 manipulate bits before adding and subtracting TWO112[sx].
48022 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48024 2012-02-27 Roland McGrath <roland@hack.frob.com>
48027 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48028 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48029 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48030 being in POSIX, because they are in 1003.1-2008.
48032 * rt/tst-aio.c: Include <fcntl.h>.
48033 * rt/tst-aio7.c: Likewise.
48034 * rt/tst-aio64.c: Likewise.
48036 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48038 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48040 * manual/install.texi (--with-headers): Describe headers as
48041 interface headers, not private headers.
48042 (Specific advice for GNU/Linux systems): Describe use of headers
48043 from "make headers_install", not private headers from older
48045 * INSTALL: Regenerated.
48046 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48048 * sysdeps/unix/sysv/linux/configure: Regenerated.
48050 * manual/llio.texi (fclean): Remove documentation.
48052 * manual/Makefile (libc-texi-generated): New variable. Include
48054 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48055 $(libc-texi-generated), not duplicated list of files.
48056 (version.texi, stamp-version): New rules.
48057 (realclean): Remove $(libc-texi-generated), not individual files
48058 from that list. Do not remove dir-add.texinfo.
48059 * manual/libc.texinfo: Comment out uses of edition numbers and
48060 references to printed manual. Remove last-updated dates.
48061 (EDITION): Comment out.
48063 (VERSION, UPDATED): Remove.
48064 (version.texi): Include.
48066 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48068 * sysdeps/posix/spawni.c: Include <signal.h>.
48069 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48070 * sysdeps/pthread/aio_fsync.c: Likewise.
48072 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48074 * conform/Makefile (tests): Run only when not cross-compiling and
48075 when fast-check is not defined.
48077 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48078 * conform/data/limits.h-data: Fixes for POSIX2008.
48079 * conform/run-conformtest.sh: Run all tests.
48080 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48082 * include/bits/dlfcn.h: Likewise.
48083 * include/langinfo.h: Likewise.
48084 * include/monetary.h: Likewise.
48085 * include/sys/poll.h: Likewise.
48087 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48089 * posix/spawn.h: Define __need_sigset_t.
48090 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48091 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48092 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48093 to get sigevent_t only.
48094 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48095 only for __USE_GNU.
48096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48097 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48098 process_vm_writev only for __USE_GNU.
48099 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48101 * conform/Makefile: For now ignore errors from run-conformtest.
48102 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48103 POSIX to avoid namespace pollution. Don't prepend headers.
48104 * conform/data/aio.h-data: Fixes for POSIX testing.
48105 * conform/data/fcntl.h-data: Likewise.
48106 * conform/data/glob.h-data: Likewise.
48107 * conform/data/grp.h-data: Likewise.
48108 * conform/data/pthread.h-data: Likewise.
48109 * conform/data/pwd.h-data: Likewise.
48110 * conform/data/signal.h-data: Likewise.
48111 * conform/data/spawn.h-data: Likewise.
48112 * conform/data/stdio.h-data: Likewise.
48113 * conform/data/stdlib.h-data: Likewise.
48114 * conform/data/stropts.h-data: Likewise.
48115 * conform/data/sys/mman.h-data: Likewise.
48116 * conform/data/sys/stat.h-data: Likewise.
48117 * conform/data/sys/types.h-data: Likewise.
48118 * conform/data/sys/wait.h-data: Likewise.
48119 * conform/data/time.h-data: Likewise.
48120 * conform/data/unistd.h-data: Likewise.
48121 * conform/data/utime.h-data: Likewise.
48123 * io/sys/stat.h: fchmod was always in POSIX.
48124 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48125 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48126 * rt/aio.h: Define __need_timespec before including <time.h>.
48127 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48128 struct. Add forward declaration of pthread_attr_t and use it in
48130 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48131 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48132 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48133 always remove CLK_TCK definition.
48135 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48137 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48139 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48141 * conform/run-conformtest.sh: New file.
48142 * conform/Makefile: Run run-conformtest for tests.
48143 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48146 * conform/data/uchar.h-data: New file.
48147 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48148 * conform/data/arpa/inet.h-data: Likewise.
48149 * conform/data/assert.h-data: Likewise.
48150 * conform/data/complex.h-data: Likewise.
48151 * conform/data/cpio.h-data: Likewise.
48152 * conform/data/ctype.h-data: Likewise.
48153 * conform/data/dirent.h-data: Likewise.
48154 * conform/data/dlfcn.h-data: Likewise.
48155 * conform/data/errno.h-data: Likewise.
48156 * conform/data/fcntl.h-data: Likewise.
48157 * conform/data/float.h-data: Likewise.
48158 * conform/data/fmtmsg.h-data: Likewise.
48159 * conform/data/fnmatch.h-data: Likewise.
48160 * conform/data/ftw.h-data: Likewise.
48161 * conform/data/glob.h-data: Likewise.
48162 * conform/data/grp.h-data: Likewise.
48163 * conform/data/iconv.h-data: Likewise.
48164 * conform/data/inttypes.h-data: Likewise.
48165 * conform/data/langinfo.h-data: Likewise.
48166 * conform/data/libgen.h-data: Likewise.
48167 * conform/data/limits.h-data: Likewise.
48168 * conform/data/locale.h-data: Likewise.
48169 * conform/data/math.h-data: Likewise.
48170 * conform/data/monetary.h-data: Likewise.
48171 * conform/data/mqueue.h-data: Likewise.
48172 * conform/data/ndbm.h-data: Likewise.
48173 * conform/data/net/if.h-data: Likewise.
48174 * conform/data/netdb.h-data: Likewise.
48175 * conform/data/netinet/in.h-data: Likewise.
48176 * conform/data/nl_types.h-data: Likewise.
48177 * conform/data/poll.h-data: Likewise.
48178 * conform/data/pthread.h-data: Likewise.
48179 * conform/data/pwd.h-data: Likewise.
48180 * conform/data/regex.h-data: Likewise.
48181 * conform/data/sched.h-data: Likewise.
48182 * conform/data/search.h-data: Likewise.
48183 * conform/data/semaphore.h-data: Likewise.
48184 * conform/data/setjmp.h-data: Likewise.
48185 * conform/data/signal.h-data: Likewise.
48186 * conform/data/spawn.h-data: Likewise.
48187 * conform/data/stdarg.h-data: Likewise.
48188 * conform/data/stdio.h-data: Likewise.
48189 * conform/data/stdlib.h-data: Likewise.
48190 * conform/data/string.h-data: Likewise.
48191 * conform/data/strings.h-data: Likewise.
48192 * conform/data/stropts.h-data: Likewise.
48193 * conform/data/sys/ipc.h-data: Likewise.
48194 * conform/data/sys/mman.h-data: Likewise.
48195 * conform/data/sys/msg.h-data: Likewise.
48196 * conform/data/sys/resource.h-data: Likewise.
48197 * conform/data/sys/select.h-data: Likewise.
48198 * conform/data/sys/sem.h-data: Likewise.
48199 * conform/data/sys/shm.h-data: Likewise.
48200 * conform/data/sys/socket.h-data: Likewise.
48201 * conform/data/sys/stat.h-data: Likewise.
48202 * conform/data/sys/statvfs.h-data: Likewise.
48203 * conform/data/sys/time.h-data: Likewise.
48204 * conform/data/sys/timeb.h-data: Likewise.
48205 * conform/data/sys/times.h-data: Likewise.
48206 * conform/data/sys/types.h-data: Likewise.
48207 * conform/data/sys/uio.h-data: Likewise.
48208 * conform/data/sys/un.h-data: Likewise.
48209 * conform/data/sys/utsname.h-data: Likewise.
48210 * conform/data/sys/wait.h-data: Likewise.
48211 * conform/data/syslog.h-data: Likewise.
48212 * conform/data/tar.h-data: Likewise.
48213 * conform/data/termios.h-data: Likewise.
48214 * conform/data/utime.h-data: Likewise.
48215 * conform/data/utmpx.h-data: Likewise.
48216 * conform/data/varargs.h-data: Likewise.
48217 * conform/data/wchar.h-data: Likewise.
48218 * conform/data/wctype.h-data: Likewise.
48219 * conform/data/wordexp.h-data: Likewise.
48221 * include/stropts.h: New file.
48222 * include/uchar.h: New file.
48223 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48224 * include/assert.h: Likewise.
48225 * include/ctype.h: Likewise.
48226 * include/dirent.h: Likewise.
48227 * include/dlfcn.h: Likewise.
48228 * include/fcntl.h: Likewise.
48229 * include/fnmatch.h: Likewise.
48230 * include/glob.h: Likewise.
48231 * include/grp.h: Likewise.
48232 * include/libio.h: Likewise.
48233 * include/locale.h: Likewise.
48234 * include/math.h: Likewise.
48235 * include/net/if.h: Likewise.
48236 * include/netdb.h: Likewise.
48237 * include/netinet/in.h: Likewise.
48238 * include/pthread.h: Likewise.
48239 * include/pwd.h: Likewise.
48240 * include/regex.h: Likewise.
48241 * include/sched.h: Likewise.
48242 * include/search.h: Likewise.
48243 * include/setjmp.h: Likewise.
48244 * include/signal.h: Likewise.
48245 * include/stdio.h: Likewise.
48246 * include/stdlib.h: Likewise.
48247 * include/string.h: Likewise.
48248 * include/sys/cdefs.h: Likewise.
48249 * include/sys/mman.h: Likewise.
48250 * include/sys/msg.h: Likewise.
48251 * include/sys/resource.h: Likewise.
48252 * include/sys/select.h: Likewise.
48253 * include/sys/socket.h: Likewise.
48254 * include/sys/stat.h: Likewise.
48255 * include/sys/statvfs.h: Likewise.
48256 * include/sys/time.h: Likewise.
48257 * include/sys/times.h: Likewise.
48258 * include/sys/uio.h: Likewise.
48259 * include/sys/utsname.h: Likewise.
48260 * include/sys/wait.h: Likewise.
48261 * include/termios.h: Likewise.
48262 * include/time.h: Likewise.
48263 * include/ulimit.h: Likewise.
48264 * include/unistd.h: Likewise.
48265 * include/utime.h: Likewise.
48266 * include/wchar.h: Likewise.
48267 * include/wctype.h: Likewise.
48268 * include/wordexp.h: Likewise.
48270 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48272 * time/time.h: TIME_UTC must be a macro.
48273 Make timespec_get available for ISO C11 only as well.
48275 2012-02-24 Ulrich Drepper <drepper@gmail.com>
48277 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48278 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48280 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48282 * configure.in: Use -o not -a in test for unsupported multi-arch.
48284 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48286 * manual/texinfo.tex: Update to version 2012-01-19.16.
48288 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48290 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48292 2012-02-24 Roland McGrath <roland@hack.frob.com>
48295 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48296 * manual/fdl-1.3.texi: New file.
48297 * manual/fdl-1.1.texi: File removed.
48300 * manual/libc.texinfo (FDL_VERSION): New @set.
48301 Use it for mention of FDL in cover text.
48302 (Documentation License): Use it in @include file name.
48304 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48305 Roland McGrath <roland@hack.frob.com>
48308 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48309 (not LONG_LONG_MAX and LONG_LONG_MIN.
48310 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48311 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48313 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48315 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48319 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48320 manipulate bits before adding and subtracting TWO23[sx].
48321 * math/libm-test.inc (nearbyint_test): Add more tests.
48323 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48326 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48327 bits before adding and subtracting TWO23[sx].
48328 * math/libm-test.inc (rint_test): Add more tests.
48329 (rint_test_tonearest): Likewise.
48330 (rint_test_towardzero): Likewise.
48331 (rint_test_downward): Likewise.
48332 (rint_test_upward: Likewise.
48334 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48337 * include/stdc-predef.h: New file. Extracted from features.h.
48338 * include/features.h: Include stdc-predef.h.
48339 * Makefile (headers): Add stdc-predef.h.
48340 * CONFORMANCE (Compiler limitations): Update.
48342 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48344 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48346 2012-02-21 David S. Miller <davem@davemloft.net>
48348 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48349 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48351 2012-02-20 David S. Miller <davem@davemloft.net>
48353 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48354 using a normal save/restore sequence, rather than allocating a
48355 dummy stack frame just to store a frame pointer and restore.
48356 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48358 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48360 * manual/install.texi: Fix stray word in line-wrapped comment.
48362 2012-02-20 David S. Miller <davem@davemloft.net>
48364 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48365 both binutils and gcc support GOTDATA.
48367 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48368 "rd %pc" in the PIC register setup sequences.
48370 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48371 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48372 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48373 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48374 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48376 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48377 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48379 (SYSCALL_ERROR_HANDLER): Likewise.
48380 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48381 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48383 (SYSCALL_ERROR_HANDLER): Likewise.
48385 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48386 (HAVE_GCC_GOTDATA): New.
48387 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48388 relocation support in both binutils and gcc.
48389 * sysdeps/sparc/elf/configure: Regenerate.
48391 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48392 * sysdeps/sparc/sparc32/elf/configure: Delete.
48393 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48394 * sysdeps/sparc/sparc64/elf/configure: Delete.
48395 * sysdeps/sparc/elf/configure.in: New file.
48396 * sysdeps/sparc/elf/configure: Generate.
48398 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48399 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48400 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48401 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48402 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48404 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48406 * manual/install.texi: Do not mention specific glibc version
48408 * manual/libc.texinfo (VERSION, UPDATED): Update.
48409 (@copying): Use @copyright{} and range of years.
48411 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48414 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48415 [crti.S not in sysdirs] (generated): Do not append.
48416 [crti.S not in sysdirs] (omit-deps): Likewise.
48417 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48418 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48419 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48420 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48421 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48423 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48424 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48425 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48426 * csu/defs.awk: Remove file.
48427 * sysdeps/generic/initfini.c: Likewise.
48428 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48430 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48433 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48435 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48436 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48437 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48439 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48440 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48442 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48443 (__EPOLL_PACKED): Define to empty if not defined by
48445 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48449 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48451 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48452 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48453 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48454 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48456 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48460 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48462 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48464 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48465 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48469 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48471 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48472 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48474 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48476 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48477 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48479 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48481 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48484 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48486 * math/w_acos.c: Use non-signaling floating-point comparisons.
48487 * math/w_acosf.c: Likewise.
48488 * math/w_acosh.c: Likewise.
48489 * math/w_acoshf.c: Likewise.
48490 * math/w_acoshl.c: Likewise.
48491 * math/w_acosl.c: Likewise.
48492 * math/w_asin.c: Likewise.
48493 * math/w_asinf.c: Likewise.
48494 * math/w_asinl.c: Likewise.
48495 * math/w_atanh.c: Likewise.
48496 * math/w_atanhf.c: Likewise.
48497 * math/w_atanhl.c: Likewise.
48498 * math/w_exp2.c: Likewise.
48499 * math/w_exp2f.c: Likewise.
48500 * math/w_exp2l.c: Likewise.
48501 * math/w_j0.c: Likewise.
48502 * math/w_j0f.c: Likewise.
48503 * math/w_j0l.c: Likewise.
48504 * math/w_j1.c: Likewise.
48505 * math/w_j1f.c: Likewise.
48506 * math/w_j1l.c: Likewise.
48507 * math/w_jn.c: Likewise.
48508 * math/w_jnf.c: Likewise.
48509 * math/w_log.c: Likewise.
48510 * math/w_log10.c: Likewise.
48511 * math/w_log10f.c: Likewise.
48512 * math/w_log10l.c: Likewise.
48513 * math/w_log2.c: Likewise.
48514 * math/w_log2f.c: Likewise.
48515 * math/w_log2l.c: Likewise.
48516 * math/w_logf.c: Likewise.
48517 * math/w_logl.c: Likewise.
48518 * math/w_sqrt.c: Likewise.
48519 * math/w_sqrtf.c: Likewise.
48520 * math/w_sqrtl.c: Likewise.
48521 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48522 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48523 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48524 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48525 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48527 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48530 * manual/string.texi (strnlen): Use correct parameter name in
48531 equivalent expression.
48533 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48536 * manual/users.texi (seteuid): Consistently use neweuid for
48539 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48542 * manual/nss.texi (Services in the NSS configuration): Correct
48543 list of services in example configuration file.
48545 2012-02-19 Nick Bowler <nbowler@draconx.ca>
48548 * manual/arith.texi: Remove statements about negative zero
48549 behaving identically to zero.
48551 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48554 * manual/install.texi: Do not document upgrading from libc5.
48556 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48559 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48561 2012-02-18 David S. Miller <davem@davemloft.net>
48563 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48564 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48565 %o7 across the call.
48566 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48569 SETUP_PIC_REG_LEAF.
48570 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48571 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48572 * sysdeps/sparc/crtn.S: Likewise.
48574 2012-02-17 Ulrich Drepper <drepper@gmail.com>
48576 * aout/Makefile: Remove.
48578 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48581 * manual/examples/argp-ex1.c (main): Format definition in GNU
48583 * manual/examples/argp-ex2.c (main): Likewise.
48584 * manual/examples/argp-ex3.c (main): Likewise.
48585 * manual/examples/argp-ex4.c (main): Likewise.
48586 * manual/examples/longopt.c (main): Use new-style prototype
48588 * manual/examples/strncat.c (main): Specify return type and use
48589 (void) for arguments.
48590 * manual/examples/subopt.c (main): Use char **argv argument.
48592 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48595 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48598 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48601 * manual/string.texi (strchr): Change when strchrnul is
48604 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48607 * manual/locale.texi (setlocale): Document LOCPATH.
48609 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48612 * manual/process.texi (execle): Move @dots{} before last argument.
48614 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
48617 * manual/charset.texi (Generic Charset Conversion): Fix typo
48618 (LC_TYPE -> LC_CTYPE).
48620 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48623 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48624 (scalbnf): Likewise.
48625 (scalbnl): Likewise.
48626 (scalbln): Likewise.
48627 (scalblnf): Likewise.
48628 (scalblnl): Likewise.
48629 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48630 (vwarnx): Likewise.
48633 * manual/filesys.texi (telldir): Use braces around return type.
48634 * manual/llio.texi (mmap): Add space after comma.
48635 (mmap64): Likewise.
48636 * manual/math.texi (jn): Use @var{} on parameter names.
48642 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48644 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48646 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48647 (sched_get_priority_max): Likewise.
48648 * manual/signal.texi (sigvec): Add space after comma.
48649 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48651 (if_indextoname): Likewise.
48652 (if_freenameindex): Likewise.
48653 (sendto): Use ',' instead of '.' in prototype.
48654 * manual/startup.texi (syscall): Use @dots{} instead of literal
48656 * manual/stdio.texi (__fpending): Separate initial words of
48657 paragraph from @deftypefun line.
48658 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48660 (vsyslog): Use @var{} on parameter names.
48661 * manual/terminal.texi (stty): Use @var{} on parameter names.
48662 * manual/users.texi (getutmp): Use @var{} on parameter names.
48663 (getutmpx): Likewise.
48665 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48668 * manual/stdio.texi (fopen): Fix typos in description of
48671 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48674 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48675 get clock_id definition.
48677 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
48680 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48681 (madvise): Cast every argument to void on its own.
48683 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48686 * manual/startup.texi (Exit Status): Fix typo.
48688 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48691 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48692 * manual/examples/argp-ex2.c: Likewise.
48693 * manual/examples/argp-ex3.c: Likewise.
48695 2012-02-16 Richard Henderson <rth@redhat.com>
48697 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48698 * sysdeps/s390/s390-32/initfini.c: Remove.
48699 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48700 * sysdeps/s390/s390-64/initfini.c: Remove.
48702 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48704 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48705 compiler output for sysdeps/generic/initfini.c.
48706 * sysdeps/sh/elf/initfini.c: Remove file.
48708 2012-02-16 David S. Miller <davem@davemloft.net>
48711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48713 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48714 * sysdeps/sparc/crti.S: New file.
48715 * sysdeps/sparc/crtn.S: New file.
48716 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48717 * sysdeps/sparc/sparc64/Makefile: Likewise.
48719 2012-02-15 Mike Frysinger <vapier@gentoo.org>
48722 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48724 2012-02-15 Roland McGrath <roland@hack.frob.com>
48727 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48729 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48730 (write, read, close): Likewise.
48731 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48733 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48735 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48736 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48737 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48738 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48740 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48741 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48744 2012-02-14 Marek Polacek <polacek@redhat.com>
48746 * sysdeps/x86_64/crti.S: New file.
48747 * sysdeps/x86_64/crtn.S: New file.
48748 * sysdeps/x86_64/elf/initfini.c: Remove file.
48750 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48752 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48753 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48754 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48755 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48757 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48761 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48763 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48764 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48765 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48766 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48768 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48772 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48774 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48775 __feraiseexcept instead of feraiseexcept.
48777 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48778 nanosleep invocations.
48779 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48780 strings, and add error checking for a nanosleep invocations.
48782 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48784 Replace FSF snail mail address with URLs, as per GNU coding standards.
48785 Most of the snail mail addresses were wrong anyway, and omitting
48786 them makes the source code easier to maintain. Almost all of the
48787 changes are to license notices and to locale LC_IDENTIFICATION
48788 addresses, except for this one:
48789 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48790 not its snail mail address.
48792 2012-02-09 Richard Henderson <rth@twiddle.net>
48794 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48795 of kernel-features.h.
48797 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48799 2012-02-08 Marek Polacek <polacek@redhat.com>
48801 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48802 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48803 * sysdeps/gnu/_G_config.h: Likewise.
48804 * sysdeps/generic/_G_config.h: Likewise.
48806 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48808 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48812 * sysdeps/powerpc/powerpc32/crti.S: New file.
48813 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48814 * sysdeps/powerpc/powerpc64/crti.S: New file.
48815 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48817 * Makeconfig (have-initfini): Don't set.
48818 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48819 * configure.in (nopic_initfini): Don't substitute.
48820 * config.h.in (HAVE_INITFINI): Don't #undef.
48821 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48822 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48824 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48826 Support crti.S and crtn.S provided directly by architectures.
48827 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48828 [crti.S in sysdirs] (omit-deps): Likewise.
48829 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48830 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48831 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48832 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48833 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48834 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48835 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48836 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48837 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48838 compiler output for sysdeps/generic/initfini.c.
48839 * sysdeps/i386/elf/Makefile: Remove file.
48840 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48842 2012-02-07 Marek Polacek <polacek@redhat.com>
48844 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48845 * sysdeps/gnu/_G_config.h: Likewise.
48846 * sysdeps/mach/hurd/_G_config.h: Likewise.
48848 2012-02-07 Marek Polacek <polacek@redhat.com>
48850 * math/Makefile (tests): Add tst-CMPLX2.
48851 * math/tst-CMPLX2.c: New file.
48853 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48855 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48857 * math/libm-test.inc (jn_test): Add missing L suffix.
48859 2012-02-06 Marek Polacek <polacek@redhat.com>
48861 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48862 * sysdeps/i386/fpu/e_powf.S: Likewise.
48863 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48864 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48865 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48866 * sysdeps/i386/fpu/e_pow.S: Likewise.
48867 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48868 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48869 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48870 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48871 * sysdeps/i386/fpu/e_log2.S: Likewise.
48872 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48873 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48874 * sysdeps/i386/fpu/e_powl.S: Likewise.
48875 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48876 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48877 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48878 * sysdeps/i386/fpu/e_logl.S: Likewise.
48879 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48880 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48881 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48882 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48883 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48884 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48885 * sysdeps/i386/fpu/e_log.S: Likewise.
48886 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48887 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48888 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48889 * sysdeps/i386/fpu/e_logf.S: Likewise.
48890 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48891 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48892 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48893 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48894 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48895 * sysdeps/i386/fpu/e_log10.S: Likewise.
48896 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48897 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48898 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48899 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48900 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48901 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48902 * sysdeps/i386/asm-syntax.h: Likewise.
48903 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48904 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48905 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48906 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48907 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48908 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48909 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48910 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48911 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48912 * sysdeps/powerpc/sysdep.h: Likewise.
48913 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48914 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48916 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48919 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48921 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48923 * sysdeps/i386/sysdep.h: Include <features.h>.
48924 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48927 2012-02-05 Joseph Myers <joseph@codesourcery.com>
48929 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48931 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48934 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48936 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48937 (SETUP_PIC_REG): Use GET_PC_THUNK.
48938 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48941 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48943 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48944 for non-PIC compilation.
48945 (SETUP_PIC_REG): Add .p2align directive.
48946 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48947 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48948 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48949 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48950 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48951 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48952 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48953 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48954 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48955 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48956 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48957 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48958 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48959 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48960 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48961 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48962 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48963 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48964 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48965 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48966 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48967 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48968 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48969 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48970 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48972 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48973 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48974 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48975 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48976 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48977 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48978 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48979 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48980 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48981 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48982 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48983 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48984 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48985 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48986 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48988 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48990 * math/tst-CMPLX.c: Include <stdio.h>.
48992 2012-01-31 Joseph Myers <joseph@codesourcery.com>
48994 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48996 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48997 * sysdeps/sparc/bits/mathdef.h: Likewise.
48999 2012-01-31 Marek Polacek <polacek@redhat.com>
49001 * libio/libio.h: Don't define _PARAMS.
49002 * locale/programs/config.h: Don't define PARAMS.
49003 * stdlib/strtol_l.c: Likewise.
49004 (__strtol_l): Remove PARAMS from the prototype.
49006 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49008 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49009 names. Just use the correct names. Remove unnecessary wrapper
49011 * malloc/arena.c: Likewise.
49012 * malloc/hooks.c: Likewise.
49014 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49015 ARENA_TEST says not to. Simplify test for creation of a new arena.
49016 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49018 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49020 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49022 (update_get_addr): New function.
49023 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49024 GET_ADDR_MODULE parameter.
49026 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49028 * crypt/cert.c: Remove __STDC__ conditionals.
49029 * crypt/crypt-entry.c: Likewise.
49030 * crypt/crypt_util.c: Likewise.
49031 * libio/filedoalloc.c: Likewise.
49032 * libio/fileops.c: Likewise.
49033 * libio/genops.c: Likewise.
49034 * libio/iofclose.c: Likewise.
49035 * libio/iofdopen.c: Likewise.
49036 * libio/iofopen.c: Likewise.
49037 * libio/iofopen64.c: Likewise.
49038 * libio/iogetdelim.c: Likewise.
49039 * libio/iopopen.c: Likewise.
49040 * libio/obprintf.c: Likewise.
49041 * libio/oldfileops.c: Likewise.
49042 * libio/oldiofclose.c: Likewise.
49043 * libio/oldiofdopen.c: Likewise.
49044 * libio/oldiofopen.c: Likewise.
49045 * libio/oldiopopen.c: Likewise.
49046 * libio/wfiledoalloc.c: Likewise.
49047 * libio/wgenops.c: Likewise.
49048 * locale/programs/xmalloc.c: Likewise.
49049 * misc/syslog.c: Likewise.
49050 * stdio-common/xbug.c: Likewise.
49051 * string/memchr.c: Likewise.
49052 * string/memcmp.c: Likewise.
49053 * string/memrchr.c: Likewise.
49054 * string/rawmemchr.c: Likewise.
49055 * sysdeps/posix/getcwd.c: Likewise.
49056 * time/strftime_l.c: Likewise.
49058 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49060 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49061 * config.make.in (config-cflags-sse2avx): Define.
49062 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49065 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49067 * scripts/config.guess: Update from upstream config git repository.
49068 * scripts/config.sub: Likewise.
49070 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49072 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49074 (R_TILEPRO_*, R_TILEGX_*): New macros.
49076 * scripts/firstversions.awk: Fix bug in version range handling.
49078 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49080 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49082 * include/sys/epoll.h: New file.
49083 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49086 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49088 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49089 Avoid unnecessary __WORDSIZE == 64 test.
49090 (fmaxf): Use VEX format if possible.
49095 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49096 * math/math_private.h: Remove libc_fegetround* and
49098 * sysdeps/i386/configure.in: Check for -msse2avx.
49099 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49100 also if SSE2AVX is defined.
49101 Remove libc_fegetround* and libc_fesetround*.
49102 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49103 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49104 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49106 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49107 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49108 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49109 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49110 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49112 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49114 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49116 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49118 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49120 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49123 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49125 * Makeconfig (libm): Define.
49126 * elf/Makefile: Add rules to build and run tst-relsort1.
49127 * elf/tst-relsort1.c: New file.
49128 * elf/tst-relsort1mod1.c: New file.
49129 * elf/tst-relsort1mod2.c: New file.
49131 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49133 * math/s_ldexp.c: Remove __STDC__ conditionals.
49134 * math/s_ldexpf.c: Likewise.
49135 * math/s_ldexpl.c: Likewise.
49136 * math/s_nextafter.c: Likewise.
49137 * math/s_nexttowardf.c: Likewise.
49138 * math/s_significand.c: Likewise.
49139 * math/s_significandf.c: Likewise.
49140 * math/s_significandl.c: Likewise.
49141 * math/w_jnl.c: Likewise.
49142 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49143 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49144 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49145 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49146 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49147 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49148 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49149 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49151 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49152 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49154 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49155 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49156 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49157 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49158 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49161 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49162 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49163 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49164 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49165 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49166 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49167 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49168 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49169 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49170 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49171 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49172 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49173 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49174 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49175 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49176 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49177 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49178 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49179 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49180 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49181 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49182 * sysdeps/ieee754/k_standard.c: Likewise.
49183 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49184 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49185 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49186 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49187 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49188 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49189 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49190 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49191 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49192 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49193 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49194 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49195 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49196 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49197 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49199 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49200 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49201 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49202 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49203 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49204 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49205 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49206 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49207 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49208 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49209 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49210 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49212 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49213 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49214 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49215 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49216 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49217 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49218 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49219 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49221 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49222 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49223 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49225 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49226 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49227 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49228 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49229 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49230 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49231 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49232 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49233 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49234 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49235 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49236 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49237 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49238 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49239 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49240 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49241 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49242 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49243 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49244 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49245 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49246 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49247 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49248 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49249 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49252 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49253 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49254 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49255 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49256 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49257 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49258 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49259 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49260 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49261 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49262 * sysdeps/ieee754/s_matherr.c: Likewise.
49263 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49264 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49266 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49268 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49270 * crypt/md5.h: Remove __STDC__ conditionals.
49271 * libio/libioP.h: Likewise.
49272 * locale/programs/config.h: Likewise.
49273 * sysdeps/generic/sysdep.h: Likewise.
49274 * sysdeps/i386/asm-syntax.h: Likewise.
49275 * sysdeps/s390/asm-syntax.h: Likewise.
49276 * sysdeps/unix/sysdep.h: Likewise.
49277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49280 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49282 * libio/libio.h: Remove __STDC__ conditionals.
49283 * malloc/obstack.h: Likewise.
49284 * math/complex.h: Likewise.
49285 * math/math.h: Likewise.
49286 * sysdeps/generic/_G_config.h: Likewise.
49287 * sysdeps/gnu/_G_config.h: Likewise.
49288 * sysdeps/mach/hurd/_G_config.h: Likewise.
49289 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49290 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49291 * sysdeps/sparc/bits/mathdef.h: Likewise.
49293 2012-01-26 Ulrich Drepper <drepper@gmail.com>
49296 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49297 Clean up HAS_* macros.
49298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49299 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49301 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49303 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49304 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49305 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49306 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49307 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49309 2012-01-25 Joseph Myers <joseph@codesourcery.com>
49311 * elf/tst-unique3.cc (gets): Remove declaration.
49312 * elf/tst-unique3lib.cc (gets): Likewise.
49313 * elf/tst-unique3lib2.cc (gets): Likewise.
49314 * elf/tst-unique4.cc (gets): Likewise.
49316 2012-01-24 Ulrich Drepper <drepper@gmail.com>
49318 * include/stdio.h: Add C++ protection. Add gets declarations and
49320 * debug/tst-chk1.c: Don't declare gets here.
49321 * stdio-common/tst-gets.c: Likewise.
49323 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49325 * posix/glob: Remove directory.
49327 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49329 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49331 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49333 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49334 of the non-standard EPFNOSUPPORT.
49336 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49338 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49339 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49340 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49342 2012-01-21 Ulrich Drepper <drepper@gmail.com>
49344 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49346 2012-01-20 Ulrich Drepper <drepper@gmail.com>
49348 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49350 * nscd/grpcache.c (cache_addgr): Likewise.
49351 * nscd/hstcache.c (cache_addhst): Likewise.
49352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49353 * nscd/pwdcache.c (cache_addpw): Likewise.
49354 * nscd/servicescache.c (cache_addserv): Likewise.
49356 2012-01-16 Ulrich Drepper <drepper@gmail.com>
49358 * malloc/malloc.c: Various cleanups.
49359 * malloc/hooks.c: Likewise.
49361 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49362 * stdlib/bug-fmtmsg1.c: New file.
49364 * stdlib/fmtmsg.c (init): Add missing unlock.
49365 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49367 2012-01-12 Marek Polacek <polacek@redhat.com>
49369 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49372 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49374 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49375 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49376 macro to ensure uniqueness of label name.
49377 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49378 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49380 2012-01-11 Ulrich Drepper <drepper@gmail.com>
49382 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49384 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49385 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49386 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49389 2012-01-10 Ulrich Drepper <drepper@gmail.com>
49391 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49393 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49394 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49395 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49397 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49399 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49400 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49401 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49404 * math/bits/math-finite.h: Add ldexp support.
49406 2012-01-10 Marek Polacek <polacek@redhat.com>
49408 * locale/programs/localedef.h (show_archive_content): Add noreturn
49411 2012-01-09 Ulrich Drepper <drepper@gmail.com>
49413 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49415 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49417 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49419 * io/Makefile (headers): Add bits/poll2.h.
49421 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49424 typo #include statement.
49426 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49428 * include/sys/cdefs.h: Define __attribute_alloc_size.
49429 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49430 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49431 * elf/pldd.c: Likewise.
49432 * iconv/iconv_charmap.c: Likewise.
49433 * iconv/iconvconfig.c: Likewise.
49434 * iconv/strtab.c: Likewise.
49435 * locale/programs/locale.c: Likewise.
49436 * locale/programs/localedef.h: Likewise.
49437 * locale/programs/simple-hash.c: Likewise.
49438 * nscd/nscd.h: Likewise.
49439 * nss/makedb.c: Likewise.
49440 * sysdeps/generic/ldconfig.h: Likewise.
49441 * locale/programs/localedef.c: Remove xmalloc prototype.
49442 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49444 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49446 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49449 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49451 * math/Makefile (tests): Add tst-CMPLX.
49452 * math/tst-CMPLX.c: New file.
49454 * math/complex.h (CMPLXL): Fix typo.
49456 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49457 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49459 * debug/tst-chk1.c: Add poll and ppoll tests.
49460 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49461 * include/sys/poll.h: Add hidden proto for ppoll.
49462 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49463 * sysdeps/mach/hurd/ppoll.c: Likewise.
49464 * io/ppoll.c: Likewise.
49465 * debug/poll_chk.c: New file.
49466 * debug/ppoll_chk.c: New file.
49467 * include/bits/poll2.h: New file.
49468 * io/bits/poll2.h: New file.
49471 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49473 * configure.in: static is always set to yes. Remove.
49474 * config.make.in: Don't set build-static.
49475 * Makeconfig: Remove use of build-static.
49476 * dlfcn/Makefile: Likewise.
49477 * elf/Makefile: Likewise.
49478 * math/Makefile: Likewise.
49479 * misc/Makefile: Likewise.
49480 * nptl/Makefile: Likewise.
49481 * sysdeps/mach/hurd/Makefile: Likewise.
49483 * configure.in: PWD_P is not used anymore.
49484 * config.make.in: Remove PWD_P entry.
49486 * configure.in: Remove last remnants of RANLIB.
49487 No need to check for signed size_t anymore.
49488 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49490 Remove __builtin_expect test because we require at least gcc 3.4.
49491 * aclocal.m4: Likewise.
49493 * wcsmbs/mbrtoc16.c: Implement using towc function.
49494 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49495 * wcsmbs/wcsmbsload.c: Likewise.
49496 * iconv/gconv_simple.c: Likewise.
49497 * iconv/gconv_int.h: Likewise.
49498 * iconv/gconv_builtin.h: Likewise.
49499 * iconv/iconv_prog.c: Remove CHAR16 handling.
49501 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49503 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49505 * configure.in: Remove --with-elf and --enable-bounded options.
49506 Dont set base_machine for ia64. More non-ELF conditions removed.
49507 Remove testing and setting of leading underscore information.
49508 * config.make.in (build-bounded): Set to no.
49509 * config.h.in: Remove NO_UNDERSCORES entry.
49510 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49512 * csu/start.c: Remove !NO_UNDERSCORE code.
49513 * locale/localeinfo.h: Likewise.
49514 * sysdeps/generic/machine-gmon.h: Likewise.
49515 * sysdeps/generic/sysdep.h: Likewise.
49516 * sysdeps/i386/sysdep.h: Likewise.
49517 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49518 * sysdeps/mach/sysdep.h: Likewise.
49519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49521 * sysdeps/sh/sysdep.h: Likewise.
49522 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49523 * sysdeps/unix/i386/sysdep.S: Likewise.
49524 * sysdeps/unix/sparc/start.c: Likewise.
49525 * sysdeps/unix/sparc/sysdep.S: Likewise.
49526 * sysdeps/unix/sparc/sysdep.h: Likewise.
49527 * sysdeps/unix/start.c: Likewise.
49528 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49529 * sysdeps/x86_64/sysdep.h: Likewise.
49531 2012-01-07 Ulrich Drepper <drepper@gmail.com>
49534 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49536 * argp/argp-fmtstream.h: Use const instead __const.
49537 * argp/argp.h: Likewise.
49538 * assert/assert.h: Likewise.
49539 * bits/fenv.h: Likewise.
49540 * bits/sched.h: Likewise.
49541 * bits/sigset.h: Likewise.
49542 * bits/sigthread.h: Likewise.
49543 * catgets/nl_types.h: Likewise.
49544 * conform/data/pthread.h-data: Likewise.
49545 * crypt/crypt-private.h: Likewise.
49546 * crypt/crypt.h: Likewise.
49547 * crypt/crypt_util.c: Likewise.
49548 * ctype/ctype.h: Likewise.
49549 * debug/execinfo.h: Likewise.
49550 * debug/mbsnrtowcs_chk.c: Likewise.
49551 * debug/mbsrtowcs_chk.c: Likewise.
49552 * debug/wcsnrtombs_chk.c: Likewise.
49553 * debug/wcsrtombs_chk.c: Likewise.
49554 * debug/wcstombs_chk.c: Likewise.
49555 * dirent/dirent.h: Likewise.
49556 * dlfcn/dlfcn.h: Likewise.
49557 * elf/neededtest4.c: Likewise.
49558 * grp/grp.h: Likewise.
49559 * gshadow/gshadow.h: Likewise.
49560 * iconv/gconv.h: Likewise.
49561 * iconv/gconv_int.h: Likewise.
49562 * iconv/gconv_simple.c: Likewise.
49563 * iconv/iconv.h: Likewise.
49564 * iconv/loop.c: Likewise.
49565 * iconv/skeleton.c: Likewise.
49566 * include/aio.h: Likewise.
49567 * include/aliases.h: Likewise.
49568 * include/argz.h: Likewise.
49569 * include/arpa/inet.h: Likewise.
49570 * include/assert.h: Likewise.
49571 * include/dirent.h: Likewise.
49572 * include/dlfcn.h: Likewise.
49573 * include/execinfo.h: Likewise.
49574 * include/fcntl.h: Likewise.
49575 * include/fenv.h: Likewise.
49576 * include/glob.h: Likewise.
49577 * include/grp.h: Likewise.
49578 * include/libintl.h: Likewise.
49579 * include/mntent.h: Likewise.
49580 * include/netdb.h: Likewise.
49581 * include/pwd.h: Likewise.
49582 * include/rpc/netdb.h: Likewise.
49583 * include/sched.h: Likewise.
49584 * include/search.h: Likewise.
49585 * include/shadow.h: Likewise.
49586 * include/signal.h: Likewise.
49587 * include/stdio.h: Likewise.
49588 * include/stdlib.h: Likewise.
49589 * include/string.h: Likewise.
49590 * include/sys/socket.h: Likewise.
49591 * include/sys/stat.h: Likewise.
49592 * include/sys/statfs.h: Likewise.
49593 * include/sys/statvfs.h: Likewise.
49594 * include/sys/syslog.h: Likewise.
49595 * include/sys/time.h: Likewise.
49596 * include/sys/uio.h: Likewise.
49597 * include/time.h: Likewise.
49598 * include/unistd.h: Likewise.
49599 * include/utmp.h: Likewise.
49600 * include/wchar.h: Likewise.
49601 * include/wctype.h: Likewise.
49602 * inet/aliases.h: Likewise.
49603 * inet/arpa/inet.h: Likewise.
49604 * inet/netinet/ether.h: Likewise.
49605 * inet/netinet/in.h: Likewise.
49606 * intl/libintl.h: Likewise.
49607 * io/bits/fcntl2.h: Likewise.
49608 * io/fcntl.h: Likewise.
49609 * io/ftw.h: Likewise.
49610 * io/sys/poll.h: Likewise.
49611 * io/sys/stat.h: Likewise.
49612 * io/sys/statfs.h: Likewise.
49613 * io/sys/statvfs.h: Likewise.
49614 * io/utime.h: Likewise.
49615 * libio/bits/stdio.h: Likewise.
49616 * libio/bits/stdio2.h: Likewise.
49617 * libio/libio.h: Likewise.
49618 * libio/libioP.h: Likewise.
49619 * libio/stdio.h: Likewise.
49620 * locale/lc-ctype.c: Likewise.
49621 * locale/locale.h: Likewise.
49622 * login/utmp.h: Likewise.
49623 * malloc/arena.c: Likewise.
49624 * malloc/malloc.c: Likewise.
49625 * malloc/malloc.h: Likewise.
49626 * malloc/mcheck.c: Likewise.
49627 * malloc/mtrace.c: Likewise.
49628 * math/bits/mathcalls.h: Likewise.
49629 * math/fenv.h: Likewise.
49630 * math/math_private.h: Likewise.
49631 * misc/bits/error.h: Likewise.
49632 * misc/bits/syslog.h: Likewise.
49633 * misc/err.h: Likewise.
49634 * misc/error.h: Likewise.
49635 * misc/fstab.h: Likewise.
49636 * misc/mntent.h: Likewise.
49637 * misc/regexp.h: Likewise.
49638 * misc/search.h: Likewise.
49639 * misc/sgtty.h: Likewise.
49640 * misc/sys/mman.h: Likewise.
49641 * misc/sys/syslog.h: Likewise.
49642 * misc/sys/uio.h: Likewise.
49643 * misc/sys/xattr.h: Likewise.
49644 * misc/ttyent.h: Likewise.
49645 * nis/rpcsvc/ypclnt.h: Likewise.
49646 * nss/nss.h: Likewise.
49647 * posix/bits/unistd.h: Likewise.
49648 * posix/fnmatch.h: Likewise.
49649 * posix/glob.h: Likewise.
49650 * posix/sched.h: Likewise.
49651 * posix/spawn.h: Likewise.
49652 * posix/sys/wait.h: Likewise.
49653 * posix/unistd.h: Likewise.
49654 * posix/wordexp.h: Likewise.
49655 * pwd/pwd.h: Likewise.
49656 * resolv/netdb.h: Likewise.
49657 * resource/sys/resource.h: Likewise.
49658 * rt/aio.h: Likewise.
49659 * rt/bits/mqueue2.h: Likewise.
49660 * rt/mqueue.h: Likewise.
49661 * shadow/shadow.h: Likewise.
49662 * signal/signal.h: Likewise.
49663 * socket/send.c: Likewise.
49664 * socket/sendto.c: Likewise.
49665 * socket/sys/socket.h: Likewise.
49666 * stdio-common/printf.h: Likewise.
49667 * stdlib/bits/stdlib.h: Likewise.
49668 * stdlib/fmtmsg.h: Likewise.
49669 * stdlib/monetary.h: Likewise.
49670 * stdlib/stdlib.h: Likewise.
49671 * stdlib/ucontext.h: Likewise.
49672 * streams/stropts.h: Likewise.
49673 * string/argz.h: Likewise.
49674 * string/bits/string2.h: Likewise.
49675 * string/string.h: Likewise.
49676 * string/strings.h: Likewise.
49677 * sunrpc/rpc/auth.h: Likewise.
49678 * sunrpc/rpc/auth_des.h: Likewise.
49679 * sunrpc/rpc/clnt.h: Likewise.
49680 * sunrpc/rpc/netdb.h: Likewise.
49681 * sunrpc/rpc/pmap_clnt.h: Likewise.
49682 * sunrpc/rpc/xdr.h: Likewise.
49683 * sysdeps/generic/inttypes.h: Likewise.
49684 * sysdeps/generic/net/if.h: Likewise.
49685 * sysdeps/generic/sys/swap.h: Likewise.
49686 * sysdeps/gnu/net/if.h: Likewise.
49687 * sysdeps/gnu/utmpx.h: Likewise.
49688 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49689 * sysdeps/i386/i486/bits/string.h: Likewise.
49690 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49691 * sysdeps/s390/bits/string.h: Likewise.
49692 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49693 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49694 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49695 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49696 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49697 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49698 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49699 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49700 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49701 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49702 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49703 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49704 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49705 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49706 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49707 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49708 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49710 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49711 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49712 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49713 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49714 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49715 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49716 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49717 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49718 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49719 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49720 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49721 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49722 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49723 * sysvipc/sys/ipc.h: Likewise.
49724 * sysvipc/sys/msg.h: Likewise.
49725 * sysvipc/sys/sem.h: Likewise.
49726 * sysvipc/sys/shm.h: Likewise.
49727 * termios/termios.h: Likewise.
49728 * time/sys/time.h: Likewise.
49729 * time/time.h: Likewise.
49730 * wcsmbs/bits/wchar2.h: Likewise.
49731 * wcsmbs/uchar.h: Likewise.
49732 * wcsmbs/wchar.h: Likewise.
49733 * wctype/wctype.h: Likewise.
49736 * Makeconfig: Remove all but ELF support including AIX support.
49737 * Makerules: Likewise.
49738 * config.h.in: Likewise.
49739 * config.make.in: Likewise.
49740 * configure: Likewise.
49741 * configure.in: Likewise.
49742 * csu/Makefile: Likewise.
49743 * csu/version.c: Likewise.
49744 * debug/Makefile: Likewise.
49745 * dlfcn/Makefile: Likewise.
49746 * elf/Makefile: Likewise.
49747 * extra-lib.mk: Likewise.
49748 * iconv/Makefile: Likewise.
49749 * include/libc-symbols.h: Likewise.
49750 * include/shlib-compat.h: Likewise.
49751 * resolv/Makefile: Likewise.
49752 * resolv/res_libc.c: Likewise.
49753 * rt/Makefile: Likewise.
49754 * sysdeps/i386/asm-syntax.h: Likewise.
49755 * sysdeps/i386/sysdep.h: Likewise.
49756 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49757 * sysdeps/mach/sysdep.h: Likewise.
49758 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49759 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49760 * sysdeps/s390/asm-syntax.h: Likewise.
49761 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49762 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49763 * sysdeps/sh/sysdep.h: Likewise.
49764 * sysdeps/unix/sparc/sysdep.h: Likewise.
49765 * sysdeps/wordsize-32/divdi3.c: Likewise.
49766 * sysdeps/x86_64/sysdep.h: Likewise.
49768 * argp/Versions: Remove _argp_unlock_xxx.
49771 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49772 * abilist/libBrokenLocale.abilist: Likewise.
49773 * abilist/libanl.abilist: Likewise.
49774 * abilist/libc.abilist: Likewise.
49775 * abilist/libcrypt.abilist: Likewise.
49776 * abilist/libdl.abilist: Likewise.
49777 * abilist/libm.abilist: Likewise.
49778 * abilist/libnsl.abilist: Likewise.
49779 * abilist/libpthread.abilist: Likewise.
49780 * abilist/libresolv.abilist: Likewise.
49781 * abilist/librt.abilist: Likewise.
49782 * abilist/libthread_db.abilist: Likewise.
49783 * abilist/libutil.abilist: Likewise.
49784 * abilist/libnss_db.abilist: New file.
49786 * scripts/abilist.awk: Add support for indirect functions.
49788 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49790 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49792 * shlib-versions: Remove entries for ports architectures.
49794 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49796 * elf/stackguard-macros.h: Remove support for IA-64.
49797 * elf/tst-auditmod1.c: Likewise.
49798 * sysdeps/generic/ldsodefs.h: Likewise.
49800 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49801 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49805 * configure.in: Remove --enable-omitfp support.
49807 * config.make.in: Likewise.
49808 * Makeconfig: Likewise.
49809 * manual/install.texi: Likewise.
49811 In case anyone cares, the IA-64 architecture could move to ports.
49812 * sysdeps/ia64/*: Removed.
49813 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49814 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49817 * configure.in: Remove entries for unsupported architectures.
49820 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49821 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49823 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49824 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49825 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49826 fall back to using wcrtomb.
49827 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49828 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49830 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49831 * wcsmbs/tst-c16c32-1.c: New file.
49833 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49836 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49838 * elf/tst-unique3.cc: Add explicit declaration of gets.
49839 * elf/tst-unique3lib.cc: Likewise.
49840 * elf/tst-unique3lib2.cc: Likewise.
49841 * elf/tst-unique4.cc: Likewise.
49843 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49845 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49848 * assert/assert.h (static_assert): Don't define for C++.
49849 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49850 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49852 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49854 * iconv/loop.c (single loop): Fix assertion in storing of
49857 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49859 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49861 * posix/getconf.c: Update copyright year.
49862 * nss/getent.c: Likewise.
49863 * nss/makedb.c: Likewise.
49864 * iconv/iconvconfig.c: Likewise.
49865 * iconv/iconv_prog.c: Likewise.
49866 * elf/ldconfig.c: Likewise.
49867 * elf/pldd.c: Likewise.
49868 * elf/sotruss.ksh: Likewise.
49869 * catgets/gencat.c: Likewise.
49870 * csu/version.c: Likewise.
49871 * elf/ldd.bash.in: Likewise.
49872 * elf/sprof.c (print_version): Likewise.
49873 * locale/programs/locale.c: Likewise.
49874 * locale/programs/localedef.c: Likewise.
49875 * login/programs/pt_chown.c: Likewise.
49876 * nscd/nscd.c (print_version): Likewise.
49877 * debug/xtrace.sh: Likewise.
49878 * malloc/memusage.sh: Likewise.
49879 * malloc/mtrace.pl: Likewise.
49880 * debug/catchsegv.sh: Likewise.
49882 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49884 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49887 2011-12-24 Ulrich Drepper <drepper@gmail.com>
49890 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49891 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49893 * iconv/gconv_int.h: Likewise.
49894 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49895 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49896 from libc for GLIBC_2.16.
49897 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49898 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49899 * wcsmbs/uchar.h: Really define mbstate_t.
49900 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49901 * wcsmbs/c16rtomb.c: New file.
49902 * wcsmbs/mbrtoc16.c: New file.
49903 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49904 for C/POSIX locale.
49905 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49906 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49908 * wcsmbs/wchar.h: Add missing __restrict.
49910 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49913 * time/Makefile (routines): Add timespec_get.
49914 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49915 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49916 timespec for ISO C11.
49917 * time/timespec_get.c: New file.
49918 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49919 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49922 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49923 * stdlib/stdlib.h: Declare aligned_alloc.
49924 * Versions.def: Add GLIBC_2.16 for libc.
49925 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49928 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49931 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49935 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49938 * assert/assert.h (static_assert): Define.
49940 * version.h: Update for 2.16 development version.
49943 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49946 * version.h (RELEASE): Bump for 2.15 release.
49947 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49949 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49950 Patch by Marek Polacek <mpolacek@redhat.com>.
49952 * bits/byteswap.h: Protect long long constants with __extension__.
49953 * sysdeps/i386/bits/byteswap.h: Likewise.
49954 * sysdeps/ia64/bits/byteswap.h: Likewise.
49955 * sysdeps/s390/bits/byteswap.h: Likewise.
49956 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49958 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49961 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49962 destination buffer.
49963 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49965 2011-12-23 Marek Polacek <polacek@redhat.com>
49967 * elf/dl-addr.c (determine_info): Add inline keyword.
49968 * elf/tst-auditmod4b.c (check_avx): Likewise.
49969 * elf/tst-auditmod6b.c (check_avx): Likewise.
49970 * elf/tst-auditmod6c.c (check_avx): Likewise.
49971 * elf/tst-auditmod7b.c (check_avx): Likewise.
49973 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49975 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49978 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49981 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49982 processing for last bytes.
49984 2011-08-06 Bruno Haible <bruno@clisp.org>
49987 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49988 U+0385, not to U+1FEE.
49991 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49992 entry for U+00A5 U+0301.
49994 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49997 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49998 buffer for the output is too small.
50000 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50004 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50005 SSE flags if possible.
50007 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50010 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50011 processing for last bytes.
50013 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50015 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50016 (syscall-list-default-options, syscall-list-default-condition)
50017 (syscall-list-includes): Define.
50018 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50019 list of ABIs and options and #if conditions for each ABI. Do not
50020 handle common syscalls between ABIs specially.
50021 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50023 (syscall-list-variants, syscall-list-32bit-options)
50024 (syscall-list-32bit-condition, syscall-list-64bit-options)
50025 (syscall-list-64bit-condition): Define.
50026 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50027 (syscall-list-variants, syscall-list-32bit-options)
50028 (syscall-list-32bit-condition, syscall-list-64bit-options)
50029 (syscall-list-64bit-condition): Define.
50030 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50032 (syscall-list-variants, syscall-list-32bit-options)
50033 (syscall-list-32bit-condition, syscall-list-64bit-options)
50034 (syscall-list-64bit-condition): Define.
50035 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50037 (syscall-list-variants, syscall-list-32bit-options)
50038 (syscall-list-32bit-condition, syscall-list-64bit-options)
50039 (syscall-list-64bit-condition): Define.
50041 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50043 * locale/iso-639.def: Add brx entry.
50046 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50047 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50049 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50050 __feraiseexcept_renamed.
50052 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50055 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50056 EPOLLET with unsigned values.
50057 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50058 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50060 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50061 to large cancellation.
50062 * math/s_cacoshf.c: Likewise.
50063 * math/s_cacoshl.c: Likewise.
50065 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50069 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50070 * math/s_cacoshf.c: Likewise.
50071 * math/s_cacoshl.c: Likewise.
50073 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50076 * iconv/gconv.h: Define __GCONV_SWAP.
50077 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50078 * iconvdata/utf-16.c: Likewise.
50079 * iconvdata/utf-32.c: Likewise.
50081 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50084 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50085 numerator after shifting it by one limb.
50087 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50089 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50090 under [__USE_EXTERN_INLINES].
50092 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50095 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50097 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50099 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50100 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50102 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50103 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50104 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50105 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50106 for strncasecmp/strncasecmp_l compilation.
50107 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50108 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50110 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50113 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50116 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50119 * time/tzfile.c (__tzfile_read): Check values from file header.
50121 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50123 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50124 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50125 * powerpc/powerpc32/dl-start.S: Likewise.
50126 * powerpc/powerpc32/elf/start.S: Likewise.
50127 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50128 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50129 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50130 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50131 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50132 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50133 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50134 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50135 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50136 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50137 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50138 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50139 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50140 * powerpc/powerpc32/memset.S: Likewise.
50141 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50142 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50143 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50144 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50145 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50146 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50147 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50148 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50149 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50150 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50151 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50152 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50153 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50155 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50157 * math/libm-test.inc: Added more nearbyint tests.
50158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50159 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50161 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50163 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50165 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50168 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50170 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50171 Add wcscpy-ssse3 wcscpy-c.
50172 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50173 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50174 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50175 * sysdeps/x86_64/wcschr.S: New file.
50176 * sysdeps/x86_64/wcsrchr.S: New file.
50177 * string/test-strcmp.c: Remove checking of wcscmp function for
50179 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50180 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50181 wcsrchr-sse2 wcsrchr-c.
50182 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50183 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50184 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50185 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50186 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50187 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50188 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50189 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50190 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50191 * wcsmbc/wcschr.c (WCSCHR): New macro.
50193 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50195 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50196 * wcsmbs/test-wcsrchr.c: New file.
50197 * string/test-strrchr.c: Add wcsrchr support.
50199 * wcsmbs/test-wcscpy.c: New file.
50200 * string/test-strcpy.c: Add wcscpy support.
50203 2011-12-10 Ulrich Drepper <drepper@gmail.com>
50205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50208 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50211 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50213 2011-12-04 Ulrich Drepper <drepper@gmail.com>
50215 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50216 Minor optimizations.
50218 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50219 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50220 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50222 2011-12-03 Ulrich Drepper <drepper@gmail.com>
50224 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50225 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50226 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50227 for gcc to avoid warnings.
50228 * inet/Makefile (tests): Add tst-checks.
50229 * inet/tst-checks.c: New file.
50231 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50234 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50237 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50238 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50240 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50242 2011-12-02 Ulrich Drepper <drepper@gmail.com>
50244 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50247 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50249 2011-11-29 Joseph Myers <joseph@codesourcery.com>
50251 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50252 conditional on GCC version.
50253 (__arch_compare_and_exchange_val_8_acq)
50254 (__arch_compare_and_exchange_val_16_acq)
50255 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50256 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50257 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50259 2011-12-02 Joseph Myers <joseph@codesourcery.com>
50261 * sysdeps/sh/backtrace.c: New file.
50263 2011-12-02 Andreas Schwab <schwab@redhat.com>
50265 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50268 2011-12-01 Andreas Schwab <schwab@redhat.com>
50270 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50271 falling back to utime.
50273 2011-11-30 Andreas Schwab <schwab@redhat.com>
50275 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50276 expectations for float.
50278 2011-11-29 Andreas Schwab <schwab@redhat.com>
50280 * locale/weight.h (findidx): Add parameter len.
50281 * locale/weightwc.h (findidx): Likewise.
50282 * posix/fnmatch_loop.c (FCT): Adjust caller.
50283 * posix/regcomp.c (build_equiv_class): Likewise.
50284 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50285 * posix/regexec.c (check_node_accept_bytes): Likewise.
50286 * string/strcoll_l.c (STRCOLL): Likewise.
50287 * string/strxfrm_l.c (STRXFRM): Likewise.
50289 2011-11-17 Ulrich Drepper <drepper@gmail.com>
50291 * Makefile.in: Remove CVSOPT handling.
50292 * configure.in: Remove use of AC_REVISION.
50293 * iconvdata/Makefile (distribute): No need to filter out CVS.
50294 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50297 2011-11-16 Andreas Schwab <schwab@redhat.com>
50299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50300 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50301 [USE_AS_STRNCASECMP_L]: Likewise.
50302 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50303 NO_TLS_DIRECT_SEG_REFS.
50304 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50305 Fix argument offsets for non-PIC.
50306 [USE_AS_STRNCASECMP_L]: Likewise.
50307 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50308 NO_TLS_DIRECT_SEG_REFS.
50310 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50312 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50314 * locale/loadlocale.c (_nl_load_locale): Likewise.
50316 2011-11-15 Andreas Schwab <schwab@redhat.com>
50318 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50319 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50320 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50321 (SYSCALL_GETTIME): Set errno on error.
50323 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50324 count references to noai6ai_cached.
50326 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50328 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50330 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50331 FD_CLOEXEC for /proc/self/maps.
50333 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50334 FD_CLOEXEC for /proc/meminfo.
50336 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50339 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50340 FD_CLOEXEC for given file.
50342 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50344 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50345 FD_CLOEXEC for /etc/hosts.
50346 (_gethtent): Likewise.
50348 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50350 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50351 cancellation and set FD_CLOEXEC for /etc/netgroup.
50353 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50354 reading /etc/publickey.
50356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50357 allow cancellation when reading /etc/group.
50359 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50361 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50363 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50364 when using data file.
50366 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50368 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50369 (write_nis_obj): Use "c" and "e" in fopen.
50371 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50373 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50375 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50377 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50379 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50382 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50384 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50386 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50388 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50389 file parsing and set FD_CLOEXEC.
50391 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50393 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50395 2011-11-14 Andreas Schwab <schwab@redhat.com>
50397 * malloc/arena.c (arena_get2): Don't call reused_arena when
50398 _int_new_arena failed.
50400 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50402 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50403 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50404 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50405 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50406 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50408 to compile strcasecmp and strncasecmp.
50409 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50410 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50414 2011-11-13 Ulrich Drepper <drepper@gmail.com>
50416 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50417 locale-defines.sym to gen-as-const-headers.
50418 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50419 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50421 to compile strcasecmp and strncasecmp.
50422 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50423 strcasecmp_l and strncasecmp_l.
50424 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50425 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50426 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50427 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50428 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50429 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50430 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50431 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50432 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50433 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50434 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50436 2011-11-12 Ulrich Drepper <drepper@gmail.com>
50438 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50439 result of SYSDEP_GETTIME_CPU to retval.
50440 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50441 parameter list to macro. Remove trailing semicolon. Adjust users.
50443 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50446 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50448 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50450 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50451 from unused variable.
50453 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50455 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50458 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50461 * sunrpc/rpc_prot.c (rejected): Fix case value.
50463 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50464 unsigned long long int to avoid warnings in shift.
50466 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50468 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50471 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50472 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50473 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50475 * nis/nis_table.c (nis_list): Use variable of correct type for
50476 result of __follow_path call.
50478 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50480 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50481 of math functions ceil, trunc, floor, round, and sqrt, when
50482 avaliable on the platform.
50483 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50485 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50486 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50487 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50489 2011-10-30 Marek Polacek <mpolacek@redhat.com>
50491 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50492 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50494 2011-11-11 Roland McGrath <roland@hack.frob.com>
50496 * include/unistd.h: Fix __readlink return type.
50497 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50499 2011-11-11 Ulrich Drepper <drepper@gmail.com>
50501 * stdlib/ucontext.h: Undo last change for makecontext.
50503 2011-11-11 Andreas Schwab <schwab@redhat.com>
50505 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50507 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50508 * setjmp/setjmp.h: Mark functions as non-leaf.
50509 * setjmp/bits/setjmp2.h: Likewise.
50510 * stdlib/ucontext.h: Likewise.
50512 2011-11-10 Andreas Schwab <schwab@redhat.com>
50514 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50515 (reused_arena): Don't check arena limit.
50516 (arena_get2): Atomically check arena limit.
50518 2011-11-08 Ulrich Drepper <drepper@gmail.com>
50520 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50521 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50526 2011-11-07 Andreas Schwab <schwab@redhat.com>
50528 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50529 handler when locking.
50531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50532 Fix size of allocated buffer.
50534 2011-11-04 Andreas Schwab <schwab@redhat.com>
50537 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50538 declarations for long double functions.
50539 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50541 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50543 2011-11-03 Andreas Schwab <schwab@redhat.com>
50545 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50548 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50551 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50553 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50555 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50557 * include/alloca.h (stackinfo_alloca_round): Define.
50558 (extend_alloca): Use it.
50559 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50560 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50563 * scripts/check-local-headers.sh: Ignore libaudit.h.
50565 * nscd/Makefile (extra-objs): Make recursively expanded.
50567 2011-11-01 Ulrich Drepper <drepper@gmail.com>
50569 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50570 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50572 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50573 * posix/tst-rfc3484-2.c: Likewise.
50574 * posix/tst-rfc3484-3.c: Likewise.
50576 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50578 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50580 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50581 process_vm_writev from libc using GLIBC_2.15 version.
50583 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50585 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50587 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50590 2011-10-31 Ulrich Drepper <drepper@gmail.com>
50593 * nss/getent.c (initgroups_keys): Show error message in case no group
50596 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50597 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50598 __bump_nl_timestamp.
50599 * nscd/connections (nscd_init): When host database is served open
50600 netlink socket and request notification about configuration changes.
50601 (main_loop_poll): Track netlink file descriptor and bump timestamp
50602 in case data becomes available.
50603 (main_loop_epoll): Likewise.
50604 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50605 (database_pers_head): Add extra_data fileds.
50606 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50607 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50608 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50611 in6ai data, call __free_in6ai.
50612 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50613 Add -DHAVE_NETLINK.
50614 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50615 interface information. Reuse previous data if netlink timestamp
50617 (__bump_nl_timestamp): New function.
50618 (__free_in6ai): New function.
50620 2011-10-30 Ulrich Drepper <drepper@gmail.com>
50622 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50623 close_not_cancel_no_status here.
50624 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50626 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50629 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50632 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50633 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50634 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50636 2011-07-03 Andreas Jaeger <aj@suse.de>
50639 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50640 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50641 * math/libm-test.inc (sin_test): Add test case.
50643 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50646 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50647 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50649 * elf/chroot_canon.c (chroot_canon): Cleanups.
50651 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50654 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50655 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50657 * string/test-strchr.c: Make usable for strchrnul testing.
50658 * string/test-strchrnul.c: New file.
50659 * string/Makefile (strop-tests): Add strchrnul.
50661 * po/it.po: Update from translation team.
50662 * po/es.po: Likewise.
50664 2011-10-28 Ulrich Drepper <drepper@gmail.com>
50666 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50667 the three constants needed as parameters. Drop the others.
50668 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50669 __m128i_strloadu_tolower.
50670 Create and initialize variable zero and use it in all the places
50671 where _mm_setzero_si128 was used.
50673 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50674 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50675 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50676 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50678 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50679 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50680 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50681 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50682 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50683 __mpranred, __mptan.
50684 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50685 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50686 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50687 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50688 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50689 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50691 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50692 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50694 2011-10-28 Andreas Schwab <schwab@redhat.com>
50696 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50697 redefine if SHARED.
50698 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50701 wide char related routines to wcsmbs subdir.
50703 2011-10-27 Andreas Schwab <schwab@redhat.com>
50706 * misc/sys/cdefs.h (__THROWNL): Define.
50707 * posix/unistd.h: Use __THREADNL instead of __THREAD
50708 for memory synchronization functions.
50710 2011-10-26 Roland McGrath <roland@hack.frob.com>
50713 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50715 * manual/stdio.texi (Obstack Streams): Node removed.
50717 2011-10-26 Andreas Schwab <schwab@redhat.com>
50719 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50720 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50721 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50723 * math/math_private.h (math_force_eval): Allow non-addressable
50725 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50727 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50729 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50730 file is not needed.
50732 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50733 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50734 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50735 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50736 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50737 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50739 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50741 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50742 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50743 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50744 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50745 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50746 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50747 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50748 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50749 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50750 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50751 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50752 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50753 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50754 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50755 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50756 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50757 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50758 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50759 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50761 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50762 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50765 place. Use VEX encoding when compiling for AVX.
50767 2011-10-25 Andreas Schwab <schwab@redhat.com>
50769 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50770 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50772 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50774 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50776 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50777 useless if() expression.
50778 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50779 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50780 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50781 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50782 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50783 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50784 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50785 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50786 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50787 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50788 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50789 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50790 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50791 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50792 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50793 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50794 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50795 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50796 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50798 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50800 2011-10-25 Andreas Schwab <schwab@redhat.com>
50802 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50804 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50806 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50808 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50809 .text section. Avoid duplicate constants.
50810 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50811 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50812 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50814 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50818 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50819 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50820 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50821 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50822 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50823 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50824 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50825 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50826 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50827 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50828 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50830 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50831 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50832 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50833 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50834 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50835 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50836 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50837 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50838 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50839 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50840 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50841 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50842 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50843 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50844 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50845 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50846 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50847 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50848 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50849 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50850 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50851 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50852 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50853 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50854 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50856 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50858 * sysdeps/x86_64/dla.h: Move to ...
50859 * sysdeps/x86_64/fpu/dla.h: ...here.
50860 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50861 situations. Use __builtin_fma only for gcc 4.6 and up.
50863 * config.make.in: Add have-mfma4 entry.
50864 * configure.in: Substitute libc_cv_cc_fma4.
50865 * math/Makefile (dbl-only-routines): Add sincostab.
50866 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50867 Use __sincostab not sincos.
50868 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50870 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50875 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50876 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50877 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50878 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50880 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50881 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50883 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50884 define aliases when function name is a macro.
50885 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50886 sysdeps/ieee754/dbl-64/sincos.tbl.
50887 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50888 fma4-enabled routines.
50889 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50890 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50891 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50892 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50893 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50894 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50895 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50896 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50897 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50898 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50899 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50900 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50901 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50903 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50904 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50905 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50906 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50907 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50908 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50909 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50910 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50912 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50913 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50914 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50915 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50916 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50917 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50918 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50920 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50923 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50928 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50931 2011-10-24 Andreas Schwab <schwab@redhat.com>
50933 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50935 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50937 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50939 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50941 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50943 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50944 Remove unused variable magic_bits.
50945 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50947 * string/strnlen.c: Define and use STRNLEN macro.
50948 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50949 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50951 * wcsmbs/wcslen.c: Define and use WCSLEN.
50952 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50953 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50954 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50955 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50956 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50957 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50958 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50960 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50963 strnlen-sse2-no-bsf.
50964 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50965 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50966 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50967 Add strnlen support.
50968 (USE_AS_STRNLEN): New macro.
50969 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50970 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50971 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50972 * sysdeps/x86_64/wcslen.S: New file.
50974 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50977 XMM-moves are used for copying on small sizes.
50979 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50981 * wcsmbs/Makefile (strop-tests): Add wcschr.
50982 * wcsmbs/test-wcschr.c: New file.
50983 * string/test-strchr.c: Update.
50984 Add wcschr support.
50987 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50989 * wcsmbs/Makefile (strop-tests): Add wcslen.
50990 * wcsmbs/test-wcslen.c: New file.
50991 * string/test-strlen.c: Update.
50992 Add wcslen support.
50995 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50997 * po/it.po: Update from translation team.
50999 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51001 * sysdeps/x86_64/wcscmp.S: Update.
51002 Fix wrong comparison semantics.
51003 wcscmp shall use signed comparison not unsigned.
51004 Don't use substraction to avoid overflow bug.
51005 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51006 * wcsmbc/wcscmp.c: Likewise.
51007 * string/test-strcmp.c: Likewise.
51008 Add new tests to check cases with negative values.
51010 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51012 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51013 * sysdeps/x86_64/dla.h: ...here. New file.
51014 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51019 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51024 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51027 __ynl_finite aliases.
51029 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51033 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51035 [DLA_FMA] (EMULV): Use DLA_FMA.
51036 [DLA_FMA] (MUL12): Use EMULV.
51037 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51038 that are not needed.
51039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51042 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51047 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51049 * math/s_nan.c: Undef __nan.
51050 * math/s_nanf.c: Undef __nanf.
51051 * math/s_nanl.c: Undef __nanl.
51052 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51055 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51057 * math/s_catan.c: Add branch predictions.
51058 * math/s_catanf.c: Likewise.
51059 * math/s_catanh.c: Likewise.
51060 * math/s_catanhf.c: Likewise.
51061 * math/s_catanhl.c: Likewise.
51062 * math/s_catanl.c: Likewise.
51063 * math/s_cexp.c: Likewise.
51064 * math/s_cexpf.c: Likewise.
51065 * math/s_cexpl.c: Likewise.
51066 * math/s_clog.c: Likewise.
51067 * math/s_clog10.c: Likewise.
51068 * math/s_clog10f.c: Likewise.
51069 * math/s_clog10l.c: Likewise.
51070 * math/s_clogf.c: Likewise.
51071 * math/s_clogl.c: Likewise.
51072 * math/s_csqrt.c: Likewise.
51073 * math/s_csqrtf.c: Likewise.
51074 * math/s_csqrtl.c: Likewise.
51075 * math/s_ctanf.c: Likewise.
51076 * math/s_ctanh.c: Likewise.
51077 * math/s_ctanhf.c: Likewise.
51078 * math/s_ctanhl.c: Likewise.
51079 * math/s_ctanl.c: Likewise.
51081 * math/math_private.h: Define __nan, __nanf, __nanl.
51082 * math/s_cacosh.c: Include <math_private.h>.
51083 * math/s_cacoshl.c: Likewise.
51084 * math/s_casinh.c: Likewise.
51085 * math/s_casinhf.c: Likewise.
51086 * math/s_casinhl.c: Likewise.
51087 * math/s_ccos.c: Rely entire on ccosh.
51088 * math/s_ccosf.c: Rely entire on ccoshf.
51089 * math/s_ccosl.c: Rely entirely on ccoshl.
51090 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51091 Remove tests for FE_INVALID.
51092 * math/s_ccoshf.c: Likewise.
51093 * math/s_ccoshl.c: Likewise.
51094 * math/s_csin.c: Likewise.
51095 * math/s_csinf.c: Likewise.
51096 * math/s_csinh.c Likewise.
51097 * math/s_csinhf.c: Likewise.
51098 * math/s_csinhl.c: Likewise.
51099 * math/s_csinl.c: Likewise.
51100 * math/s_ctan.c: Likewise.
51101 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51102 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51103 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51105 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51108 compilation problems.
51110 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51113 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51115 * sysdeps/i386/configure.in: Test for -mfma4 option.
51116 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51117 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51118 COMMON_CPUID_INDEX_80000001.
51119 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51120 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51121 use it if FMA3 is not supported.
51122 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51124 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51125 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51127 2011-10-20 Andreas Schwab <schwab@redhat.com>
51130 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51131 it would create a cycle with a link time dependency.
51133 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51135 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51137 * string/Makefile (strop-tests): Add rawmemchr.
51138 * string/test-rawmemchr.c: New file.
51140 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51141 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51142 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51143 when compiling str{,n}casecmp and when AVX is available. Hook up
51144 new optimized code in initializers.
51146 2011-10-19 Andreas Schwab <schwab@redhat.com>
51148 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51149 __feraiseexcept instead of feraiseexcept.
51151 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51153 * math/math_private.h: Define defaults for libc_fetestexcept and
51155 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51156 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51157 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51158 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51159 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51160 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51161 libc_fetestexcept and libc_feupdateenv.
51163 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51164 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51165 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51166 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51167 libc_feholdexcept_setround.
51169 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51170 Add s_nearbyint-c and s_nearbyintf-c.
51171 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51172 nearbyintf inlines.
51173 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51174 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51176 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51178 * math/math_private.h: Define defaults for libc_fegetround,
51179 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51180 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51181 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51182 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51183 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51184 standard functions.
51185 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51186 Remove comments and hacks for old compiler versions.
51187 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51188 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51189 libc_feholdexceptl.
51191 2011-10-18 Andreas Schwab <schwab@redhat.com>
51193 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51194 (__feraiseexcept_renamed): Add __NTH.
51195 (feraiseexcept): Add __NTH. Rename local variables to fix
51196 namespace violations.
51198 2011-10-17 Ulrich Drepper <drepper@gmail.com>
51200 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51202 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51204 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51205 recently added interfaces.
51206 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51208 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51209 about macro parameter expansion.
51211 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51212 __NO_MATH_INLINES is defined. Cleanups.
51214 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51215 and __floorf is target has SSE4.1.
51216 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51217 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51218 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51219 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51221 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51223 (floorf): Likewise.
51225 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51227 2011-10-17 Andreas Schwab <schwab@redhat.com>
51229 * misc/sys/cdefs.h: Fix last change.
51231 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51234 2011-10-16 Ulrich Drepper <drepper@gmail.com>
51236 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51238 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51239 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51240 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51241 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51242 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51243 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51244 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51245 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51246 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51247 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51248 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51249 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51250 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51251 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51252 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51253 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51254 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51255 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51256 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51257 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51258 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51259 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51261 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51262 ceil, ceilf, floor, floorf.
51264 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51265 Perform IRELATIVE relocations last.
51267 * elf/do-rel.h: Add another parameter nrelative, replacing the
51268 local variable with the same name. Change name of the function
51269 to end in Rel or Rela (uppercase).
51270 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51271 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51272 elf_dynamic_do_##reloc function.
51274 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51276 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51277 is sufficient, at least on modern CPUs.
51279 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51281 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51282 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51284 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51286 * math/bits/math-finite.h: Add entries for exp.
51287 * math/e_expl.c: Add __*_finite alias.
51288 * sysdeps/i386/fpu/e_exp.S: Likewise.
51289 * sysdeps/i386/fpu/e_expf.S: Likewise.
51290 * sysdeps/i386/fpu/e_expl.c: Likewise.
51291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51292 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51293 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51294 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51295 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51296 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51297 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51299 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51300 is sufficient, at least on modern CPUs.
51302 * ctype/ctype-info.c (__ctype_init): Define.
51303 * include/ctype.h (__ctype_init): Declare.
51304 (__ctype_b_loc): The variable is always initialized.
51305 (__ctype_toupper_loc): Likewise.
51306 (__ctype_tolower_loc): Likewise.
51307 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51308 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51310 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51312 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51314 * configure.in: Also look in $cxxmachine/include for C++ system
51317 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51319 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51320 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51321 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51322 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51323 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51324 (USE_AS_WMEMCMP): New macro.
51326 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51327 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51328 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51329 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51331 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51332 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51333 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51334 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51335 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51336 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51337 (USE_AS_WMEMCMP): New macro.
51338 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51339 * sysdeps/string/test-memcmp.c: Update.
51340 Fix simple_wmemcmp.
51342 * wcsmbs/wmemcmp.c: Update.
51343 (WMEMCMP): New macro.
51346 2011-10-12 Andreas Jaeger <aj@suse.de>
51349 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51351 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51353 * libio/iofwide.c (do_length): Avoid warning.
51355 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51357 2011-10-14 Ulrich Drepper <drepper@gmail.com>
51359 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51361 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51362 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51363 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51364 * sysdeps/i386/i686/fpu/e_log.S: New file.
51365 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51366 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51368 * ctype/ctype.h: Add support for inlined isXXX functions when
51369 compiling C++ code.
51371 2011-10-14 Andreas Schwab <schwab@redhat.com>
51373 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51375 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51377 2011-10-13 Roland McGrath <roland@hack.frob.com>
51380 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51382 2011-10-13 Andreas Schwab <schwab@redhat.com>
51384 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51385 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51388 * sysdeps/x86_64/memrchr.S: Check for zero size.
51390 * string/stratcliff.c: Add memrchr tests.
51392 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51395 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51396 rawmemchr-sse2 rawmemchr-sse2-bsf.
51397 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51398 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51399 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51400 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51401 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51402 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51403 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51404 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51405 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51406 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51407 * string/memrchr.c (MEMRCHR): New macro.
51409 2011-10-12 Ulrich Drepper <drepper@gmail.com>
51411 Add integration with gcc's -ffinite-math-only and optimize wrapper
51413 * Versions.def: Define GLIBC_2.15 version for libm.
51414 * math/Makefile (headers): Add bits/math-finite.h.
51415 * math/bits/math-finite.h: New file.
51416 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51417 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51418 * math/e_acoshl.c: Add __*_finite alias.
51419 * math/e_acosl.c: Likewise.
51420 * math/e_asinl.c: Likewise.
51421 * math/e_atan2l.c: Likewise.
51422 * math/e_atanhl.c: Likewise.
51423 * math/e_coshl.c: Likewise.
51424 * math/e_exp10.c: Likewise.
51425 * math/e_exp10f.c: Likewise.
51426 * math/e_exp10l.c: Likewise.
51427 * math/e_exp2l.c: Likewise.
51428 * math/e_fmodl.c: Likewise.
51429 * math/e_gammal_r.c: Likewise.
51430 * math/e_hypotl.c: Likewise.
51431 * math/e_j0l.c: Likewise.
51432 * math/e_j1l.c: Likewise.
51433 * math/e_jnl.c: Likewise.
51434 * math/e_lgammal_r.c: Likewise.
51435 * math/e_log10l.c: Likewise.
51436 * math/e_log2l.c: Likewise.
51437 * math/e_logl.c: Likewise.
51438 * math/e_powl.c: Likewise.
51439 * math/e_sinhl.c: Likewise.
51440 * math/e_sqrtl.c: Likewise.
51441 * math/e_scalb.c: Completely rewritten and optimized.
51442 * math/e_scalbf.c: Likewise.
51443 * math/e_scalbl.c: Likewise.
51444 * math/w_acos.c: Likewise.
51445 * math/w_acosf.c: Likewise.
51446 * math/w_acosl.c: Likewise.
51447 * math/w_acosh.c: Likewise.
51448 * math/w_acoshf.c: Likewise.
51449 * math/w_acoshl.c: Likewise.
51450 * math/w_asin.c: Likewise.
51451 * math/w_asinf.c: Likewise.
51452 * math/w_asinl.c: Likewise.
51453 * math/w_atan2.c: Likewise.
51454 * math/w_atan2f.c: Likewise.
51455 * math/w_atan2l.c: Likewise.
51456 * math/w_atanh.c: Likewise.
51457 * math/w_atanhf.c: Likewise.
51458 * math/w_atanhl.c: Likewise.
51459 * math/w_exp10.c: Likewise.
51460 * math/w_exp10f.c: Likewise.
51461 * math/w_exp10l.c: Likewise.
51462 * math/w_fmod.c: Likewise.
51463 * math/w_fmodf.c: Likewise.
51464 * math/w_fmodl.c: Likewise.
51465 * math/w_j0.c: Likewise.
51466 * math/w_j0f.c: Likewise.
51467 * math/w_j0l.c: Likewise.
51468 * math/w_j1.c: Likewise.
51469 * math/w_j1f.c: Likewise.
51470 * math/w_j1l.c: Likewise.
51471 * math/w_jn.c: Likewise.
51472 * math/w_jnf.c: Likewise.
51473 * math/w_log.c: Likewise.
51474 * math/w_logf.c: Likewise.
51475 * math/w_logl.c: Likewise.
51476 * math/w_log10.c: Likewise.
51477 * math/w_log10f.c: Likewise.
51478 * math/w_log10l.c: Likewise.
51479 * math/w_log2.c: Likewise.
51480 * math/w_log2f.c: Likewise.
51481 * math/w_log2l.c: Likewise.
51482 * math/w_pow.c: Likewise.
51483 * math/w_powf.c: Likewise.
51484 * math/w_powl.c: Likewise.
51485 * math/w_remainder.c: Likewise.
51486 * math/w_remainderf.c: Likewise.
51487 * math/w_remainderl.c: Likewise.
51488 * math/w_scalb.c: Likewise.
51489 * math/w_scalbf.c: Likewise.
51490 * math/w_scalbl.c: Likewise.
51491 * math/w_sqrt.c: Likewise.
51492 * math/w_sqrtf.c: Likewise.
51493 * math/w_sqrtl.c: Likewise.
51494 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51495 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51497 * math/math_private.h: Declare __kernel_standard_f.
51498 * math/w_cosh.c: Remove cruft and optimize a bit.
51499 * math/w_coshf.c: Likewise.
51500 * math/w_coshl.c: Likewise.
51501 * math/w_exp2.c: Likewise.
51502 * math/w_exp2f.c: Likewise.
51503 * math/w_exp2l.c: Likewise.
51504 * math/w_hypot.c: Likewise.
51505 * math/w_hypotf.c: Likewise.
51506 * math/w_hypotl.c: Likewise.
51507 * math/w_lgamma.c: Likewise.
51508 * math/w_lgamma_r.c: Likewise.
51509 * math/w_lgammaf.c: Likewise.
51510 * math/w_lgammaf_r.c: Likewise.
51511 * math/w_lgammal.c: Likewise.
51512 * math/w_lgammal_r.c: Likewise.
51513 * math/w_sinh.c: Likewise.
51514 * math/w_sinhf.c: Likewise.
51515 * math/w_sinhl.c: Likewise.
51516 * math/w_tgamma.c: Likewise.
51517 * math/w_tgammaf.c: Likewise.
51518 * math/w_tgammal.c: Likewise.
51519 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51520 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51521 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51522 Minor optimizations. Pretty printing. Remove cruft.
51523 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51524 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51525 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51526 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51527 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51528 * sysdeps/i386/fpu/e_asin.S: Likewise.
51529 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51530 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51531 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51532 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51533 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51534 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51535 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51536 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51537 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51538 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51539 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51540 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51541 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51542 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51543 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51544 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51545 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51546 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51547 * sysdeps/i386/fpu/e_log.S: Likewise.
51548 * sysdeps/i386/fpu/e_log10.S: Likewise.
51549 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51550 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51551 * sysdeps/i386/fpu/e_log2.S: Likewise.
51552 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51553 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51554 * sysdeps/i386/fpu/e_logf.S: Likewise.
51555 * sysdeps/i386/fpu/e_logl.S: Likewise.
51556 * sysdeps/i386/fpu/e_pow.S: Likewise.
51557 * sysdeps/i386/fpu/e_powf.S: Likewise.
51558 * sysdeps/i386/fpu/e_powl.S: Likewise.
51559 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51560 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51561 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51562 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51563 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51564 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51565 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51566 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51567 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51568 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51569 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51571 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51572 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51573 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51574 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51575 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51576 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51577 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51578 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51579 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51581 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51582 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51584 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51585 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51588 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51589 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51590 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51591 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51592 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51593 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51594 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51595 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51596 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51597 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51598 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51599 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51600 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51601 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51602 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51603 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51604 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51605 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51606 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51607 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51608 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51609 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51610 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51611 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51612 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51613 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51614 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51615 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51616 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51617 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51618 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51619 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51620 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51621 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51622 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51623 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51624 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51625 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51626 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51627 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51628 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51632 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51633 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51636 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51637 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51638 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51639 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51640 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51641 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51642 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51643 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51644 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51645 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51646 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51647 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51648 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51649 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51650 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51651 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51652 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51653 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51654 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51655 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51656 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51657 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51658 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51659 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51660 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51661 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51662 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51663 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51664 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51665 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51666 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51667 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51668 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51669 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51670 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51671 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51672 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51673 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51674 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51675 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51676 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51677 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51678 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51679 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51680 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51681 (__isnanf): Likewise.
51682 (__isinf_ns): Likewise.
51683 (__isinf_nsf): Likewise.
51684 (__finite): Likewise.
51685 (__finitef): Likewise.
51686 (__ieee754_sqrt): Define as macro.
51687 (__ieee754_sqrtf): Define as macro.
51688 (__ieee754_sqrtl): Define as macro.
51689 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51691 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51692 __FINITE_MATH_ONLY__ consistent.
51693 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51695 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51697 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51700 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51702 2011-10-09 Ulrich Drepper <drepper@gmail.com>
51704 * po/ja.po: Update from translation team.
51706 2011-10-08 Roland McGrath <roland@hack.frob.com>
51708 * locale/programs/locarchive.c (prepare_address_space): New function.
51709 (create_archive, enlarge_archive, open_archive): Use it.
51711 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51712 inside [SHARED], where it is used.
51714 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51716 * nss/getent.c (netgroup_keys): Remove unused variable.
51717 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51719 2011-10-08 Ulrich Drepper <drepper@gmail.com>
51721 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51722 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51724 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51725 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51726 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51727 * math/Makefile (libm-calls): Add s_isinf_ns.
51728 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51729 * math/multc3.c: Likewise.
51730 * math/s_casin.c: Likewise.
51731 * math/s_casinf.c: Likewise.
51732 * math/s_casinl.c: Likewise.
51733 * math/s_ccos.c: Likewise.
51734 * math/s_ccosf.c: Likewise.
51735 * math/s_ccosl.c: Likewise.
51736 * math/s_ctan.c: Likewise.
51737 * math/s_ctanf.c: Likewise.
51738 * math/s_ctanh.c: Likewise.
51739 * math/s_ctanhf.c: Likewise.
51740 * math/s_ctanhl.c: Likewise.
51741 * math/s_ctanl.c: Likewise.
51742 * math/w_fmod.c: Likewise.
51743 * math/w_fmodf.c: Likewise.
51744 * math/w_fmodl.c: Likewise.
51745 * math/w_remainder.c: Likewise.
51746 * math/w_remainderf.c: Likewise.
51747 * math/w_remainderl.c: Likewise.
51748 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51749 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51750 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51751 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51752 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51753 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51754 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51755 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51757 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51759 * stdio-common/printf_fphex.c: Likewise.
51760 * stdio-common/printf_size.c: Likewise.
51762 * math/e_exp10.c: Include math_private.h using <...> not "...".
51763 * math/e_exp10f.c: Likewise.
51764 * math/e_exp10l.c: Likewise.
51765 * math/e_exp2l.c: Likewise.
51766 * math/e_j0l.c: Likewise.
51767 * math/e_j1l.c: Likewise.
51768 * math/e_jnl.c: Likewise.
51769 * math/e_lgammal_r.c: Likewise.
51770 * math/e_rem_pio2l.c: Likewise.
51771 * math/e_scalb.c: Likewise.
51772 * math/e_scalbf.c: Likewise.
51773 * math/e_scalbl.c: Likewise.
51774 * math/k_cosl.c: Likewise.
51775 * math/k_sinl.c: Likewise.
51776 * math/k_tanl.c: Likewise.
51777 * math/s_cacoshf.c: Likewise.
51778 * math/s_catan.c: Likewise.
51779 * math/s_catanf.c: Likewise.
51780 * math/s_catanh.c: Likewise.
51781 * math/s_catanhf.c: Likewise.
51782 * math/s_catanhl.c: Likewise.
51783 * math/s_catanl.c: Likewise.
51784 * math/s_ccosh.c: Likewise.
51785 * math/s_ccoshf.c: Likewise.
51786 * math/s_ccoshl.c: Likewise.
51787 * math/s_cexp.c: Likewise.
51788 * math/s_cexpf.c: Likewise.
51789 * math/s_cexpl.c: Likewise.
51790 * math/s_clog.c: Likewise.
51791 * math/s_clog10.c: Likewise.
51792 * math/s_clog10f.c: Likewise.
51793 * math/s_clog10l.c: Likewise.
51794 * math/s_clogf.c: Likewise.
51795 * math/s_clogl.c: Likewise.
51796 * math/s_csin.c: Likewise.
51797 * math/s_csinf.c: Likewise.
51798 * math/s_csinh.c: Likewise.
51799 * math/s_csinhf.c: Likewise.
51800 * math/s_csinhl.c: Likewise.
51801 * math/s_csinl.c: Likewise.
51802 * math/s_csqrt.c: Likewise.
51803 * math/s_csqrtf.c: Likewise.
51804 * math/s_csqrtl.c: Likewise.
51805 * math/s_ctan.c: Likewise.
51806 * math/s_ctanf.c: Likewise.
51807 * math/s_ctanh.c: Likewise.
51808 * math/s_ctanhf.c: Likewise.
51809 * math/s_ctanhl.c: Likewise.
51810 * math/s_ctanl.c: Likewise.
51811 * math/s_ldexp.c: Likewise.
51812 * math/s_ldexpf.c: Likewise.
51813 * math/s_ldexpl.c: Likewise.
51814 * math/s_significand.c: Likewise.
51815 * math/s_significandf.c: Likewise.
51816 * math/s_significandl.c: Likewise.
51817 * math/w_acos.c: Likewise.
51818 * math/w_acosf.c: Likewise.
51819 * math/w_acosh.c: Likewise.
51820 * math/w_acoshf.c: Likewise.
51821 * math/w_acoshl.c: Likewise.
51822 * math/w_acosl.c: Likewise.
51823 * math/w_asin.c: Likewise.
51824 * math/w_asinf.c: Likewise.
51825 * math/w_asinl.c: Likewise.
51826 * math/w_atan2.c: Likewise.
51827 * math/w_atan2f.c: Likewise.
51828 * math/w_atan2l.c: Likewise.
51829 * math/w_atanh.c: Likewise.
51830 * math/w_atanhf.c: Likewise.
51831 * math/w_atanhl.c: Likewise.
51832 * math/w_cosh.c: Likewise.
51833 * math/w_coshf.c: Likewise.
51834 * math/w_coshl.c: Likewise.
51835 * math/w_dremf.c: Likewise.
51836 * math/w_exp10.c: Likewise.
51837 * math/w_exp10f.c: Likewise.
51838 * math/w_exp10l.c: Likewise.
51839 * math/w_exp2.c: Likewise.
51840 * math/w_exp2f.c: Likewise.
51841 * math/w_fmod.c: Likewise.
51842 * math/w_fmodf.c: Likewise.
51843 * math/w_fmodl.c: Likewise.
51844 * math/w_hypot.c: Likewise.
51845 * math/w_hypotf.c: Likewise.
51846 * math/w_hypotl.c: Likewise.
51847 * math/w_j0.c: Likewise.
51848 * math/w_j0f.c: Likewise.
51849 * math/w_j0l.c: Likewise.
51850 * math/w_j1.c: Likewise.
51851 * math/w_j1f.c: Likewise.
51852 * math/w_j1l.c: Likewise.
51853 * math/w_jn.c: Likewise.
51854 * math/w_jnf.c: Likewise.
51855 * math/w_jnl.c: Likewise.
51856 * math/w_lgamma.c: Likewise.
51857 * math/w_lgamma_r.c: Likewise.
51858 * math/w_lgammaf.c: Likewise.
51859 * math/w_lgammaf_r.c: Likewise.
51860 * math/w_lgammal.c: Likewise.
51861 * math/w_lgammal_r.c: Likewise.
51862 * math/w_log.c: Likewise.
51863 * math/w_log10.c: Likewise.
51864 * math/w_log10f.c: Likewise.
51865 * math/w_log10l.c: Likewise.
51866 * math/w_log2.c: Likewise.
51867 * math/w_log2f.c: Likewise.
51868 * math/w_log2l.c: Likewise.
51869 * math/w_logf.c: Likewise.
51870 * math/w_logl.c: Likewise.
51871 * math/w_pow.c: Likewise.
51872 * math/w_powf.c: Likewise.
51873 * math/w_powl.c: Likewise.
51874 * math/w_remainder.c: Likewise.
51875 * math/w_remainderf.c: Likewise.
51876 * math/w_remainderl.c: Likewise.
51877 * math/w_scalb.c: Likewise.
51878 * math/w_scalbf.c: Likewise.
51879 * math/w_scalbl.c: Likewise.
51880 * math/w_sinh.c: Likewise.
51881 * math/w_sinhf.c: Likewise.
51882 * math/w_sinhl.c: Likewise.
51883 * math/w_sqrt.c: Likewise.
51884 * math/w_sqrtf.c: Likewise.
51885 * math/w_sqrtl.c: Likewise.
51886 * math/w_tgamma.c: Likewise.
51887 * math/w_tgammaf.c: Likewise.
51888 * math/w_tgammal.c: Likewise.
51890 * po/ja.po: Update from translation team.
51892 2011-09-29 Andreas Jaeger <aj@suse.de>
51895 * sunrpc/netname.c (netname2host): Fix logic.
51899 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51901 * math/w_remainder.c (__remainder): Likewise.
51902 * math/w_remainderf.c (__remainderf): Likewise.
51903 * math/libm-test.inc (remainder_test): Add test cases.
51905 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51907 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51910 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51912 * string/test-memcmp.c: Avoid unncessary #defines.
51913 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51915 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51917 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51918 Use new sse2 version for core i3 - i7 as it's faster
51919 than sse42 version.
51920 (bit_Prefer_PMINUB_for_stringop): New.
51921 * sysdeps/x86_64/rawmemchr.S: Update.
51922 Replace with faster SSE2 version.
51923 * sysdeps/x86_64/memrchr.S: New file.
51924 * sysdeps/x86_64/memchr.S: Update.
51925 Replace with faster SSE2 version.
51927 2011-09-12 Marek Polacek <mpolacek@redhat.com>
51929 * elf/dl-load.c (lose): Add cast to avoid warning.
51931 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51933 * po/ca.po: Update from translation team.
51935 * inet/getnetgrent_r.c: Hook up nscd.
51936 * nscd/Makefile (routines): Add nscd_netgroup.
51937 (nscd-modules): Add netgroupcache.
51938 (CFLAGS-netgroupcache.c): Define.
51939 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51940 (cache_search): Add const to second parameter.
51941 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51943 (dbs): Add netgrdb entry.
51944 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51945 (verify_persistent_db): Handle netgrdb.
51946 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51947 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51949 (netgroup_response_header): Define.
51950 (innetgroup_response_header): Define.
51951 (datahead): Add netgroup_response_header and innetgroup_response_header
51953 * nscd/nscd.conf: Add entries for netgroup cache.
51954 * nscd/nscd.h (dbtype): Add netgrdb.
51955 (_PATH_NSCD_NETGROUP_DB): Define.
51956 (netgroup_iov_disabled): Declare.
51957 (xmalloc, xcalloc, xrealloc): Move declarations here.
51958 (cache_search): Adjust prototype.
51959 Add netgroup-related prototypes.
51960 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51961 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51962 (__nscd_innetgr): Declare.
51963 * nscd/selinux.c (perms): Use access_vector_t as element type and
51964 add netgroup-related initializers.
51965 * nscd/netgroupcache.c: New file.
51966 * nscd/nscd_netgroup.c: New file.
51967 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51968 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51969 For four parameters use innetgr.
51970 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51971 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51972 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51973 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51975 * nscd/connections.c (register_traced_file): Don't register file
51976 for disabled databases.
51978 2011-10-06 Ulrich Drepper <drepper@gmail.com>
51980 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51982 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51983 from tree and freeing node.
51985 2011-09-25 Jiri Olsa <jolsa@redhat.com>
51987 * nss/nsswitch.c (__nss_database_lookup): Handle
51988 nss_parse_service_list out of memory case.
51990 2011-09-15 Jiri Olsa <jolsa@redhat.com>
51992 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51993 out of memory case.
51995 2011-10-04 Andreas Schwab <schwab@redhat.com>
51997 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51998 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52000 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52001 elf_machine_rela, elf_machine_lazy_rel.
52002 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52003 (ELF_DYNAMIC_DO_REL): Likewise.
52004 (ELF_DYNAMIC_DO_RELA): Likewise.
52005 (ELF_DYNAMIC_RELOCATE): Likewise.
52006 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52007 to ELF_DYNAMIC_DO_REL.
52008 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52009 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52010 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52012 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52013 skip_ifunc, don't call ifunc function if non-zero.
52014 (elf_machine_rela): Likewise.
52015 (elf_machine_lazy_rel): Likewise.
52016 (elf_machine_lazy_rela): Likewise.
52017 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52018 (elf_machine_lazy_rel): Likewise.
52019 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52021 (elf_machine_lazy_rel): Likewise.
52022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52024 (elf_machine_lazy_rel): Likewise.
52025 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52026 (elf_machine_lazy_rel): Likewise.
52027 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52028 (elf_machine_lazy_rel): Likewise.
52029 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52030 (elf_machine_lazy_rel): Likewise.
52031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52032 (elf_machine_lazy_rel): Likewise.
52033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52034 (elf_machine_lazy_rel): Likewise.
52035 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52036 (elf_machine_lazy_rel): Likewise.
52038 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52040 * nss/nss_files/files-init.c (_nss_files_init): Use static
52041 initialization for all the *_traced_file variables.
52043 2011-09-28 Andreas Schwab <schwab@redhat.com>
52045 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52047 2011-09-27 Roland McGrath <roland@hack.frob.com>
52050 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52052 2011-09-27 Andreas Schwab <schwab@redhat.com>
52054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52055 Reread the line before reparsing it.
52057 2011-09-26 Andreas Schwab <schwab@redhat.com>
52059 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52061 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52062 Maxim Kuvyrkov <maxim@codesourcery.com>
52063 Joseph Myers <joseph@codesourcery.com>
52065 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52066 if needed for __stack_chk_guard.
52068 2011-09-19 Roland McGrath <roland@hack.frob.com>
52070 * sysdeps/posix/spawni.c (script_execute): Always define it.
52071 It will be optimized away if unused.
52072 (maybe_script_execute): New function.
52073 (__spawni): Call it.
52075 * Makerules: Don't include tls.make.
52076 (config-tls): Always set to thread.
52077 * tls.make.c: File removed.
52079 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52081 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52082 * config.make.in (CPPFLAGS-config): New substituted variable.
52084 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52086 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52089 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52090 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52092 2011-09-15 Roland McGrath <roland@hack.frob.com>
52094 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52095 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52097 (CALL_FAIL): Likewise.
52098 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52099 (CALL_FAIL): Macro removed.
52100 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52102 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52104 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52105 for __FINITE_MATH_ONLY__ == 1.
52107 2011-09-15 Andreas Schwab <schwab@redhat.com>
52109 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52110 __ieee754_sqrt instead of sqrt.
52111 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52112 __ieee754_sqrtf instead of sqrtf.
52113 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52114 __floorf instead of floorf.
52115 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52116 __floorf, __truncf instead of floorf, truncf.
52118 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52120 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52122 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52123 __extern_always_inline.
52124 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52127 2011-09-14 Andreas Schwab <schwab@redhat.com>
52129 * elf/rtld.c (dl_main): Also relocate in dependency order when
52130 doing symbol dependency testing.
52132 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52134 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52135 Always define `refsym'.
52137 2011-09-13 Andreas Schwab <schwab@redhat.com>
52139 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52140 (__FD_ELT): Renamed from __FDELT.
52141 * misc/bits/select2.h (__FD_ELT): Likewise.
52142 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52143 __FD_MASK instead of __FDELT, __FDMASK.
52144 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52146 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52149 * elf/Makefile (gen-ldd): Fix pattern.
52151 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52152 (init_tls): Likewise.
52154 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52156 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52158 2011-09-12 Andreas Schwab <schwab@redhat.com>
52160 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52161 `struct cmsghdr *' instead of `void *'.
52162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52165 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52167 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52169 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52170 ldd_rewrite_script.
52172 2011-09-11 Ulrich Drepper <drepper@gmail.com>
52174 * configure.in: Remove --with-tls option.
52175 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52176 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52177 out in case it is missing.
52178 * sysdeps/ia64/elf/configure.in: Likewise.
52179 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52180 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52181 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52182 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52183 * sysdeps/sh/elf/configure.in: Likewise.
52184 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52185 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52186 * sysdeps/x86_64/elf/configure.in: Likewise.
52187 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52188 * sysdeps/mach/hurd/tls.h: Likewise.
52191 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52194 * configure.in: Fix use of AC_INIT.
52196 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52198 2011-09-10 Ulrich Drepper <drepper@gmail.com>
52200 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52202 * malloc/hooks.c: Likewise.
52205 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52206 variables statically.
52207 (narenas): Initialize.
52208 (list_lock): Initialize.
52209 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52210 initializtion of main_arena and list_lock. Small cleanups.
52211 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52212 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52213 Add initializers to main_arena and mp_.
52214 (malloc_state): Remove pagesize member. Change all users to use
52217 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52218 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52219 is always initialized.
52221 * malloc/malloc.c: Removed unused configurations and dead code.
52222 * malloc/arena.c: Likewise.
52223 * malloc/hooks.c: Likewise.
52224 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52226 * include/tls.h: Removed. USE___THREAD must always be defined.
52227 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52228 * elf/dl-libc.c: Likewise.
52229 * elf/dl-tsd.c: Likewise.
52230 * include/errno.h: Likewise.
52231 * include/netdb.h: Likewise.
52232 * include/resolv.h: Likewise.
52233 * inet/herrno-loc.c: Likewise.
52234 * inet/herrno.c: Likewise.
52235 * malloc/arena.c: Likewise.
52236 * malloc/hooks.c: Likewise.
52237 * malloc/malloc.c: Likewise.
52238 * resolv/res-state.c: Likewise.
52239 * resolv/res_libc.c: Likewise.
52240 * sysdeps/i386/dl-machine.h: Likewise.
52241 * sysdeps/ia64/dl-machine.h: Likewise.
52242 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52243 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52244 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52245 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52246 * sysdeps/sh/dl-machine.h: Likewise.
52247 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52248 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52249 * sysdeps/unix/i386/sysdep.S: Likewise.
52250 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52251 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52253 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52255 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52256 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52260 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52261 * sysdeps/x86_64/dl-machine.h: Likewise.
52262 * tls.make.c: Likewise.
52264 * configure.in: Remove --with-__thread option. Make tests for
52265 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52266 tls_model attribute fail if no support is available. Remove
52268 * Makeconfig: Adjust for dropped configure option. All features are
52270 * Makerules: Likewise.
52271 * Versions.def: Likewise.
52272 * argp/argp-fmtstream.c: Likewise.
52273 * argp/argp-fmtstream.h: Likewise.
52274 * argp/argp-help.c: Likewise.
52275 * assert/assert.c: Likewise.
52276 * config.h.in: Likewise.
52277 * config.make.in: Likewise.
52278 * configure: Likewise.
52279 * configure.in: Likewise.
52280 * csu/Versions: Likewise.
52281 * csu/init.c: Likewise.
52282 * elf/tst-audit2.c: Likewise.
52283 * elf/tst-tls10.c: Likewise.
52284 * elf/tst-tls10.h: Likewise.
52285 * elf/tst-tls11.c: Likewise.
52286 * elf/tst-tls12.c: Likewise.
52287 * elf/tst-tls14.c: Likewise.
52288 * elf/tst-tlsmod11.c: Likewise.
52289 * elf/tst-tlsmod12.c: Likewise.
52290 * elf/tst-tlsmod13.c: Likewise.
52291 * elf/tst-tlsmod13a.c: Likewise.
52292 * elf/tst-tlsmod14a.c: Likewise.
52293 * elf/tst-tlsmod15b.c: Likewise.
52294 * elf/tst-tlsmod16a.c: Likewise.
52295 * elf/tst-tlsmod16b.c: Likewise.
52296 * elf/tst-tlsmod7.c: Likewise.
52297 * elf/tst-tlsmod8.c: Likewise.
52298 * elf/tst-tlsmod9.c: Likewise.
52299 * gmon/gmon.c: Likewise.
52300 * grp/fgetgrent_r.c: Likewise.
52301 * grp/putgrent.c: Likewise.
52302 * hurd/fopenport.c: Likewise.
52303 * include/libc-symbols.h: Likewise.
52304 * include/tls.h: Likewise.
52305 * intl/gettextP.h: Likewise.
52306 * intl/loadinfo.h: Likewise.
52307 * locale/global-locale.c: Likewise.
52308 * locale/localeinfo.h: Likewise.
52309 * mach/devstream.c: Likewise.
52310 * malloc/arena.c: Likewise.
52311 * malloc/set-freeres.c: Likewise.
52312 * misc/err.c: Likewise.
52313 * misc/getttyent.c: Likewise.
52314 * misc/mntent_r.c: Likewise.
52315 * posix/getopt.c: Likewise.
52316 * posix/wordexp.c: Likewise.
52317 * pwd/fgetpwent_r.c: Likewise.
52318 * resolv/Versions: Likewise.
52319 * resolv/res_hconf.c: Likewise.
52320 * shadow/fgetspent_r.c: Likewise.
52321 * shadow/putspent.c: Likewise.
52322 * stdio-common/printf_fphex.c: Likewise.
52323 * stdio-common/tmpfile.c: Likewise.
52324 * stdlib/abort.c: Likewise.
52325 * stdlib/fmtmsg.c: Likewise.
52326 * sunrpc/auth_unix.c: Likewise.
52327 * sunrpc/clnt_perr.c: Likewise.
52328 * sunrpc/clnt_tcp.c: Likewise.
52329 * sunrpc/clnt_udp.c: Likewise.
52330 * sunrpc/clnt_unix.c: Likewise.
52331 * sunrpc/openchild.c: Likewise.
52332 * sunrpc/svc_simple.c: Likewise.
52333 * sunrpc/svc_tcp.c: Likewise.
52334 * sunrpc/svc_udp.c: Likewise.
52335 * sunrpc/svc_unix.c: Likewise.
52336 * sunrpc/xdr.c: Likewise.
52337 * sunrpc/xdr_array.c: Likewise.
52338 * sunrpc/xdr_rec.c: Likewise.
52339 * sunrpc/xdr_ref.c: Likewise.
52340 * sunrpc/xdr_stdio.c: Likewise.
52342 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52344 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52346 2011-07-03 Andreas Jaeger <aj@suse.de>
52348 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52349 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52350 regenerate with gen-libm-tests.pl.
52352 2010-05-12 Petr Baudis <pasky@suse.cz>
52355 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52356 around j0() zero points by switching to j1().
52357 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52358 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52359 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52360 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52362 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52364 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52366 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52369 Patch in part by Pavel Roskin <proski@gnu.org>.
52372 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52374 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52375 Free memory block if necessary.
52378 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52379 be NULL. Don't lock in this case.
52381 2011-09-09 Roland McGrath <roland@hack.frob.com>
52383 * elf/elf.h (ELFOSABI_GNU): New macro.
52384 (ELFOSABI_LINUX): Define to that.
52386 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52388 * string/strncat.c (strncat): Undef the symbol in case it has been
52389 defined in bits/string.h.
52391 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52393 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52395 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52398 2011-08-17 Andreas Jaeger <aj@suse.de>
52400 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52402 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52403 Ian Lance Taylor <iant@google.com>
52405 * math/libm-test.inc (lround_test): New testcase.
52406 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52408 2011-09-08 Ulrich Drepper <drepper@gmail.com>
52410 * Makefile: Remove support for automatic cvs check-ins.
52411 * Makerules: Likewise.
52412 * config.make.in: Likewise.
52413 * configure.in: Likewise.
52414 * intl/Makefile: Likewise.
52415 * locale/Makefile: Likewise.
52416 * po/Makefile: Likewise.
52417 * posix/Makefile: Likewise.
52418 * sysdeps/gnu/Makefile: Likewise.
52419 * sysdeps/mach/hurd/Makefile: Likewise.
52420 * sysdeps/sparc/sparc32/Makefile: Likewise.
52423 * posix/Makefile (bug-regex32-ENV): Define.
52424 Patch by John Stanley <jpsinthemix@verizon.net>.
52426 * misc/Makefile (headers): Add bits/select2.h.
52427 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52428 * misc/bits/select2.h: New file.
52429 * include/bits/select2.h: New file.
52430 * debug/Makefile (routines): Add fdelt_chk.
52431 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52432 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52434 * debug/fdelt_chk.c: New file.
52436 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52437 * wcsmbs/test-wmemcmp.c: Likewise.
52438 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52439 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52441 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52443 * string/Makefile (strop-tests): Add memcmp.
52444 * string/test-wmemcmp.c: New file.
52445 * string/test-memcmp.c: Add wmemcmp support.
52447 2011-09-08 Roland McGrath <roland@hack.frob.com>
52450 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52453 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52454 garbage value in a __mach_port_mod_refs call in the cases of the
52455 task-self and thread-self ports.
52457 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52459 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52461 2011-09-08 Andreas Schwab <schwab@redhat.com>
52463 * elf/dl-load.c (lose): Check for non-null L.
52465 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52467 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52469 * elf/dl-libc.c (dlerror_run): Pass back error code from
52473 * elf/dl-load.c (lose): Free l_origin if it is valid.
52475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52477 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52478 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52480 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52481 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52482 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52484 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52486 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52487 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52488 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52489 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52490 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52491 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52492 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52493 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52494 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52495 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52497 2011-08-15 Alan Modra <amodra@gmail.com>
52500 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52501 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52502 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52503 ppc_mcount to static-only-routines.
52504 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52506 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52507 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52509 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52511 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52512 for finite and infinity parameters.
52514 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52516 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52517 and add nop instructions for throughput optimization.
52518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52520 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52522 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52523 aligned copy for power7 with vector-scalar instructions.
52524 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52526 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52531 2011-09-07 Andreas Schwab <schwab@redhat.com>
52534 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52537 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52539 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52540 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52541 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52542 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52545 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52547 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52548 Forgot to demangle the pointer.
52550 * sysdeps/i386/sysdep.h: Define atom_text_section.
52551 * sysdeps/x86_64/sysdep.h: Likewise.
52552 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52553 section with atom_text_section.
52554 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52555 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52556 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52557 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52558 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52560 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52561 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52562 already be defined. Change to take two parameters and don't assign
52563 result to variable. Adjust all users.
52564 Define INTERNAL_GETTIME if not already defined.
52565 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52567 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52568 HAVE_CLOCK_GETTIME_VSYSCALL.
52569 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52571 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52572 gettimeofday vsyscall, just use time.
52574 2011-09-06 Andreas Schwab <schwab@redhat.com>
52576 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52579 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52581 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52583 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52585 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52586 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52587 syscall if possible.
52589 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52591 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52592 e_ident. Don't pass to find_mapsXX.
52593 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52595 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52598 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52599 * sysdeps/x86_64/multiarch/strchr.S: Update.
52600 Check bit_slow_BSF bit.
52601 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52602 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52603 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52605 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52608 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52610 (tryshell): Define.
52611 (__spawni): Change last parameter to be flag. Test
52612 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52613 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52614 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52615 * posix/spawni.c: Likewise.
52616 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52617 * posix/spawnp.c: Likewise. Change normal version to use
52618 SPAWN_XFLAGS_USE_PATH.
52619 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52620 SPAWN_XFLAGS_TRY_SHELL.
52623 * posix/glob.h: Remove gcc 1.x support.
52626 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52628 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52631 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52633 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52634 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52635 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52636 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52637 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52638 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52640 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52642 * sysdeps/x86_64/wcscmp.S: New file.
52644 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52645 wcscmp-c wcscmp-sse2
52646 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52647 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52648 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52649 * wcsmbs/wcscmp.c: Allow renaming.
52651 2011-09-05 David S. Miller <davem@davemloft.net>
52653 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52654 stack slot, rather than the struct return pointer slot.
52655 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52656 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52658 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52660 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52662 * po/ja.po: Update from translation team.
52665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52666 kernel in 64-bit binaries.
52668 2011-09-01 David S. Miller <davem@davemloft.net>
52670 * elf/elf.h (HWCAP_SPARC_*): Move to..
52671 * sysdeps/sparc/sysdep.h: this new file and add new values.
52672 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52673 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52674 _DL_HWCAP_COUNT to 24.
52675 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52677 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52678 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52679 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52681 instead of magic constants.
52682 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52684 2011-08-31 David S. Miller <davem@davemloft.net>
52686 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52688 Reimplement to do errno handling inline.
52689 (SYSCALL_ERROR_HANDLER): New macro.
52690 (__SYSCALL_STRING): Do not do errno handling in asm.
52691 (__CLONE_SYSCALL_STRING): Delete.
52692 (__INTERNAL_SYSCALL_STRING): Delete.
52693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52694 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52695 (PSEUDO): Reimplement to do errno handling inline.
52696 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52697 (SYSCALL_ERROR_HANDLER): New macro.
52698 (__SYSCALL_STRING): Do not do errno handling in asm.
52699 (__CLONE_SYSCALL_STRING): Delete.
52700 (__INTERNAL_SYSCALL_STRING): Delete.
52701 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52702 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52704 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52705 (inline_syscall*): Add 'err' argument.
52706 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52707 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52708 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52709 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52711 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52712 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52714 2011-08-30 Andreas Schwab <schwab@redhat.com>
52716 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52718 2011-08-29 Jiri Olsa <jolsa@redhat.com>
52720 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52723 2011-08-24 David S. Miller <davem@davemloft.net>
52725 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52727 2011-08-24 Andreas Schwab <schwab@redhat.com>
52729 * elf/Makefile: Add rules to build and run unload8 test.
52730 * elf/unload8.c: New file.
52731 * elf/unload8mod1.c: New file.
52732 * elf/unload8mod1x.c: New file.
52733 * elf/unload8mod2.c: New file.
52734 * elf/unload8mod3.c: New file.
52736 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52739 2011-08-23 David S. Miller <davem@davemloft.net>
52741 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52742 subtract stack bias.
52743 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52744 %sp not %fp in calculations.
52745 (_JMPBUF_UNWINDS_ADJ): Likewise.
52747 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52748 (aio_suspend): Call it to force an exception region around the
52749 AIO_MISC_WAIT() invocation.
52751 2011-08-23 Andreas Schwab <schwab@redhat.com>
52753 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52756 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52758 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52760 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52761 and <dl-machine.h>.
52762 (Elf64_FuncDesc): Remove.
52764 2011-08-22 David S. Miller <davem@davemloft.net>
52766 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52767 sigaltstack check, add missing cfi directives.
52768 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52769 missing cfi directives, and sigaltstack handling.
52771 2011-08-16 Andreas Schwab <schwab@redhat.com>
52774 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52775 object is seen twice.
52776 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52778 * elf/Makefile (distribute): Add tst-initorder2.c.
52779 (tests): Add tst-initorder2.
52780 (modules-names): Add tst-initorder2a tst-initorder2b
52781 tst-initorder2c tst-initorder2d. Add rules to build them.
52782 ($(objpfx)tst-initorder2.out): New rule.
52783 * elf/tst-initorder2.c: New file.
52784 * elf/tst-initorder2.exp: New file.
52786 2011-08-22 Andreas Schwab <schwab@redhat.com>
52788 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52790 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52791 dependencies back to end of function.
52793 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52794 $(elfobjdir)/ld.so.
52796 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52799 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52800 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52801 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52802 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52803 of __vdso_gettimeofday.
52804 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52805 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52807 (_libc_vdso_platform_setup): Remove initialization of
52808 __vdso_gettimeofday and __vdso_time.
52810 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52812 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52813 and fgetc_unlocked.
52814 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52817 * elf/dl-open.c (add_to_global): Report additions to the global scope
52818 for LD_DEBUG=scopes.
52819 (dl_open_worker): Also print scope of newly loaded dependencies.
52820 (_dl_show_scope): Indicate if there is no scope.
52823 * stdio-common/Makefile (tests): Add bug24.
52824 * stdio-common/bug24.c: New file.
52826 2011-08-19 Andreas Jaeger <aj@suse.de>
52829 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52830 non-existant file when using close-on-exec mode.
52832 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52835 the very first instruction.
52837 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52838 the CFI state in the end.
52839 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52840 inclusion of dl-trampoline.h.
52841 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52843 2011-08-19 Andreas Schwab <schwab@redhat.com>
52845 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52846 expectations for long double.
52848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52849 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52851 2011-08-14 David S. Miller <davem@davemloft.net>
52853 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52854 artificual limit depends upon the system page size.
52856 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52858 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52859 * resolv/Makefile: Define CFLAGS-libresolv.
52861 2011-08-17 Andreas Schwab <schwab@redhat.com>
52863 * nss/makedb.c (compute_tables): Make variables used in nested
52866 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52868 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52869 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52870 if buffer was too small.
52872 * elf/pldd.c (main): Attach to all threads in the process.
52873 Rewrite /proc handling to use *at functions.
52875 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52877 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52878 specifies first scope to show.
52879 (dl_open_worker): Update callers. Move printing scope of new
52880 object to before the relocation.
52881 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52882 * sysdeps/generic/ldsodefs.h: Update declaration.
52884 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52885 string for the scope number.
52887 2011-08-14 Ulrich Drepper <drepper@gmail.com>
52889 * nscd/servicescache.c (cache_addserv): Make sure written is always
52892 2011-08-14 Roland McGrath <roland@hack.frob.com>
52894 * sysdeps/i386/i486/bits/atomic.h
52895 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52896 statement expression, so as to suppress "set but not used" warning.
52897 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52899 * string/strncat.c (STRNCAT): Use prototype definition.
52901 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52902 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52904 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52905 (localedef-modules): Add localedef.
52906 (locale-modules): Add locale.
52908 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52909 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52910 to avoid a warning.
52912 2011-08-14 David S. Miller <davem@davemloft.net>
52914 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52915 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52917 2011-08-13 Ulrich Drepper <drepper@gmail.com>
52919 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52920 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52921 * elf/rtld.c (dl_main): Set l_name of vDSO.
52922 Call _dl_show_scope when DL_DEBUG_SCOPES.
52923 (process_dl_debug): Recognize scopes flag and also set it for all.
52924 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52925 Declare _dl_show_scope.
52927 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52928 (do_dlopen): Pass caller_dlopen to dl_open.
52929 (__libc_dlopen_mode): Initialize caller_dlopen.
52931 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52932 of libc. Make tolower call locale-independent. Optimize a bit by
52933 using isdigit instead of isalnum.
52934 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52936 2011-08-12 Ulrich Drepper <drepper@gmail.com>
52938 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52939 was a dependency or dynamically loaded.
52941 2011-08-11 Ulrich Drepper <drepper@gmail.com>
52943 * intl/l10nflist.c: Allow architecture-specific pop function.
52944 * sysdeps/x86_64/l10nflist.c: New file.
52946 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52949 2011-08-10 Andreas Schwab <schwab@redhat.com>
52951 * include/dirent.h: Add libc_hidden_proto for scandirat and
52952 scandirat64. Don't declare __scandirat64.
52953 * dirent/scandirat.c: Add libc_hidden_def.
52954 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52955 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52957 2011-08-10 David S. Miller <davem@davemloft.net>
52959 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52961 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52962 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52963 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52965 2011-08-09 Ulrich Drepper <drepper@gmail.com>
52967 * Versions.def [libc]: Add GLIBC_2.15.
52968 * dirent/Makefile (routines): Add scandirat and scandirat64.
52969 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52971 * dirent/dirent.h: Declare scandirat and scandirat64.
52972 * dirent/scandirat.c: New file.
52973 * dirent/scandirat64.c: New file.
52974 * sysdeps/wordsize-64/scandirat.c: New file.
52975 * sysdeps/wordsize-64/scandirat64.c: New file.
52976 * dirent/opendir.c: Define opendirat.
52977 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52979 * dirent/scandir64.c: Adjust for scandir.c change.
52980 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52981 __scandirat64, and __scandir_cancel_handler.
52982 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52983 additional parameter and use openat instead of open (outside of ld.so).
52984 Add new __opendir as wrapper around __opendirat.
52985 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52986 here without requiring old scandirat implementation.
52988 2011-08-08 Ulrich Drepper <drepper@gmail.com>
52990 * dirent/scandir.c (cancel_handler): Renamed to
52991 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52992 defined. Adjust users.
52993 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52994 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52996 2011-08-04 Ulrich Drepper <drepper@gmail.com>
52998 * string/test-string.h (IMPL): Use __STRING to expand name and then
53001 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53004 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53006 * string/Makefile: Update.
53007 (strop-tests): Append strncat.
53008 * string/test-wcscmp.c: New file.
53009 New comprehensive test for wcscmp.
53010 * string/test-strcmp.c: Update.
53011 (WIDE): New define.
53013 2011-07-22 Andreas Schwab <schwab@redhat.com>
53015 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53018 2011-07-26 Andreas Schwab <schwab@redhat.com>
53020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53021 encoding to ACE if AI_IDN.
53023 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53025 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53026 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53028 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53030 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53031 Fix overflow bug in strncat.
53032 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53034 * string/test-strncat.c: Update.
53035 Add new tests for checking overflow bugs.
53037 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53040 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53041 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53042 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53043 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53044 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53045 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53046 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53047 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53050 (USE_AS_STRCAT): Define.
53051 Add strcat and strncat support.
53052 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53054 2011-07-25 Andreas Schwab <schwab@redhat.com>
53056 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53057 __n bigger than INT_MAX+1.
53058 (__strncmp_g): Likewise.
53060 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53062 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53063 * libio/stido.h: Likewise.
53065 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53070 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53071 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53072 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53073 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53074 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53077 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53082 (_dl_x86_64_save_sse): Likewise.
53084 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53088 (_dl_x86_64_save_sse): Likewise.
53090 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53092 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53094 2011-07-21 Andreas Schwab <schwab@redhat.com>
53096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53098 (_dl_x86_64_save_sse): Use correct AVX check.
53100 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53102 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53103 bug in strncpy/strncat.
53104 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53106 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53108 * string/tester.c (test_strcat): Add tests for different alignments
53109 of source and destination.
53110 (test_strncat): Likewise.
53112 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53115 * posix/glob.c (glob): Check passed in values before using them in
53116 expressions to avoid some overflows.
53117 (glob_in_dir): Likewise.
53120 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53121 check for AVX enablement so that we don't crash with old kernels and
53123 * elf/tst-audit4.c: Add same checks here.
53124 * elf/tst-audit6.c: Likewise.
53126 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53128 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53130 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53132 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53134 * po/cs.po: Update from translation team.
53135 * po/bg.po: Likewise.
53137 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53139 * misc/sys/cdefs.h: Add support for const attribute.
53140 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53141 to gnu_dev_{major,minor,makedev} functions.
53143 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53145 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53147 2011-07-20 Andreas Schwab <schwab@redhat.com>
53149 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53152 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53154 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53155 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53156 register in order to avoid conflicts with the soft frame pointer
53157 being held in r11 when necessary.
53158 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53159 (INTERNAL_VSYSCALL_NCS): Likewise.
53161 2011-07-14 Marek Polacek <mpolacek@redhat.com>
53163 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53164 * elf/dl-fini.c (_dl_fini): Adjust caller.
53165 * elf/dl-close.c (_dl_close_worker): Likewise.
53166 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53168 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53170 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53171 "aux_cache->nlibs < 0".
53173 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53174 in the reload-count case.
53176 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53179 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53180 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53181 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53182 * sysdeps/x86_64/multiarch/strcat.S: New file.
53183 * sysdeps/x86_64/multiarch/strncat.S: New file.
53184 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53185 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53186 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53187 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53188 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53189 (USE_AS_STRCAT): Define.
53190 Add strcat and strncat support.
53191 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53192 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53193 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53194 * string/strncat.c: Update.
53195 (USE_AS_STRNCAT): Define.
53196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53197 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53199 * sysdeps/x86_64/multiarch/init-arch.h
53200 (bit_Prefer_PMINUB_for_stringop): New.
53201 (index_Prefer_PMINUB_for_stringop): Likewise.
53202 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53203 bit_Prefer_PMINUB_for_stringop.
53205 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53207 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53209 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53210 of casting of buffer.
53211 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53212 buffer32 and buffer64.
53213 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53214 writes instead of casting of buffer.
53215 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53217 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53220 2011-07-19 Andreas Schwab <schwab@redhat.com>
53222 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53224 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53226 * nscd/nscd.c (termination_handler): Don't do anything for a database
53227 if it has not yet been initialized.
53229 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53231 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53233 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53235 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53237 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53239 * po/nl.po: Update from translation team.
53240 * po/sv.po: Likewise.
53242 2011-07-16 Roland McGrath <roland@hack.frob.com>
53244 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53245 now disallowed by GCC.
53247 * configure.in (use-default-link): Default to yes if a test -shared
53248 link meets our qualifications.
53249 * configure: Regenerated.
53251 * config.make.in (output-format): New variable.
53252 * configure.in: Check for ld --print-output-format support.
53253 * configure: Regenerated.
53254 * Makerules ($(common-objpfx)format.lds)
53255 [$(output-format) != unknown]: Just use $(output-format),
53256 instead of the linker-script munging.
53258 2011-07-14 Roland McGrath <roland@hack.frob.com>
53260 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53261 of $(common-objpfx)shlib.lds.
53262 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53264 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53265 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53267 * configure.in (-z relro check): Adjust test code to add a large
53268 writable data section after it.
53269 * configure: Regenerated.
53271 2011-07-11 Roland McGrath <roland@hack.frob.com>
53273 * configure.in (-z relro check): Fix test code to make the variable
53275 * configure: Regenerated.
53277 2011-07-11 Ulrich Drepper <drepper@gmail.com>
53279 * nscd/nscd.h (struct traced_file): Define.
53280 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53281 elements. Add traced_files.
53282 (inotify_fd): Declare.
53283 (register_traced_file): Declare.
53284 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53285 (inotify_fd): Export.
53286 (resolv_conf_descr): Remove.
53287 (nscd_init): Move inotify descriptor creation to main.
53288 Don't register files for notification here.
53289 (register_traced_file): New function.
53290 (invalidate_cache): Don't use reset_res to determine whether to call
53291 res_init, go through the list of registered files.
53292 (main_loop_poll): The inotify descriptors are now stored in the
53293 structures for the traced files.
53294 (main_loop_epoll): Likewise
53295 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53296 to __nss_disable_nscd.
53297 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53298 for a database anymore. Check the records for all the registered
53300 * nss/Makefile (libnss_files-routines): Add files-init.
53301 (libnss_db-routines): Add db-init.
53302 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53303 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53304 * nss/nss_db/db-init.c: New file.
53305 * nss/nss_files/files-init.c: New file.
53306 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53307 __nss_lookup_function.
53308 (__nss_lookup_function): Call nss_load_library.
53309 (nss_load_all_libraries): New function.
53310 (__nss_disable_nscd): Take parameter with callback function for files
53311 to register. Set is_nscd. Load all the DSOs for the NSS modules
53312 used for the cached services.
53313 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53314 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53315 options for features to all the files in nscd.
53317 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53319 2011-07-10 Roland McGrath <roland@hack.frob.com>
53321 * csu/elf-init.c (__libc_csu_init): Comment typo.
53323 2011-07-09 Ulrich Drepper <drepper@gmail.com>
53325 * po/pl.po: Update from translation team.
53326 * po/ja.po: Likewise.
53327 * po/ru.po: Likewise.
53328 * po/ko.po: Likewise.
53329 * po/fr.po: Likewise.
53331 2011-07-09 Roland McGrath <roland@hack.frob.com>
53333 * configure.in (.ctors/.dtors header and trailer check):
53334 Use an empirical test on a built program.
53335 * configure: Regenerated.
53337 * configure.in (-z relro check): Use an empirical test on a built DSO.
53338 Detect, but do not require, on ia64.
53339 * configure: Regenerated.
53341 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53342 Update tests that use readelf to use $READELF instead.
53343 * configure: Regenerated.
53345 2011-07-08 Ulrich Drepper <drepper@gmail.com>
53347 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53348 if the result is not used.
53350 2011-07-05 Andreas Jaeger <aj@suse.de>
53353 * stdlib/tst-strtod.c: Add testcase.
53355 2011-07-07 Ulrich Drepper <drepper@gmail.com>
53357 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53358 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53359 The latter has a higher limit. Take additional parameter to pass to
53361 (__pathconf): Pass file to __statfs_link_max.
53362 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53364 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53368 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53369 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53371 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53372 (__statfs_filesize_max): Likewise.
53373 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53375 2011-07-05 Andreas Jaeger <aj@suse.de>
53377 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53379 2011-07-06 Marek Polacek <mpolacek@redhat.com>
53381 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53383 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53386 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53388 * Makefile (strop-tests): Add strncat.
53389 * string/test-strncat.c: New file.
53391 2011-06-30 Marek Polacek <mpolacek@redhat.com>
53393 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53395 2011-06-21 Andreas Jaeger <aj@suse.de>
53397 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53398 Copy rule from iconvdata/Makefile.
53400 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53403 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53404 but no long options are defined, just return 'W'.
53406 2011-06-22 Marek Polacek <mpolacek@redhat.com>
53409 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53411 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53413 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53415 (innetgr): Likewise.
53417 2011-07-05 Roland McGrath <roland@hack.frob.com>
53419 * config.make.in (install_root): Default to $(DESTDIR).
53421 2011-07-05 Ulrich Drepper <drepper@gmail.com>
53423 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53425 2011-07-02 Roland McGrath <roland@hack.frob.com>
53427 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53429 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53430 containing directory rather than embedding absolute directory names.
53432 * scripts/check-local-headers.sh: Rewritten using awk.
53433 Match by word, not by line. Print error messages for matches.
53434 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53436 * Makerules [shlib-lds-flags empty]:
53437 ($(common-objpfx)libc_pic.opts): New target.
53438 ($(common-objpfx)libc_pic.os.clean): New target.
53439 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53441 * config.make.in (OBJCOPY): New variable.
53442 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53443 * configure: Regenerated.
53445 * config.make.in (use-default-link): New variable.
53446 * configure.in (use_default_link): Grok --with-default-link to set it.
53447 * configure: Regenerated.
53448 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53449 (shlib-lds, shlib-lds-flags): Define to empty.
53451 * Makerules (shlib-lds): New variable.
53452 (shlib-lds-flags): New variable.
53453 (build-shlib, build-moduile, build-module-asneeded): Use it.
53454 ($(common-objpfx)libc.so): Use $(shlib-lds).
53455 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53456 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53458 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53459 DT_FLAGS/DT_FLAGS_1 with zero flags.
53461 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53462 linker script munging.
53464 2011-07-02 Ulrich Drepper <drepper@gmail.com>
53466 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53468 * crypt/sha512.c (sha512_process_block): Perform total addition using
53469 128-bit if possible.
53470 (__sha512_finish_ctx): Likewise.
53471 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53473 * crypt/sha256.c (SWAP64): Define.
53474 (sha256_process_block): Perform total addition using 64-bit if
53476 (__sha256_finish_ctx): Likewise.
53478 2011-07-01 Ulrich Drepper <drepper@gmail.com>
53480 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53482 * nscd/hstcache.c (cache_addhst): Likewise.
53483 * nscd/grpcache.c (cache_addgr): Likewise.
53484 * nscd/aicache.c (addhstaiX): Likewise
53485 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53487 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
53489 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53491 * nscd/hstcache.c (cache_addhst): Likewise.
53492 * nscd/grpcache.c (cache_addgr): Likewise.
53493 * nscd/aicache.c (addhstaiX): Likewise
53495 2011-07-01 Andreas Schwab <schwab@redhat.com>
53497 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53498 domain only when needed.
53500 2011-06-30 Andreas Schwab <schwab@redhat.com>
53502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53503 is always restored.
53505 2011-06-29 Ulrich Drepper <drepper@gmail.com>
53507 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53508 are re-adding the entry.
53509 * nscd/servicescache.c (cache_addserv): Likewise.
53511 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53513 * sysdeps/generic/dl-irel.h: fix protection against multiple
53515 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53517 2011-06-28 Ulrich Drepper <drepper@gmail.com>
53520 * malloc/memusage.sh: Fix quoting in message.
53521 * debug/xtrace.sh: Likewise.
53523 * configure.in: Remove support for --experimental-malloc option, make
53525 * config.make.in: Likewise.
53526 * malloc/Makefile: Likewise.
53528 2011-06-27 Andreas Schwab <schwab@redhat.com>
53530 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53531 two-byte characters.
53533 2011-06-27 Roland McGrath <roland@hack.frob.com>
53535 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53536 AC_CACHE_CHECK invocation.
53537 * configure: Regenerated.
53539 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53541 2011-06-27 Ulrich Drepper <drepper@gmail.com>
53544 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53545 bit from old_res_options.
53547 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53549 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53550 value type for setfct.
53552 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53554 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53555 __gettimeofday instead of gettimeofday.
53557 2011-06-26 Ulrich Drepper <drepper@gmail.com>
53559 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53561 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53563 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53565 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53568 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53571 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53572 strcpy-sse2-unaligned strncpy-sse2-unaligned
53573 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53574 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53575 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53576 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53577 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53578 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53579 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53580 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53581 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53582 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53583 (STRCPY): Support SSE2 and SSSE3 versions.
53585 2011-06-24 Ulrich Drepper <drepper@gmail.com>
53588 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53589 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53590 kernels which artificially limit size of requests.
53592 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53595 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53596 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53597 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53598 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53599 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53600 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53601 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53602 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53603 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53604 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53605 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53606 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53607 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53608 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53610 Enable unaligned load optimization for Intel Core i3, i5 and i7
53612 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53614 (index_Fast_Unaligned_Load): Define.
53615 (HAS_FAST_UNALIGNED_LOAD): Define.
53617 2011-06-23 Marek Polacek <mpolacek@redhat.com>
53619 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53621 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53625 until it is clear that the information is realy needed.
53626 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53628 2011-06-22 Andreas Schwab <schwab@redhat.com>
53630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53632 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53635 /sys/devices/system/cpu/online if it is usable.
53637 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53638 reading the information from the /proc filesystem to once a second.
53640 2011-06-21 Andreas Jaeger <aj@suse.de>
53642 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53643 NULL after inclusion of kernel headers.
53645 2011-06-21 Ulrich Drepper <drepper@gmail.com>
53647 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53648 calls to internal_setent.
53651 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53652 addresses using gethostbyname4_r ignore IPv4 addresses.
53654 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53655 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53657 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53659 2011-06-20 David S. Miller <davem@davemloft.net>
53661 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53663 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53665 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53666 (elf_irel): Use it.
53667 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53668 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53669 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53670 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53671 * sysdeps/x86_64/dl-irel.h: Likewise.
53673 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53674 * elf/dl-sym.c: Likewise.
53676 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53678 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53679 need to dereference resplen2.
53681 2011-06-14 Andreas Schwab <schwab@redhat.com>
53683 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53685 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53687 * Makeconfig: Define vardbdir and inst_vardbdir.
53688 * nss/Makefile: Add rules to install db-Makefile.
53690 * nss/nss_db/db-XXX.c: Cleanup.
53692 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53693 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53695 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53696 * nss/makedb.c: Implement -g option to specify that value strings
53697 are generated and should not be added to table iterated over for
53699 * nss/nss_db/db-initgroups.c: New file.
53701 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53704 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53705 (internal_getgrouplist): Adjust to name change.
53706 Update use_initgroups_entry if this is not the first call.
53707 * nss/databases.def: Add initgroups entry.
53709 * nss/makedb.c (compute_tables): Check result of multiple hash table
53710 sizes to minimize maximum chain length.
53712 2011-06-14 Ulrich Drepper <drepper@gmail.com>
53714 * Versions.def: Add entry for libnss_db.
53715 * shlib-versions: Likewise.
53716 * nss/Makefile: Add rules to build libnss_db.
53717 * nss/Versions: Add libnss_db information. Organize libnss_files
53719 * nss/db-Makefile: Add gshadow support. Change rules for the new
53720 makedb progra. Some minor improvements to generate smaller files.
53721 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53723 * nss/makedb.c: ...here.
53724 Improve database format to be smaller and require less memory at
53726 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53728 * nss/nss_db/db-netgrp.c: Likewise.
53729 * nss/nss_db/db-open.c: Likewise.
53730 * nss/nss_files/flies-XXX.x: Adjust comments.
53731 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53732 * nss/nss_files/files-grp.c: Likewise.
53733 * nss/nss_files/files-hosts.c: Likewise.
53734 * nss/nss_files/files-network.c: Likewise.
53735 * nss/nss_files/files-proto.c: Likewise.
53736 * nss/nss_files/files-pwd.c: Likewise.
53737 * nss/nss_files/files-rpc.c: Likewise.
53738 * nss/nss_files/files-service.c: Likewise.
53739 * nss/nss_files/files-sgrp.c: Likewise.
53740 * nss/nss_files/files-spwd.c: Likewise.
53741 * nss/nss_db/db-alias.c: Removed.
53742 * nss/nss_db/dummy-db.h: Removed.
53744 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53746 * nss/makedb.c: Rewritten to not use database library.
53747 * nss/Makefile: Update to build new makedb program.
53749 2011-06-14 Andreas Jaeger <aj@suse.de>
53751 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53752 memset declaration.
53754 2011-06-10 Andreas Schwab <schwab@redhat.com>
53756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53759 2011-06-10 Roland McGrath <roland@hack.frob.com>
53761 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53762 * elf/Makefile ($(objpfx)ld.so): Likewise.
53764 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53765 Don't list ld.so twice in dependencies.
53767 * posix/bug-regex31.c: Include <stdlib.h>.
53769 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53771 * nis/nss_compat/compat-spwd.c
53772 (getspent_next_nss_netgr): Remove unused variable.
53773 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53775 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53776 nonmembers" output to use the right array.
53778 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53780 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53782 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53783 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53784 * catgets/gencat.c (read_input_file): Likewise.
53785 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53787 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53788 variable definition inside #if's controlling its use.
53790 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53792 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53794 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53796 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53799 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53801 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53802 * configure: Regenerated.
53804 * Makerules: Revert last change.
53805 * elf/Makefile: Likewise.
53807 2011-06-09 Roland McGrath <roland@hack.frob.com>
53809 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53810 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53811 (reloc-link): Likewise.
53813 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53815 * elf/Makefile: Add rules to build pldd.
53816 * elf/pldd.c: New file.
53817 * elf/pldd-xx.c: New file.
53819 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53821 * version.h: Update for 2.15 development version.
53823 2011-06-07 David S. Miller <davem@davemloft.net>
53825 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53827 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53828 elf_machine_lazy_rel): Likewise.
53829 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53830 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53831 elf_machine_lazy_rel): Likewise.
53832 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53833 dl_hwcap via passed in argument.
53834 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53837 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53839 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53841 2011-06-06 Roland McGrath <roland@hack.frob.com>
53844 * manual/fdl-1.1.texi: New file, verbatim from:
53845 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53846 * manual/lgpl-2.1.texi: New file, verbatim from:
53847 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53848 * manual/Makefile (licenses): New variable, list those new file names.
53850 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53852 * manual/fdl.texi: File removed.
53853 * manual/lesser.texi: File removed.
53854 * manual/libc.texinfo (Copying, Documentation License):
53855 Use new @include file names, put @appendix directive before @include.
53857 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53860 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53861 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53862 (mq_open): Add __NTH.
53864 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53867 Assume Intel Core i3/i5/i7 processor if AVX is available.
53869 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53874 2011-05-31 Andreas Schwab <schwab@redhat.com>
53876 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53877 memory. Use alloca_account. Fix memory leak when retrying.
53879 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53881 * version.h (RELEASE): Bump for 2.14 release.
53882 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53884 * config.make.in (RANLIB): Remove entry.
53886 2011-05-30 Ulrich Drepper <drepper@gmail.com>
53888 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53889 (libc.pot): Work around missing support for .ksh extension in xgettext.
53892 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53893 if both request failed.
53894 (send_dg): In case of server errors clear resplen or *resplen2.
53897 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53898 when there are multiple maps.
53899 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53900 (_dl_fini): Remove test here.
53902 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53904 2011-05-29 Ulrich Drepper <drepper@gmail.com>
53907 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53908 bit from old_res_options.
53909 (gaih_inet): Likewise.
53912 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53915 * resolv/res_init.c (res_setoptions): Make the code more compact.
53918 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53922 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53924 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53927 * malloc/malloc.h: Declare malloc hook variables as volatile.
53929 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53933 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53934 raise in the comment.
53935 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53936 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53937 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53939 2011-05-28 Ulrich Drepper <drepper@gmail.com>
53942 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53943 grow the buffers more if it already has to be sufficient.
53944 (build_wcs_upper_buffer): Likewise.
53945 * posix/regexec.c (check_matching): Likewise.
53946 (clean_state_log_if_needed): Likewise.
53947 (extend_buffers): Don't enlarge buffers beyond size of the input
53949 Patches mostly by Emil Wojak <emil@wojak.eu>.
53950 * posix/bug-regex32.c: New file.
53951 * posix/Makefile (tests): Add bug-regex32.
53953 * locale/findlocale.c (_nl_find_locale): Return right away if
53954 _nl_explode_name failed.
53955 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53957 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53959 * debug/xtrace.sh: Unify messages.
53960 * malloc/memusage.sh: Likewise.
53963 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53964 time symbol from vDSO. Substitute with vsyscall if not available.
53965 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53968 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53969 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53970 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53971 Add sendmmsg and internal_sendmmsg.
53972 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53973 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53974 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53976 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53977 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53978 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53980 2011-05-27 Ulrich Drepper <drepper@gmail.com>
53983 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53984 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53986 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53990 * iconvdata/Makefile (tests): Add bug-iconv9.
53991 * iconvdata/bug-iconv9.c: New file.
53993 2011-05-27 Andreas Schwab <schwab@redhat.com>
53996 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53998 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54000 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54001 (struct user_regs_struct): Change intcs field back to cs.
54003 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54005 * po/ja.po: Update from translation team.
54007 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54010 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54011 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54013 2011-05-20 Andreas Schwab <schwab@redhat.com>
54015 * stdlib/longlong.h: Update from GCC.
54017 2011-05-23 Andreas Schwab <schwab@redhat.com>
54019 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54021 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54022 Add parameter name.
54023 (__sysconf): Pass it down.
54025 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54028 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54030 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54031 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54032 add in in __libc_use_alloca calls. Adjust callers.
54033 (glob): Use malloc in some situations.
54035 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54036 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54039 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54041 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54042 and CLOCK_BOOTTIME_ALARM.
54045 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54048 * string/_strerror.c (__strerror_r): Print negative errors as signed
54052 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54053 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54054 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54056 * configure.in: Fix typo in redirection and correct removal of test
54057 files in two cases.
54060 * locale/setlocale.c (new_composite_name): Fix test to check for
54061 identical name of all categories.
54064 * libio/filedoalloc.c (local_isatty): New function.
54065 (_IO_file_doallocate): Use local_isatty.
54066 * stdio-common/perror.c (perror): In case a new stream is used
54067 forward the stream error.
54068 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54071 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54076 * include/alloca.h (extend_alloca_account): Define.
54079 * posix/regex.h: Fix comments with documentation of user-accessible
54080 fields after compilation and describe correct free'ing of pattern
54081 after re_compile_pattern.
54082 Patch by Reuben Thomas <rrt@sc3d.org>.
54084 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54086 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54087 and -mno-altivec to prevent the compiler from using Altivec and/or
54088 VSX instructions when the corresponding registers are not available.
54090 2011-05-19 Andreas Schwab <schwab@redhat.com>
54092 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54094 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54096 * libio/freopen.c (freopen): Use __dup2, not dup2.
54097 * libio/freopen64.c (freopen64): Likewise.
54099 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54102 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54103 * math/Makefile (tests): Add test-powl.
54104 (CFLAGS-test-powl.c): Define.
54105 * math/test-powl.c: New file.
54107 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54109 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54111 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54114 * iconvdata/gb18030.c: Update to GB18020-2005.
54116 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54118 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54119 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54120 Patch by Aharon Robbins <arnold@skeeve.com>.
54123 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54127 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54128 through underflows.
54131 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54132 point to strings before performing equality test for error_one_per_line
54136 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54140 (struct user_fpregs_struct): Avoid __uint*_t types.
54143 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54144 symbol info. Use it instead of calling _dl_addr locally.
54145 (lock_and_info): New function.
54146 (tr_freehook): Call lock_and_info and pass symbol info as additional
54147 parameter to tr_where.
54148 (tr_mallochook): Likewise.
54149 (tr_reallochook): Likewise.
54150 (tr_memalignhook): Likewise.
54152 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54153 used and couldn't be at all thread-safe.
54155 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54157 * libio/freopen.c (freopen): Don't close old file descriptor
54158 before the new one is opened. Instead dup the new file descriptor
54159 to the old one after the new stream is created.
54160 * libio/freopen64.c (freopen64): Likewise.
54161 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54162 * libio/fileops.c (_IO_new_file_close_it): Handle new
54163 _IO_FLAGS2_NOCLOSE flag.
54164 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54165 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54166 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54167 _IO_FLAGS2_NOCLOSE flag.
54168 * include/unistd.h: Add hidden_proto for dup3.
54169 Define __have_dup3.
54170 * io/dup3.c: Define hidden symbol.
54171 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54174 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54175 when an incomplete long option is used.
54176 * posix/tst-getopt_long1.c: New file.
54177 * posix/Makefile (tests): Add tst-getopt_long1.
54180 * scripts/config.guess: Update from autoconf-2.68.
54181 * scripts/config.sub: Likewise.
54184 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54186 (has_cpuclock): ...this. New function.
54187 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54188 macro here based on has_cpuclock code.
54191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54192 First byte (not low byte) is now always NUL.
54193 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54196 Use non-cancelable interfaces.
54199 * locale/iso-639.def: Add entry for Sorani.
54202 * include/stdlib.h: Move include protection to the right place.
54203 Define abort_msg_s. Declare __abort_msg with it.
54204 * stdlib/abort.c (__abort_msg): Adjust type.
54205 * assert/assert.c (__assert_fail_base): New function. Majority
54206 of code from __assert_fail. Allocate memory for __abort_msg with
54208 (__assert_fail): Now call __assert_fail_base.
54209 * assert/assert-perr.c: Remove bulk of implementation. Use
54210 __assert_fail_base.
54211 * include/assert.hL Declare __assert_fail_base.
54212 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54214 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54216 2011-05-14 Ulrich Drepper <drepper@gmail.com>
54220 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54221 until all modules are registered in the DTV.
54222 * elf/Makefile: Add rules to build and run tst-tls19.
54223 * elf/tst-tls19.c: New file.
54224 * elf/tst-tls19mod1.c: New file.
54225 * elf/tst-tls19mod2.c: New file.
54226 * elf/tst-tls19mod3.c: New file.
54227 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54230 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54234 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54235 two-byte sequence errors.
54236 * iconvdata/Makefile (tests): Add bug-iconv8.
54237 * iconvdata/bug-iconv8.c: New file.
54240 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54243 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54246 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54247 (dummy_getcfa): New function.
54248 (init): Get _Unwind_GetCFA address, use dummy if not found.
54249 (backtrace_helper): In recursion check, also check whether CFA changes.
54250 (__backtrace): Completely initialize arg.
54252 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54253 storing incomplete byte sequence in state object. Avoid testing for
54254 guaranteed too small input if we know there is enough data available.
54256 2011-05-11 Andreas Schwab <schwab@redhat.com>
54258 * Makeconfig (+link-pie): Indent.
54259 * Rules (binaries-pie): Define if $(have-fpie) and
54261 (binaries-shared): Also filter out $(binaries-pie).
54262 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54263 * nscd/Makefile (others-pie): Add nscd.
54264 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54265 ($(objpfx)nscd): Remove command override.
54266 * login/Makefile (others-pie): Add pt_chown.
54267 ($(objpfx)pt_chown): Remove command override.
54268 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54269 remove command overrides.
54271 2011-05-13 Ulrich Drepper <drepper@gmail.com>
54273 * libio/tst_putwc.c: Fix error messages.
54276 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54277 currently writing and seek to current position when not.
54278 * libio/Makefile (tests): Add bug-fclose1.
54279 * libio/bug-fclose1.c: New file.
54281 2011-05-12 Ulrich Drepper <drepper@gmail.com>
54284 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54285 don't set DF_1_NODELETE here.
54286 (do_lookup_x): When entering new entry test for copy relocation
54287 and if necessary set DF_1_NODELETE flag.
54288 * elf/tst-unique4.cc: New file.
54289 * elf/tst-unique4.h: New file.
54290 * elf/tst-unique4lib.cc: New file.
54291 * elf/Makefile: Add rules to build and run tst-unique4.
54292 Patch by Piotr Bury <pbury@goahead.com>.
54294 2011-05-11 Ulrich Drepper <drepper@gmail.com>
54297 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54300 * misc/mntent_r.c (addmntent): Flush the stream after the output
54303 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54304 (is_trusted_path_normalize): Skip initial colon. Append slash
54305 to empty buffer. Duplicate is_trusted_path code but allow
54306 constructed patch to be prefix.
54307 (is_dst): Allow $ORIGIN followed by /.
54308 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54309 Correct testing of result of is_trusted_path_normalize
54310 (decompose_rpath): Fix warning.
54312 2011-05-10 Ulrich Drepper <drepper@gmail.com>
54315 * grp/initgroups.c (internal_getgrouplist): When we found the service
54316 list through the initgroups entry in nsswitch.conf do not always
54317 continue on a successful lookup. Don't always use the
54318 __nss_group_database value if it is set.
54319 * nss/nsswitch.conf (initgroups): Change action for successful db
54320 lookup to continue for compatibility.
54322 2011-05-09 Ulrich Drepper <drepper@gmail.com>
54325 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54327 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54329 * iconvdata/tst-tables.sh: Likewise.
54330 * iconvdata/cp770.c: New file.
54331 * iconvdata/cp771.c: New file.
54332 * iconvdata/cp772.c: New file.
54333 * iconvdata/cp773.c: New file.
54334 * iconvdata/cp774.c: New file.
54335 * iconvdata/testdata/CP770: New file.
54336 * iconvdata/testdata/CP770..UTF8: New file.
54337 * iconvdata/testdata/CP771: New file.
54338 * iconvdata/testdata/CP771..UTF8: New file.
54339 * iconvdata/testdata/CP772: New file.
54340 * iconvdata/testdata/CP772..UTF8: New file.
54341 * iconvdata/testdata/CP773: New file.
54342 * iconvdata/testdata/CP773..UTF8: New file.
54343 * iconvdata/testdata/CP774: New file.
54344 * iconvdata/testdata/CP774..UTF8: New file.
54346 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54348 * iconvdata/gen-8bit-gap.sh: Likewise.
54349 * iconvdata/gen-8bit.sh: Likewise.
54351 * locale/iso-639.def: Add ary entry.
54354 * locale/C-translit.h.in: Add U20A1 transliteration.
54357 * locale/iso-639.def: Add wae entry.
54358 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54361 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54365 * locale/C-translit.h.in: Add entry for U20B9.
54366 Patch by pravin.d.s@gmail.com.
54368 2011-05-08 Ulrich Drepper <drepper@gmail.com>
54371 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54372 ENAMETOOLONG use generic getcwd.
54373 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54374 in rtld. Use *stat64.
54375 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54376 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54377 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54378 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54379 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54380 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54381 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54382 __fstatat64 macros.
54383 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54384 * dirent/rewinddir.c: Add libc_hidden_def.
54385 * sysdeps/mach/hurd/rewinddir.c: Likewise.
54386 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
54388 * include/dirent.h (__alloc_dir): Add flags parameter.
54389 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54390 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54392 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54393 from fdopendir if O_CLOEXEC is already set.
54395 2011-03-15 Alan Modra <amodra@gmail.com>
54397 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54398 l_tls_firstbyte_offset non-zero. Save padding offset in
54399 l_tls_firstbyte_offset for later use.
54400 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54401 freeing static tls block.
54403 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54405 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54406 where #ifdef was intended. The intent is to prevent ARG_MAX from
54407 being defined by the kernel headers.
54409 2011-05-07 Ulrich Drepper <drepper@gmail.com>
54412 * resolv/resolv.h: Define RES_NOTLDQUERY.
54413 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54414 no-tld-query and set RES_NOTLDQUERY.
54415 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54416 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54417 modern BIND to search name as TLD unless forbidden.
54419 2011-05-07 Petr Baudis <pasky@suse.cz>
54420 Ulrich Drepper <drepper@gmail.com>
54423 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54424 (is_trusted_path): ...to here.
54425 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54426 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54427 using is_trusted_path_normalize() in setuid scripts.
54429 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54431 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54432 __BEGIN/__END_DECLS.
54434 2011-05-06 Ulrich Drepper <drepper@gmail.com>
54436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54437 NSS_STATUS_NOTFOUND if no record was found.
54439 2011-05-05 Andreas Schwab <schwab@redhat.com>
54441 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54442 (headers-not-in-tirpc): Remove rpc/netdb.h
54443 * resolv/netdb.h: Revert last change.
54445 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54447 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54448 circular dependency between libgcc.a and libc.a.
54450 2011-05-05 Andreas Schwab <schwab@redhat.com>
54452 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54453 * nis/Makefile: Don't install rpcsvc/*.
54454 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54455 instead of <rpc/types.h>.
54456 (MAXHOSTNAMELEN): Define.
54458 2011-05-03 Andreas Schwab <schwab@redhat.com>
54460 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54462 2011-04-28 Maciej Babinski <mbabinski@google.com>
54465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54466 gethostbyname4_r when IPv6 results are possible.
54468 2011-05-02 Ulrich Drepper <drepper@gmail.com>
54471 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54472 _PC_PIPE_BUF handling.
54474 2011-04-30 Bruno Haible <bruno@clisp.org>
54477 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54478 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54480 * inet/getnameinfo.c (getnameinfo): Likewise.
54482 2011-04-29 Ulrich Drepper <drepper@gmail.com>
54484 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54485 to groups setting in database lookup.
54486 * nss/nsswitch.conf: Add initgroups entry.
54488 2011-04-22 Ulrich Drepper <drepper@gmail.com>
54491 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54493 Patch by Eric Blake <eblake@redhat.com>.
54495 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54497 * sunrpc/Makefile (need-export-routines): Add svc_run.
54498 (routines): Remove svc_run.
54499 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54500 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54501 * sunrpc/svc_run.c (svc_run): Likewise.
54502 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54504 2011-04-21 Ulrich Drepper <drepper@gmail.com>
54506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54507 problem in reallocation in last patch.
54509 2011-04-20 Ulrich Drepper <drepper@gmail.com>
54511 * sunrpc/Makefile: Move inclusion of Rules.
54513 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54515 * nss/nss_files/files-initgroups.c: New file.
54516 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54517 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54518 _nss_files_initgroups_dyn.
54520 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54522 * elf/elf.h (R_ARM_IRELATIVE): Define.
54524 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54526 * po/ru.po: Update from translation team.
54528 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54530 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54533 2011-02-06 Mike Frysinger <vapier@gentoo.org>
54536 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54537 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54538 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54539 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54540 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54542 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54544 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54546 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54550 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54553 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54555 * stdlib/bug-getcontext.c: New file.
54556 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54558 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54560 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54561 instructions into .machine "z9-109".
54562 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54563 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54565 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54567 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54568 between environment variables and auxiliary vector.
54570 2011-04-16 Ulrich Drepper <drepper@gmail.com>
54572 * Makefile: Add rules to build linkobj/libc.so.
54573 * include/libc-symbols.h: Define libc_hidden_nolink.
54574 * include/rpc/auth.h: Mark functions which are to be hidden.
54575 * include/rpc/auth_des.h: Likewise.
54576 * include/rpc/auth_unix.h: Likewise.
54577 * include/rpc/clnt.h: Likewise.
54578 * include/rpc/des_crypt.h: Likewise.
54579 * include/rpc/key_prot.h: Likewise.
54580 * include/rpc/pmap_clnt.h: Likewise.
54581 * include/rpc/pmap_prot.h: Likewise.
54582 * include/rpc/pmap_rmt.h: Likewise.
54583 * include/rpc/rpc_msg.h: Likewise.
54584 * include/rpc/svc.h: Likewise.
54585 * include/rpc/svc_auth.h: Likewise.
54586 * include/rpc/xdr.h: Likewise.
54587 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54588 * nss/Makefile: Likewise.
54589 * sunrpc/Makefile: Don't install headers. Build library with normal
54590 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54591 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54592 for the compat linking library. Remove use of INTDEF/INTUSE.
54593 * sunrpc/auth_none.c: Likewise.
54594 * sunrpc/auth_unix.c: Likewise.
54595 * sunrpc/authdes_prot.c: Likewise.
54596 * sunrpc/authuxprot.c: Likewise.
54597 * sunrpc/clnt_gen.c: Likewise.
54598 * sunrpc/clnt_perr.c: Likewise.
54599 * sunrpc/clnt_raw.c: Likewise.
54600 * sunrpc/clnt_simp.c: Likewise.
54601 * sunrpc/clnt_tcp.c: Likewise.
54602 * sunrpc/clnt_udp.c: Likewise.
54603 * sunrpc/clnt_unix.c: Likewise.
54604 * sunrpc/des_crypt.c: Likewise.
54605 * sunrpc/des_soft.c: Likewise.
54606 * sunrpc/get_myaddr.c: Likewise.
54607 * sunrpc/key_call.c: Likewise.
54608 * sunrpc/key_prot.c: Likewise.
54609 * sunrpc/netname.c: Likewise.
54610 * sunrpc/pm_getmaps.c: Likewise.
54611 * sunrpc/pm_getport.c: Likewise.
54612 * sunrpc/pmap_clnt.c: Likewise.
54613 * sunrpc/pmap_prot.c: Likewise.
54614 * sunrpc/pmap_prot2.c: Likewise.
54615 * sunrpc/pmap_rmt.c: Likewise.
54616 * sunrpc/publickey.c: Likewise.
54617 * sunrpc/rpc_cmsg.c: Likewise.
54618 * sunrpc/rpc_common.c: Likewise.
54619 * sunrpc/rpc_dtable.c: Likewise.
54620 * sunrpc/rpc_prot.c: Likewise.
54621 * sunrpc/rpc_thread.c: Likewise.
54622 * sunrpc/rtime.c: Likewise.
54623 * sunrpc/svc.c: Likewise.
54624 * sunrpc/svc_auth.c: Likewise.
54625 * sunrpc/svc_authux.c: Likewise.
54626 * sunrpc/svc_raw.c: Likewise.
54627 * sunrpc/svc_run.c: Likewise.
54628 * sunrpc/svc_simple.c: Likewise.
54629 * sunrpc/svc_tcp.c: Likewise.
54630 * sunrpc/svc_udp.c: Likewise.
54631 * sunrpc/svc_unix.c: Likewise.
54632 * sunrpc/svcauth_des.c: Likewise.
54633 * sunrpc/xcrypt.c: Likewise.
54634 * sunrpc/xdr.c: Likewise.
54635 * sunrpc/xdr_array.c: Likewise.
54636 * sunrpc/xdr_float.c: Likewise.
54637 * sunrpc/xdr_intXX_t.c: Likewise.
54638 * sunrpc/xdr_mem.c: Likewise.
54639 * sunrpc/xdr_rec.c: Likewise.
54640 * sunrpc/xdr_ref.c: Likewise.
54641 * sunrpc/xdr_sizeof.c: Likewise.
54642 * sunrpc/xdr_stdio.c: Likewise.
54644 2011-04-10 Ulrich Drepper <drepper@gmail.com>
54647 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54648 * sysdeps/ia64/dl-tls.h: Likewise.
54649 * sysdeps/powerpc/dl-tls.h: Likewise.
54650 * sysdeps/s390/dl-tls.h: Likewise.
54651 * sysdeps/sh/dl-tls.h: Likewise.
54652 * sysdeps/sparc/dl-tls.h: Likewise.
54653 * sysdeps/x86_64/dl-tls.h: Likewise.
54654 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54656 2011-03-14 Andreas Schwab <schwab@redhat.com>
54658 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54659 rpath element also skip the following colon.
54660 (expand_dynamic_string_token): Add is_path parameter and pass
54661 down to DL_DST_REQUIRED and _dl_dst_substitute.
54662 (decompose_rpath): Call expand_dynamic_string_token with
54663 non-zero is_path. Ignore empty rpaths.
54664 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54667 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54672 2011-04-09 Ulrich Drepper <drepper@gmail.com>
54675 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54676 Patch by Filipe David Manana <fdmanana@apache.org>.
54678 2011-04-07 Andreas Schwab <schwab@redhat.com>
54680 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54681 Maintain aligned stack.
54682 (CHECK_RSP): Remove unused macro.
54684 2011-04-03 Ulrich Drepper <drepper@gmail.com>
54686 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54687 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54689 2011-04-02 Ulrich Drepper <drepper@gmail.com>
54691 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54693 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54695 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54698 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54699 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54700 * sysdeps/x86_64/memmove.c: New file.
54701 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54702 (memcpy): Renamed to ...
54703 (__new_memcpy): This.
54704 (memcpy): Provide GLIBC_2_14 memcpy.
54705 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54706 (memcpy): Provide GLIBC_2_2_5 memcpy.
54708 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54711 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54713 2011-03-30 Andreas Schwab <schwab@redhat.com>
54715 * misc/syncfs.c: New file.
54716 * misc/Makefile (routines): Add syncfs.
54717 * posix/unistd.h: Declare syncfs.
54718 * sysdeps/unix/syscalls.list: Add syncfs.
54720 2011-04-01 Andreas Schwab <schwab@redhat.com>
54722 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54727 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54729 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54732 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54735 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54736 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54737 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54738 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54742 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54743 sync_file_range.c with -fexceptions.
54744 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54745 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54746 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54747 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54748 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54749 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54751 sync_file_range as cancellation point
54752 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54753 now a wrapper around __call_sync_file_range with cancellation handling.
54754 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54755 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54756 function name to __call_sync_file_range.
54757 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54758 Add call_sync_file_range.
54760 2011-04-01 Andreas Schwab <schwab@redhat.com>
54762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54765 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54767 * iconv/iconv.h: Fix typo in comment.
54768 * io/fcntl.h: Likewise.
54769 * libio/stdio.h: Likewise.
54770 * posix/spawn.h: Likewise.
54771 * posix/unistd.h: Likewise.
54772 * stdlib/stdlib.h: Likewise.
54773 * time/time.h: Likewise.
54774 * wcsmbs/wchar.h: Likewise.
54776 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54777 open_by_handle): Add.
54778 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54779 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54780 Augment a few comments.
54781 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54783 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54786 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54789 * io/fcntl.h (AT_EMPTY_PATH): Define.
54791 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54793 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54794 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54795 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54797 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54798 * Versions.def: Add GLIBC_2.14.
54799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54802 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54804 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54806 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54808 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54811 * string/test-strncmp.c (do_page_test): New function.
54812 (check2): Likewise.
54813 (test_main): Call check2.
54814 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54816 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54819 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54820 Handle cache information in CPU leaf 4.
54821 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54823 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54826 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54827 character representation.
54828 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54830 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54832 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54833 END(__isnan) to END(__isnanf) to match function entry point/label
54834 EALIGN(__isnanf,...).
54836 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54838 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54840 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54843 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54844 copy from the symbol referenced in the relocation to initialize the
54846 Patch by Piotr Bury <pbury@goahead.com>.
54847 * elf/Makefile: Add rules to build and tst-unique3.
54848 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54849 * elf/tst-unique3.cc: New file.
54850 * elf/tst-unique3.h: New file.
54851 * elf/tst-unique3lib.cc: New file.
54852 * elf/tst-unique3lib2.cc: New file.
54854 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54856 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54858 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54859 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54862 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54864 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54865 to-be-loaded object along a path to loader is ld.so.
54867 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54868 Ulrich Drepper <drepper@gmail.com>
54870 * sysdeps/x86_64/memset.S: After aligning destination, code
54871 branches to different locations depending on the value of
54872 misalignment, when multiarch is enabled. Fix this.
54874 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54876 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54877 Set _x86_64_preferred_memory_instruction for AMD processsors.
54878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54879 Set bit_Prefer_SSE_for_memop for AMD processors.
54881 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54883 * libio/fmemopen.c (fmemopen): Optimize a bit.
54885 2011-03-03 Andreas Schwab <schwab@redhat.com>
54887 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54889 2011-03-03 Roland McGrath <roland@redhat.com>
54891 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54893 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54895 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54896 __bzero_ultra1 instead of __memset_ultra1.
54898 2011-02-23 Andreas Schwab <schwab@redhat.com>
54899 Ulrich Drepper <drepper@gmail.com>
54902 * include/link.h (struct link_map): Add l_orig_initfini.
54903 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54904 returning unsuccessfully.
54905 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54906 close of a file loaded at startup, restore the original l_initfini
54908 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54909 list, store the pointer.
54910 * elf/Makefile ($(objpfx)noload-mem): New rule.
54911 (noload-ENV): Define.
54912 (tests): Add $(objpfx)noload-mem.
54913 * elf/noload.c: Include <memcheck.h>.
54914 (main): Call mtrace. Close all opened handles.
54916 2011-02-17 Andreas Schwab <schwab@redhat.com>
54919 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54920 dependencies are missing.
54922 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54924 Fix __if_freereq crash: Unlike the generic version which uses free,
54926 * sysdeps/mach/hurd/ifreq.h: New file.
54928 2011-01-27 Petr Baudis <pasky@suse.cz>
54929 Ulrich Drepper <drepper@gmail.com>
54932 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54933 to extend_alloca().
54934 * stdio-common/bug23.c: New file.
54935 * stdio-common/Makefile (tests): Add bug23.
54937 2010-09-28 Andreas Schwab <schwab@redhat.com>
54938 Ulrich Drepper <drepper@gmail.com>
54941 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54942 before performing relro protection. At old place add assertion
54943 to make sure nothing changed.
54945 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54946 Glauber de Oliveira Costa <glommer@gmail.com>
54948 * elf/elf.h: Add new ARM TLS relocs.
54950 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54953 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54955 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54957 * sysdeps/wordsize-64/tst-writev.c: New file.
54959 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54961 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54962 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54963 insns in _dl_start to prevent a TOC reference before relocs are
54966 2011-02-15 Ulrich Drepper <drepper@gmail.com>
54969 * Makeconfig: Remove RANLIB definition.
54970 * Makerules: Don't use RANLIB.
54971 * aclocal.m4: Remove ranlib test.
54972 * configure.in: No need to check for ranlib.
54973 * elf/rtld-Rules: Don't use RANLIB.
54975 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54977 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54979 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54980 inclusion protection macro.
54982 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54983 SIGRTMIN and SIGRTMAX and print information in that case only when
54984 SIGRTMIN is defined.
54986 2011-02-11 Jakub Jelinek <jakub@redhat.com>
54988 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54989 arginfo fn returning -1.
54991 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54992 and thousands string is zero terminated.
54994 2011-02-03 Andreas Schwab <schwab@redhat.com>
54996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54997 sysdeps/unix/sysv/linux/bits/socket.h.
54999 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55001 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55002 (__CPU_COUNT): Remove old macros.
55003 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55004 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55005 (__CPU_ALLOC, __CPU_FREE): Add macros.
55006 (__sched_cpualloc, __sched_cpufree): Add declarations.
55008 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55010 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55011 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55012 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55013 (readdhstai): Return value of addhstaiX call.
55014 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55015 (addgrbyX): Return value returned by cache_addgr.
55016 (readdgrbyname): Return value returned by addgrbyX.
55017 (readdgrbygid): Likewise.
55018 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55019 (addpwbyX): Return value returned by cache_addpw.
55020 (readdpwbyname): Return value returned by addhstbyX.
55021 (readdpwbyuid): Likewise.
55022 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55023 (addservbyX): Return value returned by cache_addserv.
55024 (readdservbyname): Return value returned by addservbyX:
55025 (readdservbyport): Likewise.
55026 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55027 (addhstbyX): Return value returned by cache_addhst.
55028 (readdhstbyname): Return value returned by addhstbyX.
55029 (readdhstbyaddr): Likewise.
55030 (readdhstbynamev6): Likewise.
55031 (readdhstbyaddrv6): Likewise.
55032 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55033 (readdinitgroups): Return value returned by addinitgroupsX.
55034 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55035 (prune_cache): Keep track of timeout value of re-added entries.
55036 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55037 * nscd/nscd.h: Adjust prototypes of readd* functions.
55039 2011-02-04 Roland McGrath <roland@redhat.com>
55041 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55042 (nis_stats): Likewise.
55043 * nis/nis_modify.c (nis_modify): Likewise.
55044 * nis/nis_remove.c (nis_remove): Likewise.
55045 * nis/nis_add.c (nis_add): Likewise.
55047 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55049 * posix/fnmatch_loop.c: Add some consts.
55051 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55053 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55056 * config.make.in (config-cflags-novzeroupper): Define.
55057 * configure.in: Substitute libc_cv_cc_novzeroupper.
55058 * elf/Makefile (AVX-CFLAGS): Define.
55059 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55060 (CFLAGS-tst-auditmod4a.c): Likewise.
55061 (CFLAGS-tst-auditmod4b.c): Likewise.
55062 (CFLAGS-tst-auditmod6b.c): Likewise.
55063 (CFLAGS-tst-auditmod6c.c): Likewise.
55064 (CFLAGS-tst-auditmod7b.c): Likewise.
55065 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55067 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55069 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55070 function to the callback.
55071 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55073 2011-02-02 Andreas Schwab <schwab@redhat.com>
55075 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55078 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55081 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55083 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55085 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55088 * elf/Makefile: Add rules to build and run new test.
55089 * elf/tst-initorder.c: New file.
55090 * elf/tst-initorder.exp: New file.
55091 * elf/tst-initordera1.c: New file.
55092 * elf/tst-initordera2.c: New file.
55093 * elf/tst-initordera3.c: New file.
55094 * elf/tst-initordera4.c: New file.
55095 * elf/tst-initorderb1.c: New file.
55096 * elf/tst-initorderb2.c: New file.
55097 * elf/tst-order-a1.c: New file.
55098 * elf/tst-order-a2.c: New file.
55099 * elf/tst-order-a3.c: New file.
55100 * elf/tst-order-a4.c: New file.
55101 * elf/tst-order-b1.c: New file.
55102 * elf/tst-order-b2.c: New file.
55103 * elf/tst-order-main.c: New file.
55104 New test case by George Gensure <werkt0@gmail.com>.
55106 2010-10-01 Andreas Schwab <schwab@redhat.com>
55108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55109 decoding ACE if AI_CANONIDN.
55111 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55113 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55115 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55117 * version.h (RELEASE): Bump for 2.13 release.
55118 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55120 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55122 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55124 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55125 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55126 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55127 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55129 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55131 * posix/getconf.c: Update copyright year.
55132 * catgets/gencat.c: Likewise.
55133 * csu/version.c: Likewise.
55134 * debug/catchsegv.sh: Likewise.
55135 * debug/xtrace.sh: Likewise.
55136 * elf/ldconfig.c: Likewise.
55137 * elf/ldd.bash.in: Likewise.
55138 * elf/sprof.c (print_version): Likewise.
55139 * iconv/iconv_prog.c: Likewise.
55140 * iconv/iconvconfig.c: Likewise.
55141 * locale/programs/locale.c: Likewise.
55142 * locale/programs/localedef.c: Likewise.
55143 * malloc/memusage.sh: Likewise.
55144 * malloc/mtrace.pl: Likewise.
55145 * nscd/nscd.c (print_version): Likewise.
55146 * nss/getent.c: Likewise.
55148 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55149 PF_CAIF, and PF_ALG.
55150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55152 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55154 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55155 (modules-names): Use them.
55156 (ifunc-test-modules, ifunc-pie-tests): Define.
55157 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55158 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55159 (test-extras): Likewise.
55160 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55161 $(compile-command.c).
55162 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55163 (all-built-dso): Define.
55164 (check-textrel.out, check-execstack.out): Depend on it.
55166 * configure.in: Don't override --enable-multi-arch.
55168 2011-01-15 Ulrich Drepper <drepper@gmail.com>
55171 * nscd/hstcache.c (tryagain): Define.
55172 (cache_addhst): Return tryagain not notfound for temporary errors.
55173 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55176 2011-01-14 Ulrich Drepper <drepper@gmail.com>
55179 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55180 to make the syscall.
55181 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55184 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55185 and fall back to matching as normal character if the string ends before
55186 the matching ']' is found. This is what POSIX requires.
55187 * posix/testfnm.c: Adjust test result.
55188 * posix/globtest.sh: Adjust test result. Add new test.
55189 * posix/tst-fnmatch.input: Likewise.
55190 * posix/tst-fnmatch2.c: Add new test.
55192 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55194 * elf/Makefile (check-execstack): Revert last change. Depend on
55196 (check-execstack.h): New target.
55197 (generated): Add check-execstack.h.
55198 * elf/check-execstack.c: Include "check-execstack.h".
55199 (main): Revert last change.
55200 (handle_file): Return zero if GNU_STACK is absent and
55201 DEFAULT_STACK_PERMS doesn't include PF_X.
55203 2011-01-13 Ulrich Drepper <drepper@gmail.com>
55205 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55206 in child fails because the descriptor is already closed.
55207 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55208 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55209 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55212 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55216 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55217 temporary buffer used to handle multi lookups locally.
55218 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55220 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55222 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55225 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55227 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55228 alignment for SSE2.
55230 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55233 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55234 characters. When rounding increased number of integer digits recompute
55236 * stdio-common/tst-grouping.c: New file.
55237 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55239 2011-01-09 Ulrich Drepper <drepper@gmail.com>
55241 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55242 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55244 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55246 * bits/select.h: Likewise.
55248 2011-01-08 Ulrich Drepper <drepper@gmail.com>
55250 * po/ja.po: Update from translation team.
55252 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
55255 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55256 implementation just like for lxstat, fxstatat, et al.
55258 2010-12-27 Jim Meyering <meyering@redhat.com>
55261 * posix/regexec.c (build_trtable): Return failure indication upon
55262 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55264 2010-12-25 Ulrich Drepper <drepper@gmail.com>
55267 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55268 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55269 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55270 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55273 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55276 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55277 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55279 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55281 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55282 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55283 script has SORT_BY_INIT_PRIORITY.
55284 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55285 NO_CTORS_DTORS_SECTIONS is defined.
55286 * elf/soinit.c: Likewise.
55287 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55288 NO_CTORS_DTORS_SECTIONS is defined.
55289 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55290 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55291 * sysdeps/sh/init-first.c: Likewise.
55292 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55294 2010-12-24 Ulrich Drepper <drepper@gmail.com>
55296 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55297 always use the slow path.
55299 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55301 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55302 similar rule which adds the sysdep directories to the header search in
55303 order to pick up the correct platform stackinfo.h.
55304 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55305 perform test if it is, otherwise return successfully without testing.
55306 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55307 DEFAULT_STACK_PERMS define in stackinfo.h.
55308 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55309 defined in stackinfo.h.
55310 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55311 DEFAULT_STACK_PERMS defined in stackinfo.h.
55312 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55313 * sysdeps/ia64/stackinfo.h: Likewise.
55314 * sysdeps/s390/stackinfo.h: Likewise.
55315 * sysdeps/sh/stackinfo.h: Likewise.
55316 * sysdeps/sparc/stackinfo.h: Likewise.
55317 * sysdeps/x86_64/stackinfo.h: Likewise.
55318 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55319 PF_X for powerpc64. Retain PF_X for powerpc32.
55321 2010-12-19 Ulrich Drepper <drepper@gmail.com>
55323 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55325 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55326 GETDENTS_64BIT_ALIGNED.
55328 2010-12-14 Ulrich Drepper <dreper@gmail.com>
55330 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55332 2010-12-10 Andreas Schwab <schwab@redhat.com>
55334 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55337 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55338 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55340 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55341 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55343 2010-12-09 Ulrich Drepper <drepper@gmail.com>
55346 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55349 2010-12-09 Jakub Jelinek <jakub@redhat.com>
55351 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55353 2010-12-03 Ulrich Drepper <drepper@gmail.com>
55355 * po/it.po: Update from translation team.
55357 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55362 2010-11-30 Ulrich Drepper <drepper@gmail.com>
55364 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55366 2010-11-24 Andreas Schwab <schwab@redhat.com>
55368 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55370 (gaih_getanswer_slice): Likewise.
55372 2010-10-20 Jakub Jelinek <jakub@redhat.com>
55374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55376 2010-05-31 Petr Baudis <pasky@suse.cz>
55379 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55380 silently even in the chroot mode.
55382 2010-11-22 Ulrich Drepper <drepper@gmail.com>
55384 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55385 last patch a bit. Pretty printing
55387 2010-05-31 Petr Baudis <pasky@suse.cz>
55390 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55391 initialization of skip_initgroups_dyn.
55393 2010-11-19 Ulrich Drepper <drepper@gmail.com>
55395 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55398 2010-11-16 Ulrich Drepper <drepper@gmail.com>
55400 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55402 2010-11-11 Andreas Schwab <schwab@redhat.com>
55404 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55405 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55406 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55407 ($(objpfx)tst-fnmatch-mem): New rule.
55408 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55409 * posix/tst-fnmatch.c (main): Call mtrace.
55411 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55414 Support Intel processor model 6 and model 0x2c.
55416 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
55418 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55421 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55424 * string/test-strncasecmp.c (check_result): New function.
55425 (do_one_test): Use it.
55426 (check1): New function.
55427 (test_main): Use it.
55428 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55429 Support strcasecmp and strncasecmp.
55431 2010-11-08 Ulrich Drepper <drepper@gmail.com>
55434 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55435 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55437 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55439 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55443 * sysdeps/x86_64/multiarch/bzero.S: New file.
55444 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55445 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55446 * sysdeps/x86_64/multiarch/memset.S: New file.
55447 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55449 Set bit_Prefer_SSE_for_memop for Intel processors.
55450 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55452 (index_Prefer_SSE_for_memop): Define.
55453 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55455 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
55457 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55458 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55460 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55463 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55464 (__x86_64_raw_data_cache_size_half): Likewise.
55465 (__x86_64_raw_shared_cache_size): Likewise.
55466 (__x86_64_raw_shared_cache_size_half): Likewise.
55468 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55469 (__x86_64_raw_data_cache_size_half): Likewise.
55470 (__x86_64_raw_shared_cache_size): Likewise.
55471 (__x86_64_raw_shared_cache_size_half): Likewise.
55472 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55473 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55474 and __x86_64_raw_shared_cache_size_half. Round
55475 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55476 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55477 to multiple of 256 bytes.
55479 2010-11-03 Ulrich Drepper <drepper@gmail.com>
55482 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55483 of inacessible symlinks. Verify result of symlink before returning it.
55484 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55485 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55487 2010-10-28 Erich Ritz <erichritz@gmail.com>
55489 * math/math.h (isinf): Fix typo in comment.
55491 2010-11-01 Ulrich Drepper <drepper@gmail.com>
55493 * po/da.po: Update from translation team.
55495 2010-10-26 Ulrich Drepper <drepper@gmail.com>
55497 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55498 is added to the list.
55500 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55501 Ulrich Drepper <drepper@gmail.com>
55503 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55504 the global list here. Move code to...
55505 (_dl_add_to_namespace_list): ...here. New function.
55506 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55507 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55508 * elf/dl-load.c (lose): Don't remove the element from the list.
55509 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55510 (_dl_map_object): Likewise.
55512 2010-10-25 Ulrich Drepper <drepper@gmail.com>
55515 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55516 into all bytes of SSE register.
55517 Patch by Richard Li <richardpku@gmail.com>.
55519 2010-10-24 Ulrich Drepper <drepper@gmail.com>
55522 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55525 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55527 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55528 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55529 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55530 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55535 2010-10-22 Andreas Schwab <schwab@redhat.com>
55537 * include/dlfcn.h (__RTLD_SECURE): Define.
55538 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55539 mode & __RTLD_SECURE instead.
55540 (open_path): Rename preloaded parameter to secure.
55541 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55542 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55543 * elf/dl-deps.c (openaux): Likewise.
55544 * elf/rtld.c (struct map_args): Remove is_preloaded.
55545 (map_doit): Don't use it.
55546 (dl_main): Likewise.
55547 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55548 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55550 2010-09-09 Andreas Schwab <schwab@redhat.com>
55552 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55553 (sysd-rules-targets): Remove duplicates.
55554 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55555 rtld-%.$o dependency.
55557 2010-10-18 Andreas Schwab <schwab@redhat.com>
55559 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55560 _dl_map_object do it.
55562 2010-10-19 Ulrich Drepper <drepper@gmail.com>
55564 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55565 fast fma builtins, define the macros in the C99 standard.
55566 (FP_FAST_FMAF): Likewise.
55567 (FP_FAST_FMAL): Likewise.
55568 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55570 * bits/mathdef.h: Update copyright year.
55571 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55573 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55575 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55576 builtins, define the macros in the C99 standard.
55577 (FP_FAST_FMAF): Likewise.
55578 (FP_FAST_FMAL): Likewise.
55579 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55581 (FP_FAST_FMAF): Likewise.
55583 2010-10-15 Jakub Jelinek <jakub@redhat.com>
55586 * math/libm-test.inc (fma_test): Some new testcases.
55587 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55588 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55589 y and infinite z. Do multiplication by C already in long double.
55590 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55592 y and infinite z. Do bitwise or of inexact bit into u.d.
55593 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55594 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55595 * sysdeps/i386/fpu/s_fma.S: Removed.
55596 * sysdeps/i386/fpu/s_fmal.S: Removed.
55598 2010-10-16 Jakub Jelinek <jakub@redhat.com>
55601 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55603 computation is not scheduled after fetestexcept. Fix value
55604 of minimum denormal long double.
55606 2010-10-14 Jakub Jelinek <jakub@redhat.com>
55609 * math/libm-test.inc (fma_test): Add some more tests.
55610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55613 2010-10-15 Andreas Schwab <schwab@redhat.com>
55615 * scripts/data/localplt-s390-linux-gnu.data: New file.
55616 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55618 2010-10-13 Jakub Jelinek <jakub@redhat.com>
55621 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55622 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55624 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55626 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55628 if one of x and y is very large and the other is subnormal.
55629 * sysdeps/s390/fpu/s_fmaf.c: New file.
55630 * sysdeps/s390/fpu/s_fma.c: New file.
55631 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55632 * sysdeps/powerpc/fpu/s_fma.S: New file.
55633 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55634 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55635 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55637 2010-10-12 Jakub Jelinek <jakub@redhat.com>
55640 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55642 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55643 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55644 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55645 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55646 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55647 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55648 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55650 2010-10-12 Ulrich Drepper <drepper@redhat.com>
55653 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55654 * posix/bug-regex31.input: Add test case.
55656 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55658 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55659 * posix/bug-regex31.input: New file.
55662 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55663 (parse_sub_exp): Fix last change, use postorder.
55665 * posix/bug-regex31.c: New file.
55666 * posix/Makefile: Add rules to build and run bug-regex31.
55668 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55671 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55674 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55675 to have entries in sys_siglist.
55678 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55681 2010-10-07 Jakub Jelinek <jakub@redhat.com>
55684 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55685 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55686 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55687 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55688 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55689 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55690 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55691 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55692 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55693 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55694 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55695 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55696 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55697 * math/ftestexcept.c (fetestexcept): Likewise.
55698 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55699 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55700 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55701 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55702 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55703 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55704 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55706 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55709 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55712 2010-10-06 Ulrich Drepper <drepper@gmail.com>
55714 * string/bug-strstr1.c: New file.
55715 * string/Makefile: Add rules to build and run bug-strstr1.
55717 2010-10-05 Eric Blake <eblake@redhat.com>
55720 * string/str-two-way.h (two_way_long_needle): Always clear memory
55721 when skipping input due to the shift table.
55723 2010-10-03 Ulrich Drepper <drepper@gmail.com>
55726 * malloc/mcheck.c: Handle large requests.
55729 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55730 for strncmp and strncasecmp.
55731 * string/stratcliff.c: Add tests for strcmp and strncmp.
55732 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55734 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55736 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55739 2010-09-30 Andreas Jaeger <aj@suse.de>
55741 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55742 (CGROUP_SUPER_MAGIC): Define.
55743 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55744 Handle btrfs and cgroup file systems.
55745 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55748 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55750 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55751 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55753 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55756 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55757 trying to locate the ELF header.
55759 2010-09-27 Andreas Schwab <schwab@redhat.com>
55762 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55763 Mask out sign-bit copies when constructing f_fsid.
55765 2010-09-24 Petr Baudis <pasky@suse.cz>
55767 * debug/stack_chk_fail_local.c: Add missing licence exception.
55768 * debug/warning-nop.c: Likewise.
55770 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55772 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55773 implementing getdents64 using getdents syscall, set d_type if
55774 __ASSUME_GETDENTS32_D_TYPE.
55776 2010-09-16 Andreas Schwab <schwab@redhat.com>
55778 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55779 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55781 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55784 * posix/unistd.h: Undo change of feature selection for ftruncate from
55787 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55789 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55792 2010-09-20 Andreas Schwab <schwab@redhat.com>
55794 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55796 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55798 2010-09-14 Andreas Schwab <schwab@redhat.com>
55800 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55801 variables after CHECK_SP call.
55802 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55804 2010-09-13 Andreas Schwab <schwab@redhat.com>
55805 Ulrich Drepper <drepper@redhat.com>
55807 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55808 re-relocationg ld.so.
55809 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55810 _dl_init_paths call.
55811 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55814 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55816 * resolv/res_init.c (__res_vinit): Count the default server we added.
55818 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55819 Ulrich Drepper <drepper@redhat.com>
55822 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55823 (____longjmp_chk): Use %ebx for saving value across system call.
55826 2010-09-06 Andreas Schwab <schwab@redhat.com>
55828 * manual/Makefile: Don't mix pattern rules with normal rules.
55830 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55832 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55834 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55835 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55836 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55837 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55838 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55841 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55844 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55845 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55847 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55849 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55850 * sysdeps/x86_64/addmul_1.S: Likewise.
55851 * sysdeps/x86_64/lshift.S: Likewise.
55852 * sysdeps/x86_64/mul_1.S: Likewise.
55853 * sysdeps/x86_64/rshift.S: Likewise.
55854 * sysdeps/x86_64/sub_n.S: Likewise.
55855 * sysdeps/x86_64/submul_1.S: Likewise.
55857 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55859 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55860 Define __sched_param instead of SCHED_* and sched_param when
55861 <bits/sched.h> is included with __need_schedparam defined.
55862 * bits/sched.h [__need_schedparam]
55863 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55864 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55865 (__defined_schedparam): Define to 1.
55866 (__sched_param): New structure, identical to sched_param.
55867 (__need_schedparam): Undefine.
55869 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55871 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55872 (epoll_create1): Declare.
55874 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55876 2010-08-31 Andreas Schwab <schwab@redhat.com>
55879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55880 shifting retval into place.
55882 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55884 * nis/rpcsvc/nis.h: Update copyright notice.
55885 * nis/rpcsvc/nis.x: Likewise.
55886 * nis/rpcsvc/nis_callback.h: Likewise.
55887 * nis/rpcsvc/nis_callback.x: Likewise.
55888 * nis/rpcsvc/nis_object.x: Likewise.
55889 * nis/rpcsvc/nis_tags.h: Likewise.
55890 * nis/rpcsvc/yp.h: Likewise.
55891 * nis/rpcsvc/yp.x: Likewise.
55892 * nis/rpcsvc/ypupd.h: Likewise.
55893 * nis/yp_xdr.c: Likewise.
55894 * nis/ypupdate_xdr.c: Likewise.
55896 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55897 mainly the body of pmap_getport. Add parameters to specify timeouts.
55898 (pmap_getport): Use __libc_rpc_getport.
55899 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55900 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55901 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55903 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55908 2010-08-27 Roland McGrath <roland@redhat.com>
55910 * sysdeps/i386/i686/multiarch/Makefile
55911 (CFLAGS-varshift.c): New variable.
55913 2010-08-27 Ulrich Drepper <drepper@redhat.com>
55915 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55916 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55920 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55922 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55924 * sysdeps/x86_64/strlen.S: Unroll the loop.
55925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55926 strlen-sse2 strlen-sse2-bsf.
55927 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55928 __strlen_no_bsf if bit_Slow_BSF is set.
55929 (__strlen_sse42): Removed.
55930 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55931 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55933 2010-08-25 Roland McGrath <roland@redhat.com>
55935 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55936 * sysdeps/x86_64/multiarch/varshift.c: New file.
55937 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55938 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55939 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55940 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55942 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55945 strlen-sse2 strlen-sse2-bsf.
55946 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55947 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55948 (__strlen_sse2): Removed.
55949 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55952 bit_Slow_BSF for Atom.
55953 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55954 (index_Slow_BSF): Define.
55955 (HAS_SLOW_BSF): Define.
55957 2010-08-25 Ulrich Drepper <drepper@redhat.com>
55960 * resolv/res_init.c (__res_vinit): When no server address at all
55961 is given default to loopback.
55963 2010-08-24 Roland McGrath <roland@redhat.com>
55965 * configure.in: Remove config-name.h generation.
55966 * configure: Regenerated.
55967 * config-name.in: File removed.
55968 * scripts/config-uname.sh: New file.
55969 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55970 ($(objdir)config-name.h): New target.
55972 * sunrpc/rpc_parse.h: Avoid nested comment.
55974 2010-08-24 Richard Henderson <rth@redhat.com>
55975 Ulrich Drepper <drepper@redhat.com>
55976 H.J. Lu <hongjiu.lu@intel.com>
55978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55980 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55981 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55982 _mm_alignr_epi8 with _mm_loadu_si128.
55983 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55984 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55985 (__m128i_shift_right): Removed.
55986 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55987 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55988 * sysdeps/x86_64/multiarch/varshift.h: New file.
55989 * sysdeps/x86_64/multiarch/varshift.S: New file.
55991 2010-08-21 Mike Frysinger <vapier@gentoo.org>
55993 * configure.in: Move assembler checks to before sysdep dir checking.
55995 2010-08-20 Petr Baudis <pasky@suse.cz>
55997 * LICENSES: Sync the sunrpc license.
55999 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56001 * sunrpc/auth_des.c: Update copyright notice once again.
56002 * sunrpc/auth_none.c: Likewise.
56003 * sunrpc/auth_unix.c: Likewise.
56004 * sunrpc/authdes_prot.c: Likewise.
56005 * sunrpc/authuxprot.c: Likewise.
56006 * sunrpc/bindrsvprt.c: Likewise.
56007 * sunrpc/clnt_gen.c: Likewise.
56008 * sunrpc/clnt_perr.c: Likewise.
56009 * sunrpc/clnt_raw.c: Likewise.
56010 * sunrpc/clnt_simp.c: Likewise.
56011 * sunrpc/clnt_tcp.c: Likewise.
56012 * sunrpc/clnt_udp.c: Likewise.
56013 * sunrpc/clnt_unix.c: Likewise.
56014 * sunrpc/des_crypt.c: Likewise.
56015 * sunrpc/des_soft.c: Likewise.
56016 * sunrpc/get_myaddr.c: Likewise.
56017 * sunrpc/getrpcport.c: Likewise.
56018 * sunrpc/key_call.c: Likewise.
56019 * sunrpc/key_prot.c: Likewise.
56020 * sunrpc/openchild.c: Likewise.
56021 * sunrpc/pm_getmaps.c: Likewise.
56022 * sunrpc/pm_getport.c: Likewise.
56023 * sunrpc/pmap_clnt.c: Likewise.
56024 * sunrpc/pmap_prot.c: Likewise.
56025 * sunrpc/pmap_prot2.c: Likewise.
56026 * sunrpc/pmap_rmt.c: Likewise.
56027 * sunrpc/rpc/auth.h: Likewise.
56028 * sunrpc/rpc/auth_unix.h: Likewise.
56029 * sunrpc/rpc/clnt.h: Likewise.
56030 * sunrpc/rpc/des_crypt.h: Likewise.
56031 * sunrpc/rpc/key_prot.h: Likewise.
56032 * sunrpc/rpc/netdb.h: Likewise.
56033 * sunrpc/rpc/pmap_clnt.h: Likewise.
56034 * sunrpc/rpc/pmap_prot.h: Likewise.
56035 * sunrpc/rpc/pmap_rmt.h: Likewise.
56036 * sunrpc/rpc/rpc.h: Likewise.
56037 * sunrpc/rpc/rpc_des.h: Likewise.
56038 * sunrpc/rpc/rpc_msg.h: Likewise.
56039 * sunrpc/rpc/svc.h: Likewise.
56040 * sunrpc/rpc/svc_auth.h: Likewise.
56041 * sunrpc/rpc/types.h: Likewise.
56042 * sunrpc/rpc/xdr.h: Likewise.
56043 * sunrpc/rpc_clntout.c: Likewise.
56044 * sunrpc/rpc_cmsg.c: Likewise.
56045 * sunrpc/rpc_common.c: Likewise.
56046 * sunrpc/rpc_cout.c: Likewise.
56047 * sunrpc/rpc_dtable.c: Likewise.
56048 * sunrpc/rpc_hout.c: Likewise.
56049 * sunrpc/rpc_main.c: Likewise.
56050 * sunrpc/rpc_parse.c: Likewise.
56051 * sunrpc/rpc_parse.h: Likewise.
56052 * sunrpc/rpc_prot.c: Likewise.
56053 * sunrpc/rpc_sample.c: Likewise.
56054 * sunrpc/rpc_scan.c: Likewise.
56055 * sunrpc/rpc_scan.h: Likewise.
56056 * sunrpc/rpc_svcout.c: Likewise.
56057 * sunrpc/rpc_tblout.c: Likewise.
56058 * sunrpc/rpc_util.c: Likewise.
56059 * sunrpc/rpc_util.h: Likewise.
56060 * sunrpc/rpcinfo.c: Likewise.
56061 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56062 * sunrpc/rpcsvc/key_prot.x: Likewise.
56063 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56064 * sunrpc/rpcsvc/mount.x: Likewise.
56065 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56066 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56067 * sunrpc/rpcsvc/rex.x: Likewise.
56068 * sunrpc/rpcsvc/rstat.x: Likewise.
56069 * sunrpc/rpcsvc/rusers.x: Likewise.
56070 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56071 * sunrpc/rpcsvc/spray.x: Likewise.
56072 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56073 * sunrpc/rtime.c: Likewise.
56074 * sunrpc/svc.c: Likewise.
56075 * sunrpc/svc_auth.c: Likewise.
56076 * sunrpc/svc_authux.c: Likewise.
56077 * sunrpc/svc_raw.c: Likewise.
56078 * sunrpc/svc_run.c: Likewise.
56079 * sunrpc/svc_simple.c: Likewise.
56080 * sunrpc/svc_tcp.c: Likewise.
56081 * sunrpc/svc_udp.c: Likewise.
56082 * sunrpc/svc_unix.c: Likewise.
56083 * sunrpc/svcauth_des.c: Likewise.
56084 * sunrpc/xcrypt.c: Likewise.
56085 * sunrpc/xdr.c: Likewise.
56086 * sunrpc/xdr_array.c: Likewise.
56087 * sunrpc/xdr_float.c: Likewise.
56088 * sunrpc/xdr_mem.c: Likewise.
56089 * sunrpc/xdr_rec.c: Likewise.
56090 * sunrpc/xdr_ref.c: Likewise.
56091 * sunrpc/xdr_sizeof.c: Likewise.
56092 * sunrpc/xdr_stdio.c: Likewise.
56094 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56097 2010-08-19 Andreas Schwab <schwab@redhat.com>
56099 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56101 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56103 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56104 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56105 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56106 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56107 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56108 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56109 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56110 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56111 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56112 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56113 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56114 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56115 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56116 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56118 2010-07-26 Anton Blanchard <anton@samba.org>
56120 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56121 * malloc/arena.c (heap_trim): Likewise.
56123 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56125 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56127 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56128 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56130 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56132 * sysdeps/i386/elf/Makefile: New file.
56134 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56136 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56137 from fanotify_init.
56138 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56139 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56141 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56143 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56145 * sysdeps/multiarch/strcmp.S: Likewise.
56147 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56149 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56150 strncase_l-nonascii.
56151 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56152 Add strncase_l-ssse3.
56153 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56154 * sysdeps/x86_64/strcmp.S: Likewise.
56155 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56156 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56157 * sysdeps/x86_64/strncase.S: New file.
56158 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56159 * sysdeps/x86_64/strncase_l.S: New file.
56160 * string/Makefile (strop-tests): Add strncasecmp.
56161 * string/test-strncasecmp.c: New file.
56163 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56166 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56167 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56169 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56171 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56173 2010-08-12 Ulrich Drepper <drepper@redhat.com>
56175 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56176 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56177 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56179 2010-05-01 Alan Modra <amodra@gmail.com>
56181 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56182 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56183 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56184 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56185 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56186 tidying. Don't tail-call __sigjmp_save for static lib.
56187 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56189 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56190 (CALL_MCOUNT): Add eh info, and nop after bl.
56191 (TAIL_CALL_SYSCALL_ERROR): New macro.
56192 (PSEUDO_RET): Use it.
56193 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56194 Correct save location of integer regs and cr.
56195 (_dl_profile_resolve): Correct cr save location. Delete nops
56196 after bl when SHARED. Reduce cfi size a little by better
56197 placement of cfi directives.
56198 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56199 make a stack frame. Instead use parm save area as a temp.
56200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56201 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56203 Don't make a stack frame for parent, use parm save area.
56204 Increase child stack frame to 112 bytes. Don't save unused reg,
56205 and adjust reg usage. Set up cfi on error recovery and
56206 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56208 (__makecontext): Add dummy nop after jump to exit.
56209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56210 Use correct parm save area and cr save, reduce stack frame.
56211 Correct cfi for possible PSEUDO_RET frame setup.
56212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56213 Branch to local label emitted by PSEUDO_RET rather than
56216 2010-08-12 Andreas Schwab <schwab@redhat.com>
56219 * locale/programs/locale.c (print_assignment): New function.
56220 (show_locale_vars): Use it.
56222 2010-08-11 Ulrich Drepper <drepper@redhat.com>
56224 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56226 (struct statfs64): Likewise.
56227 (_STATFS_F_FLAGS): Define.
56228 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56229 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56230 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56231 (ST_VALID): Define locally.
56232 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56233 __statvfs_getflags, use the provided value.
56234 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56235 __ASSUME_STATFS_F_FLAGS.
56237 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56239 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56240 Add sys/fanotify.h.
56241 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56242 fanotify_mask for GLIBC_2.13.
56243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56244 fanotify_init and fanotify_mark.
56245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56246 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56248 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56250 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56251 prlimit64 for GLIBC_2.13.
56252 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56254 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56258 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56259 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56262 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56265 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56266 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56268 * nss/Makefile: Add rules to build and run tst-nss-test1.
56269 * shlib-versions: Add entry for libnss_test1.
56270 * nss/nss_test1.c: New file.
56271 * nss/tst-nss-test1.c: New file.
56273 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56274 (__nss_configure_lookup): Set appropriate entry in
56275 __nss_configure_lookup to true.
56276 * nss/nsswitch.h: Define enum with indeces of databases in
56277 databases and __nss_database_custom arrays. Declare
56278 __nss_database_custom.
56279 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56280 to avoid using nscd when custom rules are installed.
56281 * nss/getXXbyYY_r.c: Likewise.
56282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56284 * nss/nss_files/files-parse.c: Whitespace fixes.
56286 2010-08-09 Ulrich Drepper <drepper@redhat.com>
56289 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56290 * posix/fnmatch_loop.c: Likewise.
56292 2010-07-17 Andi Kleen <ak@linux.intel.com>
56294 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56295 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56296 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56297 * Versions.def [GLIBC_2.13]: Add.
56299 2010-08-06 Ulrich Drepper <drepper@redhat.com>
56301 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56302 Also fail if tpwd after pwuid call is NULL.
56304 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56306 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56307 when converting to ms.
56309 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56311 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56312 EOPNOTSUPP errors with ENOTTY.
56313 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56314 EOPNOTSUPP errors with ENOTTY.
56316 2010-07-31 Ulrich Drepper <drepper@redhat.com>
56318 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56319 Add strcasecmp_l-ssse3.
56320 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56322 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56323 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56324 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56326 2010-07-30 Ulrich Drepper <drepper@redhat.com>
56328 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56330 * string/Makefile (strop-tests): Add strcasecmp.
56331 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56332 strcasecmp_l-nonascii.
56333 (gen-as-const-headers): Add locale-defines.sym.
56334 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56335 * sysdeps/x86_64/strcasecmp.S: New file.
56336 * sysdeps/x86_64/strcasecmp_l.S: New file.
56337 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56338 * sysdeps/x86_64/locale-defines.sym: New file.
56339 * string/test-strcasecmp.c: New file.
56341 * string/test-strcasestr.c: Test both ends of the range of characters.
56342 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56344 2010-07-29 Roland McGrath <roland@redhat.com>
56347 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56349 2010-07-27 Ulrich Drepper <drepper@redhat.com>
56351 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56354 2010-07-27 Andreas Schwab <schwab@redhat.com>
56356 * manual/memory.texi (Malloc Tunable Parameters): Document
56359 2010-07-26 Roland McGrath <roland@redhat.com>
56362 * configure.in (-fgnu89-inline check): Set and substitute
56363 gnu89_inline, not libc_cv_gnu89_inline.
56364 * configure: Regenerated.
56365 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56367 2010-07-26 Ulrich Drepper <drepper@redhat.com>
56369 * string/test-strnlen.c: New file.
56370 * string/Makefile (strop-tests): Add strnlen.
56371 * string/tester.c (test_strnlen): Add a few more test cases.
56372 * string/tst-strlen.c: Better error reporting.
56374 * sysdeps/x86_64/strnlen.S: New file.
56376 2010-07-24 Ulrich Drepper <drepper@redhat.com>
56378 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56379 lower-latency instructions.
56381 2010-07-23 Ulrich Drepper <drepper@redhat.com>
56383 * string/test-strcasestr.c: New file.
56384 * string/test-strstr.c: New file.
56385 * string/Makefile (strop-tests): Add strstr and strcasestr.
56386 * string/str-two-way.h: Don't undefine MAX.
56387 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56389 2010-07-21 Andreas Schwab <schwab@redhat.com>
56391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56392 strcasestr-nonascii.
56393 (CFLAGS-strcasestr-nonascii.c): Define.
56394 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56395 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56396 Remove unused attribute.
56398 2010-07-20 Roland McGrath <roland@redhat.com>
56400 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56401 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56402 ld.so.cache was broken. With it, there is no way to disable dsocaps
56403 like LD_HWCAP_MASK can disable hwcaps.
56405 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56407 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56409 2010-07-16 Ulrich Drepper <drepper@redhat.com>
56411 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56412 call in strcasestr.
56413 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56414 __strcasestr_sse42_nonascii.
56415 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56416 strcasestr-nonascii.c.
56417 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56419 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
56421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56422 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56423 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56424 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56426 2010-07-09 Ulrich Drepper <drepper@redhat.com>
56428 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56431 2010-07-06 Andreas Schwab <schwab@redhat.com>
56434 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56437 2010-07-06 Ulrich Drepper <drepper@redhat.com>
56439 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56440 _PC_PIPE_BUF using F_GETPIPE_SZ.
56442 2010-07-05 Roland McGrath <roland@redhat.com>
56444 * manual/arith.texi (Rounding Functions): Fix rint description
56445 implicit in round description.
56447 2010-07-02 Ulrich Drepper <drepper@redhat.com>
56449 * elf/Makefile: Fix linking for a few tests to make recent linker
56452 2010-06-30 Andreas Schwab <schwab@redhat.com>
56454 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56455 $(common-objpfx)libc_nonshared.a.
56457 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
56459 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56460 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56461 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56462 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56463 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56464 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56465 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56466 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56481 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56482 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56483 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56484 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56485 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56486 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56487 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56488 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56489 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56490 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56491 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56492 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56508 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56510 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56511 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56512 * string/memmove.c (memmove): Renamed to ...
56513 (MEMMOVE): ...this. Default to memmove.
56514 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56515 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56518 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56519 mempcpy-ssse3-back memmove-ssse3-back.
56520 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56521 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56522 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56523 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56524 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56525 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56526 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56527 * sysdeps/x86_64/multiarch/memmove.c: New file.
56528 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56529 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56530 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56531 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56532 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56535 (index_Fast_Copy_Backward): Define.
56536 (HAS_ARCH_FEATURE): Define.
56537 (HAS_FAST_REP_STRING): Define.
56538 (HAS_FAST_COPY_BACKWARD): Define.
56540 2010-06-21 Andreas Schwab <schwab@redhat.com>
56542 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56543 Restore proper fallback handling.
56545 2010-06-19 Ulrich Drepper <drepper@redhat.com>
56548 * posix/group_member.c (__group_member): Correct checking loop.
56550 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56551 OOM in getpwuid_r correctly. Return error number when the caller
56552 should return, otherwise -1.
56553 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56554 call returning > 0 value.
56555 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56557 2010-06-07 Andreas Schwab <schwab@redhat.com>
56559 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56560 libc_nonshared.a from targets in modules-names.
56562 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56564 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56567 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
56569 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56570 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56574 2010-06-02 Andreas Schwab <schwab@redhat.com>
56576 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56578 2010-06-14 Ulrich Drepper <drepper@redhat.com>
56580 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56586 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56587 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56589 2010-06-14 Roland McGrath <roland@redhat.com>
56591 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56593 2010-06-07 Jakub Jelinek <jakub@redhat.com>
56595 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56596 __REDIRECT followed by __THROW.
56597 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56598 * posix/getopt.h (getopt): Likewise.
56600 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56602 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56603 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56604 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56606 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56607 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56609 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
56611 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56613 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56617 Properly check family and model.
56619 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56621 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56623 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
56625 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56627 2010-05-21 Ulrich Drepper <drepper@redhat.com>
56629 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56632 2010-05-19 Andreas Schwab <schwab@redhat.com>
56634 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56637 2010-05-21 Andreas Schwab <schwab@redhat.com>
56639 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56640 and internal_recvmmsg.
56641 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56642 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56643 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56644 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56646 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56647 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56648 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56650 2010-05-20 Andreas Schwab <schwab@redhat.com>
56652 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56654 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
56656 POWER7 optimizations.
56657 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56658 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56660 2010-05-19 Ulrich Drepper <drepper@redhat.com>
56662 * version.h: Update for 2.13 development version.
56664 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
56666 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56667 exceptions. Return 0.
56669 2010-05-07 Roland McGrath <roland@redhat.com>
56671 * elf/ldconfig.c (main): Add a const.
56673 2010-05-06 Ulrich Drepper <drepper@redhat.com>
56675 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56676 (args_options): Add no-idn option.
56677 (ahosts_keys_int): Add idn_flags to ai_flags.
56678 (parse_option): Handle 'i' option to clear idn_flags.
56680 * malloc/malloc.c (_int_free): Possible race in the most recently
56681 added check. Only act on the data if no current modification
56684 See ChangeLog.17 for earlier changes.