1 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5 __builtin_fmaf instead of relying on contraction of a * b + c.
7 2015-02-12 J William Piggott <elseifthen@gmx.com>
10 * manual/time.texi: correct the zoneinfo path in the TZ Variable
13 2015-02-12 Joseph Myers <joseph@codesourcery.com>
16 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
17 __builtin_fma instead of relying on contraction of a * b + c.
19 2015-02-12 Roland McGrath <roland@hack.frob.com>
21 * Makeconfig (ASFLAGS): Add -Werror=undef.
22 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26 * Makeconfig (after-link): New variable.
27 (+link-pie, +link-pie-tests): Use it.
28 (+link-static, +link-static-tests): Likewise.
29 (+link, +link-tests): Likewise.
30 * Makerules (build-module, build-module-asneeded): Likewise.
31 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33 * elf/Makefile ($(objpfx)ld.so): Likewise.
35 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
38 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39 both struct timeval and struct timespec.
41 2015-02-12 Joseph Myers <joseph@codesourcery.com>
44 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46 (__ieee754_exp2l): Do not multiply small fractional parts by
48 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
50 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
52 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
53 * math/auto-libm-test-in: Add more tests of exp2.
54 * math/auto-libm-test-out: Regenerated.
56 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
61 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
66 2015-02-12 Andreas Schwab <schwab@suse.de>
69 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
70 Filter out elision flags from value returned in kind.
71 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
72 * nptl/tst-pthread-mutexattr.c: New file.
74 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
76 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
77 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
78 into gnu-gnu, and update comment to refer to abi-tags.
80 2015-02-11 Joseph Myers <joseph@codesourcery.com>
83 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
84 (__sincos): Set errno to EDOM for infinite argument.
85 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
86 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
87 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
88 (__sincosl): Set errno to EDOM for infinite argument.
89 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
90 (__sincosl): Set errno to EDOM for infinite argument.
91 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
92 (__sincosl): Set errno to EDOM for infinite argument.
93 * math/libm-test.inc (sincos_test_data): Test errno setting.
95 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
97 * string/strxfrm_l.c: Remove #define STRCMP.
98 * string/strcoll_l.c: Remove #define STRLEN.
99 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
100 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
102 2015-02-10 Joseph Myers <joseph@codesourcery.com>
104 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
105 * sysdeps/mips/mips32/sfp-machine.h: ... here.
106 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
107 * sysdeps/mips/mips64/Makefile: ... here.
108 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
109 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
110 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
111 * sysdeps/mips/mips64/sfp-machine.h: ... here.
112 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
113 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
114 * sysdeps/mips/mips64/n64/Implies: Likewise.
116 2015-02-10 Roland McGrath <roland@hack.frob.com>
118 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
119 <sys/time.h>, <string.h>, and <errno.h>.
120 (dest_offset, dest_address, value, zero): Remove unused variables.
121 (ldouble): Remove typedef.
122 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
123 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
125 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
126 (check): Function removed.
128 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
129 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
130 Don't call set_sigaction_FP and remove_sigaction_FP here.
131 (ldouble_test): Just use 'long double' as macro argument, no need for
132 the 'ldouble' typedef.
133 (do_test): Set up SIGFPE handler at start, using plain signal rather
134 than sigaction. Fix code style.
136 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
139 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
142 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
144 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
145 * sysdeps/powerpc/powerpc32/configure: Regenerated.
147 * sysdeps/powerpc/configure.ac: Remove file.
148 * sysdeps/powerpc/configure: Likewise.
150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
151 [sysdep_routines]: Remove wordcopy-power6 object.
152 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
153 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
154 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
155 (__memmove_ppc32): Likewise.
156 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
158 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
159 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
163 [sysdep_routines]: Remove wide chars objects.
164 [wcsmbs]: New rule for wide char objects.
166 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
167 Remove wordcopy-power6 obejct.
168 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
169 Use local call for wordcopy and memcpy symbols.
170 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
171 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
172 implementation for loader.
173 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
175 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
176 Remove wordcopy-power7 object.
177 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
178 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
179 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
180 (_wordcopy_fwd_dest_aligned): Likewise.
181 (_wordcopy_bwd_aligned): Likewise.
182 (_wordcopy_bwd_dest_aligned): Likewise.
184 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
185 Rewrite to call __memmove_ppc instead of include default
188 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
189 Remove wide chars objects.
190 [wcsmbs]: New rule for wide char objects.
192 2015-02-09 Andreas Schwab <schwab@suse.de>
195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
196 in terms of __O_DIRECTORY.
198 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
200 * time/getdate.c: Include <stdbool.h>.
201 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
203 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
206 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
208 Add ersatz _Static_assert on older C hosts
209 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
210 pre-C11 C platform that is not known to support _Static_assert.
212 2015-02-07 Richard Braun <rbraun@sceen.net>
214 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
216 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
218 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
220 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
221 priority against unexistent AIO_PRIO_DELTA_MAX.
222 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
224 * misc/fchflags.c (fchflags): Likewise.
225 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
226 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
227 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
228 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
229 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
231 [__USE_MISC] (chflags, fchflags): Declare functions.
232 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
233 EINVAL when nfds is greater than FD_SETSIZE.
234 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
235 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
237 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
238 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
239 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
241 * hurd/hurd/signal.h (_hurd_self_sigstate,
242 _hurd_critical_section_lock, _hurd_critical_section_unlock):
243 Explicit casts from void *.
244 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
245 * abi-tags: Rename gnu-gnu os into gnu.
248 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
249 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
250 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
251 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
252 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
253 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
256 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
257 duplicates ADDR->sun_path with sockaddr LEN limitation.
258 * sysdeps/mach/hurd/connect.c: Include <string.h>
259 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
260 * sysdeps/mach/hurd/sendmsg.c: Likewise.
261 * sysdeps/mach/hurd/sendto.c: Likewise.
262 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
263 implementing it by hand.
265 2015-02-06 Roland McGrath <roland@hack.frob.com>
267 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
269 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
272 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
274 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
275 Test SIGSETXID only if it's defined.
277 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
279 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
280 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
282 * nptl/tst-align2.c: Moved ...
283 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
284 * nptl/Makefile (tests): Remove tst-align2.
285 * sysdeps/unix/sysv/linux/Makefile
286 [$(subdir) = nptl] (tests): Add tst-align-clone.
287 * nptl/tst-getpid1.c: Moved ...
288 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
289 * nptl/tst-getpid2.c: Moved ...
290 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
291 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
292 * sysdeps/unix/sysv/linux/Makefile
293 [$(subdir) = nptl] (tests): ... here.
294 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
295 * sysdeps/unix/sysv/linux/Makefile
296 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
298 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
299 Drop trailing \n from perror argument. Use return rather than exit.
301 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
303 * nptl/tst-cancel21.c (do_test): Likewise.
304 * debug/tst-backtrace6.c: Include <signal.h> first thing.
305 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
306 [!SA_SIGINFO]: Make it a stub test.
308 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
309 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
311 * posix/tst-getlogin.c: Move to ...
312 * login/tst-getlogin.c: ... here.
313 * posix/Makefile (tests): Move tst-getlogin to ...
314 * login/Makefile (tests): ... here.
316 * libio/tst-atime.c (do_test): Move local variables SV and E
317 inside [ST_NOATIME] conditional.
319 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
321 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
323 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
324 (wait_code): New function replaces macro.
325 Call nanosleep rather than syscall.
327 * nptl/pt-system.c: Rewritten. Put everything under
328 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
329 Use IFUNC to redirect when possible.
331 * nptl/pt-longjmp.c: Rewritten. Put everything under
332 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
333 Use IFUNC to redirect when possible.
335 * nptl/pt-fork.c: Rewritten. Put everything under
336 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
337 Use IFUNC to redirect when possible.
338 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
340 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
341 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
342 unconditionally nowadays. This included the only reference to
343 __vdso_clock_gettime that appears outside libc proper.
344 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
345 Remove version set (containing only __vdso_clock_gettime).
346 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
347 Add attribute_hidden.
348 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
349 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
350 libc_hidden_data_def.
351 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
352 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
354 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
355 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
356 setrpcent, and getrpcport to ...
357 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
358 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
359 getrpcbynumber_r, and getrpcent_r to ...
360 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
361 * inet/getrpcbyname.c: Moved ...
362 * sunrpc/getrpcbyname.c: ... here.
363 * inet/getrpcbyname_r.c: Moved ...
364 * sunrpc/getrpcbyname_r.c: ... here.
365 * inet/getrpcbynumber.c: Moved ...
366 * sunrpc/getrpcbynumber.c: ... here.
367 * inet/getrpcbynumber_r.c: Moved ...
368 * sunrpc/getrpcbynumber_r.c: ... here.
369 * inet/getrpcent.c: Moved ...
370 * sunrpc/getrpcent.c: ... here.
371 * inet/getrpcent_r.c: Moved ...
372 * sunrpc/getrpcent_r.c: ... here.
373 * inet/Makefile (routines): Move those to ...
374 * sunrpc/Makefile (routines): ... here.
375 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
377 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
378 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
379 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
380 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
382 * elf/Makefile (routines): Include $(all-dl-routines), not just
384 (rtld-routines): Likewise. Use = rather than :=.
385 * sysdeps/aarch64/Makefile [$(subdir) = elf]
386 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
387 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
388 * sysdeps/arm/Makefile: Likewise.
389 * sysdeps/i386/Makefile: Likewise.
390 * sysdeps/x86_64/Makefile: Likewise.
391 * sysdeps/hppa/Makefile [$(subdir) = elf]
392 (sysdep_routines, sysdep-rtld-routines): Don't add
393 $(sysdep-dl-routines) to these.
394 * sysdeps/ia64/Makefile: Likewise.
395 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
396 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
397 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
398 Don't add dl-static to these; sysdep-dl-routines alone is enough.
399 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
400 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
401 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
402 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
403 * sysdeps/powerpc/Makefile [$(subdir) = elf]
404 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
405 these; sysdep-dl-routines alone is enough.
407 2015-02-06 Joseph Myers <joseph@codesourcery.com>
410 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
411 where multiplication results in zero and third argument is finite
413 * math/auto-libm-test-in: Add more tests of fma.
414 * math/auto-libm-test-out: Regenerated.
416 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
417 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
418 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
419 (_FP_CMP_EQ): Likewise.
420 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
422 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
423 extra argument CHECK_NAN. Redefine as wrapper around
426 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
428 * version.h (RELEASE): Set to "stable".
429 (VERSION): Set to "2.21"
430 * include/features.h (__GLIBC_MINOR__): Set to 21.
432 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
434 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
435 Paul Eggert <eggert@cs.ucla.edu>
438 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
439 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
440 size in bytes. Store needed elements in wpmax. Use needed size
441 in bytes for extend_alloca.
443 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
445 * manual/install.texi: Latest tested versions are GCC 4.9.2,
446 binutls 2.25, and texinfo 5.2.
447 * INSTALL: Regenerate.
448 * sysdeps/nios2/configure: Regenerate.
449 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
450 * manual/contrib.texi: Update.
474 * po/pt_BR.po: Update.
483 * po/zh_CN.po: Update.
484 * po/zh_TW.po: Update.
486 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
487 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
488 * sysdeps/hppa/dl-irel.h: Remove #warning.
489 * sysdeps/hppa/entry.h: Provide prototype for
490 __canonicalize_funcptr_for_compare and cast argument.
491 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
492 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
493 * sysdeps/hppa/sotruss-lib.c: New file.
494 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
495 (atomic_compare_and_exchange_val_acq): Use __typeof__.
496 (atomic_compare_and_exchange_bool_acq): Likewise.
497 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
498 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
500 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
501 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
502 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
504 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
506 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
507 called function in non-PIC case.
509 2015-01-31 David S. Miller <davem@davemloft.net>
511 * sysdeps/sparc/sparc32/bits/atomic.h
512 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
514 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
515 volatile register usage warnings from the compiler.
517 * sysdeps/sparc/nptl/sem_init.c: Delete.
518 * sysdeps/sparc/nptl/sem_post.c: Delete.
519 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
520 * sysdeps/sparc/nptl/sem_wait.c: Delete.
521 * sysdeps/sparc/sparc32/sem_init.c: New file.
522 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
523 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
524 padding explicitly initialized.
525 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
526 padding for in-semaphore spinlock.
527 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
528 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
529 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
530 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
531 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
532 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
533 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
534 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
536 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
537 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
539 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
543 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
544 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
546 (index_AVX_Fast_Unaligned_Load): Likewise.
547 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
548 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
549 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
550 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
551 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
552 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
553 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
554 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
555 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
557 2015-01-29 Andreas Schwab <schwab@suse.de>
559 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
561 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
564 * nscd/nscd_stat.c (send_stats): Initialize DATA.
566 2015-01-28 Martin Sebor <msebor@redhat.com>
568 * math/README.libm-test: Clarify. Add "How to read the test output."
570 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
572 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
575 2015-01-28 Joseph Myers <joseph@codesourcery.com>
577 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
578 (__HAVE_64B_ATOMICS): Define to 0.
580 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
583 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
584 value to set as new flag.
587 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
588 and use _ARCH_PPCSQ instead.
589 (__ieee754_sqrt): Likewise.
590 (__ieee754_sqrtf): Likewise.
591 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
592 _ARCH_PPCSQ is defined.
593 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
595 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
596 _ARCH_PPCSQ is defined.
597 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
599 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
601 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
603 * iconv/loop.c: Suppress array out of bound warning caused by GCC
606 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
608 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
609 Mark _retval as used.
610 (lll_futex_wake_unlock): Likewise.
611 (lll_futex_timed_wait_requeue_pi): Likewise.
613 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
614 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
617 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
620 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
621 (__bswap_64): Mark as __always_inline.
623 2015-01-25 Bram <bug_rh@spam.wizbit.be>
626 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
627 when none of the search directories exist.
629 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
632 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
633 power8 in .machine directive.
636 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
637 set dependency from opd value.
639 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
642 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
645 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
648 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
650 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
652 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
653 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
654 Replace 1UL with (uint64_t) 1.
655 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
658 2015-01-23 Roland McGrath <roland@hack.frob.com>
660 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
661 (if_freenameindex): Likewise.
663 * resource/getrlimit64.c: Add missing libc_hidden_def.
665 2015-01-22 Joseph Myers <joseph@codesourcery.com>
667 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
670 (_FP_TO_INT_ROUND): Likewise.
671 (_FP_FROM_INT): Likewise.
673 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
676 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
677 Make code racy and cancel safe.
679 2015-01-21 Carlos O'Donell <carlos@redhat.com>
681 * sysdeps/arm/unwind-resume.h: Fix copyright year.
682 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
685 * pwd/tst-getpw.c: Rewrite.
688 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
689 (modules-names): Add moddummy1 and moddummy2.
690 ($(objpfx)tst-rec-dlopen): Define.
691 * dlfcn/moddummy1.c: New file.
692 * dlfcn/moddummy2.c: New file.
693 * dlfcn/tst-rec-dlopen.c: New file.
694 * elf/dl-cache.c (_dl_load_cache_lookup):
695 Return char*. Copy result with alloca/strcpy/strdup.
696 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
697 returns char*. Free cached. If not saving realname
699 * elf/dl-open.c (dl_open_worker): Do not assert that
700 _r_debug->r_state is RT_CONSISTENT.
701 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
704 2015-01-21 Torvald Riegel <triegel@redhat.com>
705 Carlos O'Donell <carlos@redhat.com>
708 * nptl/sem_waitcommon.c: New file.
709 * nptl/sem_wait.c: Include sem_waitcommon.c.
710 (__sem_wait_cleanup, do_futex_wait): Remove.
711 (__new_sem_wait): Adapt.
712 (__new_sem_trywait): New function.
713 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
714 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
715 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
716 (sem_timedwait): Adapt.
717 * nptl/sem_post.c (__new_sem_post): Adapt.
718 (futex_wake): New function.
719 (__old_sem_post): Add release MO fence.
720 * nptl/sem_open.c (sem_open): Adapt.
721 * nptl/sem_init.c (__new_sem_init): Adapt.
722 (futex_private_if_supported): New function.
723 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
724 (__old_sem_getvalue): Add using previous code.
725 * sysdeps/nptl/internaltypes.h: Adapt.
726 * nptl/tst-sem13.c (do_test): Adapt.
727 * nptl/tst-sem11.c (main): Adapt.
728 * nptl/sem_trywait.c: Remove.
729 * nptl/DESIGN-sem.txt: Remove.
730 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
731 (gen-as-const-headers): Remove structsem.sym.
732 * nptl/structsem.sym: Remove.
733 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
734 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
735 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
736 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
737 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
738 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
739 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
740 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
741 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
742 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
743 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
744 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
745 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
746 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
747 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
748 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
749 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
750 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
751 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
752 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
753 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
754 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
756 2015-01-20 Carlos O'Donell <carlos@redhat.com>
758 * INSTALL: Regenerated.
760 * po/libc.pot: Regenerated.
762 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
763 Sandra Loosemore <sandra@codesourcery.com>
764 Andrew Jenner <andrew@codesourcery.com>
765 Joseph Myers <joseph@codesourcery.com>
766 Nathan Sidwell <nathan@codesourcery.com>
768 * NEWS: Mention new Nios II port.
769 * sysdeps/nios2/Implies: New file.
770 * sysdeps/nios2/Makefile: New file.
771 * sysdeps/nios2/Subdirs: New file.
772 * sysdeps/nios2/Versions: New file.
773 * sysdeps/nios2/__longjmp.S: New file.
774 * sysdeps/nios2/abort-instr.h: New file.
775 * sysdeps/nios2/backtrace.c: New file.
776 * sysdeps/nios2/bits/endian.h: New file.
777 * sysdeps/nios2/bits/fenv.h: New file.
778 * sysdeps/nios2/bits/link.h: New file.
779 * sysdeps/nios2/bits/setjmp.h: New file.
780 * sysdeps/nios2/bsd-_setjmp.S: New file.
781 * sysdeps/nios2/bsd-setjmp.S: New file.
782 * sysdeps/nios2/configure: New generated file.
783 * sysdeps/nios2/configure.ac: New file.
784 * sysdeps/nios2/crti.S: New file.
785 * sysdeps/nios2/crtn.S: New file.
786 * sysdeps/nios2/dl-init.c: New file.
787 * sysdeps/nios2/dl-machine.h: New file.
788 * sysdeps/nios2/dl-sysdep.h: New file.
789 * sysdeps/nios2/dl-tls.h: New file.
790 * sysdeps/nios2/dl-trampoline.S: New file.
791 * sysdeps/nios2/gccframe.h: New file.
792 * sysdeps/nios2/gmp-mparam.h: New file.
793 * sysdeps/nios2/jmpbuf-offsets.h: New file.
794 * sysdeps/nios2/jmpbuf-unwind.h: New file.
795 * sysdeps/nios2/ldsodefs.h: New file.
796 * sysdeps/nios2/libc-tls.c: New file.
797 * sysdeps/nios2/libm-test-ulps: New file.
798 * sysdeps/nios2/machine-gmon.h: New file.
799 * sysdeps/nios2/math-tests.h: New file.
800 * sysdeps/nios2/math_private.h: New file.
801 * sysdeps/nios2/memusage.h: New file.
802 * sysdeps/nios2/nptl/Makefile: New file.
803 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
804 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
805 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
806 * sysdeps/nios2/nptl/pthreaddef.h: New file.
807 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
808 * sysdeps/nios2/nptl/tls.h: New file.
809 * sysdeps/nios2/preconfigure: New file.
810 * sysdeps/nios2/s_fma.c: New file.
811 * sysdeps/nios2/s_fmaf.c: New file.
812 * sysdeps/nios2/setjmp.S: New file.
813 * sysdeps/nios2/sfp-machine.h: New file.
814 * sysdeps/nios2/sotruss-lib.c: New file.
815 * sysdeps/nios2/stackguard-macros.h: New file.
816 * sysdeps/nios2/stackinfo.h: New file.
817 * sysdeps/nios2/start.S: New file.
818 * sysdeps/nios2/sysdep.h: New file.
819 * sysdeps/nios2/tls-macros.h: New file.
820 * sysdeps/nios2/tst-audit.h: New file.
821 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
822 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
823 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
824 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
825 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
826 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
827 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
828 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
829 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
830 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
831 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
832 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
833 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
834 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
835 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
836 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
837 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
838 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
839 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
840 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
841 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
842 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
843 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
844 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
845 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
846 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
847 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
848 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
849 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
850 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
851 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
852 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
853 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
854 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
855 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
856 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
857 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
858 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
859 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
860 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
861 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
862 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
863 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
864 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
866 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
869 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
870 (getutent): Use weak_alias in non SHARED case
871 and default_symbol_version in SHARED case.
872 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
873 (getutent_r, pututline): Likewise.
874 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
876 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
877 (getutid_r): Likewise.
878 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
879 (getutline): Likewise.
880 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
881 (getutline_r): Likewise.
882 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
885 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
888 * sysdeps/s390/s390-32/memcmp.S
889 (memcmp_g5): Rename to __memcmp_g5.
890 * sysdeps/s390/s390-32/memcpy.S
891 (memcpy_g5): Rename to __memcpy_g5.
892 Jump to __memcpy_mvcle instead of memcpy_mvcle.
893 (memcpy_mvcle) Rename to __memcpy_mvcle.
894 * sysdeps/s390/s390-32/memset.S
895 (memset_g5): Rename to __memset_g5.
896 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
897 (IFUNC_RESOLVE): Prefix ifunc-resolve function
898 and use prefixed functions.
899 * sysdeps/s390/s390-32/multiarch/memcmp.S
900 (memcmp_z196): Rename to __memcmp_z196.
901 (memcmp_z10): Rename to __memcmp_z10.
902 (memcmp): Set alias to __memcmp_g5.
903 (bcmp): Set alias to __memcmp_g5.
904 * sysdeps/s390/s390-32/multiarch/memcpy.S
905 (memcpy_z196): Rename to __memcpy_z196.
906 Jump to __memcpy_mvcle instead of memcpy_mvcle.
907 (memcpy_z10): Rename to __memcpy_z10.
908 Jump to __memcpy_mvcle instead of memcpy_mvcle.
909 (memcpy): Set alias to __memcpy_g5.
910 * sysdeps/s390/s390-32/multiarch/memset.S
911 (memset_z196): Rename to __memset_z196.
912 Jump to __memset_mvcle instead of memset_mvcle.
913 (memset_z10): Rename to __memset_z10.
914 Jump to __memset_mvcle instead of memset_mvcle.
915 (memset_mvcle) Rename to __memset_mvcle.
916 (memset): Set alias to __memset_g5.
917 * sysdeps/s390/s390-64/memcmp.S
918 (memcmp_z900): Rename to __memcmp_z900.
919 * sysdeps/s390/s390-64/memcpy.S
920 (memcpy_z900): Rename to __memcpy_z900.
921 Jump to __memcpy_mvcle instead of memcpy_mvcle.
922 (memcpy_mvcle) Rename to __memcpy_mvcle.
923 * sysdeps/s390/s390-64/memset.S
924 (memset_z900): Rename to __memset_z900.
925 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
926 (IFUNC_RESOLVE): Prefix ifunc-resolve function
927 and use prefixed functions.
928 * sysdeps/s390/s390-64/multiarch/memcmp.S
929 (memcmp_z196): Rename to __memcmp_z196.
930 (memcmp_z10): Rename to __memcmp_z10.
931 (memcmp): Set alias to __memcmp_z900.
932 (bcmp): Set alias to __memcmp_z900.
933 * sysdeps/s390/s390-64/multiarch/memcpy.S
934 (memcpy_z196): Rename to __memcpy_z196.
935 Jump to __memcpy_mvcle instead of memcpy_mvcle.
936 (memcpy_z10): Rename to __memcpy_z10.
937 Jump to __memcpy_mvcle instead of memcpy_mvcle.
938 (memcpy): Set alias to __memcpy_z900.
939 * sysdeps/s390/s390-64/multiarch/memset.S
940 (memset_z196): Rename to __memset_z196.
941 Jump to __memset_mvcle instead of memset_mvcle.
942 (memset_z10): Rename to __memset_z10.
943 Jump to __memset_mvcle instead of memset_mvcle.
944 (memset_mvcle) Rename to __memset_mvcle.
945 (memset): Set alias to __memset_z900.
947 2015-01-14 Joseph Myers <joseph@codesourcery.com>
950 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
951 __fesetenv instead of fesetenv.
953 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
955 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
958 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
960 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
963 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
964 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
965 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
966 strncmp-power8 object.
967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
968 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
969 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
972 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
973 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
975 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
978 2015-01-13 David S. Miller <davem@davemloft.net>
980 * include/signal.h (__sigreturn): Guard with __USE_MISC.
982 2015-01-13 Roland McGrath <roland@hack.frob.com>
984 * login/logout.c (logout): Use memset rather than bzero.
985 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
986 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
987 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
988 (_gethtbyaddr): Likewise.
989 * locale/programs/simple-hash.c (bcopy): Macro removed.
991 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
993 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
994 Add strcmp-power8 object.
995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
996 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
997 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
998 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
999 __strcmp_power8 implementation.
1000 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1003 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1004 Add strncpy-power8 and stpncpy-power8 objects.
1005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1006 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1008 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1009 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1010 __stpncpy_power8 implementation.
1011 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1012 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1013 __strncpy_power8 implementation.
1014 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1015 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1018 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1019 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1020 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1022 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1023 strncat-power8 object.
1024 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1025 __strcat_power8 implementation.
1026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1027 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1028 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1029 optimized strcat for power8.
1031 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1032 strcpy-power8 and stpcpy-power8 objects.
1033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1034 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1036 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1037 multiarch stpcpy implementation for POWER8.
1038 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1039 multiarch strcpy implementation for POWER8.
1040 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1041 __strcpy_power8 function.
1042 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1044 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1048 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1051 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1052 weights and rules. Use do_xfrm_cached if data fits in cache,
1053 do_xfrm otherwise. Moved former main loop to...
1054 * (do_xfrm_cached): New function.
1055 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1056 find_idx, find_position and stack_push.
1057 * (find_idx): New function.
1058 * (find_position): Likewise.
1059 * localedata/sort-test.sh: Added test run for do_xfrm.
1060 * localedata/xfrm-test.c (main): Added command line option
1061 -nocache to run the test with strings that are too large for
1064 2015-01-13 Torvald Riegel <triegel@redhat.com>
1066 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1067 variable to lll_futex_wake call, not the value itself.
1069 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1072 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1073 twom64. Adjust value to 0x1p-64L.
1074 (__scalblnl): Only return standard underflowing result for K <=
1075 -64 not K <= -63; adjust exponent for underflowing result by 64
1077 * math/libm-test.inc (scalbn_test_data): Add more tests.
1078 (scalbln_test_data): Likewise.
1081 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1083 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1085 * math/libm-test.inc (scalbn_test_data): Add more tests.
1086 (scalbln_test_data): Likewise.
1088 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1089 Stefani Seibold <stefani@seibold.net>
1091 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1092 (sysdep_routines): Add dl-vdso here, ...
1093 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1094 (sysdep_routines): ... not here.
1095 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1096 fallback when vDSO is not presented.
1097 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1098 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1099 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1100 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1101 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1102 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1103 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1104 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1105 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1107 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1108 fallback configurable symbol when vDSO is not available.
1109 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1110 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1111 be able to redefine fallback symbol when vDSO is not available.
1112 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1113 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1115 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1117 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1118 (TLS_INIT_TP): Add tm_capable initialization.
1119 (TLS_DEFINE_INIT_TP): Likewise.
1120 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1122 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1123 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1125 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1126 transactoion is lock elision is built and TCB tm_capable is set.
1127 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1129 (INTERNAL_SYSCALL_NCS): Likewise.
1130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1131 (INTERNAL_SYSCALL_NCS): Likewise.
1132 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1134 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1136 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1137 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1138 and remove it for 32 bits case.
1139 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1140 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1142 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1143 Disable lock elision with rdlocks if elision is not available.
1145 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1146 (sysdep_routines): Add lock elision objects.
1147 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1148 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1149 [pthread_mutex_t] (__elision): Add field.
1150 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1151 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1152 elision definitions for powerpc.
1153 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1154 implementation of lock elision for powerpc.
1155 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1156 implementation of timed lock elision for powerpc.
1157 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1158 implementation of trylock with lock elision for powerpc.
1159 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1160 implementaion of unlock for lock elision for powerpc.
1161 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1162 automatic enable lock elision for mutexes.
1163 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1164 transaction execution definitions for powerpc.
1165 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1167 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1168 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1169 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1170 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1173 2015-01-09 Roland McGrath <roland@hack.frob.com>
1175 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1176 for #include of <shm-directory.h>.
1178 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1180 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1181 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1183 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1186 * NEWS: Mention bug fix.
1187 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1188 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1189 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1191 2015-01-09 Torvald Riegel <triegel@redhat.com>
1193 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1195 2015-01-09 Torvald Riegel <triegel@redhat.com>
1197 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1199 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1201 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1202 pointer and cast to uintptr_t.
1204 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1206 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1208 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1210 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1212 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1215 2015-01-08 Roland McGrath <roland@hack.frob.com>
1217 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1218 <nptl/pthreadP.h> instead.
1219 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1221 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1223 [__SIGRTMIN] (init): Function removed.
1224 [__SIGRTMIN] (initialized): Variable removed.
1225 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1226 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1227 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1228 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1229 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1230 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1231 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1232 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1233 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1234 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1235 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1236 * sysdeps/nptl/allocrtsig.c: New file.
1237 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1238 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1239 * sysdeps/generic/testrtsig.h: File removed.
1241 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1242 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1244 * nptl/nptl-init.c (pthread_functions): Conditionalize
1245 .ptr__nptl_setxid initialization on [SIGSETXID].
1247 * sysdeps/nptl/sys/procfs.h: New file.
1248 * nptl_db/Makefile (headers): Add it.
1249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1251 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1252 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1253 * nptl/pthread_attr_setaffinity.c: Include it.
1254 * nptl/pthread_setattr_default_np.c: Likewise.
1255 * nptl/check-cpuset.h: New file.
1257 2015-01-08 Richard Henderson <rth@redhat.com>
1259 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1260 (CFLAGS-tst-execstack-prog.c): Likewise.
1261 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1263 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1264 Sandra Loosemore <sandra@codesourcery.com>
1265 Andrew Jenner <andrew@codesourcery.com>
1266 Joseph Myers <joseph@codesourcery.com>
1267 Nathan Sidwell <nathan@codesourcery.com>
1269 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1270 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1271 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1272 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1273 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1274 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1275 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1276 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1277 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1278 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1279 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1280 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1281 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1282 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1283 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1284 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1285 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1287 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1289 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1290 timespec struct member in syscall macro.
1291 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1292 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1293 first timeval struct member in syscall macro.
1294 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1296 2015-01-07 Joseph Myers <joseph@codesourcery.com>
1299 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1300 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1301 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1302 __feupdateenv and define as weak alias of __feupdateenv. Use
1304 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1306 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1307 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1308 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1309 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1311 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1312 __feupdateenv and define as weak alias of __feupdateenv. Use
1314 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1316 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1317 __feupdateenv and define as weak alias of __feupdateenv. Use
1319 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1321 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1322 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1323 (__feupdateenv): Likewise.
1324 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1325 __feupdateenv and define as weak alias of __feupdateenv. Use
1327 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1328 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1330 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1332 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1334 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1335 __feupdateenv instead of feupdateenv.
1336 (default_libc_feupdateenv_test): Likewise.
1337 (libc_feresetround_ctx): Likewise.
1339 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1344 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1346 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1347 COLL_SYM in a couple of places to avoid uninitialized variable
1348 wanings on tilegx gcc 4.8.2.
1350 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1352 * sysdeps/aarch64/strcpy.S: New file.
1353 * sysdeps/aarch64/stpcpy.S: New file.
1356 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1358 * sysdeps/aarch64/strrchr.S: New file.
1361 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
1364 * stdlib/setenv.c: Fix memory leak when setting large,
1367 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1370 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1371 and tabs from buffer before parsing fstab entry.
1372 * misc/tst-mntent.c (main): Add test for mount entry with
1373 trailing spaces and tabs.
1375 2015-01-06 Joseph Myers <joseph@codesourcery.com>
1378 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1379 * math/fesetround.c (fesetround): Rename to __fesetround and
1380 define as weak alias of __fesetround. Use libm_hidden_weak.
1381 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1382 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1383 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1384 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1385 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1386 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1387 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1388 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1389 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1390 __fesetround_inline.
1391 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1392 __fesetround_inline instead of __fesetround.
1393 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1394 __fesetround and define as weak alias of __fesetround. Use
1395 libm_hidden_weak. Call __fesetround_inline instead of
1397 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1398 __fesetround and define as weak alias of __fesetround. Use
1400 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1402 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1403 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1404 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1405 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1406 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1407 __fesetround and define as weak alias of __fesetround. Use
1409 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1410 __fesetround instead of fesetround.
1411 (default_libc_feholdexcept_setround): Likewise.
1412 (libc_feholdsetround_ctx): Likewise.
1413 (libc_feholdsetround_noex_ctx): Likewise.
1416 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1417 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1418 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1419 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1420 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1421 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1422 define as weak alias of __fesetenv. Use libm_hidden_weak.
1423 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1424 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1425 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1426 define as weak alias of __fesetenv. Use libm_hidden_weak.
1427 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1428 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1429 define as weak alias of __fesetenv. Use libm_hidden_weak.
1430 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1432 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1433 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1435 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1436 define as weak alias of __fesetenv. Use libm_hidden_weak.
1437 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1438 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1439 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1440 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1441 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1442 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1443 __fesetenv instead of fesetenv.
1444 (libc_feresetround_noex_ctx): Likewise.
1445 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1446 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1447 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1448 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1449 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1450 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1451 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1452 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1453 (__feupdateenv): Likewise.
1454 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1455 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1456 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1457 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1459 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1462 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1463 addresses have been freed.
1465 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1467 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1470 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
1472 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1473 Clean up check_pf allocation pattern. addresses
1475 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1477 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1478 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1479 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1480 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1481 * nptl/pthread_join.c (pthread_join): Likewise.
1482 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1483 * sysdeps/posix/waitid.c (__waitid): Likewise.
1484 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1485 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1486 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1487 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1488 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1491 (__libc_pread64): Likewise.
1492 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1493 (__libc_pwrite): Likewise.
1494 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1495 (__libc_pwrite64): Likewsie.
1496 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1497 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1498 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1499 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1500 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1501 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1502 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1506 (__libc_pread64): Likewise.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1510 (__libc_pwrite64): Likewise.
1511 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1512 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1513 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1514 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1515 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1516 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1517 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1518 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1519 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1520 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1521 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1522 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1523 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1524 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1525 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1526 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1529 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1531 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1532 (CFLAGS-test-double.c): Likewise.
1533 (CFLAGS-test-ldouble.c): Likewise.
1534 (CPPFLAGS-test-ifloat.c): Likewise.
1535 (CPPFLAGS-test-idouble.c): Likewise.
1536 (CPPFLAGS-test-ildoubl.c): Likewise.
1537 (CFLAGS-test-test-fenv.c): Remove variable.
1538 (CFLAGS-test-misc.c): Likewise.
1540 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1543 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1544 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1545 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1546 CLOCKS_PER_SEC == 1000000.
1547 * time/clocktest.c (main): Replace %ld with %jd and cast to
1550 2015-01-05 Roland McGrath <roland@hack.frob.com>
1552 * sysdeps/generic/unwind-resume.h: New file.
1553 * sysdeps/gnu/unwind-resume.c: Include it.
1554 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1555 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1557 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1558 global rather than static.
1559 (_Unwind_Resume): Update user.
1560 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1561 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1562 rather than static. Add __attribute__ ((cold)).
1563 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1564 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1565 * sysdeps/arm/arm-unwind-resume.S: New file.
1566 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1567 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1568 * sysdeps/arm/Makefile [$(subdir) = csu]
1569 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1570 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1571 Add rt-arm-unwind-resume.
1573 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1574 Add pt-arm-unwind-resume.
1575 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1576 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1578 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1581 * include/fenv.h (__feholdexcept): Declare. Use
1583 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1584 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1585 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1586 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1587 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1588 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1589 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1590 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1591 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1592 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1593 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1594 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1595 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1596 (feholdexcept): Likewise.
1597 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1598 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1599 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1600 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1601 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1602 __feholdexcept instead of feholdexcept.
1603 (default_libc_feholdexcept_setround): Likewise.
1605 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1607 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1608 to avoid using stl/str to align destination.
1610 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1612 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1614 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1617 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1618 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1619 Define as weak alias not strong alias.
1621 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1623 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1624 bltzal with addiupc.
1625 (RTLD_START): Ditto.
1627 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1629 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1630 for __vdso_* functions in declarations.
1631 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1633 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1634 INTERNAL_VSYSCALL): Use struct return types to check for error.
1636 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1637 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1638 function with cast from llround().
1639 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1640 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1643 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1646 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1647 Define as weak alias not strong alias.
1650 * ctype/ctype-c99.c: New file. isblank implementation moved from
1652 * ctype/ctype-extn.c: ... here.
1653 (__isblank_l): Move to ...
1654 * ctype/ctype-c99_l.c: ... here. New file.
1655 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1656 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1658 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1659 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1660 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1661 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1662 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1665 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1666 (posix_fadvise64): Define as weak alias not strong alias.
1667 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1668 (posix_fallocate64): Likewise.
1669 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1671 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1672 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1673 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1674 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1675 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1677 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1680 * NEWS: Mention bug fix.
1681 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1682 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1683 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1684 (HOST_STACK_END_ADDR): Likewise.
1686 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1689 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1690 * math/fegetround.c (fegetround): Rename to __fegetround and
1691 define as weak alias of __fegetround. Use libm_hidden_weak.
1692 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1693 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1694 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1695 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1696 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1697 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1698 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1699 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1700 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1701 Undefine after rather than before function definition; use
1702 parentheses around function name in definition.
1703 (__fegetround): Also undefine macro after function definition.
1704 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1705 __fegetround and define as weak alias of __fegetround. Use
1706 libm_hidden_weak. Do not undefine as macro.
1707 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1709 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1710 __fegetround and define as weak alias of __fegetround. Use
1712 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1713 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1714 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1715 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1716 __fegetround and define as weak alias of __fegetround. Use
1718 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1719 __fegetround instead of fegetround.
1722 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1723 Condition macro definition on [__USE_MISC].
1726 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1727 (struct sigaction): Change type of sa_flags field to int.
1730 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1731 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1734 * nptl/version.c (banner): Use single year in copyright notice.
1736 * NEWS: Update copyright dates.
1737 * catgets/gencat.c (print_version): Likewise.
1738 * csu/version.c (banner): Likewise.
1739 * debug/catchsegv.sh: Likewise.
1740 * debug/pcprofiledump.c (print_version): Likewise.
1741 * debug/xtrace.sh (do_version): Likewise.
1742 * elf/ldconfig.c (print_version): Likewise.
1743 * elf/ldd.bash.in: Likewise.
1744 * elf/pldd.c (print_version): Likewise.
1745 * elf/sotruss.sh: Likewise.
1746 * elf/sprof.c (print_version): Likewise.
1747 * iconv/iconv_prog.c (print_version): Likewise.
1748 * iconv/iconvconfig.c (print_version): Likewise.
1749 * locale/programs/locale.c (print_version): Likewise.
1750 * locale/programs/localedef.c (print_version): Likewise.
1751 * login/programs/pt_chown.c (print_version): Likewise.
1752 * malloc/memusage.sh (do_version): Likewise.
1753 * malloc/memusagestat.c (print_version): Likewise.
1754 * malloc/mtrace.pl: Likewise.
1755 * manual/libc.texinfo: Likewise.
1756 * nptl/version.c (banner): Likewise.
1757 * nscd/nscd.c (print_version): Likewise.
1758 * nss/getent.c (print_version): Likewise.
1759 * nss/makedb.c (print_version): Likewise.
1760 * posix/getconf.c (main): Likewise.
1761 * scripts/test-installation.pl: Likewise.
1762 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1764 2015-01-02 Will Newton <will.newton@linaro.org>
1766 * sysdeps/arm/armv7/configure: Removed.
1767 * sysdeps/arm/armv7/configure.ac: Likewise.
1769 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1771 * All files with FSF copyright notices: Update copyright dates
1772 using scripts/update-copyrights.
1773 * intl/plural.c: Regenerated.
1774 * locale/programs/charmap-kw.h: Likewise.
1775 * locale/programs/locfile-kw.h: Likewise.
1777 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1779 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1781 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1784 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1785 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1786 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1787 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1788 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1789 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1790 define as weak alias of __fegetenv. Use libm_hidden_weak.
1791 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1792 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1793 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1794 define as weak alias of __fegetenv. Use libm_hidden_weak.
1795 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1796 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1797 define as weak alias of __fegetenv. Use libm_hidden_weak.
1798 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1800 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1801 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1803 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1804 define as weak alias of __fegetenv. Use libm_hidden_weak.
1805 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1806 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1807 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1808 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1809 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1810 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1811 __fegetenv instead of fegetenv.
1812 (libc_feholdsetround_noex_ctx): Likewise.
1814 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1816 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1817 (Elf_MIPS_ABIFlags_v0): New structure.
1818 (EF_MIPS_FP64): Define.
1819 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1820 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1821 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1822 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1823 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1824 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1825 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1826 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1827 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1828 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1829 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1830 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1831 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1832 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1833 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1834 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1835 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1836 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1837 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1838 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1839 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1840 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1842 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1844 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1845 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1846 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1847 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1848 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1849 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1850 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1851 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1852 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1853 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1854 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1855 record the current FP ABI extension.
1856 (mips-mode-switch): Define to show if kernel headers support mode
1858 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1859 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1860 supported SYSV ABI version to 3.
1861 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1864 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1865 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1867 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1869 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1871 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1873 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1874 __fegetround and redefine to call __fegetround. Remove condition
1875 on [!__NO_MATH_INLINES].
1876 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1878 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1879 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1881 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1882 instead of <fenv_libc.h>.
1883 (__llrintl): Call fegetround instead of __fegetround.
1884 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1885 instead of <fenv_libc.h>.
1886 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1887 (__lrintl): Call fegetround instead of __fegetround.
1888 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1889 instead of <fenv_libc.h>.
1890 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1891 (__rintl): Call fegetround instead of __fegetround.
1893 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1895 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1898 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1901 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1902 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1903 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1905 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1907 * sysdeps/i386/tls-macros.h: Include <features.h>.
1908 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1912 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1913 define for GCC >= 5.0.
1915 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1917 * math/test-fenv.c (test_single_exception, set_single_exc,
1918 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1919 feexcp_mask_test, feenable_test, fe_single_test): Add
1920 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1921 case where they are not used.
1922 * math/libm-test.inc: Likewise.
1923 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1924 unused in the absence of FP rounding/exception support.
1925 * stdio-common/tst-printf-round.c: Likewise.
1926 * stdlib/tst-strtod-round.c: Likewise.
1927 * stdlib/tst-strtod-underflow.c: Likewise.
1929 2014-12-30 Joseph Myers <joseph@codesourcery.com>
1932 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1933 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1934 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1935 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1937 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1938 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1939 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1941 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1942 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1944 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1946 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1947 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1948 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1950 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1952 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1953 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1954 (__feraiseexcept): Likewise.
1955 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1956 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1958 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1959 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1961 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1962 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1963 Use libm_hidden_def.
1964 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1966 (feraiseexcept): Define as weak not strong alias. Use
1968 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1969 New inline function. Factored out of ...
1970 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1971 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1972 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1974 * math/w_acos.c (__acos): Likewise.
1975 * math/w_asin.c (__asin): Likewise.
1976 * math/w_ilogb.c (__ilogb): Likewise.
1977 * math/w_j0.c (y0): Likewise.
1978 * math/w_j1.c (y1): Likewise.
1979 * math/w_jn.c (yn): Likewise.
1980 * math/w_log.c (__log): Likewise.
1981 * math/w_log10.c (__log10): Likewise.
1982 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1983 * sysdeps/aarch64/fpu/math_private.h
1984 (libc_feupdateenv_test_aarch64): Likewise.
1985 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1986 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1987 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1988 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1989 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1990 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1991 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1992 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1993 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1994 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1996 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1999 * io/test-utime.c (main): Replace %ld with %jd and cast to
2001 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2002 * nptl/tst-mutex5.c: Include <stdint.h>.
2003 (do_test): Replace %ld with %jd and cast to intmax_t.
2004 * posix/tst-regex.c (run_test): Likewise.
2005 (run_test_backwards): Likewise.
2006 * rt/tst-clock.c: Include <stdint.h>.
2007 (clock_test): Replace %ld with %jd and cast to intmax_t.
2008 * rt/tst-cpuclock1.c: Include <stdint.h>.
2009 (do_test): Replace %lu with %ju and cast to uintmax_t.
2010 * rt/tst-cpuclock2.c: Include <stdint.h>.
2011 (do_test): Replace %lu with %ju and cast to uintmax_t.
2012 * rt/tst-mqueue1.c: Include <stdint.h>.
2013 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2014 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2016 * rt/tst-mqueue4.c (do_test): Likewise.
2017 * rt/tst-timer4.c: Include <stdint.h>.
2018 (check_ts): Replace %ld with %jd and cast to intmax_t.
2019 (do_test): Likewise.
2020 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2021 and cast to intmax_t.
2022 * sysdeps/pthread/tst-timer.c (main): Likewise.
2023 * time/clocktest.c (main): Likewise.
2024 * time/tst-posixtz.c (do_test): Likewise.
2025 * timezone/tst-timezone.c (main): Likewise.
2027 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2028 H.J. Lu <hongjiu.lu@intel.com>
2030 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2031 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2032 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2033 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2034 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2035 version if bit_Fast_Unaligned_Load is set.
2036 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2037 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2038 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2039 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2040 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2041 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2043 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2044 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2045 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2047 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2048 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2049 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2050 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2052 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2054 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2055 instead of #if to avoid a Wundef warning.
2056 * stdlib/tst-limits.c (do_test): Likewise.
2058 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2059 parallel other exception macros.
2060 (fegetenv): Convert from macro to extern inline so that it applies
2061 retroactively to inline functions already seen by the compiler.
2062 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2064 * posix/Makefile (before-compile): Use $(objpfx) for
2065 posix-conf-vars-def.h.
2067 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2069 * posix/getconf.c (main): Use size_t for type of I.
2070 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2073 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2074 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2075 * posix/posix-envs.def: Likewise.
2076 * sysdeps/posix/sysconf.c: Likewise.
2077 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2078 (specs): Remove array.
2079 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2082 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2083 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2084 (__sysconf): Use CONF_IS_* macros.
2086 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2087 ($(objpfx)posix-conf-vars-def.h): New target.
2088 * posix/posix-conf-vars.list: New file.
2089 * posix/posix-conf-vars.h: New file.
2090 * posix/confstr.c: Include posix-conf-vars.h.
2091 (confstr): Use CONF_IS_* macros.
2092 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2094 * scripts/gen-posix-conf-vars.awk: New file.
2096 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2098 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2099 fegetround): Add no-op macros to avoid linknamespace issues.
2101 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2102 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2104 * sysdeps/unix/sysv/linux/tile/sysdep.h
2105 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2106 assembly-specific section to avoid a redefinition warning.
2108 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2109 long before casting to pointer to avoid a cast warning.
2111 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2113 * sysdeps/tile/tilegx/Implies: New file.
2115 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2117 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2119 2014-12-23 Florian Weimer <fweimer@redhat.com>
2121 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2123 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2125 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2127 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2128 <kernel-features.h>.
2129 (__utimes) [__NR_utimes]: Make code unconditional.
2130 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2131 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2132 (__ASSUME_UTIMES): Do not undefine.
2133 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2134 (__ASSUME_UTIMES): Likewise.
2135 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2136 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2137 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2138 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2140 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2142 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2144 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2147 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2148 alias to weak alias for j0l, y0l.
2149 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2150 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2153 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2156 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2158 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2159 to zero if not already defined.
2161 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2164 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2165 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2166 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2167 (char *) casts added.
2168 * sysdeps/ieee754/k_standardf.c: New file.
2169 * sysdeps/ieee754/k_standardl.c: Likewise.
2170 * math/Makefile (libm-support): Remove k_standard.
2171 (libm-calls): Add k_standard.
2173 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2175 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2176 Optimize to avoid an unnecessary FPCR read.
2178 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2180 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2181 Optimize to reduce FPCR/FPSR accesses.
2183 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2185 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2186 Call libc_fetestexcept_aarch64.
2188 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2190 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2191 Call libc_fesetround_aarch64.
2193 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2196 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2197 (__bind): Do not define as weak alias.
2198 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2200 (__getsockname): Do not define as weak alias.
2202 2014-12-22 Will Newton <will.newton@linaro.org>
2204 * manual/install.texi: Document that we require bison 2.7
2206 * INSTALL: Regenerate.
2207 * configure.ac: Use AC_CHECK_PROG_VER instead of
2208 AC_PATH_PROG when checking for bison and check for
2209 version 2.7 or above.
2210 * configure: Regenerate.
2212 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2215 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2216 * sysdeps/tile/ffsll.c (ffsll): To here.
2218 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2220 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2222 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2224 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2226 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2227 hidden ___tls_get_addr.
2228 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2229 hidden __tls_get_addr.
2230 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2231 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2234 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2236 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2239 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2241 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2242 from "call _dl_init@PLT".
2243 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2245 2014-12-21 Anders Kaseorg <andersk@mit.edu>
2247 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2250 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2252 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2254 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2257 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2260 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2262 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2264 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2265 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2266 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2267 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2268 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2270 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2272 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2273 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2274 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2275 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2276 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2278 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2280 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
2282 * string/strncat.c (STRNCAT): Simplify implementation.
2284 2014-12-19 David S. Miller <davem@davemloft.net>
2286 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2287 access the quad as both a long double and as a series of 4 words.
2289 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2290 link_map->l_info array access.
2292 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2294 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2296 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2297 * math/atest-exp2.c (TIMEOUT): Likewise.
2298 * math/atest-sincos.c (TIMEOUT): Likewise.
2300 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2302 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2303 -Wno-error with -fno-builtin-lround.
2305 2014-12-19 Torvald Riegel <triegel@redhat.com>
2307 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2308 Contains futex constants and functions moved over from ...
2309 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2310 <lowlevellock-futex.h>.
2311 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2312 (lll_timedwait_tid): Add comments and parentheses around macro
2315 2014-12-19 Torvald Riegel <triegel@redhat.com>
2317 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2318 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2319 (__lll_private_flag): Remove.
2320 (lll_futex_wait): Likewise.
2321 (lll_futex_timed_wait): Likewise.
2322 (lll_futex_wake): Likewise.
2323 (lll_futex_requeue): Likewise.
2324 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2325 (__lll_timedwait_tid): Spell out argument names.
2326 (lll_timedwait_tid): Add comments and parentheses around macro
2328 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2329 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2331 2014-12-19 Torvald Riegel <triegel@redhat.com>
2333 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2334 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2335 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2336 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2337 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2338 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2339 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2340 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2341 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2342 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2343 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2344 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2345 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2346 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2347 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2348 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2349 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2350 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2351 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2353 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2355 * sysdeps/x86_64/x32/Makefile: New file.
2357 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2359 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2360 1L with (mp_limb_t) 1.
2362 2014-12-17 Roland McGrath <roland@hack.frob.com>
2364 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2365 * nptl/libc_pthread_init.c: ... here.
2366 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2367 * nptl/register-atfork.c: ... here.
2369 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2370 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2371 Use assert_perror to check its return value.
2372 (__gai_create_helper_thread): Likewise.
2374 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2376 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2378 2014-12-17 Joseph Myers <joseph@codesourcery.com>
2381 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2383 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2385 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2387 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2389 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2390 (profil_counter): Likewise.
2391 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2392 (profil_counter): Likewise.
2393 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2395 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2397 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2398 (profil_counter): Likewise.
2399 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2401 [!__profil_counter] (profil_counter): Define as weak alias of
2403 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2404 (profil_counter): Rename to __profil_counter.
2405 [!__profil_counter] (profil_counter): Define as weak alias of
2407 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2408 (profil_counter): Rename to __profil_counter.
2409 [!__profil_counter] (profil_counter): Define as weak alias of
2411 * sysdeps/posix/profil.c: Update comment referring to
2413 (__profil): Use __profil_counter instead of profil_counter.
2414 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2415 __profil_counter. Use __profil_counter_ushort and
2416 __profil_counter_uint in definitions.
2417 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2418 instead of profil_counter_uint and profil_counter_ushort.
2421 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2422 define as weak alias of __inet_makeaddr.
2423 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2424 as weak alias of __inet_addr.
2425 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2426 as weak alias of __inet_pton. Use libc_hidden_weak.
2427 * include/arpa/inet.h (__inet_pton): Declare. Use
2429 (inet_makeaddr): Don't use libc_hidden_proto.
2430 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2431 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2432 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2433 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2435 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2436 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2438 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
2440 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2442 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2444 * stdio-common/bug-vfprintf-nargs.c (do_test):
2445 Cast value to intptr_t to avoid format warning
2446 for usage with PRIdPTR printing macro.
2448 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2450 * libio/tst-widetext.c (do_test):
2451 Use format type %td instead of %Zd for ptrdiff_t
2452 in order to avoid format warning.
2454 2014-12-17 Andreas Schwab <schwab@suse.de>
2456 * nscd/mem.c (gc): Add size_t cast to match printf format.
2458 2014-12-16 Roland McGrath <roland@hack.frob.com>
2460 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2461 (init): Apply PTR_MANGLE to pointers before storing them.
2462 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2465 2014-12-16 Joseph Myers <joseph@codesourcery.com>
2468 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2469 define as weak alias of __memrchr.
2470 (__memrchr): Do not define as strong alias of memrchr.
2471 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2473 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2474 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2475 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2478 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2479 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2480 (if_indextoname): Rename to __if_indextoname and define as weak
2481 alias of __if_indextoname. Use libc_hidden_weak.
2482 (if_freenameindex): Rename to __if_freenameindex and define as
2483 weak alias of __if_freenameindex.
2484 (if_nameindex): Rename to __if_nameindex and define as weak alias
2486 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2487 __if_nametoindex and define as weak alias of __if_nametoindex.
2488 Use libc_hidden_weak.
2489 (if_freenameindex): Rename to __if_freenameindex and define as
2490 weak alias of __if_freenameindex.
2491 (if_nameindex): Rename to __if_nameindex and define as weak alias
2493 (if_indextoname): Rename to __if_indextoname and define as weak
2494 alias of __if_indextoname. Use libc_hidden_weak.
2495 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2496 __if_nametoindex and define as weak alias of __if_nametoindex.
2497 Use libc_hidden_weak.
2498 (if_freenameindex): Rename to __if_freenameindex and define as
2499 weak alias of __if_freenameindex. Use libc_hidden_weak.
2500 (if_nameindex_netlink): Use __if_freenameindex instead of
2502 (if_nameindex): Rename to __if_nameindex and define as weak alias
2503 of __if_nameindex. Use libc_hidden_weak.
2504 (if_indextoname): Rename to __if_indextoname and define as weak
2505 alias of __if_indextoname. Use libc_hidden_weak.
2506 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2508 [!_ISOMAC] (__if_freenameindex): Likewise.
2509 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2511 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2513 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2514 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2515 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2516 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2517 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2518 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2519 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2521 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2523 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2524 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2526 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2528 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2529 subscript above bounds'
2531 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2534 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
2536 * libio/tst-fopenloc.c: Use test-skeleton.c.
2538 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2539 (entry): Rename to ITEM.
2540 (do_test, comp): Adjust.
2542 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2544 2014-12-16 Torvald Riegel <triegel@redhat.com>
2546 * string/tester.c: Include <libc-internal.h>.
2547 (test_memset): Ignore -Wmemset-transposed-args.
2549 2014-12-16 Torvald Riegel <triegel@redhat.com>
2551 * misc/tst-mntent2.c (do_test): Fix warning.
2553 2014-12-16 Torvald Riegel <triegel@redhat.com>
2555 * elf/tst-unique4lib.cc(a): Mark as used.
2557 2014-12-16 Florian Weimer <fweimer@redhat.com>
2560 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2563 2014-12-16 Allan McRae <allan@archlinux.org>
2565 * stdio-common/Makefile (tests): Re-add bug26.
2567 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
2570 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2573 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2575 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2576 (__lll_lock_wait): Likewise.
2577 (__lll_timedlock_wait): Likewise.
2578 (__lll_timedwait_tid): Likewise.
2579 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2580 (__lll_robust_timedlock_wait): Likewise.
2581 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2582 (lll_cond_trylock): Likewise.
2583 (__lll_lock): Likewise.
2584 (__lll_robust_lock): Likewise.
2585 (__lll_cond_lock): Likewise.
2586 (lll_robust_cond_lock): Likewise.
2587 (__lll_timedlock): Likewise.
2588 (__lll_robust_timedlock): Likewise.
2589 (__lll_unlock): Likewise.
2590 (__lll_robust_unlock): Likewise.
2591 (lll_wait_tid): Likewise.
2592 (lll_timedwait_tid): Likewise.
2594 2014-12-15 Torvald Riegel <triegel@redhat.com>
2596 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2598 2014-12-15 Torvald Riegel <triegel@redhat.com>
2600 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2602 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2604 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2605 * stdio-common/tst-sprintf.c: Likewise.
2607 2014-12-15 Torvald Riegel <triegel@redhat.com>
2609 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2611 2014-12-15 Jeff Law <law@redhat.com>
2614 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2615 on the heap. (CVE-2012-3406)
2616 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2617 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2618 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2620 2014-12-15 Will Newton <will.newton@linaro.org>
2622 * manual/install.texi: Bump required version of texinfo
2624 * INSTALL: Regenerated.
2625 * configure.ac: Check for makeinfo version 4.7 and above.
2626 * configure: Regenerated.
2628 2014-12-12 Roland McGrath <roland@hack.frob.com>
2630 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2631 PREFIX, string constant to insert between directory and name.
2632 * sysdeps/posix/shm_open.c: Update caller.
2633 * sysdeps/posix/shm_unlink.c: Likewise.
2634 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2635 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2636 (SEM_SHM_PREFIX): New macro.
2637 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2638 [$(have-thread-library) = no].
2639 * nptl/Makefile (libpthread-routines): Add shm-directory.
2640 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2641 * sysdeps/nptl/shm-directory.h: New file.
2642 * sysdeps/posix/shm-directory.c
2643 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2644 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2645 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2647 (__where_is_shmfs): Function removed.
2648 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2650 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2652 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2654 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2655 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2656 unconditional for use inside libpthread.
2657 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2659 2014-12-12 Roland McGrath <roland@hack.frob.com>
2661 * nptl/pthread_getaffinity.c: New file.
2662 * nptl/pthread_setaffinity.c: New file.
2663 * nptl/pthread_getname.c: New file.
2664 * nptl/pthread_setname.c: New file.
2666 * nptl/pthread_create.c (START_THREAD_DEFN)
2667 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2669 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2670 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2672 * resolv/res_send.c (send_vc): Disable warning resplen may
2673 be used uninitialized.
2675 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2678 (ATTR_NULL): New define checks ATTR against NULL.
2679 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2680 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2682 2014-12-11 James Lemke <jwlemke@codesourcery.com>
2686 (mem2mem_check): Revert my previous change.
2687 (malloc_check_get_size): Revert my previous change.
2688 (mem2chunk_check): Revert my previous change.
2690 2014-12-11 Roland McGrath <roland@hack.frob.com>
2692 * sysdeps/posix/shm-directory.c: New file.
2693 * sysdeps/posix/shm-directory.h: New file.
2694 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2695 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2696 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2697 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2698 Transmute EPERM to EACCES.
2699 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2701 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2702 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2704 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2706 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2707 pointer and cast to uintptr_t.
2708 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2709 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2710 Add cast to avoid warning.
2711 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2713 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2715 * nptl/semaphore.h: Move to ...
2716 * sysdeps/pthread/semaphore.h: ... here.
2717 * Makefile (installed-headers): Change nptl/semaphore.h to
2718 sysdeps/pthread/semaphore.h.
2720 2014-12-11 Roland McGrath <roland@hack.frob.com>
2722 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2723 generated error format strings.
2725 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2726 -Wformat-extra-args warnings for scanf formats.
2727 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2728 test of zero-length format (duh).
2729 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2730 corner-case scanf format test.
2731 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2732 generated fprintf format string.
2733 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2734 corner-case sprintf format tests.
2735 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2736 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2737 -Wformat-extra-args warnings throughout.
2738 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2739 (CFLAGS-scanf4.c): Likewise.
2740 (CFLAGS-scanf7.c): Likewise.
2741 (CFLAGS-tst-sprintf.c): Likewise.
2742 (CFLAGS-tst-printf.c): Likewise.
2743 (CFLAGS-tst-printfsz.c): Likewise.
2745 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2747 * include/cpio.h: New file.
2748 * include/fmtmsg.h: Likewise.
2750 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2751 corresponding format argument to size_t.
2752 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2754 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2755 corresponding format argument to size_t.
2756 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2758 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2759 corresponding format argument to size_t.
2760 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2761 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2762 (CFLAGS-tst-mbswcs2.c): Likewise.
2763 (CFLAGS-tst-mbswcs3.c): Likewise.
2764 (CFLAGS-tst-mbswcs4.c): Likewise.
2765 (CFLAGS-tst-mbswcs5.c): Likewise.
2766 (CFLAGS-tst-trans.c): Likewise
2768 2014-12-11 Roland McGrath <roland@hack.frob.com>
2770 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2771 rather than assuming they won't contain any '%'s.
2773 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2775 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2776 inhibit_loop_to_libcall to avoid recursive calls.
2777 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2778 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2780 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2782 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2785 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2787 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2788 integer value instead of boolean.
2790 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2792 * malloc/malloc.c: Fix powerof2 check.
2794 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2796 * locale/programs/locfile.h (maybe_swap_uint32):
2797 Remove inline and add unused attribute.
2799 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2801 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2802 Truncating assembler expression to a .long expression.
2804 2014-12-11 Andreas Schwab <schwab@suse.de>
2806 * elf/rtld.c (struct map_args): Constify str member.
2807 (do_preload): Constify fname argument.
2809 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2811 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2812 constants definition.
2814 2014-12-11 Andreas Schwab <schwab@suse.de>
2817 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2818 FORCE_ELISION instead of DO_ELISION.
2819 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2821 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2824 * iconvdata/gconv-modules: Remove duplicate entry.
2826 2014-12-11 Will Newton <will.newton@linaro.org>
2828 Merge gettext 0.19.3 into intl/.
2830 This involves a number of cosmetic changes to comments
2831 and ANSI function definitions and prototypes throughout
2832 all the files. The gettext copyright header is used but
2833 with the date ranges taken from the glibc copy.
2835 * NEWS: Add gettext merge to 2.21.
2836 * intl/bindtextdom.c: Switch to gettext copyright.
2837 Use ANSI definitions and prototypes.
2838 Use gl_* locking primitives rather than __libc_* ones.
2839 Use __builtin_expect rather than __glibc_likely/unlikely.
2840 * intl/dcgettext.c: Switch to gettext copyright.
2841 Use ANSI definitions and prototypes.
2842 * intl/dcigettext.c: Switch to gettext copyright.
2843 Use ANSI definitions and prototypes.
2844 (INTDIV0_RAISES_SIGFPE): New define.
2845 Use gl_* locking primitives rather than __libc_* ones.
2846 Include eval-plural.h instead of plural-eval.c.
2847 Use __builtin_expect rather than __glibc_likely/unlikely.
2848 * intl/dcngettext.c: Switch to gettext copyright.
2849 Use ANSI definitions and prototypes.
2850 * intl/dgettext.c: Likewise.
2851 * intl/dngettext.c: Likewise.
2852 * intl/plural-eval.c: Renamed to...
2853 * intl/eval-plural.h: ...this.
2854 * intl/explodename.c: Switch to gettext copyright.
2855 Use ANSI definitions and prototypes.
2856 (_nl_explode_name): Use strchr instead of __rawmemchr.
2857 * intl/finddomain.c: Switch to gettext copyright.
2858 Use ANSI definitions and prototypes.
2859 Use gl_* locking primitives rather than __libc_* ones.
2860 (_nl_find_domain): Use malloc rather than alloca for
2861 allocation of temporary locale name.
2862 * intl/gettext.c: Switch to gettext copyright.
2863 Use ANSI definitions and prototypes.
2864 * intl/gettextP.h: Switch to gettext copyright.
2865 Use ANSI definitions and prototypes.
2866 Use gl_* locking primitives rather than __libc_* ones.
2867 * intl/gmo.h: Switch to gettext copyright.
2868 (struct sysdep_string): Move struct segment_pair outside of
2870 * intl/hash-string.c: Use ANSI definitions and prototypes.
2871 * intl/hash-string.h: Switch to gettext copyright.
2872 Use ANSI definitions and prototypes.
2873 * intl/l10nflist.c: Switch to gettext copyright.
2874 Use ANSI definitions and prototypes.
2875 (_nl_normalize_codeset): Avoid integer overflow.
2876 * intl/loadinfo.h: Switch to gettext copyright.
2877 Use ANSI definitions and prototypes.
2878 (LIBINTL_DLL_EXPORTED): New define.
2879 (PATH_SEPARATOR): New define.
2880 * intl/loadmsgcat.c: Switch to gettext copyright.
2881 * intl/localealias.c: Switch to gettext copyright.
2882 Use ANSI definitions and prototypes.
2883 (_nl_expand_alias): Use PATH_SEPARATOR.
2884 * intl/ngettext.c: Switch to gettext copyright.
2885 Use ANSI definitions and prototypes.
2886 * intl/plural-exp.c: Likewise.
2887 * intl/plural-exp.h: Switch to gettext copyright.
2888 Use ANSI definitions and prototypes.
2889 (struct expression): Move definition of enum operator outside
2890 of struct definition.
2891 * intl/plural.c: Regenerate.
2892 * intl/plural.y: Switch to gettext copyright.
2893 Use ANSI definitions and prototypes.
2895 * intl/textdomain.c: Switch to gettext copyright.
2896 Use ANSI definitions and prototypes.
2897 Use gl_* locking primitives rather than __libc_* ones.
2899 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2901 * debug/warning-nop.c: Add used atrribute.
2903 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2905 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2907 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2908 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2909 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2911 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2912 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2915 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2916 Undefine after defining function. Define as weak alias of
2917 __wcschr. Use libc_hidden_weak.
2918 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2919 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2920 (libc_hidden_def): Also define __GI___wcschr alias.
2921 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2922 __wcschr and define as weak alias of __wcschr.
2923 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2925 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2926 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2927 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2928 libc_hidden_weak. Do not use libc_hidden_def.
2929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2930 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2931 __GI___wcschr alias.
2932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2933 [IS_IN (libc)] (wcschr): Define as macro expanding to
2935 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2936 [IS_IN (libc)] (__wcschr_power6): Likewise.
2937 [IS_IN (libc)] (__wcschr_power7): Likewise.
2938 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2940 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2942 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2943 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2944 __wcschr and define as weak alias of __wcschr. Use
2945 libc_hidden_builtin_def.
2946 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2947 as weak alias of __wcschr. Use libc_hidden_weak.
2948 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2950 * time/era.c (_nl_init_era_entries): Likewise.
2951 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2953 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2954 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2956 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2958 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2959 format for long int variable.
2961 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2964 * manual/search.texi: (Array Sort Function): Remove claim how to make
2967 2014-12-10 Andreas Schwab <schwab@suse.de>
2970 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2971 user-controlled locks.
2973 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
2975 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2978 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2980 * configure.ac (--disable-werror): New configure option.
2981 (enable_werror): New AC_SUBST.
2982 * configure: Regenerated.
2983 * config.make.in (enable-werror): New variable.
2984 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2986 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2987 * manual/install.texi (Configuring and compiling): Document
2989 * INSTALL: Regenerated.
2990 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2991 (CFLAGS-tst-chk2.c): Likewise.
2992 (CFLAGS-tst-chk3.c): Likewise.
2993 (CFLAGS-tst-chk4.cc): Likewise.
2994 (CFLAGS-tst-chk5.cc): Likewise.
2995 (CFLAGS-tst-chk6.cc): Likewise.
2996 (CFLAGS-tst-lfschk1.c): Likewise.
2997 (CFLAGS-tst-lfschk2.c): Likewise.
2998 (CFLAGS-tst-lfschk3.c): Likewise.
2999 (CFLAGS-tst-lfschk4.cc): Likewise.
3000 (CFLAGS-tst-lfschk5.cc): Likewise.
3001 (CFLAGS-tst-lfschk6.cc): Likewise.
3003 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3004 (main): Disable -Wdeprecated-declarations around calls to
3005 register_printf_function.
3007 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3008 (do_test): Disable -Wdiv-by-zero around some calls to
3009 fwrite_unlocked and fread_unlocked.
3011 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3012 (DIAG_POP_NEEDS_COMMENT): Likewise.
3013 (_DIAG_STR1): Likewise.
3014 (_DIAG_STR): Likewise.
3015 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3016 * stdio-common/bug21.c: Include <libc-internal.h>.
3017 (do_test): Disable -Wformat around call to sscanf.
3018 * stdio-common/scanf14.c: Include <libc-internal.h>.
3019 (main): Disable -Wformat around some calls to scanf functions.
3021 2014-12-09 Torvald Riegel <triegel@redhat.com>
3023 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3025 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3027 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3028 stack variable alignment.
3030 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3033 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3034 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3035 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3036 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3037 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3038 __getrlimit instead of getrlimit.
3039 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3040 __gettimeofday instead of gettimeofday.
3041 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3043 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3045 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3046 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3048 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3049 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3051 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3053 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3054 for wide-character tests.
3056 2014-12-04 Roland McGrath <roland@hack.frob.com>
3058 * io/openat64.c: #include <libc-internal.h>
3059 (__openat64): Prototypify. Use ignore_value on MODE.
3060 * io/openat.c: Likewise.
3061 * misc/reboot.c: #include <libc-internal.h>
3062 (reboot): Prototypify. Use ignore_value on HOWTO.
3063 * misc/ptrace.c: #include <libc-internal.h>
3064 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3066 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3068 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3069 XPG4, UNIX98 and XOPEN2K.
3070 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3072 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3074 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3076 * libio/fileops.c: Use ISO C style for function definitions.
3077 * libio/iofopen.c: Likewise.
3078 * libio/wfileops.c: Likewise.
3081 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3083 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3084 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3085 (fgets_func): Function pointer to fgets and fgetws.
3086 (do_ftell_test): Add test to verify ftell value after read
3088 (do_test): Set fgets_func.
3090 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3091 O_TRUNC flag for w and w+ modes.
3092 (do_rewind_test): Likewise.
3093 (do_ftell_test): Likewise.
3094 (do_write_test): Likewise.
3097 * libio/fileops.c (do_ftell): Seek only when there are
3099 * libio/wfileops.c (do_ftell_wide): Likewise.
3100 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3102 (do_one_test): Call it.
3104 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3106 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3107 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3108 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3110 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3111 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3112 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3114 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3116 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3118 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3121 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3122 as weak alias of __getifaddrs. Use libc_hidden_weak.
3123 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3124 __freeifaddrs. Use libc_hidden_weak.
3125 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3126 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3127 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3128 __freeifaddrs. Use libc_hidden_weak.
3129 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3130 __getifaddrs and define as weak alias of __getifaddrs. Use
3132 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3133 __freeifaddrs. Use libc_hidden_weak.
3134 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3136 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3137 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3139 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3142 * sysdeps/mips/start.S (__start): Use indirect jump to call
3145 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3147 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3149 * nptl/tst-mutex1.c: Include <stdbool.h>.
3150 [!ATTR] (ATTR_NULL): New macro.
3151 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3152 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3153 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3155 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3159 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3160 Change conditional to [__USE_MISC].
3163 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3165 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3167 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3169 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3171 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3172 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3173 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3174 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3175 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3176 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3177 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3178 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3179 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3181 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3183 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3185 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3186 Remove strpbrk objects.
3187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3188 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3189 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3190 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3191 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3192 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3194 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3195 Remove strcspn objects.
3196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3197 (__libc_ifunc_impl_list): Remove strcspn implementation.
3198 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3199 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3200 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3201 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3203 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3204 Remove strspn objetcs.
3205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3206 (__libc_ifunc_impl_list): Remove strspn implementation.
3207 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3208 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3209 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3210 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3212 2014-12-01 James Lemke <jwlemke@codesourcery.com>
3216 (mem2mem_check): Add a terminator to the chain of checking blocks.
3217 (malloc_check_get_size): Use it here.
3218 (mem2chunk_check): Ditto.
3220 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3222 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3223 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3225 2014-11-29 Carlos O'Donell <carlos@redhat.com>
3227 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3229 * nptl/nptl-init.c: Include libc-internal.h.
3230 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3232 * elf/ldconfig.c (search_dir): Expand comment.
3234 2014-11-29 Joseph Myers <joseph@codesourcery.com>
3236 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3238 (linknamespace-symlist-stdlibs-tests): Likewise.
3239 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3240 instead of $(objpfx)symlist-stdlibs.
3241 (linknamespace-libs-isoc): New variable.
3242 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3243 (linknamespace-libs-ISO): New variable.
3244 (linknamespace-libs-ISO99): Likewise.
3245 (linknamespace-libs-ISO11): Likewise.
3246 (linknamespace-libs-XPG3): Likewise.
3247 (linknamespace-libs-XPG4): Likewise.
3248 (linknamespace-libs-POSIX): Likewise.
3249 (linknamespace-libs-UNIX98): Likewise.
3250 (linknamespace-libs-XOPEN2K): Likewise.
3251 (linknamespace-libs-POSIX2008): Likewise.
3252 (linknamespace-libs-XOPEN2K8): Likewise.
3253 ($(objpfx)symlist-stdlibs): Replace by
3254 $(linknamespace-symlist-stdlibs-tests). Use
3255 $(linknamespace-libs-$*) as set of libraries.
3256 ($(linknamespace-header-tests)): Update dependencies. Use
3257 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3258 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3259 * conform/linknamespace.pl: Remove comment about considering
3260 definitions of symbols from irrelevant libraries.
3262 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3265 * elf/dl-tls.c: Include <atomic.h>.
3266 (oom): Remove #ifdef SHARED/#endif.
3267 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3268 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3269 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3271 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3272 * nptl/Makefile (tests): Add tst-stack4.
3273 (modules-names): Add tst-stack4mod.
3274 ($(objpfx)tst-stack4): New.
3275 (tst-stack4mod.sos): Likewise.
3276 ($(objpfx)tst-stack4.out): Likewise.
3277 ($(tst-stack4mod.sos)): Likewise.
3279 * nptl/tst-stack4.c: New file.
3280 * nptl/tst-stack4mod.c: Likewise.
3282 2014-11-27 J. Brown <jb999@gmx.de>
3284 * sysdeps/x86/bits/string.h: Add recent CPUs.
3286 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3288 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3291 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3294 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3297 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3299 * nscd/connections.c: Include libc-internal.h because of macro
3302 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3304 * string/bits/string3.h (__warn_memset_zero_len): Don't
3305 declare for gcc newer than 5.0.
3306 (memset): Don't test for zero-length __LEN for gcc newer than
3309 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3311 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3312 size_t for %zu format.
3314 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3315 difference, not %ju.
3317 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3319 * include/libc-internal.h (ignore_value): New macro.
3320 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3323 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3326 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3327 pthread_cleanup_push to void *.
3329 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3334 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3335 instead of 1L << 52.
3337 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3338 * libio/bug-rewind2.c (do_test): Likewise.
3340 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3341 * debug/test-strcpy_chk-ifunc.c: Likewise.
3342 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3343 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3344 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3345 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3346 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3347 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3348 * Rules [$(multi-arch) = no] (tests): Do not filter out
3350 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3351 * debug/Makefile (tests-ifunc): Remove variable.
3352 (tests): Do not add $(tests-ifunc).
3353 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3354 (tests): Do not add $(tests-ifunc).
3355 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3356 [TEST_IFUNC]: Remove conditionals.
3357 * string/test-string.h (TEST_IFUNC): Remove macro.
3358 [TEST_IFUNC]: Remove conditionals.
3360 * string/test-strchr.c [!WIDE] (L): New macro.
3361 [WIDE] (L): Likewise.
3362 (check1): Use CHAR instead of char. Use L on string and character
3365 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3367 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3369 * sysdeps/powerpc/bits/atomic.h
3370 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3371 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3372 (atomic_exchange_and_add_acq): Likewise.
3373 (atomic_exchange_and_add_rel): Likewise.
3374 * sysdeps/powerpc/powerpc32/bits/atomic.h
3375 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3376 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3377 * sysdeps/powerpc/powerpc64/bits/atomic.h
3378 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3379 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3381 2014-11-26 Torvald Riegel <triegel@redhat.com>
3383 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3384 Change synchronization of __sched_fifo_min_prio and
3385 __sched_fifo_max_prio.
3386 * nptl/pthread_mutexattr_getprioceiling.c
3387 (pthread_mutexattr_getprioceiling): Likewise.
3388 * nptl/pthread_mutexattr_setprioceiling.c
3389 (pthread_mutexattr_setprioceiling): Likewise.
3390 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3391 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3394 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3396 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3399 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3401 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3402 third argument const.
3404 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3406 fnmatch: work around GCC compiler warning bug with uninit var
3407 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3408 This works around a bug with x86-64 GCC 4.9.2 and earlier
3409 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3410 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3411 used uninitialized in this function [-Wmaybe-uninitialized]".
3413 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3415 * posix/bug-regex31.c (main): Return RES not 0.
3417 2014-11-25 Anton Blanchard <anton@samba.org>
3419 * sysdeps/powerpc/bits/atomic.h
3420 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3422 2014-11-24 Sterling Augustine <saugustine@google.com>
3424 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3426 2014-11-24 Ryan Cumming <etaoins@gmail.com>
3429 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3431 2014-11-24 Joseph Myers <joseph@codesourcery.com>
3434 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3435 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3437 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3438 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3440 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3442 * string/strncpy.c (strncpy): Improve performance by using memset.
3444 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3446 * string/strcpy.c (strcpy):
3447 Improve performance by using strlen and memcpy.
3449 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
3451 * string/strcoll_l.c (get_next_seq): __always_inline.
3452 * string/strcoll_l.c (do_compare): __always_inline.
3454 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3456 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3458 * include/mqueue.h: Likewise.
3459 * include/stdlib.h: Likewise.
3461 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3462 (get_null_defines): Adjust.
3463 * sunrpc/Makefile: Adjust comment.
3464 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3465 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3466 (CFLAGS-interp.c): Likewise.
3467 (CFLAGS-ldconfig.c): Likewise.
3468 (CPPFLAGS-.os): Likewise.
3469 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3470 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3471 * extra-modules.mk (extra-modules.mk): Likewise.
3472 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3473 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3474 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3475 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3476 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3477 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3478 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3479 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3480 * iconvdata/Makefile (CPPFLAGS): Likewise.
3481 (cpp-srcs-left): Add libof for all iconvdata routines.
3482 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3483 * include/assert.h: Likewise.
3484 * include/ctype.h: Likewise.
3485 * include/errno.h: Likewise.
3486 * include/libc-symbols.h: Likewise.
3487 * include/math.h: Likewise.
3488 * include/netdb.h: Likewise.
3489 * include/resolv.h: Likewise.
3490 * include/stdio.h: Likewise.
3491 * include/stdlib.h: Likewise.
3492 * include/string.h: Likewise.
3493 * include/sys/stat.h: Likewise.
3494 * include/wctype.h: Likewise.
3495 * intl/l10nflist.c: Likewise.
3496 * libidn/idn-stub.c: Likewise.
3497 * libio/libioP.h: Likewise.
3498 * nptl/libc_multiple_threads.c: Likewise.
3499 * nptl/pthreadP.h: Likewise.
3500 * posix/regex_internal.h: Likewise.
3501 * resolv/res_hconf.c: Likewise.
3502 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3503 * sysdeps/arm/memmove.S: Likewise.
3504 * sysdeps/arm/sysdep.h: Likewise.
3505 * sysdeps/generic/_itoa.h: Likewise.
3506 * sysdeps/generic/symbol-hacks.h: Likewise.
3507 * sysdeps/gnu/errlist.awk: Likewise.
3508 * sysdeps/gnu/errlist.c: Likewise.
3509 * sysdeps/i386/i586/memcpy.S: Likewise.
3510 * sysdeps/i386/i586/memset.S: Likewise.
3511 * sysdeps/i386/i686/memcpy.S: Likewise.
3512 * sysdeps/i386/i686/memmove.S: Likewise.
3513 * sysdeps/i386/i686/mempcpy.S: Likewise.
3514 * sysdeps/i386/i686/memset.S: Likewise.
3515 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3516 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3517 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3518 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3519 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3520 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3521 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3522 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3523 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3525 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3526 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3527 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3528 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3529 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3530 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3531 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3532 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3533 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3535 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3536 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3538 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3539 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3540 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3541 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3542 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3544 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3548 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3549 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3551 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3552 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3555 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3556 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3557 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3558 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3561 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3562 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3564 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3566 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3567 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3570 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3571 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3573 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3576 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3577 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3578 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3579 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3580 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3581 * sysdeps/posix/closedir.c: Likewise.
3582 * sysdeps/posix/opendir.c: Likewise.
3583 * sysdeps/posix/readdir.c: Likewise.
3584 * sysdeps/posix/rewinddir.c: Likewise.
3585 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3586 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3587 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3588 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3589 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3590 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3591 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3592 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3593 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3594 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3595 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3596 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3597 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3598 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3599 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3600 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3601 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3602 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3603 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3604 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3605 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3606 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3607 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3608 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3609 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3610 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3611 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3612 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3613 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3620 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3621 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3622 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3623 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3624 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3625 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3626 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3627 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3628 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3629 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3630 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3631 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3632 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3633 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3634 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3635 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3636 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3637 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3638 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3639 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3641 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3642 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3643 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3644 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3645 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3646 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3647 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3648 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3649 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3650 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3651 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3652 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3653 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3654 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3655 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3656 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3657 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3658 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3659 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3660 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3661 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3662 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3663 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3664 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3665 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3666 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3667 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3668 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3669 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3671 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3672 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3673 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3674 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3675 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3676 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3677 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3679 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3681 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3683 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3684 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3685 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3686 * sysdeps/unix/alpha/sysdep.S: Likewise.
3687 * sysdeps/unix/alpha/sysdep.h: Likewise.
3688 * sysdeps/unix/make-syscalls.sh: Likewise.
3689 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3691 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3692 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3693 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3694 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3695 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3696 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3697 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3698 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3699 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3700 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3701 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3702 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3703 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3704 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3705 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3706 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3707 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3708 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3709 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3710 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3711 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3712 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3713 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3714 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3715 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3718 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3719 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3720 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3722 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3723 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3724 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3726 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3727 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3728 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3729 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3730 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3731 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3732 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3733 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3736 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3739 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3740 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3741 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3742 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3743 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3744 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3745 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3747 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3748 * sysdeps/x86_64/memcpy.S: Likewise.
3749 * sysdeps/x86_64/memmove.c: Likewise.
3750 * sysdeps/x86_64/memset.S: Likewise.
3751 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3752 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3753 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3754 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3755 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3756 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3757 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3758 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3759 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3760 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3761 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3762 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3763 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3764 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3765 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3766 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3767 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3768 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3769 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3770 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3771 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3772 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3773 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3774 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3775 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3776 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3777 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3778 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3779 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3780 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3781 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3782 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3783 * sysdeps/x86_64/strcmp.S: Likewise.
3785 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3787 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3788 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3789 * elf/rtld-Rules: Likewise.
3790 * elf/setup-vdso.h: Likewise.
3791 * include/assert.h: Likewise.
3792 * include/bits/stdlib-float.h: Likewise.
3793 * include/errno.h: Likewise.
3794 * include/sys/stat.h: Likewise.
3795 * include/unistd.h: Likewise.
3796 * sysdeps/aarch64/setjmp.S: Likewise.
3797 * sysdeps/alpha/setjmp.S: Likewise.
3798 * sysdeps/arm/__longjmp.S: Likewise.
3799 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3800 * sysdeps/arm/setjmp.S: Likewise.
3801 * sysdeps/arm/sysdep.h: Likewise.
3802 * sysdeps/generic/_itoa.h: Likewise.
3803 * sysdeps/generic/dl-sysdep.h: Likewise.
3804 * sysdeps/generic/ldsodefs.h: Likewise.
3805 * sysdeps/i386/dl-tls.h: Likewise.
3806 * sysdeps/i386/setjmp.S: Likewise.
3807 * sysdeps/m68k/setjmp.c: Likewise.
3808 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3809 * sysdeps/mach/hurd/opendir.c: Likewise.
3810 * sysdeps/posix/getcwd.c: Likewise.
3811 * sysdeps/posix/opendir.c: Likewise.
3812 * sysdeps/posix/profil.c: Likewise.
3813 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3814 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3815 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3816 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3817 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3818 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3819 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3820 * sysdeps/s390/dl-tls.h: Likewise.
3821 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3822 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3823 * sysdeps/sh/sh3/setjmp.S: Likewise.
3824 * sysdeps/sh/sh4/setjmp.S: Likewise.
3825 * sysdeps/unix/alpha/sysdep.h: Likewise.
3826 * sysdeps/unix/arm/sysdep.S: Likewise.
3827 * sysdeps/unix/i386/sysdep.S: Likewise.
3828 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3829 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3830 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3831 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3833 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3834 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3835 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3836 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3837 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3838 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3839 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3840 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3843 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3846 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3847 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3848 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3851 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3852 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3853 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3855 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3856 * sysdeps/x86_64/setjmp.S: Likewise.
3858 * include/math.h: Use IS_IN instead of IS_IN_libm.
3859 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3871 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3873 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3879 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3880 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3881 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3882 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3883 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3884 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3886 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3887 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3888 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3889 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3890 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3891 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3902 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3903 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3904 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3905 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3906 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3913 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3914 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3915 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3916 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3917 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3918 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3919 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3921 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3922 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3923 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3926 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3928 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3930 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3931 * nptl/pthreadP.h: Likewise.
3932 * nptl_db/structs.def: Likewise.
3933 * sysdeps/arm/sysdep.h: Likewise.
3934 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3935 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3936 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3937 * sysdeps/unix/alpha/sysdep.h: Likewise.
3938 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3940 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3941 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3942 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3943 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3944 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3945 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3946 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3947 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3948 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3949 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3950 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3951 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3955 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3956 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3957 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3959 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3960 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3961 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3962 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3963 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3965 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3966 * nptl/pthreadP.h: Likewise.
3967 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3968 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3969 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3970 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3971 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3972 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3973 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3974 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3975 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3976 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3977 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3978 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3983 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3985 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3988 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3989 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3990 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3992 * dlfcn/dladdr.c: Use IS_IN.
3993 * dlfcn/dladdr1.c: Likewise.
3994 * dlfcn/dlclose.c: Likewise.
3995 * dlfcn/dlerror.c: Likewise.
3996 * dlfcn/dlinfo.c: Likewise.
3997 * dlfcn/dlmopen.c: Likewise.
3998 * dlfcn/dlopen.c: Likewise.
3999 * dlfcn/dlsym.c: Likewise.
4000 * dlfcn/dlvsym.c: Likewise.
4002 * include/ifaddrs.h: Use IS_IN.
4003 * inet/check_pf.c: Likewise.
4004 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4005 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4007 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4009 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4010 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4012 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4013 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4016 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4018 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4019 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4020 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4021 * include/libc-symbols.h (IS_IN_LIB): New macro.
4022 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4023 * include/netdb.h: Likewise.
4024 * include/stap-probe.h: Remove all uses of IN_LIB.
4026 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4027 instead of IN_MODULE.
4028 * include/libc-symbols.h (IN_MODULE): Define using
4030 (PASTE_NAME, PASTE_NAME1): New macros.
4031 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4033 (STAP_PROBE_ASM): Likewise.
4035 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4037 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4038 __mach_init in dlopened libc.
4040 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4042 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4043 * sysdeps/arm/preconfigure: Regenerate.
4045 2014-11-21 Roland McGrath <roland@hack.frob.com>
4047 * nptl/pthread_create.c (__pthread_create_2_1): Set
4048 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4049 when copying values from IATTR into PD.
4051 2014-11-21 Will Newton <will.newton@linaro.org>
4052 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4054 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4055 Refactor inline-asm. Also add comment.
4057 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4058 ElfW macro instead of hardcoded Elf64 types.
4059 (la_aarch64_gnu_pltenter): Likewise.
4060 * sysdeps/aarch64/dl-machine.h
4061 (elf_machine_runtime_setup): Use ElfW(Addr).
4063 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4064 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4065 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4066 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4067 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4068 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4069 (R_AARCH64_TLS_DTPMOD): This.
4070 (R_AARCH64_TLS_DTPREL64): Rename to ...
4071 (R_AARCH64_TLS_DTPREL): This.
4072 (R_AARCH64_TLS_TPREL64): Rename to ...
4073 (R_AARCH64_TLS_TPREL): This.
4074 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4075 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4076 R_AARCH64_TLS_TPREL64.
4077 (elf_machine_rela): Likewise.
4079 2014-11-21 Torvald Riegel <triegel@redhat.com>
4081 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4082 by setting it to 0. 64b atomics are not supported currently.
4084 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4087 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4088 search domain names.
4090 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4094 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4096 * posix/tst-getaddrinfo5.c: New.
4097 * posix/Makefile (tests): Add it.
4099 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4103 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4104 after parsing line but before break_if_match.
4105 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4106 if there is a protocol mismatch.
4108 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4110 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4111 because the potential race is on the user-supplied stream.
4113 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4115 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4116 string literal if not passed a buffer.
4117 * manual/job.texi (ctermid): Update reasoning, note deviation
4118 from posix, suggest mtasurace when not passed a buffer, for
4119 future non-preliminary safety notes.
4121 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4123 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4124 of not passing it a buffer.
4125 Reported by Peng Haitao.
4127 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4129 * manual/Makefile ($(objpfx)stamp-summary): Require
4130 check-safety.sh to pass.
4131 * manual/check-safety.sh: Wish for verification that every
4132 @deftypefn and @deftypefun is followed by a @safety remark.
4134 2014-11-20 Roland McGrath <roland@hack.frob.com>
4136 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4138 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4139 PTHREAD_CANCEL_ASYNCHRONOUS.
4140 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4143 * nptl/default-sched.h: New file.
4144 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4145 * nptl/pthread_create.c: Include it.
4146 (__pthread_create_2_1): Use collect_default_sched instead of making
4147 Linux syscalls here directly.
4149 2014-11-20 Torvald Riegel <triegel@redhat.com>
4151 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4152 __pthread_once): Use C11 atomics.
4154 2014-11-20 Torvald Riegel <triegel@redhat.com>
4156 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4158 2014-11-20 Torvald Riegel <triegel@redhat.com>
4160 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4161 atomic_thread_fence_acquire, atomic_thread_fence_release,
4162 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4163 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4164 atomic_compare_exchange_weak_relaxed,
4165 atomic_compare_exchange_weak_acquire,
4166 atomic_compare_exchange_weak_release,
4167 atomic_exchange_acquire, atomic_exchange_release,
4168 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4169 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4170 atomic_fetch_and_acquire,
4171 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4173 2014-11-20 Torvald Riegel <triegel@redhat.com>
4175 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4176 USE_ATOMIC_COMPILER_BUILTINS): Define.
4177 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4179 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4181 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4183 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4185 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4187 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4189 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4191 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4193 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4195 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4197 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4199 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4201 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4203 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4205 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4207 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4208 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4209 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4210 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4211 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4212 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4213 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4214 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4215 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4216 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4218 2014-11-19 Roland McGrath <roland@hack.frob.com>
4220 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4221 the sched_priority value here. It was already checked when the user
4222 called pthread_attr_setschedparam.
4224 * nptl/tst-bad-schedattr.c: New file.
4225 * nptl/Makefile (tests): Add it.
4227 2014-11-19 Carlos O'Donell <carlos@redhat.com>
4228 Florian Weimer <fweimer@redhat.com>
4229 Joseph Myers <joseph@codesourcery.com>
4230 Adam Conrad <adconrad@0c3.net>
4231 Andreas Schwab <schwab@suse.de>
4232 Brooks <bmoses@google.com>
4235 * wordexp-test.c (__dso_handle): Add prototype.
4236 (__register_atfork): Likewise.
4237 (__app_register_atfork): New function.
4238 (registered_forks): New global.
4239 (register_fork): New function.
4240 (test_case): Add 3 new tests for WRDE_CMDSUB.
4241 (main): Call __app_register_atfork.
4242 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4243 fork count is non-zero fail the test.
4244 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4246 (parse_dollars): Remove check for WRDE_NOCMD.
4247 (parse_dquote): Likewise.
4249 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4251 * Makeconfig (built-modules): List non-library modules to be
4253 (module-cppflags): Include libc-modules.h for
4254 everything except shlib-versions.v.i.
4256 (before-compile): Add libc-modules.h.
4257 ($(common-objpfx)libc-modules.h,
4258 $(common-objpfx)libc-modules.stmp): New targets.
4259 (common-generated): Add libc-modules.h and libc-modules.stmp.
4260 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4261 * include/libc-symbols.h: Don't include libc-modules.h.
4262 * include/libc-modules.h: Remove file.
4263 * scripts/gen-libc-modules.awk: New script to generate
4265 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4266 Depend on libc-modules.stmp.
4268 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4270 * Makeconfig (in-module): Get value of libof set for the
4272 (CPPFLAGS): Use $(in-module).
4273 * Makerules: Don't suffix routine names for nonlib.
4274 * include/libc-modules.h: New file.
4275 * include/libc-symbols.h: Include libc-modules.h
4276 (IS_IN): New macro to replace IS_IN_* macros.
4277 * elf/Makefile: Set libof-* for each routine.
4278 * elf/rtld-Rules: Likewise.
4279 * extra-modules.mk: Likewise.
4280 * iconv/Makefile: Likewise.
4281 * iconvdata/Makefile: Likewise.
4282 * locale/Makefile: Likewise.
4283 * malloc/Makefile: Likewise.
4284 * nss/Makefile: Likewise.
4285 * sysdeps/gnu/Makefile: Likewise.
4286 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4287 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4288 * sysdeps/s390/s390-64/Makefile: Likewise.
4289 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4290 CPPFLAGS for nscd instead of nonlib.
4292 2014-11-18 Roland McGrath <roland@hack.frob.com>
4294 * nptl/createthread.c: New file.
4296 * nptl/createthread.c: Moved ...
4297 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4299 * nptl/createthread.c: Add proper top-line comment.
4300 (do_clone): Folded into ...
4301 (create_thread): ... here. Take new arguments STOPPED_START and
4302 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4303 increment __nptl_threads, do event-reporting logic, do
4304 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4305 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4306 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4307 just send SIGCANCEL.
4308 * nptl/pthread_create.c: Forward-declare create_thread before
4309 including createthread.c.
4310 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4311 declaration, and new macro START_THREAD_SELF to replace argument.
4312 Remove return statement.
4313 (report_thread_creation): New function.
4314 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4315 synchronization logic, and __nptl_nthreads increment here, around
4316 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4317 PD->parent_cancelhandling here, before create_thread. When
4318 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4319 __deallocate_stack, and ENOMEM translation here.
4321 2014-11-18 Joseph Myers <joseph@codesourcery.com>
4324 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4325 (mptwo): Rename to __mptwo.
4326 (__inv): Use __mptwo instead of mptwo.
4327 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4328 (mptwo): Rename to __mptwo.
4329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4330 of mpone and __mptwo instead of mptwo.
4331 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4334 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4335 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4336 of mpone and __mptwo instead of mptwo.
4337 (__mpranred): Use __mpone instead of mpone.
4338 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4340 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4341 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4342 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4343 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4344 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4345 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4346 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4347 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4348 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4349 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4350 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4351 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4352 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4353 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4354 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4355 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4356 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4357 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4358 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4360 2014-11-18 Tom de Vries <tom@codesoucery.com>
4362 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4363 replace BSD Handler xref with BSD Signal Handling.
4365 2014-11-17 Richard Henderson <rth@redhat.com>
4367 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4368 (_FP_PACK_RAW_2): Remove.
4369 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4370 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4371 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4372 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4373 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4374 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4375 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4376 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4377 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4378 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4379 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4380 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4381 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4382 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4383 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4384 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4386 2014-11-14 Roland McGrath <roland@hack.frob.com>
4388 * signal/signal.h [__USE_MISC]
4389 (struct sigvec): Remove type.
4390 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4391 (sigvec): Remove declaration.
4392 * sysdeps/posix/sigvec.c: Moved ...
4393 * signal/sigvec.c: ... here, replacing old file.
4394 (struct sigvec): New type, copied from old signal.h definition.
4395 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4396 (__sigvec): Convert definition to prototype.
4397 (sigvec): Replace weak_alias with compat_symbol.
4398 * signal/Versions (libc: GLIBC_2.21): New version set.
4399 * include/signal.h: Remove __sigvec declaration.
4400 * sysdeps/unix/bsd/sigvec.c: Remove file.
4401 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4402 * manual/signal.texi (BSD Handler): Remove subsection.
4403 Move siginterrupt up to ...
4404 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4405 (Blocking in BSD): Fold subsection into its parent.
4406 * NEWS: Mention sigvec removal.
4408 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4410 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4411 (DLA_FMS): Make definition conditional only on [__FMA4__].
4412 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4415 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4416 Make definition conditional only on [PROF].
4417 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4419 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4420 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4422 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4424 * include/signal.h (__sigpause): Move declaration above call to
4426 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4428 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4429 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4431 2014-11-14 David S. Miller <davem@davemloft.net>
4433 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4434 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4436 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4438 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4439 * configure: Regenerated.
4440 * manual/install.texi (Tools for Compilation): Document a
4441 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4442 compiler verified to work.
4443 * INSTALL: Regenerated.
4445 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4446 redeclare with asm name.
4447 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4448 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4449 including <string.h>.
4450 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4451 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4452 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4453 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4454 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4455 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4456 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4458 2014-11-13 Joseph Myers <joseph@codesourcery.com>
4460 * stdlib/strtol.c (__strtol): Use prototype definition.
4463 * stdlib/strtol.c (SYM__): New macro.
4465 (__strtol): Likewise.
4466 (strtol): Rename to __strtol and define as weak alias of
4467 __strtol. Use libc_hidden_weak.
4469 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4471 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4472 Use numbered labels in inline assembly.
4474 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4476 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4477 Add setjmp LIBC_PROBE.
4478 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4480 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4481 Add longjmp, longjmp_target LIBC_PROBE.
4482 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4485 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4487 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4488 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4489 to get rid of unused variable warning.
4491 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4493 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4494 Check for unwind_backtrace == NULL only in SHARED case.
4495 (__backchain_backtrace): Compile only in SHARED case.
4496 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4498 (__backchain_backtrace): Declare as static.
4500 2014-11-12 Roland McGrath <roland@hack.frob.com>
4502 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4503 (__libc_multiple_threads_ptr): Variable moved ...
4504 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4506 2014-11-12 Joseph Myers <joseph@codesourcery.com>
4508 * conform/GlibcConform.pm: New file.
4509 * conform/conformtest.pl: Use GlibcConform module.
4510 * conform/linknamespace.pl: New file.
4511 * conform/list-header-symbols.pl: Likewise.
4512 * conform/Makefile (linknamespace-symlists-base): New variable.
4513 (linknamespace-symlists-tests): Likewise.
4514 (linknamespace-header-base): Likewise.
4515 (linknamespace-header-tests): Likewise.
4516 (tests-special): Add new tests.
4517 ($(linknamespace-symlists-tests)): New rule.
4518 (linknamespace-libs): New variable.
4519 ($(objpfx)symlist-stdlibs): New rule.
4520 ($(linknamespace-header-tests)): Likewise.
4521 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4522 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4523 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4524 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4525 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4526 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4527 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4528 (test-xfail-ISO/math.h/linknamespace): Likewise.
4529 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4530 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4531 (test-xfail-ISO/time.h/linknamespace): Likewise.
4532 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4533 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4534 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4535 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4536 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4537 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4538 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4539 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4540 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4541 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4542 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4543 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4544 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4545 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4546 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4547 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4548 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4549 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4550 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4551 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4552 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4553 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4554 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4555 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4556 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4557 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4558 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4559 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4560 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4561 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4562 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4563 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4564 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4565 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4566 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4567 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4568 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4569 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4570 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4571 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4572 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4573 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4574 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4575 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4576 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4577 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4578 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4579 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4580 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4581 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4582 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4583 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4584 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4585 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4586 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4587 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4588 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4589 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4590 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4591 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4592 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4593 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4594 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4595 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4596 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4597 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4598 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4599 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4600 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4601 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4602 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4603 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4604 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4605 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4606 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4607 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4608 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4609 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4610 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4611 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4612 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4613 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4614 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4615 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4616 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4617 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4618 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4619 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4620 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4621 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4622 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4623 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4624 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4625 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4626 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4627 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4628 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4629 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4630 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4631 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4632 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4633 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4634 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4635 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4636 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4637 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4638 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4639 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4640 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4641 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4642 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4643 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4644 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4645 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4646 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4647 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4648 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4649 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4650 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4651 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4652 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4653 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4654 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4655 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4656 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4657 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4658 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4659 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4660 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4661 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4662 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4663 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4664 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4665 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4666 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4667 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4668 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4669 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4670 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4671 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4672 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4673 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4674 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4675 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4676 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4677 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4678 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4679 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4680 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4681 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4684 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4688 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4689 (memmem): Rename to __memmem and define as weak alias of
4690 __memmem. Use libc_hidden_weak.
4691 (__memmem): Use libc_hidden_def.
4692 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4693 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4697 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4698 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4699 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4700 and define as weak alias of __fgets_unlocked. Use
4702 (__fgets_unlocked): Use libc_hidden_def.
4703 * include/stdio.h (__fgets_unlocked): Declare. Use
4705 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4706 __fgets_unlocked instead of fgets_unlocked.
4707 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4708 (GET_NPROCS_CONF_PARSER): Likewise.
4709 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4710 (GET_NPROCS_CONF_PARSER): Likewise.
4713 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4714 weak alias of __wmemset. Use libc_hidden_weak.
4715 (__wmemset): Use libc_hidden_def.
4716 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4717 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4721 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4722 with asm name __mempcpy.
4723 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4726 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4727 and define as weak alias of __rawmemchr.
4728 (__rawmemchr): Do not define as strong alias of rawmemchr.
4731 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4733 (qsort): Call __qsort_r instead of qsort_r.
4734 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4735 (__qsort_r): Declare. Call libc_hidden_proto.
4736 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4738 * nscd/gai.c (__qsort_r): Define to qsort_r.
4739 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4740 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4741 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4744 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4745 define as weak alias of __malloc_info.
4748 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4749 as weak alias of __rewinddir. Don't use libc_hidden_def.
4750 (__rewinddir): Use libc_hidden_def.
4751 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4752 as weak alias of __rewinddir. Don't use libc_hidden_def.
4753 (__rewinddir): Use libc_hidden_def.
4754 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4755 weak alias of __rewinddir. Don't use libc_hidden_def.
4756 (__rewinddir): Use libc_hidden_def.
4757 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4758 (__rewinddir): Use libc_hidden_proto.
4759 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4761 (__getcwd): Use __rewinddir instead of rewinddir.
4764 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4765 alias of __fileno. Use libc_hidden_weak.
4766 (__fileno): Use libc_hidden_def.
4767 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4768 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4770 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4772 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4773 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4775 (fread_unlocked): Don't use libc_hidden_ver.
4776 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4777 and define as weak alias of __fread_unlocked. Don't use
4779 (__fread_unlocked): Use libc_hidden_def.
4780 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4781 (ftello): Don't use libc_hidden_proto.
4782 (__ftello): Declare. Use libc_hidden_proto.
4783 (fread_unlocked): Don't use libc_hidden_proto.
4784 (__fread_unlocked): Declare. Use libc_hidden_proto.
4785 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4786 and __ftello instead of fileno, fread_unlocked and ftello.
4788 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4790 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4794 (_dl_start_user): Likewise.
4795 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4797 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4798 Siddhesh Poyarekar <siddhesh@redhat.com>
4800 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4801 Move argv and envp down instead of moving argc up.
4802 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4804 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4807 * test-skeleton.c (main): Return successful if one of
4808 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4809 * string/tst-strcoll-overflow.c: Define expected status.
4811 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4814 * locale/iso-639.def: Define Bhili and Tulu language codes.
4816 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4818 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4820 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4823 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4825 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4827 * configure.ac: Updated check of minimal required version to
4829 * manual/install.texi (Tools for Compilation): Updated version
4831 * configure: Regenerated.
4832 * INSTALL: Likewise.
4834 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4836 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4839 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4841 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4842 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4843 (__waitpid): Don't define as alias. Use libc_hidden_def not
4845 (waitpid): Define as alias of __waitpid.
4846 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4848 (__waitpid): Don't define as alias. Use libc_hidden_def not
4850 (waitpid): Define as alias of __waitpid.
4851 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4852 __libc_waitpid alias.
4853 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4854 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4856 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4857 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4858 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4860 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4862 (__waitpid): Don't define as alias. Use libc_hidden_def not
4864 (waitpid): Define as alias of __waitpid.
4866 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4868 * manual/llio.texi: Add comment that write safety has been
4871 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4872 (localplt-build-dso): Add elf/ld.so.
4873 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4874 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4877 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4882 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4883 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4884 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4885 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4886 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4887 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4888 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4889 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4890 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4891 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4892 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4894 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4897 * include/libc-symbols.h (INTUSE): Remove macro.
4899 (INTVARDEF): Likewise.
4900 (_INTVARDEF): Likewise.
4901 (INTDEF2): Likewise.
4902 (INTVARDEF2): Likewise.
4903 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4904 rtld_hidden_def instead of INTVARDEF.
4905 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4906 (_dl_starting_up_internal): Remove declaration.
4907 (_dl_starting_up): Use rtld_hidden_proto.
4908 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4910 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4911 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4913 * elf/dl-writev.h (_dl_writev): Likewise.
4914 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4915 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4916 _dl_starting_up_internal.
4918 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4920 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4923 2014-11-05 Will Newton <will.newton@linaro.org>
4925 * benchtests/Makefile: (bench-malloc): Add malloc thread
4926 scalability benchmark.
4927 * benchtests/bench-malloc-threads.c: New file.
4929 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
4931 * sysdeps/aarch64/strchrnul.S: New file.
4933 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4935 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4937 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4939 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4941 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4943 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4945 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4948 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
4950 * catgets/test-gencat.c: Use test-skeleton.c.
4951 * catgets/tst-catgets.c: Likewise.
4952 * csu/tst-empty.c: Likewise.
4953 * elf/tst-audit2.c: Likewise.
4954 * elf/tst-global1.c: Likewise.
4955 * elf/tst-pathopt.c: Likewise.
4956 * elf/tst-piemod1.c: Likewise.
4957 * elf/tst-tls10.c: Likewise.
4958 * elf/tst-tls11.c: Likewise.
4959 * elf/tst-tls12.c: Likewise.
4960 * gnulib/tst-gcc.c: Likewise.
4961 * iconvdata/tst-e2big.c: Likewise.
4962 * iconvdata/tst-loading.c: Likewise.
4963 * iconv/tst-iconv1.c: Likewise.
4964 * iconv/tst-iconv2.c: Likewise.
4965 * inet/test-inet6_opt.c: Likewise.
4966 * inet/tst-gethnm.c: Likewise.
4967 * inet/tst-network.c: Likewise.
4968 * inet/tst-ntoa.c: Likewise.
4969 * intl/tst-codeset.c: Likewise.
4970 * intl/tst-gettext2.c: Likewise.
4971 * intl/tst-gettext3.c: Likewise.
4972 * intl/tst-ngettext.c: Likewise.
4973 * intl/tst-translit.c: Likewise.
4974 * io/test-stat.c: Likewise.
4975 * libio/test-fmemopen.c: Likewise.
4976 * libio/tst-freopen.c: Likewise.
4977 * libio/tst-sscanf.c: Likewise.
4978 * libio/tst-ungetwc1.c: Likewise.
4979 * libio/tst-ungetwc2.c: Likewise.
4980 * libio/tst-widetext.c: Likewise.
4981 * localedata/tst-ctype.c: Likewise.
4982 * localedata/tst-digits.c: Likewise.
4983 * localedata/tst-leaks.c: Likewise.
4984 * localedata/tst-mbswcs1.c: Likewise.
4985 * localedata/tst-mbswcs2.c: Likewise.
4986 * localedata/tst-mbswcs3.c: Likewise.
4987 * localedata/tst-mbswcs4.c: Likewise.
4988 * localedata/tst-mbswcs5.c: Likewise.
4989 * localedata/tst-setlocale.c: Likewise.
4990 * localedata/tst-trans.c: Likewise.
4991 * localedata/tst-wctype.c: Likewise.
4992 * localedata/tst-xlocale1.c: Likewise.
4993 * login/tst-grantpt.c: Likewise.
4994 * malloc/tst-calloc.c: Likewise.
4995 * malloc/tst-malloc.c: Likewise.
4996 * malloc/tst-mallocstate.c: Likewise.
4997 * malloc/tst-mcheck.c: Likewise.
4998 * malloc/tst-mtrace.c: Likewise.
4999 * malloc/tst-obstack.c: Likewise.
5000 * math/atest-exp2.c: Likewise.
5001 * math/atest-exp.c: Likewise.
5002 * math/atest-sincos.c: Likewise.
5003 * math/test-matherr.c: Likewise.
5004 * math/test-misc.c: Likewise.
5005 * math/test-powl.c: Likewise.
5006 * math/tst-definitions.c: Likewise.
5007 * misc/tst-dirname.c: Likewise.
5008 * misc/tst-efgcvt.c: Likewise.
5009 * misc/tst-fdset.c: Likewise.
5010 * misc/tst-hsearch.c: Likewise.
5011 * misc/tst-mntent2.c: Likewise.
5012 * nptl/tst-sem7.c: Likewise.
5013 * nptl/tst-sem8.c: Likewise.
5014 * nptl/tst-sem9.c: Likewise.
5015 * nss/test-netdb.c: Likewise.
5016 * posix/tst-fnmatch.c: Likewise.
5017 * posix/tst-getlogin.c: Likewise.
5018 * posix/tst-gnuglob.c: Likewise.
5019 * posix/tst-mmap.c: Likewise.
5020 * pwd/tst-getpw.c: Likewise.
5021 * resolv/tst-inet_ntop.c: Likewise.
5022 * rt/tst-timer.c: Likewise.
5023 * stdio-common/test-fseek.c: Likewise.
5024 * stdio-common/test-popen.c: Likewise.
5025 * stdio-common/test-vfprintf.c: Likewise.
5026 * stdio-common/tst-cookie.c: Likewise.
5027 * stdio-common/tst-fileno.c: Likewise.
5028 * stdio-common/tst-gets.c: Likewise.
5029 * stdio-common/tst-obprintf.c: Likewise.
5030 * stdio-common/tst-perror.c: Likewise.
5031 * stdio-common/tst-sprintf2.c: Likewise.
5032 * stdio-common/tst-sprintf3.c: Likewise.
5033 * stdio-common/tst-sprintf.c: Likewise.
5034 * stdio-common/tst-swprintf.c: Likewise.
5035 * stdio-common/tst-tmpnam.c: Likewise.
5036 * stdio-common/tst-unbputc.c: Likewise.
5037 * stdio-common/tst-wc-printf.c: Likewise.
5038 * stdlib/tst-environ.c: Likewise.
5039 * stdlib/tst-fmtmsg.c: Likewise.
5040 * stdlib/tst-limits.c: Likewise.
5041 * stdlib/tst-rand48-2.c: Likewise.
5042 * stdlib/tst-rand48.c: Likewise.
5043 * stdlib/tst-random2.c: Likewise.
5044 * stdlib/tst-random.c: Likewise.
5045 * stdlib/tst-strtol.c: Likewise.
5046 * stdlib/tst-strtoll.c: Likewise.
5047 * stdlib/tst-tls-atexit.c: Likewise.
5048 * stdlib/tst-xpg-basename.c: Likewise.
5049 * string/test-ffs.c: Likewise.
5050 * string/tst-bswap.c: Likewise.
5051 * string/tst-inlcall.c: Likewise.
5052 * string/tst-strtok.c: Likewise.
5053 * string/tst-strxfrm.c: Likewise.
5054 * sysdeps/x86_64/tst-audit10.c: Likewise.
5055 * sysdeps/x86_64/tst-audit3.c: Likewise.
5056 * sysdeps/x86_64/tst-audit4.c: Likewise.
5057 * sysdeps/x86_64/tst-audit5.c: Likewise.
5058 * time/tst-ftime_l.c: Likewise.
5059 * time/tst-getdate.c: Likewise.
5060 * time/tst-mktime3.c: Likewise.
5061 * time/tst-mktime.c: Likewise.
5062 * time/tst-posixtz.c: Likewise.
5063 * time/tst-strptime2.c: Likewise.
5064 * time/tst-strptime3.c: Likewise.
5065 * wcsmbs/tst-btowc.c: Likewise.
5066 * wcsmbs/tst-mbrtowc.c: Likewise.
5067 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5068 * wcsmbs/tst-wchar-h.c: Likewise.
5069 * wcsmbs/tst-wcpncpy.c: Likewise.
5070 * wcsmbs/tst-wcrtomb.c: Likewise.
5071 * wcsmbs/tst-wcsnlen.c: Likewise.
5072 * wcsmbs/tst-wcstof.c: Likewise.
5074 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5077 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5079 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5081 (_dl_mcount): Use rtld_hidden_proto.
5082 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5084 * elf/rtld.c (_rtld_global_ro): Likewise.
5087 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5088 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5089 of _dl_init_internal.
5090 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5091 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5092 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5093 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5094 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5095 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5096 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5097 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5098 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5099 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5100 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5101 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5102 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5103 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5104 * sysdeps/tile/dl-start.S (_start): Likewise.
5105 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5106 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5109 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5110 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5111 (rtld_progname): Make macro definition unconditional.
5112 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5114 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5115 (dl_main): Likewise.
5116 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5117 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5118 instead of _dl_argv_internal.
5119 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5120 __GI__dl_argv instead of INTUSE(_dl_argv).
5121 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5122 __GI__dl_argv instead of _dl_argv_internal.
5124 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5125 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5127 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5128 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5130 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5131 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5133 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5134 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5136 2014-11-04 Andreas Schwab <schwab@suse.de>
5138 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5140 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5142 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5143 mtvsrd instruction in binary form.
5145 2014-11-03 Andreas Schwab <schwab@suse.de>
5148 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5149 for less than MB_LEN_MAX use a local buffer of that size.
5150 * libio/tst-fputws.c: New file.
5151 * libio/Makefile (tests): Add tst-fputws.
5153 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5155 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5156 the size of the fpu_fr.fpu_dregs[] array.
5158 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5160 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5161 (__nanosleep): Do not define as alias.
5162 (nanosleep): Define as alias of __nanosleep.
5163 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5164 __libc_nanosleep name.
5166 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5168 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5169 install.texi in comment.
5171 2014-10-31 Torvald Riegel <triegel@redhat.com>
5173 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5174 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5175 ... add here and use lwsync or sync ...
5176 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5177 ... and add here using lwsync.
5179 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5181 * elf/dl-machine-reject-phdr.h: New file.
5182 * elf/dl-load.c: #include that.
5183 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5184 if that returned true.
5186 2014-10-31 Roland McGrath <roland@hack.frob.com>
5189 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5190 gen-as-const-headers chunk. Add a big scare comment after the last
5191 safe place to touch before-compile.
5193 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5195 * manual/install.texi (Tools for Compilation): Update autoconf
5196 version requirements.
5197 * INSTALL: Regenerated.
5199 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5200 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5201 (__libc_pselect): Likewise.
5204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5209 2014-10-31 Torvald Riegel <triegel@redhat.com>
5211 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5212 correct barrier instruction.
5213 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5215 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5218 2014-10-30 Roland McGrath <roland@hack.frob.com>
5220 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5221 after defining inlines. Instead, just use parens to defeat macro
5222 expansion of __isctype in its declaration.
5224 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5226 * include/sys/uio.h (__libc_readv): Remove declaration.
5227 (__libc_writev): Likewise.
5228 * misc/readv.c (__libc_readv): Rename to __readv.
5229 (__readv): Do not define as alias.
5230 (readv): Define as alias of __readv.
5231 * misc/writev.c (__libc_writev): Rename to __writev.
5232 (__writev): Do not define as alias.
5233 (writev): Define as alias of __writev.
5234 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5235 (__readv): Do not define as alias.
5236 (readv): Define unconditionally as alias of __readv.
5237 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5238 (__writev): Do not define as alias.
5239 (writev): Define unconditionally as alias of __writev.
5240 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5242 (writev): Do not define __libc_writev name.
5244 2014-10-30 Roland McGrath <roland@hack.frob.com>
5246 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5247 (convert_charseq): New function, broken out of ...
5248 (use_from_charmap): ... here. Call it.
5249 (use_to_charmap): Use convert_charseq and free instead of duplicating
5250 its code with a variable-length stack struct.
5252 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5254 * include/fcntl.h (__libc_creat): Remove declaration.
5255 * io/creat.c (__libc_creat): Rename to creat.
5256 (creat): Do not define as alias.
5257 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5258 of creat instead of __libc_creat.
5259 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5261 (creat): Do not define as alias.
5262 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5264 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5269 2014-10-29 Carlos O'Donell <carlos@redhat.com>
5271 * manual/llio.texi: Add comments discussing why write() may be
5272 considered MT-unsafe on Linux.
5274 2014-10-28 Carlos O'Donell <carlos@redhat.com>
5276 * dl-load.c (local_strdup): Remove.
5277 (expand_dynamic_string_token): Use __strdup.
5278 (decompose_rpath): Likewise.
5279 (_dl_map_object): Likewise.
5281 2014-10-28 Joseph Myers <joseph@codesourcery.com>
5284 * sysdeps/generic/unwind-dw2-fde.c
5285 (__register_frame_info_bases_internal): Do not declare.
5286 (__register_frame_info_table_bases_internal): Likewise.
5287 (__deregister_frame_info_bases_internal): Likewise.
5288 (__register_frame_info_bases): Declare and use hidden_proto before
5289 definition. Use hidden_def instead of INTDEF.
5290 (__register_frame_info_table_bases): Likewise.
5291 (__deregister_frame_info_bases): Likewise.
5292 (__register_frame_info): Do not use INTUSE.
5293 (__register_frame): Likewise.
5294 (__register_frame_info_table): Likewise.
5295 (__register_frame_table): Likewise.
5296 (__deregister_frame_info): Likewise.
5297 (__deregister_frame): Likewise.
5299 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5301 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5302 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5304 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5306 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5309 2014-10-27 Joseph Myers <joseph@codesourcery.com>
5312 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5313 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5314 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5315 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5316 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5317 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5318 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5319 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5320 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5321 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5322 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5324 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5326 (setfsuid): Likewise.
5327 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5328 (setfsuid): Likewise.
5329 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5330 (setfsuid): Likewise.
5331 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5333 (setfsuid): Likewise.
5334 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5335 (setfsuid): Likewise.
5336 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5338 (setfsuid): Likewise.
5340 2014-10-27 Andreas Schwab <schwab@suse.de>
5343 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5344 check for Slow_SSE4_2 feature bit.
5345 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5346 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5347 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5348 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5350 2014-10-24 Roland McGrath <roland@hack.frob.com>
5352 * configure.ac: Validate compiler version with a empirical test of
5353 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5355 * configure: Regenerated.
5357 * inet/htons.c (htons): Prototypify.
5358 * inet/htonl.c (htonl): Likewise.
5360 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5362 * string/strncat.c (strncat): Improve performance by using strlen.
5364 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5366 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5368 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5370 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5371 Call libc_fetestexcept_aarch64.
5373 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5375 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5376 Call libc_feholdexcept_aarch64.
5378 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5380 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5381 Call get_rounding_mode.
5383 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5385 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5388 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5390 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5393 2014-10-24 Joseph Myers <joseph@codesourcery.com>
5396 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5397 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5398 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5399 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5400 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5401 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5402 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5403 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5404 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5405 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5406 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5407 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5408 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5409 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5410 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5411 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5412 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5413 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5414 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5415 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5416 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5417 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5418 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5419 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5420 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5421 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5422 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5423 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5424 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5425 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5426 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5427 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5428 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5429 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5430 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5431 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5432 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5433 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5434 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5435 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5436 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5438 (geteuid): Likewise.
5441 (getresgid): Likewise.
5442 (getresuid): Likewise.
5443 (getgroups): Likewise.
5444 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5445 (geteuid): Likewise.
5448 (getresgid): Likewise.
5449 (getresuid): Likewise.
5450 (getgroups): Likewise.
5451 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5452 (geteuid): Likewise.
5455 (getresgid): Likewise.
5456 (getresuid): Likewise.
5457 (getgroups): Likewise.
5458 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5460 (geteuid): Likewise.
5463 (getresgid): Likewise.
5464 (getresuid): Likewise.
5465 (getgroups): Likewise.
5466 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5467 (geteuid): Likewise.
5470 (getresgid): Likewise.
5471 (getresuid): Likewise.
5472 (getgroups): Likewise.
5473 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5475 (geteuid): Likewise.
5478 (getgroups): Likewise.
5481 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5482 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5483 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5484 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5485 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5486 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5487 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5488 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5489 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5490 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5491 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5492 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5493 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5495 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5498 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5502 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5505 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5510 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5512 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5515 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5517 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5520 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5522 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5523 Remove unused include.
5525 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5527 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5528 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5529 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5530 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5532 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5533 Helge Deller <deller@gmx.de>
5536 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5537 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5538 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5540 2014-10-23 Joseph Myers <joseph@codesourcery.com>
5543 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5544 Remove macro definition.
5545 (__ashrdi3_v_glibc20): Likewise.
5546 (__lshrdi3_v_glibc20): Likewise.
5547 (__cmpdi2_v_glibc20): Likewise.
5548 (__ucmpdi2_v_glibc20): Likewise.
5549 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5550 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5551 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5552 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5553 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5554 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5556 2014-10-22 Roland McGrath <roland@hack.frob.com>
5558 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5559 old GNU extension [0] syntax.
5560 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5561 alloca rather than an array member with variable length.
5562 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5563 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5564 (parse_opt): ... here. Likewise use alloca there.
5565 Validate the -i argument before checking for rootness.
5566 (send_shutdown): New function, broken out of ...
5567 (parse_opt): ... here.
5569 2014-10-22 Roland McGrath <roland@hack.frob.com>
5571 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5572 macro to get at the _rt_local_ro field.
5573 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5574 ([PIC] case) or _dl_hwcap ([!PIC] case).
5575 * sysdeps/arm/setjmp.S: Likewise.
5577 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5578 * sysdeps/arm/configure.ac: New check to define it.
5579 * sysdeps/arm/configure: Regenerated.
5580 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5581 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5582 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5583 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5584 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5585 Use move/movt pair instead of a load.
5586 (LDST_GLOBAL): Macro removed.
5587 (LDR_GLOBAL): New macro replaces it.
5588 (LDR_HIDDEN): New macro.
5589 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5590 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5592 * setjmp/tst-setjmp-static.c: New file.
5593 * setjmp/Makefile (tests): Add it.
5594 (tests-static): New variable.
5596 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5599 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5601 2014-10-21 Joseph Myers <joseph@codesourcery.com>
5604 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5606 2014-10-21 Roland McGrath <roland@hack.frob.com>
5608 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5610 2014-10-20 Roland McGrath <roland@hack.frob.com>
5612 * io/fts.c (dirent_not_directory): New function.
5613 (fts_build): Call it.
5615 2014-10-20 Roland McGrath <roland@hack.frob.com>
5617 * nptl/version.c (__nptl_main): Use normal __write rather than
5619 (banner): Update copyright years.
5621 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5623 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5624 * nptl/pthread_cond_timedwait.c: Likewise.
5625 * nptl/pthread_mutex_timedlock.c: Likewise.
5626 * nptl/sem_timedwait.c: Likewise.
5628 * sysdeps/nptl/bits/libc-lock.h
5629 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5630 (__libc_lock_init_recursive): Return void, not 0.
5631 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5632 (__libc_rwlock_init): Likewise.
5633 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5635 2014-10-20 Torvald Riegel <triegel@redhat.com>
5638 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5639 (__pthread_once_slow): ... here.
5640 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5641 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5643 2014-10-20 Torvald Riegel <triegel@redhat.com>
5646 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5647 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5648 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5649 * nptl/pthread_once.c (__pthread_once): Likewise.
5652 2014-10-20 Joseph Myers <joseph@codesourcery.com>
5655 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5657 (writev): Use __libc_writev as strong name.
5658 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5659 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5661 2014-10-17 Roland McGrath <roland@hack.frob.com>
5663 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5665 * sysdeps/i386/nptl/tls.h
5666 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5667 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5669 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5670 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5671 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5672 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5673 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5674 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5676 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5677 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5679 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5681 (__pthread_mutex_init): ... here. Call it.
5682 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5683 Conditionalize PI cases on [__NR_futex].
5684 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5685 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5686 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5688 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5689 conditional on [SIGSETXID].
5690 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5691 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5692 is defined. Likewise for SIGSETXID.
5693 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5694 Conditionalize definitions on [SIGSETXID].
5695 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5696 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5697 unblocking on [SIGCANCEL].
5699 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5700 [__NR_set_robust_list].
5702 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5704 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5705 (do_compare): Likewise.
5707 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
5710 * string/strcoll_l.c: Don't include stdio.h.
5711 (coll_seq): Remove members idxarr and rulearr.
5712 (get_next_seq_cached): Remove function.
5713 (get_next_seq): Likewise.
5714 (get_next_seq_nocache): Rename to get_next_seq.
5715 (do_compare): Remove function.
5716 (do_compare_nocache): Rename to do_compare.
5717 (STRCOLL): Remove weight and rules cache.
5719 2014-10-16 Roland McGrath <roland@hack.frob.com>
5721 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5722 * sysdeps/arm/sfp-machine.h: ... to here.
5723 * sysdeps/arm/Implies: Remove arm/soft-fp.
5725 2014-10-14 Joseph Myers <joseph@codesourcery.com>
5727 * conform/data/sys/utsname.h-data (*_t): Allow.
5728 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5729 [POSIX] (WEXITED): Do not expect constant.
5730 [POSIX] (WSTOPPED): Likewise.
5731 [POSIX] (WNOHANG): Likewise.
5732 [POSIX] (WNOWAIT): Likewise.
5733 [POSIX] (siginfo_t): Do not expect type or elements.
5734 [POSIX] (pid_t): Do not expect type.
5735 [POSIX] (signal.h): Do not allow header.
5736 [POSIX] (sys/resource.h): Likewise.
5737 [POSIX] (si_*): Do not allow pattern.
5738 [POSIX] (W*): Likewise.
5739 [POSIX] (P_*): Likewise.
5740 [POSIX] (BUS_*): Likewise.
5741 [POSIX] (CLD_*): Likewise.
5742 [POSIX] (FPE_*): Likewise.
5743 [POSIX] (ILL_*): Likewise.
5744 [POSIX] (POLL_*): Likewise.
5745 [POSIX] (SEGV_*): Likewise.
5746 [POSIX] (SI_*): Likewise.
5747 [POSIX] (TRAP_*): Likewise.
5748 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5751 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5754 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5755 infinite loop when __recvmsg returns 0.
5757 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5759 * CANCEL-FCT-WAIVE: Remove file.
5760 * CANCEL-FILE-WAIVE: Likewise.
5763 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5764 instead of INTVARDEF.
5765 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5766 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5767 rtld_hidden_data_def instead of INTVARDEF.
5768 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5769 * elf/dl-deps.c (expand_dst): Likewise.
5770 * elf/dl-load.c (_dl_dst_count): Likewise.
5771 (_dl_dst_substitute): Likewise.
5772 (decompose_rpath): Likewise.
5773 (_dl_init_paths): Likewise.
5774 (open_path): Likewise.
5775 (_dl_map_object): Likewise.
5776 * elf/rtld.c (dl_main): Likewise.
5777 (process_dl_audit): Likewise.
5778 (process_envvars): Likewise.
5779 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5781 (__libc_enable_secure): Use rtld_hidden_proto.
5783 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5786 (add_path): New function broken out of _dl_rtld_di_serinfo.
5787 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5789 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5791 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5792 parentheses around macro arguments.
5793 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5794 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5795 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5796 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5797 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5798 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5799 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5800 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5801 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5802 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5803 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5804 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5805 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5806 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5807 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5808 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5809 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5810 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5811 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5812 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5813 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5814 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5815 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5816 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5817 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5818 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5819 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5820 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5821 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5822 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5823 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5824 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5825 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5826 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5827 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5828 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5830 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5831 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5832 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5833 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5834 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5835 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5836 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5837 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5838 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5839 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5840 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5841 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5842 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5843 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5844 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5845 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5846 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5847 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5848 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5849 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5850 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5851 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5852 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5853 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5854 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5855 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5856 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5857 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5858 (_FP_FRAC_SRS_1): Likewise.
5859 (_FP_FRAC_CLZ_1): Likewise.
5860 (_FP_MUL_MEAT_1_imm): Likewise.
5861 (_FP_MUL_MEAT_1_wide): Likewise.
5862 (_FP_MUL_MEAT_1_hard): Likewise.
5863 (_FP_SQRT_MEAT_1): Likewise.
5864 (_FP_FRAC_ASSEMBLE_1): Likewise.
5865 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5866 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5867 (__FP_CLZ_2): Likewise.
5868 (_FP_MUL_MEAT_2_wide): Likewise.
5869 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5870 (_FP_MUL_MEAT_2_gmp): Likewise.
5871 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5872 (_FP_SQRT_MEAT_2): Likewise.
5873 (_FP_FRAC_ASSEMBLE_2): Likewise.
5874 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5875 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5876 (_FP_FRAC_CLZ_4): Likewise.
5877 (_FP_MUL_MEAT_4_wide): Likewise.
5878 (_FP_MUL_MEAT_4_gmp): Likewise.
5879 (_FP_SQRT_MEAT_4): Likewise.
5880 (_FP_FRAC_ASSEMBLE_4): Likewise.
5881 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5882 * soft-fp/op-common.h (_FP_CMP): Likewise.
5883 (_FP_CMP_EQ): Likewise.
5884 (_FP_CMP_UNORD): Likewise.
5885 (_FP_TO_INT): Likewise.
5886 (_FP_FROM_INT): Likewise.
5887 [!__FP_CLZ] (__FP_CLZ): Likewise.
5888 (_FP_DIV_HELP_imm): Likewise.
5889 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5891 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5892 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5893 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5894 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5895 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5896 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5897 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5898 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5899 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5900 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5901 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5902 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5903 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5904 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5905 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5906 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5907 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5908 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5909 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5910 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5911 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5912 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5914 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5915 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5916 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5917 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5918 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5919 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5920 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5921 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5922 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5923 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5924 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5925 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5926 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5927 (FP_UNPACK_RAW_SP): Likewise.
5928 (FP_PACK_RAW_S): Likewise.
5929 (FP_PACK_RAW_SP): Likewise.
5930 (FP_UNPACK_S): Likewise.
5931 (FP_UNPACK_SP): Likewise.
5932 (FP_UNPACK_SEMIRAW_S): Likewise.
5933 (FP_UNPACK_SEMIRAW_SP): Likewise.
5934 (FP_PACK_S): Likewise.
5935 (FP_PACK_SP): Likewise.
5936 (FP_PACK_SEMIRAW_S): Likewise.
5937 (FP_PACK_SEMIRAW_SP): Likewise.
5938 (_FP_SQRT_MEAT_S): Likewise.
5939 (FP_CMP_S): Likewise.
5940 (FP_CMP_EQ_S): Likewise.
5941 (FP_CMP_UNORD_S): Likewise.
5942 (FP_TO_INT_S): Likewise.
5943 (FP_FROM_INT_S): Likewise.
5945 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5947 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5948 (FP_EX_INVALID_IMZ): Likewise.
5949 (FP_EX_INVALID_IMZ_FMA): Likewise.
5950 (FP_EX_INVALID_ISI): Likewise.
5951 (FP_EX_INVALID_ZDZ): Likewise.
5952 (FP_EX_INVALID_IDI): Likewise.
5953 (FP_EX_INVALID_SQRT): Likewise.
5954 (FP_EX_INVALID_CVI): Likewise.
5955 (FP_EX_INVALID_VC): Likewise.
5956 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5957 "invalid" exceptions.
5958 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5959 (_FP_ADD_INTERNAL): Likewise.
5960 (_FP_MUL): Likewise.
5961 (_FP_FMA): Likewise.
5962 (_FP_DIV): Likewise.
5963 (_FP_CMP_CHECK_NAN): Likewise.
5964 (_FP_SQRT): Likewise.
5965 (_FP_TO_INT): Likewise.
5966 (FP_EXTEND): Likewise.
5968 2014-10-09 Allan McRae <allan@archlinux.org>
5970 * po/fr.po: Update French translation from translation project.
5972 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5975 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5977 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5978 (__cxa_atexit): Use libc_hidden_proto.
5979 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5982 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5984 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5985 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5986 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5987 [!_ISOMAC] (__iswctype_internal): Likewise.
5988 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5989 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5991 (fcntl): Remove __fcntl_internal alias.
5992 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5993 __connect_internal alias.
5994 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5997 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5998 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6000 (_FP_CHECK_FLUSH_ZERO): New macro.
6001 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6002 (_FP_CMP): Likewise.
6003 (_FP_CMP_EQ): Likewise.
6004 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6006 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6007 (FP_TRUNC): Likewise.
6009 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6010 treated as invalid conversion, not as normal exponent.
6012 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6013 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6014 (_FP_CMP_EQ): Likewise.
6015 (_FP_CMP_UNORD): Likewise.
6016 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6017 (FP_CMP_EQ_D): Likewise.
6018 (FP_CMP_UNORD_D): Likewise.
6019 * soft-fp/extended.h (FP_CMP_E): Likewise.
6020 (FP_CMP_EQ_E): Likewise.
6021 (FP_CMP_UNORD_E): Likewise.
6022 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6023 (FP_CMP_EQ_Q): Likewise.
6024 (FP_CMP_UNORD_Q): Likewise.
6025 * soft-fp/single.h (FP_CMP_S): Likewise.
6026 (FP_CMP_EQ_S): Likewise.
6027 (FP_CMP_UNORD_S): Likewise.
6028 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6029 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6030 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6031 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6032 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6033 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6034 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6035 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6036 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6037 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6038 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6039 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6040 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6042 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6044 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6045 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6047 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6049 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6050 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6051 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6052 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6054 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6056 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6057 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6059 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6061 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6062 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6063 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6064 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6067 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6068 a subnormal result, set the underflow exception if trapping on
6069 underflow is enabled.
6070 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6071 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6072 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6074 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6075 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6076 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6077 * soft-fp/extendxftf2.c (__extendxftf2): Use
6078 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6080 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6081 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6082 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6083 FP_HANDLE_EXCEPTIONS.
6084 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6085 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6086 FP_HANDLE_EXCEPTIONS.
6087 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6088 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6089 FP_HANDLE_EXCEPTIONS.
6090 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6091 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6092 FP_HANDLE_EXCEPTIONS.
6094 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6097 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6098 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6100 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6101 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6103 (__adjtimex): Define using libc_hidden_ver.
6104 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6106 (ntp_gettime): Call __adjtimex directly.
6107 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6109 (ntp_gettimex): Call __adjtimex directly.
6110 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6111 __adjtimex_internal alias.
6113 2014-10-08 Roland McGrath <roland@hack.frob.com>
6116 * nscd/nscd.c (more_help): Rewrite list of tables collection
6117 using xstrdup and asprintf.
6119 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6121 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6122 Roland McGrath <roland@hack.frob.com>
6124 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6125 (do_lookup_unique): ... local function 'enter' here; update callers.
6127 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6129 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6130 compat_symbol calls on [SHARED].
6131 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6132 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6134 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6135 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6136 (oldsetrlimit): Remove.
6137 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6139 (lchown): New syscall entry.
6140 (oldsetrlimit): Remove.
6141 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6143 (oldsetrlimit): Remove.
6144 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6147 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6148 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6149 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6150 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6151 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6152 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6154 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6159 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6161 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6162 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6163 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6164 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6165 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6167 (__old_sem_post): Likewise.
6169 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6171 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6172 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6173 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6174 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6175 Use INLINE_VSYSCALL macro.
6176 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6177 __vdso_clock_gettime.
6178 * sysdeps/unix/sysv/linux/tile/init-first.c
6179 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6180 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6181 __vdso_clock_gettime.
6183 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6184 to set up frame more cleanly.
6186 * sysdeps/tile/memcmp.c: New file.
6188 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6190 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6191 * sysdeps/tile/tilegx/strcasestr.c: New file.
6192 * sysdeps/tile/tilegx/strnlen.c: New file.
6193 * sysdeps/tile/tilegx/strstr.c: New file.
6195 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6197 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
6199 * nptl/tst-setuid3.c: Write errors to stdout.
6201 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6204 (preload): New functions broken out of _dl_map_object_deps.
6205 (_dl_map_object_deps): Remove a nested function. Update call sites.
6207 2014-10-01 Joseph Myers <joseph@codesourcery.com>
6210 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6211 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6213 2014-10-01 Steve Ellcey <sellcey@mips.com>
6215 * sysdeps/mips/strcmp.S: New.
6217 2014-09-30 Joseph Myers <joseph@codesourcery.com>
6220 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6222 (mkdirat): Likewise.
6223 (readlinkat): Likewise.
6224 (renameat): Likewise.
6225 (symlinkat): Likewise.
6226 (unlinkat): Likewise.
6227 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6228 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6229 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6230 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6231 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6232 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6233 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6235 2014-09-30 Will Newton <will.newton@linaro.org>
6237 * math/math.h: Define long double math functions if
6238 _LIBC_TEST is defined.
6239 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6241 * localedata/Makefile: Move assignment to tests-special
6242 into an ifdef testing run-built-tests.
6243 * timezone/Makefile: Likewise.
6245 2014-09-29 Joseph Myers <joseph@codesourcery.com>
6247 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6248 with $(BASH) not $(SHELL).
6250 2014-09-29 Carlos O'Donell <carlos@redhat.com>
6251 Matthew LeGendre <legendre1@llnl.gov>
6254 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6257 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6259 * stdio-common/printf_fp.c
6260 (hack_digit): New function, broken out of ...
6261 (__printf_fp): ... local function here. Update call sites.
6262 hack_digit now takes an additional parameter that is a pointer
6263 to a struct of the referenced locals. Those locals moved inside
6264 the struct and references updated.
6266 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6268 * aclocal.m4: Require autoconf 2.69.
6269 * configure: Regenerated.
6270 * sysdeps/aarch64/configure: Likewise.
6271 * sysdeps/alpha/configure: Likewise.
6272 * sysdeps/arm/armv7/configure: Likewise.
6273 * sysdeps/arm/configure: Likewise.
6274 * sysdeps/ia64/configure: Likewise.
6275 * sysdeps/mach/configure: Likewise.
6276 * sysdeps/mips/configure: Likewise.
6277 * sysdeps/s390/configure: Likewise.
6278 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6281 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6283 * sysdeps/ia64/configure.ac: Likewise.
6285 2014-09-26 Joseph Myers <joseph@codesourcery.com>
6287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6288 specify symbol version for ld.so. Do not include entry for
6290 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6291 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6292 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6295 * Makeconfig [$(build-shared) = yes]
6296 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6298 [$(build-shared) = yes && $(soversions.mk-done) = t]
6299 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6300 [$(build-shared) = yes && $(soversions.mk-done) = t]
6301 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6303 [$(build-shared) = yes && $(soversions.mk-done) = t]
6304 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6306 [$(build-shared) = yes && $(soversions.mk-done) = t]
6307 (common-generated): Don't append gnu/lib-names.h and
6308 gnu/lib-names.stmp here.
6309 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6310 (lib-names-h-abi): New variable.
6311 [$(build-shared) = yes && $(soversions.mk-done) = t]
6312 (lib-names-stmp-abi): Likewise.
6313 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6314 abi-variants] (before-compile): Append
6315 $(common-objpfx)$(lib-names-h-abi).
6316 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6317 abi-variants] (common-generated): Append gnu/lib-names.h.
6318 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6319 abi-variants] (install-others-nosubdir): Depend on
6320 $(inst_includedir)/$(lib-names-h-abi).
6321 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6322 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6323 [$(build-shared) = yes && $(soversions.mk-done) = t]
6324 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6325 [$(build-shared) = yes && $(soversions.mk-done) = t]
6326 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6327 [$(build-shared) = yes && $(soversions.mk-done) = t]
6328 (common-generated): Append $(lib-names-h-abi) and
6329 $(lib-names-stmp-abi).
6330 * scripts/lib-names.awk: Do not handle multi being set.
6331 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6333 (abi-lp64_be-ld-soname): Likewise.
6334 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6336 (abi-hard-ld-soname): Likewise.
6337 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6338 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6340 (abi-o32_hard-ld-soname): Likewise.
6341 (abi-o32_soft_2008-ld-soname): Likewise.
6342 (abi-o32_hard_2008-ld-soname): Likewise.
6343 (abi-n32_soft-ld-soname): Likewise.
6344 (abi-n32_hard-ld-soname): Likewise.
6345 (abi-n32_soft_2008-ld-soname): Likewise.
6346 (abi-n32_hard_2008-ld-soname): Likewise.
6347 (abi-n64_soft-ld-soname): Likewise.
6348 (abi-n64_hard-ld-soname): Likewise.
6349 (abi-n64_soft_2008-ld-soname): Likewise.
6350 (abi-n64_hard_2008-ld-soname): Likewise.
6351 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6353 (abi-64-v2-ld-soname): Likewise.
6354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6356 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6358 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6360 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6362 (abi-64-ld-soname): Likewise.
6363 (abi-x32-ld-soname): Likewise.
6364 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6366 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6368 2014-09-23 Joseph Myers <joseph@codesourcery.com>
6371 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6372 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6373 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6374 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6375 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6376 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6377 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6378 syscall entry for GLIBC_2.2 symbol version.
6379 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6382 (setrlimit): Likewise.
6383 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6386 2014-09-23 Will Newton <will.newton@linaro.org>
6388 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6389 _LINUX_ARM_SYSDEP_H include guard too.
6390 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6393 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6395 * sysdeps/unix/sysv/linux/eventfd.c:
6396 Make first argument unsigned.
6397 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6398 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6400 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
6402 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6403 * socket/sys/socket.h: Likewise
6404 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6406 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6408 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6410 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
6412 * time/tst-ftime.c: New test.
6413 * time/Makefile (tests): Add tst-ftime.
6415 2014-09-17 Joseph Myers <joseph@codesourcery.com>
6417 * soft-fp/extended.h: Fix comment formatting.
6418 * soft-fp/op-1.h: Likewise.
6419 * soft-fp/op-2.h: Likewise.
6420 * soft-fp/op-4.h: Likewise.
6421 * soft-fp/op-8.h: Likewise.
6422 * soft-fp/op-common.h: Likewise.
6423 * soft-fp/soft-fp.h: Likewise.
6425 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6427 2014-09-16 Joseph Myers <joseph@codesourcery.com>
6430 * Makeconfig (soversions-default-setname): Remove variable.
6431 ($(common-objpfx)soversions.i): Don't pass default_setname to
6433 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6434 oldest_abi to abi-versions.awk.
6435 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6436 * config.make.in (oldest-abi): Remove variable.
6437 * configure.ac (--enable-oldest-abi): Remove configure option.
6438 * configure: Regenerated.
6439 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6441 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6442 * scripts/soversions.awk: Do not handle default_setname variable.
6443 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6445 * sysdeps/mach/hurd/configure: Regenerated.
6446 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6448 * sysdeps/unix/sysv/linux/configure: Regenerated.
6450 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6452 * elf/Makefile (CFLAGS-interp.c): Remove.
6453 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6455 * elf/interp.c: Include generated runtime-linker.h
6457 * Makerules (lib%.so): Don't include $(+interp) in
6459 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6460 * dlfcn/eval.c: Remove file.
6462 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6466 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6470 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6472 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6473 Jakub Jelinek <jakub@redhat.com>
6476 * libio/stdio.h: Check definition of __fortify_function
6477 instead of __extern_always_inline to include bits/stdio2.h.
6478 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6479 check if __extern_always_inline is defined.
6480 [__USE_MISC || __USE_XOPEN]: Likewise.
6481 [__USE_ISOC99] Likewise.
6482 * misc/sys/cdefs.h (__fortify_function): Define only if
6483 __extern_always_inline is defined.
6484 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6485 __extern_always_inline and __extern_inline only for g++-4.3
6486 and newer or a compatible gcc.
6488 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6491 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6492 last change to handle zero prefix length.
6494 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6496 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6499 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6502 2014-09-13 Allan McRae <allan@archlinux.org>
6504 * po/ru.po: Update Russian translation from translation project.
6506 2014-09-12 Roland McGrath <roland@hack.frob.com>
6508 * locale/programs/locale.c (show_locale_vars): Inline local function
6509 into its sole call site. Clean up some style nits.
6510 (print_item): New function, broken out of ...
6511 (show_info): ... local function here. Clean up style nits.
6513 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6515 (set_class_defaults): ... local function set_default here.
6516 Define set_default as a macro locally to pass constant parameters.
6517 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6518 rather than a shared local.
6520 * stdlib/rpmatch.c (try): New function, broken out of ...
6521 (rpmatch): ... local function here. Also, prototypify definition.
6523 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6525 * scripts/soversions.awk: Do not handle configuration names.
6526 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6527 vendor and os variables to soversions.awk.
6528 * configure.ac: Do not modify gnu-* host_os.
6529 * configure: Regenerated
6530 * shlib-versions: Remove first column with configuration names.
6531 * nptl/shlib-versions: Likewise.
6532 * nptl_db/shlib-versions: Likewise.
6533 * sysdeps/hppa/shlib-versions: Likewise.
6534 * sysdeps/m68k/shlib-versions: Likewise.
6535 * sysdeps/mach/hurd/shlib-versions: Likewise.
6536 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6537 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6538 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6539 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6540 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6541 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6542 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6543 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6546 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6547 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6548 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6549 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6550 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6551 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6552 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6553 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6556 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6559 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6561 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6563 * shlib-versions: Remove OS-specific entries. Moved to files in
6565 * sysdeps/mach/hurd/shlib-versions: New file.
6566 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6568 * nptl/shlib-versions: Remove architecture-specific entries.
6569 Moved to files in sysdeps.
6570 * shlib-versions: Likewise.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6573 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6574 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6575 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6576 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6578 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6579 (UDP_NO_CHECK6_RX): Likewise.
6581 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6583 * sysdeps/posix/sysconf.c (__sysconf): Spell
6584 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6586 2014-08-12 Florian Weimer <fweimer@redhat.com>
6588 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6590 * iconv/Versions (__gconv_transliterate): Export for use from
6592 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6593 (struct __gconv_trans_data, __gconv_trans_fct,
6594 __gconv_trans_context_fct, __gconv_trans_query_fct,
6595 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6597 (struct __gconv_step_data): Remove __trans member.
6598 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6599 longer hidden. Remove unused trans_data argument.
6600 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6601 (__gconv_translit_find): Remove declaration.
6602 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6604 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6605 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6606 trans_data argument. Add hidden definition.
6607 (__gconv_translit_find): Remove.
6608 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6609 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6610 * iconv/skeleton.c: Remove transliteration initialization.
6611 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6612 __gconv_step_data initialization.
6613 * libio/iofwide.c (__libio_translit_): Remove.
6614 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6615 * wcsmbs/btowc.c (__btowc): Likewise.
6616 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6617 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6618 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6619 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6620 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6621 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6622 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6623 * wcsmbs/wctob.c (wctob): Likewise.
6625 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6628 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6629 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6631 * sysdeps/x86/Makefile: Adjust.
6633 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6634 Roland McGrath <roland@hack.frob.com>
6636 * locale/weight.h: Add include guard.
6637 (findidx): Make static rather than auto; take new parameters
6638 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6639 * locale/weightwc.h: Likewise.
6640 * posix/fnmatch_loop.c
6641 (FCT): Change type of EXTRA from int32_t to wint_t.
6642 Don't include either header inside the function.
6643 Call FINDIDX rather than findidx, and pass new arguments.
6644 #undef FINDIDX at the end of the file.
6645 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6646 FINDIDX before including fnmatch_loop.c for the non-wide version.
6647 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6648 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6649 for the wide version.
6650 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6651 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6652 Pass new arguments to findidx.
6653 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6654 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6655 Don't #include it inside the function. Pass new arguments to findidx.
6656 * posix/regex_internal.h
6657 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6658 (re_string_elem_size_at): Don't #include it inside the function.
6659 Pass new arguments to findidx.
6660 * string/strcoll_l.c: #include WEIGHT_H at top level.
6661 (get_next_seq): Don't #include it inside the function.
6662 Pass new arguments to findidx.
6663 (get_next_seq_nocache): Likewise.
6664 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6665 (STRXFRM): Don't #include it inside the function.
6666 Pass new arguments to findidx.
6668 2014-09-11 Florian Weimer <fweimer@redhat.com>
6671 * malloc/malloc.c (unlink): Turn asserts into a call to
6674 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
6677 * libio/wfileops (do_ftell_wide): Free OUT.
6679 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6681 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6683 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6686 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6687 group if the current group is empty.
6689 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6691 * benchtests/bench-memset.c (test_main): Add more test from size
6692 from 32 to 512 bytes.
6693 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6694 Add POWER8 memset object.
6695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6696 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6697 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6699 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6701 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6702 multiarch POWER8 memset optimization.
6703 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6704 POWER8 memset optimization.
6706 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6707 Remove bzero multiarch objects.
6708 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6710 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6711 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6713 [__bzero]: Redefine to specific name.
6714 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6715 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6716 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6718 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6719 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6721 2014-09-10 Florian Weimer <fweimer@redhat.com>
6723 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6724 warnings into errors.
6726 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6727 __cxa_thread_atexit_impl prototype.
6729 2014-09-09 Steve Ellcey <sellcey@mips.com>
6731 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6732 Fix capitalization of error message.
6734 2014-09-09 Steve Ellcey <sellcey@mips.com>
6736 * sysdeps/mips/preconfigure: Modify ABI tests.
6738 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6740 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6742 2014-09-07 Roland McGrath <roland@hack.frob.com>
6743 Carlos O'Donell <carlos@systemhalted.org>
6745 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6746 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6747 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6748 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6749 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6750 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6751 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6752 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6753 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6754 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6755 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6756 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6757 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6758 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6759 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6760 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6761 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6762 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6763 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6764 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6765 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6766 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6767 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6768 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6769 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6770 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6771 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6772 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6773 Deconditionalize the code that was previously under [RESET_PID].
6774 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6775 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6776 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6777 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6780 2014-09-08 Allan McRae <allan@archlinux.org>
6782 * version.h (RELEASE): Set to "development".
6783 (VERSION): Set to "2.20.90"
6785 2014-09-07 Allan McRae <allan@archlinux.org
6787 * version.h (RELEASE): Set to "stable".
6788 (VERSION): Set to "2.20"
6789 * include/features.h (__GLIBC_MINOR__): Set to 20.
6791 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6794 * po/ko.po: Update Korean translation from translation project.
6796 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6799 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6800 macro for handling signed relocations.
6802 2014-09-03 Florian Weimer <fweimer@redhat.com>
6805 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6806 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6808 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6809 * iconvdata/ibm935.c (BODY): Likewise.
6810 * iconvdata/ibm937.c (BODY): Likewise.
6811 * iconvdata/ibm939.c (BODY): Likewise.
6812 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6814 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6816 * iconvdata/run-iconv-test.sh: New test loop for checking for
6819 2014-09-02 Khem Raj <raj.khem@gmail.com>
6821 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6824 2014-09-01 Allan McRae <allan@archlinux.org>
6826 * po/eo.po: Update Esperanto translation from translation project.
6828 * po/ca.po: Update Catalan translation from translation project.
6830 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6832 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6835 2014-08-27 Mark Wielaard <mjw@redhat.com>
6838 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6839 to call set_thread_area instead of hand written asm.
6840 (__NR_set_thread_area): Removed define.
6841 (TLS_FLAG_WRITABLE): Likewise.
6842 (__ASSUME_SET_THREAD_AREA): Remove check.
6843 (TLS_EBX_ARG): Remove define.
6844 (TLS_LOAD_EBX): Likewise.
6846 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6848 Simplify atomicity of socket creation in bind.
6850 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6851 looking up the name after linking the file.
6853 2014-08-27 Allan McRae <allan@archlinux.org>
6855 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6857 2014-08-26 Florian Weimer <fweimer@redhat.com>
6860 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6861 trans_compare, open_translit, __gconv_translit_find):
6862 Remove module loading code.
6864 2014-08-26 Allan McRae <allan@archlinux.org>
6866 * po/vi.po: Update Vietnamese translation from translation project.
6868 * po/uk.po: Update Ukrainian translation from translation project.
6870 * po/fr.po: Update French translation from translation project.
6872 * po/ru.po: Update Russian translation from translation project.
6874 * po/pl.po: Update Polish translation from translation project.
6876 * po/cs.po: Update Czech translation from translation project.
6878 * po/de.po: Update German translation from translation project.
6880 * po/bg.po: Update Bulgarian translation from translation project.
6882 * po/sv.po: Update Sweedish translation from translation project.
6884 * po/nl.po: Update Dutch translation from translation project.
6886 * po/es.po: Update Spanish translation from translation project.
6888 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6890 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6892 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6893 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6894 (CPPFLAGS-iconvconfig): Likewise.
6895 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6897 * include/libc-symbols.h: Remove unnecessary check for
6899 * nptl/pthreadP.h: Likewise.
6900 * sysdeps/aarch64/setjmp.S: Likewise.
6901 * sysdeps/alpha/setjmp.S: Likewise.
6902 * sysdeps/arm/sysdep.h: Likewise.
6903 * sysdeps/i386/setjmp.S: Likewise.
6904 * sysdeps/m68k/setjmp.c: Likewise.
6905 * sysdeps/posix/getcwd.c: Likewise.
6906 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6907 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6908 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6909 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6910 * sysdeps/sh/sh3/setjmp.S: Likewise.
6911 * sysdeps/sh/sh4/setjmp.S: Likewise.
6912 * sysdeps/unix/alpha/sysdep.h: Likewise.
6913 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6915 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6916 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6921 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6922 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6923 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6924 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6926 * sysdeps/x86_64/setjmp.S: Likewise.
6928 2014-08-13 Joseph Myers <joseph@codesourcery.com>
6931 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6933 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6934 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6936 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6938 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6941 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6942 and __x86_64__ when disabling x87 inline functions.
6944 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6947 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6948 asm statement with __cpuid_count.
6950 2014-08-12 Mike Frysinger <vapier@gentoo.org>
6952 * configure.ac: Change __ehdr_start code to dereference the struct.
6953 Run readelf on the output to look for relocations.
6954 * configure: Regenerated.
6956 2014-08-12 Joseph Myers <joseph@codesourcery.com>
6959 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6961 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6963 2014-08-12 Roland McGrath <roland@hack.frob.com>
6965 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6967 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6970 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6971 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6973 2014-08-12 Sean Anderson <seanga2@gmail.com>
6975 * malloc/malloc.c: Fix typo in comment.
6977 2014-08-09 Allan McRae <allan@archlinux.org>
6979 * Regenerate libc.po.
6981 2014-08-08 Mike Frysinger <vapier@gentoo.org>
6983 * intl/tst-gettext2.sh: Check every lang file for creation.
6985 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6987 * sysdeps/aarch64/fpu/math_private.h
6988 (libc_feholdsetround_noex_aarch64_ctx): New function.
6990 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6992 * sysdeps/arm/armv6/strcpy.S (strcpy):
6993 Fix performance issue in misaligned cases.
6995 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6997 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6998 Move definition from termios.h.
6999 (struct termio): Likewise.
7000 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7001 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7002 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7003 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7005 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7006 Move definition to ioctl-types.h
7007 (struct termio): Likewise.
7008 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7009 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7010 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7011 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7014 2014-08-05 Richard Henderson <rth@redhat.com>
7016 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7018 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7020 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7021 Use __feraiseexcept.
7022 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7023 Protect libm symbols with IS_IN_libm.
7025 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7027 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7029 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7031 2014-08-04 Will Newton <will.newton@linaro.org>
7033 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7036 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7038 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7039 variants for each function.
7041 2014-08-04 Roland McGrath <roland@hack.frob.com>
7043 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7045 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7046 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7048 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7049 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7050 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7051 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7052 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7053 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7054 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7055 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7056 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7057 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7058 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7059 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7060 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7061 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7062 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7063 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7064 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7065 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7066 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7067 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7068 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7069 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7070 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7071 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7072 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7074 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7075 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7076 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7077 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7078 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7079 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7080 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7081 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7082 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7083 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7084 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7085 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7086 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7087 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7088 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7089 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7090 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7091 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7092 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7093 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7094 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7095 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7096 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7097 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7098 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7099 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7100 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7102 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7103 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7105 2014-08-04 Roland McGrath <roland@hack.frob.com>
7107 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7108 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7109 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7110 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7111 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7112 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7114 2014-08-04 Roland McGrath <roland@hack.frob.com>
7116 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7117 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7118 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7119 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7121 2014-08-04 Roland McGrath <roland@hack.frob.com>
7123 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7124 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7125 (__libc_vfork): Define function under this name.
7126 (__vfork): Define as an alias.
7127 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7128 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7130 2014-08-04 Roland McGrath <roland@hack.frob.com>
7132 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7133 that was previously under [RESET_PID].
7134 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7136 2014-08-04 Andreas Schwab <schwab@suse.de>
7138 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7140 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7142 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7145 2014-08-01 Roland McGrath <roland@hack.frob.com>
7147 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7149 2014-08-01 Richard Henderon <rth@redhat.com>
7151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7152 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7153 typo in exact zero test.
7154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7155 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7158 2014-08-01 Roland McGrath <roland@hack.frob.com>
7160 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7161 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7162 * sysdeps/arm/sysdep.h: ... here.
7163 [!__ASSEMBLER__]: Include <stdint.h>.
7165 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7167 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7168 (HAVE_WCTYPE_H): Likewise.
7169 (HAVE_ISWCTYPE): Likewise.
7170 (ENABLE_NLS): Likewise.
7171 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7172 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7174 * posix/regex_internal.c: Check if DEBUG is defined and is
7177 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7178 (HAVE_MBSRTOWCS): Likewise.
7179 * posix/fnmatch.c: Include string.h unconditionally.
7181 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7183 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7186 2014-07-31 Roland McGrath <roland@hack.frob.com>
7188 * sysdeps/generic/safe-fatal.h: New file.
7189 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7190 * nptl/forward.c: Include it.
7191 (__pthread_unwind): Use __safe_fatal as default action, rather
7192 than a bogus use of INTERNAL_SYSCALL that could never work.
7194 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7195 * configure.ac (libc_cv_builtin_trap): New test.
7196 * configure: Regenerated.
7197 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7198 (ABORT_INSTRUCTION): Define using __builtin_trap.
7200 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7201 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7202 * sysdeps/nptl/nptl-signals.h: New file.
7203 * nptl/pthreadP.h: Include <nptl-signals.h>.
7205 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7207 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7208 (ONE_DIRECTION): Define.
7209 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7210 (ONE_DIRECTION): Define.
7211 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7212 (ONE_DIRECTION): Define.
7214 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7216 * sysdeps/s390/Makefile: Delete file.
7217 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7218 * sysdeps/s390/__longjmp.c: Delete file.
7219 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7220 Remove fields __flags and __reserved.
7221 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7223 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7224 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7225 * sysdeps/s390/rtld-setjmp.S: Likewise.
7226 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7227 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7228 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7229 * sysdeps/s390/s390-32/setjmp.S: ... here.
7231 (__sigsetjmp): Remove setting __flags field.
7232 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7233 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7234 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7235 * sysdeps/s390/s390-64/setjmp.S: ... here.
7237 (__sigsetjmp): Remove setting __flags field.
7238 * sysdeps/s390/setjmp.S: Delete file.
7239 * sysdeps/s390/sigjmp.c: Likewise.
7240 * sysdeps/s390/v1-longjmp.c: Likewise.
7241 * sysdeps/s390/v1-setjmp.h: Likewise.
7242 * sysdeps/s390/v1-sigjmp.c: Likewise.
7243 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7244 Remove v1-longjmp_chk.
7245 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7246 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7247 Include debug/longjmp_chk.c and add versioning.
7248 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7249 Include nptl/pt-longjmp.c and add versioning.
7250 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7251 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7252 Include __longjmp.c.
7253 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7255 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7256 (__getcontext): Remove setting __flags field.
7258 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7259 Don't restore upper high grps.
7260 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7262 (__swapcontext): Remove setting uc_flags field.
7263 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7265 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7266 Include __longjmp.c.
7267 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7269 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7270 (__getcontext): Remove setting __flags field.
7272 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7273 (__swapcontext): Remove setting uc_flags field.
7274 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7275 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7276 Remove fields uc_high_gprs and __reserved.
7277 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7278 New file with reverted content.
7279 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7280 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7282 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7285 2014-07-31 Andreas Schwab <schwab@suse.de>
7287 * config.h.in (HAVE_IFUNC): Define to 0.
7288 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7291 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7294 memmove-avx-unaligned, memcpy-avx-unaligned and
7295 mempcpy-avx-unaligned.
7296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7297 Add tests for AVX memcpy functions.
7298 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7299 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7301 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7302 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7304 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7305 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7307 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7308 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7309 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7311 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7314 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7317 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
7320 * manual/llio.texi: Add section about open file description locks.
7321 * manual/examples/ofdlocks.c: Example of open file description
7323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7324 F_OFD_SETLK, and F_OFD_SETLKW.
7326 2014-07-23 Allan McRae <allan@archlinux.org>
7328 * po/es.po: Update Spanish translation from translation project.
7330 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7332 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7334 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7337 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7338 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7339 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7341 2014-07-17 Joseph Myers <joseph@codesourcery.com>
7344 * math/fesetenv.c (__fesetenv)
7345 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7346 * math/feupdateenv.c (__feupdateenv)
7347 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7349 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7350 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7351 (__ASSUME_SOCKETCALL): Do not define.
7353 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7354 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7355 (__ASSUME_SOCKETCALL): Do not define.
7356 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7357 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7358 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7359 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7360 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7361 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7362 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7363 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7365 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7366 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7367 (__ASSUME_SOCKETCALL): Do not define.
7368 (__ASSUME_IPC64): Define unconditionally.
7369 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7370 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7371 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7372 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7373 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7374 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7375 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7378 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7379 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7380 (__ASSUME_SOCKETCALL): Do not define.
7381 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7382 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7383 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7384 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7385 (__ASSUME_REQUEUE_PI): Define unconditionally.
7386 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7387 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7388 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7389 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7390 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7391 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7393 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7394 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7395 (__ASSUME_SOCKETCALL): Do not define.
7396 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7397 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7398 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7399 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7400 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7401 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7403 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7404 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7405 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7406 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7407 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7408 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7409 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7410 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7411 (__ASSUME_GETCPU_SYSCALL): Likewise.
7413 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7414 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7415 cases for individual architectures.
7416 * sysdeps/gnu/configure: Regenerated.
7417 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7418 LIBC_SLIBDIR_RTLDDIR.
7419 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7420 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7421 LIBC_SLIBDIR_RTLDDIR.
7422 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7424 LIBC_SLIBDIR_RTLDDIR.
7425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7427 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7428 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7430 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7431 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7433 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7434 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7435 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7436 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7438 * sysdeps/aarch64/shlib-versions: Move to ...
7439 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7440 * sysdeps/alpha/shlib-versions: Move to ...
7441 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7442 * sysdeps/arm/shlib-versions: Move to ...
7443 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7444 * sysdeps/hppa/shlib-versions: Move all contents except for
7445 libgcc_s entry to ...
7446 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7448 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7449 * sysdeps/ia64/shlib-versions: Move to ...
7450 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7452 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7453 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7454 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7455 * sysdeps/microblaze/shlib-versions: Move to ...
7456 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7457 * sysdeps/mips/shlib-versions: Move to ...
7458 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7460 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7461 * sysdeps/tile/shlib-versions: Move to ...
7462 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7463 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7465 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7466 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7468 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7470 2014-07-17 Will Newton <will.newton@linaro.org>
7472 * sysdeps/arm/bits/atomic.h
7473 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7474 (__arch_compare_and_exchange_bool_16_int): Likewise.
7475 (__arch_compare_and_exchange_bool_64_int): Likewise.
7477 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7478 into an #else block.
7480 2014-07-16 Roland McGrath <roland@hack.frob.com>
7482 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7483 just Linux configurations. Test empirically that the compiler sets
7484 __ARM_EABI__, rather than using the tuple to decide.
7485 * sysdeps/arm/preconfigure: Regenerated.
7486 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7487 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7488 contents appended ...
7489 * sysdeps/arm/configure.ac: ... here.
7490 * sysdeps/arm/configure: Regenerated.
7492 2014-07-15 Roland McGrath <roland@hack.frob.com>
7494 * nptl/pthread_kill.c: New file.
7495 * nptl/pthread_sigmask.c: New file.
7496 * nptl/pthread_sigqueue.c: New file.
7498 * sysdeps/nptl/lowlevellock.h: New file.
7499 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7500 * sysdeps/nptl/lowlevellock-futex.h: New file.
7502 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7503 Remove dead declarations.
7505 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7507 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7508 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7510 * sysdeps/x86_64/configure.ac: Likewise.
7511 * sysdeps/i386/configure: Regenerated.
7512 * sysdeps/x86_64/configure: Likewise.
7513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7514 memset-avx2 only if config-cflags-avx2 is yes.
7515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7516 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7518 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7519 only if HAVE_AVX2_SUPPORT is defined.
7520 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7522 2014-07-14 Alan Modra <amodra@gmail.com>
7525 * elf/elf.h (DT_PPC64_NUM): Correct value.
7526 * NEWS: Add to fixed bug list.
7528 2014-07-13 Jim Meyering <meyering@fb.com>
7531 regex: don't deref NULL upon heap allocation failure
7532 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7533 failure in one more place.
7534 To trigger the segfault, configure grep -with-included-regex,
7535 build it, and run these commands:
7536 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7538 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7540 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7542 2014-07-11 Richard Henderson <rth@redhat.com>
7544 * sysdeps/aarch64/libm-test-ulps: Update.
7546 2014-07-10 Florian Weimer <fweimer@redhat.com>
7549 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7550 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7551 (__nptl_setxid): Initialize error member. Call
7552 __nptl_setxid_error.
7553 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7554 * nptl/descr.h (struct xid_command): Add error member.
7555 * nptl/tst-setuid3.c: New file.
7556 * nptl/Makefile (tests): Add it.
7558 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7560 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7562 (__lll_trylock): Use __lll_base_trylock.
7563 (__lll_cond_trylock): Likewise.
7565 2014-07-10 Roland McGrath <roland@hack.frob.com>
7567 * nptl/pthread_create.c (start_thread): Use atomic_or and
7568 lll_futex_wake directly rather than lll_robust_dead.
7569 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7570 (lll_robust_dead): Macro removed.
7571 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7572 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7573 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7574 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7575 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7576 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7577 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7578 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7579 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7580 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7581 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7582 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7583 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7584 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7585 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7587 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7588 Use atomic_compare_and_exchange_val_acq directly rather than
7590 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7591 (__lll_robust_trylock, lll_robust_trylock): Removed.
7592 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7593 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7594 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7595 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7596 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7597 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7598 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7599 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7600 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7601 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7602 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7603 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7604 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7605 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7607 2014-07-02 Florian Weimer <fweimer@redhat.com>
7609 * manual/locale.texi (Locale Names): New section documenting
7610 locale name syntax. Adjust menu and node chaining accordingly.
7611 (Choosing Locale): Reference Locale Names, Locale Categories.
7612 Mention setting LC_ALL=C. Reflect that name syntax is now
7614 (Locale Categories): New section title. Reference Locale Names.
7615 LC_ALL is an environment variable, but not a category.
7616 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7617 description, now in Locale Name. Reference that section. Locale
7618 name syntax is now documented.
7620 2014-07-02 Florian Weimer <fweimer@redhat.com>
7623 * locale/findlocale.c (name_present, valid_locale_name): New
7625 (_nl_find_locale): Use the loc_name variable to store name
7626 candidates. Call name_present and valid_locale_name to check and
7627 validate locale names. Return an error if the locale is invalid.
7629 2014-07-02 Florian Weimer <fweimer@redhat.com>
7631 * locale/setlocale.c (setlocale): Use strdup for allocating
7632 composite name copy.
7634 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7636 Sync up with gnulib.
7637 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7638 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7639 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7640 and _GL_ARG_NONNULL.
7641 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7642 [!_LIBC]: Include code for Windows and Cygwin.
7643 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7644 Include prototype for int strerror_r.
7645 [!_LIBC] (is_open): New function.
7646 (flush_stdout): New function.
7647 (print_errno_message): Use it.
7649 (error_at_line): Likewise.
7650 (error_tail) Add function attribute macros. Use
7653 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7655 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7657 * io/ftw.c: Include sys/param.h unconditionally.
7659 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7662 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7664 (freecache): New function to free CACHE on exit.
7666 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7669 2014-07-09 David S. Miller <davem@davemloft.net>
7671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7673 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7674 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7675 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7676 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7677 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7678 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7679 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7680 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7681 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7682 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7683 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7684 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7685 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7687 2014-07-09 Andreas Schwab <schwab@suse.de>
7689 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7691 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7692 (do_test): Likewise.
7694 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7696 2014-07-09 Will Newton <will.newton@linaro.org>
7698 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7699 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7700 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7701 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7702 * sysdeps/hppa/start.S (_start): Likewise.
7704 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7706 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7708 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7711 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7713 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7714 after checking that it is non-NULL.
7716 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7718 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7720 * sysdeps/powerpc/memmove.c: Remove file.
7721 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7722 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7723 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7724 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7725 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7726 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7727 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7728 string memmove instead of removed powerpc one.
7730 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7731 [weak_alias]: Fix compiler warning due trailing data.
7732 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7733 [weak_alias]: Likewise.
7734 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7735 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7738 (__libc_ifunc_impl_list): Add memmove functions.
7740 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7742 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7744 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7746 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7748 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7750 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7752 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7754 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7756 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7758 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7760 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7762 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7764 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7766 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7768 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7770 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7772 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7774 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7777 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7779 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7780 to avoid alignment traps in non-cacheable memory.
7781 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7785 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7786 file: multiarch power7 memmove.
7787 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7788 multiarch default memmove.
7789 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7790 multiarch memove for powerpc32/power4.
7792 * string/bcopy.c: Use full path to include memmove.c.
7793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7795 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7796 bcopy for powerpc64.
7797 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7798 bcopy for powerpc64.
7799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7800 and memmove implementations.
7801 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7802 optimized multiarch memmove for POWER7/powerpc64.
7803 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7804 default multiarch memmove for powerpc64.
7805 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7806 multiarch for powerpc64.
7807 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7808 for POWER7/powerpc64.
7809 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7810 memmove for POWER7/powerpc64.
7812 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7815 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7816 __ELF_NATIVE_CLASS equal to 64.
7818 2014-07-07 Roland McGrath <roland@hack.frob.com>
7820 * sysdeps/nptl/lowlevellock.h: File removed.
7822 * NEWS: NPTL is no longer an add-on!
7823 * nptl/internaltypes.h: Moved ...
7824 * sysdeps/nptl/internaltypes.h: ... here.
7825 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7826 * sysdeps/nptl/fork.c: Likewise.
7827 * sysdeps/nptl/gai_misc.h: Likewise.
7828 * sysdeps/nptl/librt-cancellation.c: Likewise.
7829 * sysdeps/nptl/jmp-unwind.c: Likewise.
7830 * sysdeps/nptl/setxid.h: Likewise.
7831 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7832 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7833 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7834 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7835 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7836 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7837 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7838 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7839 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7840 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7841 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7842 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7843 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7844 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7845 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7846 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7847 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7848 * nptl/Makeconfig: Moved ...
7849 * sysdeps/nptl/Makeconfig: ... here.
7850 * nptl/configure: File removed.
7851 * nptl/ANNOUNCE: File removed.
7852 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7853 * sysdeps/unix/sysv/linux/configure: Regenerated.
7855 * nptl/Makefile (routines): Add libc_pthread_init,
7856 libc_multiple_threads, register-atfork and unregister-atfork.
7857 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7858 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7859 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7860 pthread-pi-defines.sym, structsem.sym.
7861 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7862 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7863 [$(subdir) = nptl] (tests): Add tst-setgetname.
7864 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7865 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7866 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7867 [!LIBC_SIGACTION]: Remove aliases.
7868 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7869 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7870 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7871 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7872 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7873 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7874 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7875 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7876 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7877 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7878 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7879 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7880 __libc_allocate_rtsig_private.
7881 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7882 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7883 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7884 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7885 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7886 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7887 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7888 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7889 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7890 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7891 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7892 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7893 * nptl/internaltypes.h: ... here.
7894 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7895 * sysdeps/nptl/jmp-unwind.c: ... here.
7896 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7897 * nptl/libc-lowlevellock.c: ... here.
7898 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7899 * nptl/libc_multiple_threads.c: ... here.
7900 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7901 * nptl/libc_pthread_init.c: ... here.
7902 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7903 * nptl/lowlevelbarrier.sym: ... here.
7904 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7905 * nptl/lowlevelcond.sym: ... here.
7906 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7907 * nptl/lowlevellock.c: ... here.
7908 * nptl/lowlevellock.h: Moved ...
7909 * sysdeps/nptl/lowlevellock.h: ... here.
7910 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7911 * nptl/lowlevelrobustlock.c: ... here.
7912 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7913 * nptl/lowlevelrobustlock.sym: ... here.
7914 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7915 * nptl/lowlevelrwlock.sym: ... here.
7916 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7917 * nptl/pt-fork.c: ... here.
7918 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7919 * nptl/pthread-pi-defines.sym: ... here.
7920 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7921 * nptl/pthread_attr_getaffinity.c: ... here.
7922 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7923 * nptl/pthread_attr_setaffinity.c: ... here.
7924 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7925 * nptl/pthread_mutex_cond_lock.c: ... here.
7926 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7928 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7929 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7930 * nptl/pthread_once.c: ... here, replacing old file.
7931 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7932 * nptl/pthread_yield.c: ... here.
7933 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7934 * nptl/register-atfork.c: ... here.
7935 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7936 * nptl/sem_post.c: ... here.
7937 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7938 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7939 * nptl/sem_timedwait.c: ... here.
7940 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7941 * nptl/sem_trywait.c: ... here.
7942 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7943 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7944 * nptl/sem_wait.c: ... here.
7945 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7946 * nptl/structsem.sym: ... here.
7947 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7948 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7949 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7950 * nptl/unregister-atfork.c: ... here.
7951 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7952 * nptl/unwindbuf.sym: ... here.
7953 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7954 * sysdeps/nptl/fork.c: ... here.
7955 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7956 * sysdeps/nptl/fork.h: ... here.
7957 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7958 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7959 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7960 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7961 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7962 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7963 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7964 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7965 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7966 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7967 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7968 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7969 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7970 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7971 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7972 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7973 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7974 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7975 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7976 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7977 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7978 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7979 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7980 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7981 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7982 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7983 * sysdeps/unix/sysv/linux/raise.c: ... here.
7984 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7985 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7986 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7987 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7988 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7989 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7990 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7991 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7992 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7993 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7994 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7995 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7996 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7997 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7998 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8000 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8002 * sysdeps/generic/memcopy.h: Add comment for
8003 MEMCPY_OK_FOR_FWD_MEMMOVE.
8005 2014-07-04 Will Newton <will.newton@linaro.org>
8007 * string/memchr.c: Merge from gnulib.
8008 [_LIBC]: Remove conditionals.
8009 (__ptr_t): Remove define.
8010 (LONG_MAX_32_BITS): Likewise.
8011 (LONG_MAX): Likewise.
8012 (MEMCHR): Use ANSI prototype and optimize algorithm.
8014 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8016 2014-07-03 Roland McGrath <roland@hack.frob.com>
8018 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8019 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8021 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8022 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8023 in a bare environment with no <stdlib.h> installed.
8024 * sysdeps/nptl/configure: Regenerated.
8026 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8028 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8029 AC_EGREP_CPP for kernel header checks, so they only succeed if
8030 including <linux/version.h> actually works right.
8031 * sysdeps/unix/sysv/linux/configure: Regenerated.
8033 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8034 value so it's not diagnosed as unused.
8036 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8037 thing) with "ifeq ($(subdir),rt)".
8039 2014-07-03 Richard Henderson <rth@redhat.com>
8041 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8042 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8043 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8045 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8046 (math_force_eval): New.
8048 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8049 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8051 * sysdeps/alpha/fpu/s_round.c: Remove file.
8052 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8054 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8055 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8056 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8057 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8058 (_dl_start, print_statistics): Likewise.
8059 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8060 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8062 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8063 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8064 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8065 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8066 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8067 (HP_SMALL_TIMING_AVAIL): Define.
8068 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8069 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8070 (HP_SMALL_TIMING_AVAIL): Define.
8071 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8072 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8074 * sysdeps/aarch64/hp-timing.h: New file.
8076 * sysdeps/generic/hp-timing.h: Remove dead comment.
8077 * sysdeps/generic/hp-timing-common.h: New file.
8078 * sysdeps/alpha/hp-timing.h: Include it.
8079 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8080 * sysdeps/i386/i686/hp-timing.h: Likewise.
8081 * sysdeps/ia64/hp-timing.h: Likewise.
8082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8083 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8084 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8085 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8086 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8087 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8090 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8091 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8092 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8093 * elf/rtld.c (_dl_start_final): Likewise.
8094 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8095 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8096 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8097 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8098 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8099 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8100 (HP_TIMING_DIFF_INIT): Remove.
8101 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8102 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8103 (HP_TIMING_DIFF_INIT): Remove.
8104 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8105 * sysdeps/i386/i686/hp-timing.c: Remove file.
8106 * sysdeps/x86_64/hp-timing.c: Remove file.
8107 * sysdeps/ia64/hp-timing.c: Remove file.
8108 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8109 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8111 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8113 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8114 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8115 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8116 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8117 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8118 (HP_TIMING_ACCUM): Remove.
8119 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8120 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8121 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8123 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8124 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8125 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8126 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8127 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8128 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8129 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8130 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8132 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8134 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8136 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8138 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8140 Sync up with gettext.
8141 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8142 [_MSC_VER]: Include malloc.h
8143 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8144 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8145 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8146 TEMP_FAILURE_RETRY. Cast return of alloca.
8147 [!_LIBC] Call gl_rwlock_init.
8148 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8150 2014-07-02 Roland McGrath <roland@hack.frob.com>
8152 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8153 before checking its value.
8155 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8157 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8159 * debug/memcpy_chk.c: Don't include pagecopy.h.
8160 * debug/mempcpy_chk.c: Likewise.
8161 * string/memcpy.c: Likewise.
8162 * string/memmove.c: Likewise.
8163 * sysdeps/powerpc/memmove.c: Likewise.
8164 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8165 definition of PAGE_COPY_FWD_MAYBE here...
8166 * sysdeps/generic/pagecopy.h: ... from here.
8167 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8169 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8170 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8172 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8176 (__libc_ifunc_impl_list): Likewise.
8177 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8178 multiarch strcat for PPC64.
8179 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8180 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8182 2014-07-02 Roland McGrath <roland@hack.frob.com>
8184 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8186 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8188 * intl/loadmsgcat.c: Remove declaration of
8189 get_sysdep_segment_value.
8190 (get_sysdep_segment_value): Use ISO C style.
8191 (_nl_load_domain): Use ISO C style. Get rid of redundant
8192 semicolon. Fix typo and formatting in comment.
8193 (_nl_unload_domain): Use ISO C style.
8195 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8197 2014-07-02 Will Newton <will.newton@linaro.org>
8199 * malloc/obstack.c: Merge from gnulib master.
8200 [HAVE_CONFIG_H]: Remove conditional code.
8201 [!_LIBC]: Include config.h.
8202 [!ELIDE_CODE]: Don't include inttypes.h, include
8203 stdint.h unconditionally.
8204 (print_and_abort): Mark as _Noreturn.
8205 (_obstack_allocated_p): Mark as __attribute_pure__.
8206 (obstack_free): Rename to __obstack_free.
8207 [!__attribute__]: Remove conditional code.
8208 * malloc/obstack.h: Merge from gnulib master.
8209 [__cplusplus]: Move conditional down.
8210 [!__attribute_pure__]: Define __attribute_pure__ here
8211 if it is not already defined.
8212 (_obstack_memory_used): Mark as __attribute_pure__.
8213 [!__obstack_free]: Define as obstack_free.
8214 [__GNUC__]: Remove check for ancient NeXT gcc.
8216 2014-07-02 Will Newton <will.newton@linaro.org>
8217 Paul Eggert <eggert@cs.ucla.edu>
8219 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8221 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8223 * resolv/gethnamaddr.c: Add comment warning that the file is
8226 2014-07-01 Carlos O'Donell <carlos@redhat.com>
8228 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8231 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8232 entry for aio_cancel and aio_cancel64.
8233 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8234 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8235 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8236 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8237 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8238 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8239 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8240 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8241 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8242 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8243 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8244 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8245 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8247 2014-07-01 Roland McGrath <roland@hack.frob.com>
8249 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8250 * nptl/pthread_mutex_lock.c: Likewise.
8251 * nptl/pthread_mutex_timedlock.c: Likewise.
8252 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8254 2014-07-01 Richard henderson <rth@redhat.com>
8256 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8257 (__isnan, __isnanl): Remove.
8258 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8260 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8262 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8264 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8266 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8268 * resolv/nss_dns/dns-host.c (getanswer_r)
8269 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8271 2014-07-01 Joseph Myers <joseph@codesourcery.com>
8273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8274 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8276 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8277 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8279 2014-07-01 Roland McGrath <roland@hack.frob.com>
8281 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8282 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8284 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8285 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8287 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8288 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8290 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8291 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8293 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8294 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8295 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8296 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8298 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8299 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8300 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8301 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8302 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8304 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8306 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8307 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8308 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8309 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8310 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8311 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8312 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8313 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8314 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8315 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8316 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8317 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8318 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8319 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8320 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8321 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8322 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8323 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8324 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8325 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8327 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8328 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8329 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8330 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8331 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8332 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8333 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8334 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8336 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8338 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8339 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8340 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8343 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8347 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8349 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8350 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8352 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8354 * sysdeps/arm/libm-test-ulps: Regenerated.
8356 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8357 Roland McGrath <roland@hack.frob.com>
8359 * test-skeleton.c (signal_handler): Kill the whole process group
8360 before killing the child individually.
8361 (main): Report any failure on `setpgid'.
8363 2014-06-30 Roland McGrath <roland@hack.frob.com>
8365 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8366 from _TLS_H to _ARM_NPTL_TLS_H.
8367 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8368 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8370 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8373 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8374 (__expm1l): Return argument unchanged when small but not
8377 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8379 (_FP_UNPACK_RAW_1_P): Likewise.
8380 (_FP_PACK_RAW_1): Likewise.
8381 (_FP_PACK_RAW_1_P): Likewise.
8382 (_FP_MUL_MEAT_1_wide): Likewise.
8383 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8384 (_FP_MUL_MEAT_1_hard): Likewise.
8385 (_FP_DIV_MEAT_1_imm): Likewise.
8386 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8387 (_FP_DIV_MEAT_1_udiv): Likewise.
8388 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8389 (_FP_UNPACK_RAW_2): Likewise.
8390 (_FP_UNPACK_RAW_2_P): Likewise.
8391 (_FP_PACK_RAW_2): Likewise.
8392 (_FP_PACK_RAW_2_P): Likewise.
8393 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8394 (_FP_MUL_MEAT_2_wide): Likewise.
8395 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8396 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8397 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8398 (_FP_MUL_MEAT_2_gmp): Likewise.
8399 (_FP_DIV_MEAT_2_udiv): Likewise.
8400 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8401 (_FP_FRAC_SRL_4): Likewise.
8402 (_FP_FRAC_SRST_4): Likewise.
8403 (_FP_FRAC_SRS_4): Likewise.
8404 (_FP_UNPACK_RAW_4): Likewise.
8405 (_FP_UNPACK_RAW_4_P): Likewise.
8406 (_FP_PACK_RAW_4): Likewise.
8407 (_FP_PACK_RAW_4_P): Likewise.
8408 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8409 (_FP_MUL_MEAT_4_wide): Likewise.
8410 (_FP_MUL_MEAT_4_gmp): Likewise.
8411 (umul_ppppmnnn): Likewise.
8412 (_FP_DIV_MEAT_4_udiv): Likewise.
8413 (__FP_FRAC_ADD_4): Likewise.
8414 (__FP_FRAC_SUB_3): Likewise.
8415 (__FP_FRAC_SUB_4): Likewise.
8416 (__FP_FRAC_DEC_3): Likewise.
8417 (__FP_FRAC_DEC_4): Likewise.
8418 (__FP_FRAC_ADDI_4): Likewise.
8419 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8420 (_FP_FRAC_SRL_8): Likewise.
8421 (_FP_FRAC_SRS_8): Likewise.
8423 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8425 (FP_UNPACK_RAW_EP): Likewise.
8426 (FP_PACK_RAW_E): Likewise.
8427 (FP_PACK_RAW_EP): Likewise.
8428 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8429 (_FP_ISSIGNAN): Likewise.
8430 (_FP_ADD_INTERNAL): Likewise.
8431 (_FP_FMA): Likewise.
8432 (_FP_CMP): Likewise.
8433 (_FP_SQRT): Likewise.
8434 (_FP_TO_INT): Likewise.
8435 (_FP_FROM_INT): Likewise.
8436 (FP_EXTEND): Likewise.
8437 (_FP_DIV_MEAT_N_loop): Likewise.
8439 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8441 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8444 2014-06-29 Joseph Myers <joseph@codesourcery.com>
8447 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8448 result with correct sign in case of exponents that produce
8449 overflow except for X very close to 1.
8451 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8453 mktime: merge #if/#ifdef usage from glibc
8454 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8455 as that works with both Glibc's and Gnulib's style.
8456 See thread starting at Siddhesh Poyarekar's bug report at:
8457 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8459 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8461 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8462 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8463 * sysdeps/tile/tilegx/memmove.c: Remove file.
8465 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8467 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8468 abi-name definition.
8469 * scripts/soversions.awk: Do not handle or generate ABI lines.
8470 * shlib-versions: Remove ABI entries.
8471 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8472 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8474 2014-06-27 Roland McGrath <roland@hack.frob.com>
8476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8477 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8478 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8479 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8481 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8484 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8487 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8489 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8491 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8493 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8497 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8500 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8502 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8504 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8507 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8510 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8511 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8512 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8513 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8515 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8517 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8519 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8520 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8521 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8524 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8525 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8526 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8527 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8529 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8530 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8532 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8534 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8537 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8539 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8540 Identical file removed.
8541 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8543 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8545 Identical file removed.
8546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8547 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8548 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8550 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8552 Identical file removed.
8553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8554 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8556 Identical file removed.
8557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8558 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8559 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8560 Identical file removed.
8561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8562 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8563 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8564 Identical file removed.
8565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8567 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8568 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8569 Identical file removed.
8570 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8572 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8574 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8576 Identical file removed.
8577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8579 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8581 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8582 Identical file removed.
8583 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8585 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8586 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8587 Identical file removed.
8588 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8590 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8591 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8592 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8594 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8595 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8597 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8598 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8599 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8601 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8602 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8603 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8604 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8605 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8607 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
8610 * nscd/nscd.c (monitor_child): Return exit status of child
8611 instead of return value from wait syscall.
8613 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8615 * configure.ac (libc_commonpagesize): Remove variable.
8616 (libc_relro_required): Likewise.
8617 (libc_cv_z_relro): Remove configure test.
8618 * configure: Regenerated.
8619 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8621 (libc_relro_required): Likewise.
8622 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8623 (libc_relro_required): Likewise.
8624 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8625 (libc_relro_required): Likewise.
8626 * sysdeps/arm/preconfigure: Regenerated.
8627 * sysdeps/ia64/preconfigure: Remove file.
8628 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8630 (libc_relro_required): Likewise.
8634 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8635 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8636 recompute overflowing results in original rounding mode.
8637 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8638 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8639 recompute overflowing results in original rounding mode.
8640 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8641 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8642 recompute overflowing results in original rounding mode.
8643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8644 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8645 recompute overflowing results in original rounding mode.
8646 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8647 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8648 recompute overflowing results in original rounding mode.
8649 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8650 (libc_feholdsetround_ctx): New macro.
8651 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8652 * sysdeps/i386/fpu/libm-test-ulps: Update.
8653 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8655 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8657 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8658 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8659 corresponding .cpsetup call.
8661 2014-06-26 Roland McGrath <roland@hack.frob.com>
8663 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8664 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8665 * sysdeps/arm/Makefile [$(subdir) = csu]
8666 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8667 (static-only-routines): Add aeabi_read_tp here.
8668 (shared-only-routines): Add libc-aeabi_read_tp here.
8669 (CFLAGS-libc-start.c): Add -fexceptions here.
8670 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8671 (sysdep_routines, static-only-routines, shared-only-routines):
8672 Don't add to these here.
8673 (CFLAGS-libc-start.c): Likewise.
8675 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8676 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8677 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8678 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8679 * sysdeps/arm/Makefile [$(subdir) = rt]
8680 (librt-sysdep_routines, librt-shared-only-routines):
8681 Append rt-aeabi_unwind_cpp_pr1 here.
8682 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8683 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8684 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8685 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8686 Append nptl-aeabi_unwind_cpp_pr1 here.
8687 (tests): Filter out tst-cleanupx4 here.
8688 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8689 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8690 Don't do those here.
8692 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8694 * scripts/list-sources.sh: Do not handle ports specially.
8696 2014-06-26 Roland McGrath <roland@hack.frob.com>
8698 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8699 * sysdeps/arm/feupdateenv.c: Likewise.
8701 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8703 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8705 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8706 trailing whitespace removed.
8707 * scripts/config.guess: Update to version 2014-03-23.
8708 * scripts/config.sub: Update to version 2014-05-01
8709 * scripts/install-sh: Update to version 2013-12-25.23.
8710 * scripts/move-if-change: Update from gnulib.
8712 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8714 * debug/memmove_chk.c: Remove pagecopy.h include.
8716 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8718 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8719 identical to gnulib mktime.
8721 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8723 * configure.ac: Do not test for machine being rs6000. Do not test
8725 * configure: Regenerated.
8727 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8729 * configure: Regenerated.
8730 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8731 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8732 Remove configure test.
8733 * sysdeps/arm/configure: Regenerated.
8734 * sysdeps/nptl/configure.ac: Do not check
8735 libc_cv_asm_cfi_directives.
8736 * sysdeps/nptl/configure: Regenerated.
8737 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8738 * sysdeps/x86_64/nptl/configure: Remove generated file.
8739 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8741 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8743 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8745 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8746 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8747 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8750 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8751 instead of whether it is defined.
8752 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8753 * sysdeps/hppa/dl-machine.h: Likewise.
8754 * sysdeps/ia64/dl-machine.h: Likewise.
8755 * sysdeps/m68k/dl-machine.h: Likewise.
8756 * sysdeps/microblaze/dl-machine.h: Likewise.
8757 * sysdeps/mips/dl-machine.: Likewise.
8758 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8759 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8760 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8761 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8762 * sysdeps/sh/dl-machine.h: Likewise.
8763 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8764 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8765 * sysdeps/tile/dl-machine.h: Likewise.
8766 * sysdeps/x86_64/dl-machine.h: Likewise.
8768 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8770 (verify_persistent_db): Likewise.
8772 2014-06-26 Roland McGrath <roland@hack.frob.com>
8774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8775 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8777 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8780 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8783 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8785 Identical file removed.
8786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8787 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8789 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8791 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8793 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8795 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8798 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8800 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8802 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8805 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8807 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8809 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8811 Identical file removed.
8812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8813 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8815 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8818 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8821 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8823 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8825 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8827 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8829 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8832 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8835 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8837 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8840 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8842 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8844 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8846 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8847 * sysdeps/unix/sysv/linux/s390/Versions
8848 (libpthread: GLIBC_2.19): New version set.
8849 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8850 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8851 (librt: GLIBC_2.3.3): New version set.
8852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8853 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8854 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8855 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8856 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8857 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8858 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8859 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8860 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8861 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8862 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8863 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8864 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8865 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8866 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8867 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8868 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8869 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8870 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8871 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8872 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8873 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8874 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8875 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8876 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8877 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8878 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8880 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8882 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8883 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8888 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8889 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8890 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8891 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8892 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8894 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8896 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8898 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8899 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8900 (__libc_vfork): Define the function under this name.
8901 [!NOT_IN_libc] (__vfork): Make this an alias.
8902 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8904 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8905 (__libc_vfork): Define the function under this name.
8906 [!NOT_IN_libc] (__vfork): Make this an alias.
8907 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8908 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8909 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8910 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8911 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8912 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8914 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8915 code that was previously under [RESET_PID].
8916 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8917 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8918 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8920 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8921 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8922 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8923 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8924 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8925 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8926 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8927 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8928 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8929 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8930 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8932 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8933 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8934 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8935 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8936 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8937 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8938 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8939 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8940 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8941 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8942 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8943 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8944 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8945 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8946 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8947 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8948 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8949 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8950 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8951 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8952 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8954 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8955 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8956 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8957 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8958 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8959 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8960 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8962 2014-06-25 Roland McGrath <roland@hack.frob.com>
8964 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8965 that was previously under [RESET_PID].
8966 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8968 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8970 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8971 not undefine and redefine.
8972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8973 [O_CLOEXEC]: Make code unconditional.
8974 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8975 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8976 <kernel-features.h>.
8977 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8978 conditional variable definition.
8979 (shm_open) [O_CLOEXEC]: Make code unconditional.
8980 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8983 * configure.ac (USE_REGPARMS): Don't define here.
8984 * configure: Regenerated.
8985 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8986 * sysdeps/i386/configure: Regenerated.
8988 * nptl/createthread.c: Don't include kernel-features.h.
8989 * nptl/pthread_cancel.c: Likewise.
8990 * nptl/pthread_condattr_setclock.c: Likewise.
8991 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8992 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8993 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8994 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8995 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8996 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8997 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8998 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8999 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9000 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9001 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9002 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9003 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9004 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9005 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9006 * nscd/gai.c: Likewise.
9007 * nss/nss_db/db-open.c: Likewise.
9008 * sysdeps/generic/ldsodefs.h: Likewise.
9009 * sysdeps/sh/nptl/tls.h: Likewise.
9010 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9011 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9012 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9013 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9014 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9015 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9016 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9017 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9019 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9020 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9021 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9022 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9023 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9024 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9025 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9026 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9027 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9028 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9029 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9030 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9031 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9032 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9033 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9035 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9037 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9038 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9039 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9040 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9041 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9042 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9043 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9044 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9045 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9046 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9047 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9048 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9049 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9050 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9051 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9052 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9053 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9054 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9055 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9056 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9057 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9058 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9059 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9060 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9061 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9062 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9063 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9064 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9065 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9066 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9067 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9090 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9091 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9092 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9093 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9094 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9095 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9096 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9097 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9098 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9099 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9100 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9101 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9102 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9103 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9104 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9105 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9106 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9107 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9108 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9109 * sysdeps/unix/sysv/linux/system.c: Likewise.
9110 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9111 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9112 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9113 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9114 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9116 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9118 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9119 * configure: Regenerated.
9120 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9122 * configure.ac (base_machine): Do not set specially for particular
9124 * configure: Regenerated.
9125 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9126 settings from configure.ac.
9127 * sysdeps/i386/preconfigure: New file.
9128 * sysdeps/s390/preconfigure: Likewise.
9129 * sysdeps/sh/preconfigure: Likewise.
9130 * sysdeps/sparc/preconfigure: Likewise.
9132 2014-06-25 Roland McGrath <roland@hack.frob.com>
9134 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9135 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9136 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9137 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9138 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9139 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9140 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9141 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9142 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9143 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9144 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9145 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9146 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9147 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9148 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9149 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9150 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9151 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9152 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9154 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9155 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9156 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9157 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9158 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9159 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9160 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9161 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9162 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9163 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9164 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9165 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9166 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9167 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9168 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9169 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9170 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9171 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9172 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9173 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9174 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9175 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9177 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9179 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9180 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9181 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9182 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9183 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9184 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9185 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9186 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9187 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9188 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9189 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9190 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9191 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9194 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9196 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9199 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9202 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9204 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9207 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9209 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9211 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9213 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9216 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9219 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9221 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9224 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9226 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9228 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9230 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9232 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9235 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9238 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9240 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9243 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9245 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9247 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9249 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9252 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9255 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9257 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9260 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9262 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9264 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9266 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9268 * timezone/checktab.awk: Update from tzcode 2014e.
9269 * timezone/private.h: Likewise.
9270 * timezone/tzfile.h: Likewise.
9271 * timezone/zdump.c: Likewise.
9272 * timezone/zic.c: Likewise.
9274 * sysdeps/unix/sysv/linux/kernel-features.h
9275 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9276 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9277 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9278 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9279 Remove conditional code.
9281 2014-06-25 Will Newton <will.newton@linaro.org>
9283 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9284 (_dl_arm_cap_flags): Add HWCAP2 values.
9285 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9286 (_DL_HWCAP_COUNT): Increase to 37.
9287 (_DL_HWCAP_LAST): New define.
9288 (_DL_HWCAP2_LAST): New define.
9289 (_dl_procinfo): Add support for printing
9291 (_dl_string_hwcap): Use _dl_hwcap_string.
9293 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9297 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9299 * README: Do not mention ports directory.
9301 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9303 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9304 <kernel-features.h>.
9305 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9306 conditional variable definition.
9307 (__futimes): Update comment.
9308 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9309 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9312 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9313 arguments close to 0.
9314 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9316 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9318 * math/auto-libm-test-in: Add more tests of exp10.
9319 * math/auto-libm-test-out: Regenerated.
9320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9322 * sysdeps/unix/sysv/linux/kernel-features.h
9323 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9324 * sysdeps/unix/sysv/linux/readv.c: Do not include
9325 <kernel-features.h>.
9326 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9327 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9328 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9330 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9332 * sysdeps/unix/sysv/linux/writev.c: Do not include
9333 <kernel-features.h>.
9334 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9335 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9336 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9338 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9341 2014-06-25 Will Newton <will.newton@linaro.org>
9343 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9344 comment changes throughout the file. Remove checks
9345 for HAVE_*_H definitions that are not required.
9346 (__gen_tempname): Call abort if an unknown kind value is
9349 2014-06-25 Andreas Schwab <schwab@suse.de>
9352 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9353 scalbln, scalblnf, scalblnl in libc.
9355 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9358 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9359 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9360 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9362 2014-06-24 Roland McGrath <roland@hack.frob.com>
9364 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9365 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9366 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9367 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9369 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9370 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9372 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9373 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9374 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9375 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9376 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9377 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9378 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9379 * sysdeps/x86/bits/semaphore.h: ... here.
9380 * sysdeps/x86/nptl/elide.h: Moved ...
9381 * sysdeps/x86/elide.h: ... here.
9382 * sysdeps/x86_64/nptl/Implies: File removed.
9383 * sysdeps/i386/nptl/Implies: File removed.
9385 2014-06-24 Joseph Myers <joseph@codesourcery.com>
9388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9389 return the argument for normal arguments with exponent below -64.
9390 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9392 * math/auto-libm-test-in: Add another test of expm1.
9393 * math/auto-libm-test-out: Regenerated.
9396 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9397 calling __erfcl for arguments at least 16.
9398 * math/auto-libm-test-in: Add more tests of erf.
9399 * math/auto-libm-test-out: Regenerated.
9401 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9402 individual architectures.
9403 * sysdeps/unix/sysv/linux/configure: Regenerated.
9404 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9405 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9406 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9407 (ldd_rewrite_script): Define variable.
9408 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9413 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9414 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9415 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9416 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9417 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9418 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9419 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9420 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9422 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9425 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9426 Rename member __data.d to __data.__elision_data.
9428 2014-06-24 Wilco <wdijkstr@arm.com>
9430 * NEWS: Add 16918 to fixed bug list.
9432 2014-06-24 Wilco <wdijkstr@arm.com>
9434 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9436 2014-06-24 Wilco <wdijkstr@arm.com>
9438 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9439 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9440 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9441 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9442 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9443 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9444 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9447 2014-06-24 Wilco <wdijkstr@arm.com>
9449 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9451 2014-06-24 Wilco <wdijkstr@arm.com>
9453 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9454 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9455 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9456 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9458 2014-06-24 Wilco <wdijkstr@arm.com>
9461 * sysdeps/arm/feupdateenv.c (feupdateenv):
9462 Rewrite to reduce FPSCR accesses and fix return value.
9464 2014-06-24 Wilco <wdijkstr@arm.com>
9466 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9467 Optimize to avoid unnecessary FPSCR writes.
9468 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9469 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9470 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9471 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9473 2014-06-24 Wilco <wdijkstr@arm.com>
9475 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9476 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9477 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9478 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9479 Call libc_fetestexcept_vfp.
9480 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9481 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9482 __SOFTFP__ ifdef so that they can be built for softfp.
9484 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9486 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9487 argument type signed char.
9489 * Makerules (check-abi): Dump diff of symlist if the test
9492 2014-06-23 Roland McGrath <roland@hack.frob.com>
9494 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9497 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9498 Remove unused variable ST.
9500 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9504 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9505 small arguments before calling __expm1.
9506 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9507 small arguments before calling __expm1f.
9508 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9509 small arguments before calling __expm1l.
9510 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9512 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9513 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9514 spurious underflow for some cosh tests.
9515 * math/auto-libm-test-out: Regenerated.
9516 * sysdeps/i386/fpu/libm-test-ulps: Update.
9519 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9520 (__ieee754_y1): Set errno if return value overflows.
9521 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9522 (__ieee754_y1f): Set errno if return value overflows.
9523 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9524 (__ieee754_y1l): Set errno if return value overflows.
9525 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9526 (__ieee754_y1l): Set errno if return value overflows.
9527 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9528 * math/auto-libm-test-out: Regenerated.
9530 * math/gen-auto-libm-tests.c: Document use of
9531 ignore-zero-inf-sign.
9532 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9533 (input_flags): Add ignore-zero-inf-sign.
9534 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9535 * math/gen-libm-test.pl (generate_testfile): Handle
9536 ignore-zero-inf-sign.
9537 * math/auto-libm-test-in: Mark some cpow tests with
9538 ignore-zero-inf-sign and some with xfail-rounding.
9539 * math/auto-libm-test-out: Regenerated.
9540 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9541 * sysdeps/i386/fpu/libm-test-ulps: Update.
9542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9545 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9546 overflowing or underflowing operations take place with sign of
9548 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9549 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9550 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9551 (__ieee754_pow): Recompute overflowing and underflowing results in
9552 original rounding mode.
9553 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9554 (__powl_helper): Allow negative argument X and scale negated value
9555 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9556 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9557 overflowing or underflowing operations take place with sign of
9559 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9561 * math/auto-libm-test-in: Add more tests of pow.
9562 * math/auto-libm-test-out: Regenerated.
9563 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9564 (pow_tonearest_test_data): Remove.
9565 (pow_test_tonearest): Likewise.
9566 (pow_towardzero_test_data): Likewise.
9567 (pow_test_towardzero): Likewise.
9568 (pow_downward_test_data): Likewise.
9569 (pow_test_downward): Likewise.
9570 (pow_upward_test_data): Likewise.
9571 (pow_test_upward): Likewise.
9572 (main): Don't call removed functions.
9573 * sysdeps/i386/fpu/libm-test-ulps: Update.
9574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9576 2014-06-23 Roland McGrath <roland@hack.frob.com>
9578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9752 2014-06-23 Will Newton <will.newton@linaro.org>
9753 Wilco <wdijkstr@arm.com>
9755 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9756 implementation. Include get-rounding-mode.h.
9757 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9758 [!libc_feholdsetround_noex_ctx]: Define
9759 libc_feholdsetround_noex_ctx.
9760 [!libc_feholdsetround_noexf_ctx]: Define
9761 libc_feholdsetround_noexf_ctx.
9762 [!libc_feholdsetround_noexl_ctx]: Define
9763 libc_feholdsetround_noexl_ctx.
9764 (libc_feholdsetround_ctx): New function.
9765 (libc_feresetround_ctx): New function.
9766 (libc_feholdsetround_noex_ctx): New function.
9767 (libc_feresetround_noex_ctx): New function.
9769 2014-06-23 Roland McGrath <roland@hack.frob.com>
9771 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9772 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9773 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9774 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9775 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9776 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9778 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9779 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9780 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9781 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9782 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9783 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9785 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9787 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9790 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9793 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9795 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9798 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9799 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9800 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9801 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9802 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9804 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9807 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9810 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9811 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9812 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9813 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9815 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9817 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9818 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9819 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9820 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9821 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9823 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9826 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9829 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9831 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9835 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9837 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9839 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9842 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9843 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9844 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9846 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9849 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9851 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9853 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9855 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9856 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9857 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9858 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9864 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9865 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9866 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9867 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9868 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9869 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9870 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9884 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9887 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9888 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9889 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9890 (IPV6_PMTUDISC_INTERFACE): Likewise.
9891 (IPV6_PMTUDISC_OMIT): Likewise.
9893 2014-06-23 Andreas Schwab <schwab@suse.de>
9895 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9896 Remove unused errout label.
9898 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9900 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9901 macro: hardware supports Vector Crypto instructions.
9903 2014-06-23 Will Newton <will.newton@linaro.org>
9905 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9906 rather than __builtin_expect.
9908 * elf/dl-lookup.c (undefined_msg): Remove variable.
9909 (_dl_lookup_symbol_x): Replace undefined_msg with string
9912 * elf/dl-lookup.c (do_lookup_unique): New function.
9913 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9914 to a separate function.
9916 2014-06-23 Andreas Schwab <schwab@suse.de>
9919 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9920 before reading the next line.
9922 2014-06-23 Will Newton <will.newton@linaro.org>
9924 * test-skeleton.c (signal_handler): Use printf and %m
9925 rather than perror. Use printf rather than fprintf to
9926 stderr. Use puts rather than fputs to stderr.
9929 2014-06-22 Ludovic Courtès <ludo@gnu.org>
9931 * nscd/nscd.c (thread_info_t): Remove typedef.
9932 (thread_info): Remove variable.
9934 2014-06-21 Allan McRae <allan@archlinux.org>
9936 * NEWS: Mention CVE-2014-4043.
9938 2014-06-20 Roland McGrath <roland@hack.frob.com>
9940 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9941 * nptl/smp.h: ... here.
9943 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9945 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9946 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9947 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9948 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9950 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9951 * nptl/stack-aliasing.h: New file.
9952 * sysdeps/i386/i686/stack-aliasing.h: New file.
9953 * sysdeps/i386/i686/nptl/Makefile: File removed.
9954 * sysdeps/x86_64/stack-aliasing.h: New file.
9955 * sysdeps/x86_64/nptl/Makefile
9956 (CFLAGS-pthread_create.c): Variable removed.
9958 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9959 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9961 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9962 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9965 2014-06-21 Joseph Myers <joseph@codesourcery.com>
9967 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9968 (__ASSUME_SIGFRAME_V2): Remove macro.
9969 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9970 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9971 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9972 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9973 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9974 Declare as function. Remove conditional macro definitions.
9975 (__default_rt_sa_restorer): Likewise.
9976 (__default_sa_restorer_v1): Remove declaration.
9977 (__default_sa_restorer_v2): Likewise.
9978 (__default_rt_sa_restorer_v1): Likewise.
9979 (__default_rt_sa_restorer_v2): Likewise.
9980 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9981 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9982 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9984 2014-06-20 Roland McGrath <roland@hack.frob.com>
9986 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9987 (libpthread-routines): Add sysdep.
9988 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9989 * sysdeps/unix/sysv/linux/sparc/Versions
9990 (libpthread: GLIBC_2.3.3): New version set.
9991 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9992 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9993 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9994 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9995 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9996 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9998 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9999 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10000 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10001 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10002 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10003 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10004 * sysdeps/sparc/nptl/sem_init.c: ... here.
10005 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10006 * sysdeps/sparc/nptl/sem_post.c: ... here.
10007 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10008 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10009 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10010 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10011 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10012 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10013 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10014 (libpthread-routines): Add cpu_relax.
10015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10017 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10018 (librt: GLIBC_2.3.3): New version set.
10019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10020 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10021 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10022 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10025 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10028 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10030 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10032 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10034 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10036 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10039 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10047 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10059 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10062 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10068 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10070 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10073 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10075 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10077 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10079 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10081 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10082 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10083 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10084 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10085 * nscd/nscd.c: Likewise.
10086 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10087 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10088 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10089 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10091 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10092 <kernel-features.h>.
10093 (init_mq_netlink): Remove conditional have_sock_cloexec
10094 definitions. Remove code conditional on have_sock_cloexec < 0.
10095 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10096 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10097 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10098 <kernel-features.h>.
10099 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10100 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10102 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10105 Add tests for memset_chk and memset.
10107 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10110 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10113 * elf/tst-dl-iter-static.c: New file.
10114 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10116 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10119 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10121 * sysdeps/unix/sysv/linux/kernel-features.h
10122 (__ASSUME_F_GETOWN_EX): Remove macro.
10123 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10124 <kernel-features.h>.
10125 (miss_F_GETOWN_EX): Remove variable or macro.
10126 (do_fcntl): Do not check miss_F_GETOWN_EX.
10127 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10132 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10133 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10135 * sysdeps/unix/sysv/linux/kernel-features.h
10136 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10137 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10138 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10139 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10141 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10144 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10145 Fix calculation of the symbol's value.
10146 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10147 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10148 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10149 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10150 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10151 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10152 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10153 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10154 (modules-names): Add `tst-armtlsdescmod',
10155 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10156 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10157 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10158 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10159 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10160 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10161 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10162 ($(objpfx)tst-armtlsdescloc): New dependency.
10163 ($(objpfx)tst-armtlsdescextnow): Likewise.
10164 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10165 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10166 TLS scheme support.
10167 * sysdeps/arm/configure: Regenerate.
10169 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10171 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10172 (__atfct_seterrno_2): Likewise.
10173 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10174 <kernel-features.h>.
10175 (__ASSUME_ATFCTS): Do not undefine and redefine.
10176 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10177 (__have_atfcts): Remove conditional definition.
10178 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10179 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10180 unreachable if [__ASSUME_ATFCTS].
10181 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10182 not undefine and redefine.
10183 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10184 <kernel-features.h>.
10185 (faccessat) [__NR_faccessat]: Make code unconditional.
10186 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10187 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10188 <kernel-features.h>.
10189 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10190 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10191 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10192 <kernel-features.h>.
10193 (fchownat) [__NR_fchownat]: Make code unconditional.
10194 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10195 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10196 <kernel-features.h>.
10197 (futimesat) [__NR_futimesat]: Make code unconditional.
10198 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10199 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10200 <kernel-features.h>.
10201 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10202 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10203 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10204 <kernel-features.h>.
10205 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10206 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10207 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10208 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10209 <kernel-features.h>.
10210 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10211 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10212 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10213 <kernel-features.h>.
10214 (linkat) [__NR_linkat]: Make code unconditional.
10215 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10216 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10217 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10218 <kernel-features.h>.
10219 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10220 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10221 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10222 <kernel-features.h>.
10223 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10224 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10225 * sysdeps/unix/sysv/linux/openat.c: Do not include
10226 <kernel-features.h>.
10227 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10228 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10229 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10230 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10231 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10232 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10233 <kernel-features.h>.
10234 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10235 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10236 result of INLINE_SYSCALL directly, not via int variable.
10237 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10238 <kernel-features.h>.
10239 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10240 (renameat) [__NR_renameat]: Make code unconditional.
10241 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10242 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10243 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10244 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10245 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10246 (__ASSUME_ATFCTS): Do not undefine and redefine.
10247 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10248 <kernel-features.h>.
10249 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10250 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10251 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10252 <kernel-features.h>.
10253 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10254 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10255 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10256 (__ASSUME_ATFCTS): Do not undefine and redefine.
10257 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10258 <kernel-features.h>.
10259 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10260 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10261 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10262 <kernel-features.h>.
10263 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10264 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10266 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10268 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10270 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10273 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10274 constructed tree before returning error.
10275 * posix/bug-regexp36.c: Expand test case.
10277 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10280 * math/libm-test.inc (scalbln_test_date):
10281 Add errno expectations.
10282 * math/w_scalblnf.c: New File.
10283 Add wrapper which checks for setting errno to ERANGE.
10284 Add weak_alias for corresponding scalbln function.
10285 * math/w_scalbln.c: Likewise.
10286 * math/w_scalblnl.c: Likewise.
10287 * math/Makefile (libm-calls): Add w_scalbln.
10288 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10289 Remove weak_alias for corresponding scalbln function.
10290 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10294 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10295 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10296 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10297 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10298 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10299 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10300 Remove long_double_symbol for scalblnl function in libm, libc.
10301 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10302 Add wrapper which checks for setting errno to ERANGE.
10303 Add long_double_symbol for scalblnl function in libm, libc.
10304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10305 Remove long_double_symbol for scalblnl in libm.
10306 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10307 Add wrapper which checks for setting errno to ERANGE.
10308 Add long_double_symbol for scalblnl function in libm.
10309 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10310 Do not use wrapper because of own implementation.
10312 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10314 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10315 3 bytes for __pad1 for x32.
10316 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10318 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10319 H.J. Lu <hongjiu.lu@intel.com>
10321 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10322 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10323 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10324 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10325 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10327 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10330 * posix/regcomp.c (parse_expression): Deallocate partially
10331 constructed tree before returning error.
10332 * posix/Makefile.c (tests): Add bug-regex36.
10333 (generated): Add bug-regex36.mtrace.
10334 (tests-special): Add $(objpfx)bug-regex36-mem.out
10335 (bug-regex36-ENV): New variable.
10336 ($(objpfx)bug-regex36-mem.out): New rule.
10337 * posix/bug-regex36.c: New file.
10339 2014-06-19 Will Newton <will.newton@linaro.org>
10341 * malloc/malloc.c (systrim): If extra is zero then return
10344 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10346 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10348 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
10350 * sysdeps/aarch64/strchr.S: New file.
10352 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10355 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10356 from arguments -2 or below.
10357 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10358 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10360 2014-06-18 Andreas Schwab <schwab@suse.de>
10363 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10364 of a bracket expr not to run off the end of the string.
10365 * posix/Makefile (tests): Add tst-fnmatch3.
10366 * posix/tst-fnmatch3.c: New file.
10368 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10370 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10371 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10372 [$(cross-compiling) = no]: Likewise.
10373 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10374 [$(cross-compiling) = no]: Likewise.
10376 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10379 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10380 double, adjusted for any remainder from the high double.
10381 * math/libm-test.inc (nearbyint): Add tests.
10384 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10386 * nptl/sysdeps/powerpc/Makefile: Moved ...
10387 * sysdeps/powerpc/nptl/Makefile: ... here.
10388 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10389 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10390 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10391 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10392 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10393 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10394 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10395 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10396 * nptl/sysdeps/powerpc/tls.h: Moved ...
10397 * sysdeps/powerpc/nptl/tls.h: ... here.
10399 2014-06-16 Joseph Myers <joseph@codesourcery.com>
10402 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10403 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10404 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10405 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10406 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10407 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10408 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10409 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10410 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10412 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10414 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10416 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10418 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10421 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10424 2014-06-16 Florian Weimer <fweimer@redhat.com>
10427 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10428 non-executed part of the test.
10430 2014-06-16 Andreas Schwab <schwab@suse.de>
10432 * string/bits/string2.h (strdup, strndup): Update feature guard.
10434 2014-06-14 David S. Miller <davem@davemloft.net>
10436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10438 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10440 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10441 that was previously under [RESET_PID].
10442 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10444 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10445 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10446 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10447 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10448 (__libc_vfork): New strong alias.
10449 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10451 2014-06-14 Andi Kleen <ak@linux.intel.com>
10453 * sysdeps/generic/elide.h: New file.
10455 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10457 * Makefile (installed-headers): Adjust path of pthread.h header.
10459 2014-06-13 Roland McGrath <roland@hack.frob.com>
10461 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10462 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10463 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10464 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10466 * nptl/sysdeps/s390/Makefile: Moved ...
10467 * sysdeps/s390/nptl/Makefile: ... here.
10468 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10469 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10470 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10471 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10472 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10473 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10474 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10475 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10476 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10477 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10478 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10479 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10480 * nptl/sysdeps/s390/tls.h: Moved ...
10481 * sysdeps/s390/nptl/tls.h: ... here.
10483 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10484 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10486 2014-06-13 David S. Miller <davem@davemloft.net>
10488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10491 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10495 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10496 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10497 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10498 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10499 Remove RESET_PID cpp guards.
10500 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10501 Remove RESET_PID cpp guards.
10502 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10504 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10506 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10509 2014-06-13 Andi Kleen <ak@linux.intel.com>
10511 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10513 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10514 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10515 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10516 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10517 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10518 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10519 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10521 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10523 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10524 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10527 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10529 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10530 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10532 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10533 (pthread_rwlock_rdlock): Add elision.
10534 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10535 (pthread_rwlock_wrlock): Add elision.
10536 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10537 (pthread_rwlock_trywrlock): Add elision.
10538 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10539 (pthread_rwlock_tryrdlock): Add elision.
10540 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10541 (pthread_rwlock_tryrdlock): Add elision unlock.
10542 * nptl/sysdeps/pthread/pthread.h:
10543 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10544 (PTHREAD_RWLOCK_INITIALIZER,
10545 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10546 Handle new elision field.
10547 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10548 * sysdeps/arm/nptl/bits/pthreadtypes.h
10549 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10550 * sysdeps/sh/nptl/bits/pthreadtypes.h
10551 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10552 * sysdeps/tile/nptl/bits/pthreadtypes.h
10553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10554 * sysdeps/a/nptl/bits/pthreadtypes.h
10555 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10556 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10557 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10558 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10560 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10562 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10564 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10566 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10568 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10570 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10572 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10573 (elision_init): Set try_xbegin to zero when no RTM.
10574 * sysdeps/x86/nptl/bits/pthreadtypes.h
10575 (pthread_rwlock_t): Change __pad1 to __rwelision.
10576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10578 2014-06-13 Andi Kleen <ak@linux.intel.com>
10580 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10581 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10582 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10583 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10585 2014-06-13 Meador Inge <meadori@codesourcery.com>
10588 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10589 that the cached result has been set before returning it.
10591 2014-06-12 Roland McGrath <roland@hack.frob.com>
10593 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10594 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10595 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10596 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10597 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10598 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10600 * nptl/sysdeps/sparc/Makefile: Moved ...
10601 * sysdeps/sparc/nptl/Makefile: ... here.
10602 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10603 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10604 * nptl/sysdeps/sparc/tls.h: Moved ...
10605 * sysdeps/sparc/nptl/tls.h: ... here.
10606 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10607 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10608 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10609 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10610 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10611 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10612 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10613 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10614 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10615 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10616 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10617 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10618 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10619 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10620 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10621 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10622 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10623 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10625 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10626 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10628 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10629 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10631 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10632 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10635 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10637 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10638 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10640 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10641 (struct list_links): Type removed.
10642 (struct thread_node, struct timer_node): Replace struct list_links
10643 with struct list_head.
10644 (list_unlink_ip): Likewise.
10645 * sysdeps/pthread/timer_routines.c
10646 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10647 (list_append, list_insbefore): Likewise.
10648 (list_init): Function removed.
10649 (thread_init, init_module): Use INIT_LIST_HEAD instead.
10650 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10651 * sysdeps/pthread/Makefile: ... here, new file.
10653 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10654 * sysdeps/nptl/Implies: ... here.
10655 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10656 * nptl/sysdeps/pthread/list.h: Moved ...
10657 * include/list.h: ... here.
10658 * nptl/sysdeps/pthread/createthread.c: Moved ...
10659 * nptl/createthread.c: ... here.
10660 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10661 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10662 * nptl/pt-longjmp.c: ... here.
10663 * nptl/sysdeps/pthread/Makefile: Moved ...
10664 * sysdeps/nptl/Makefile: ... here.
10665 * nptl/sysdeps/pthread/Subdirs: Moved ...
10666 * sysdeps/nptl/Subdirs: ... here.
10667 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10668 * sysdeps/nptl/aio_misc.h: ... here.
10669 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10670 * sysdeps/nptl/bits/libc-lock.h: ... here.
10671 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10672 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10673 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10674 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10675 * nptl/sysdeps/pthread/configure: Moved ...
10676 * sysdeps/nptl/configure: ... here.
10677 * nptl/sysdeps/pthread/configure.ac: Moved ...
10678 * sysdeps/nptl/configure.ac: ... here.
10679 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10680 * sysdeps/nptl/gai_misc.h: ... here.
10681 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10682 * sysdeps/nptl/librt-cancellation.c: ... here.
10683 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10684 * sysdeps/nptl/malloc-machine.h: ... here.
10685 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10686 * sysdeps/nptl/pthread-functions.h: ... here.
10687 * nptl/sysdeps/pthread/pthread.h: Moved ...
10688 * sysdeps/nptl/pthread.h: ... here.
10689 * nptl/sysdeps/pthread/setxid.h: Moved ...
10690 * sysdeps/nptl/setxid.h: ... here.
10691 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10692 * sysdeps/nptl/sigfillset.c: ... here.
10693 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10694 * sysdeps/nptl/tcb-offsets.h: ... here.
10695 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10696 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10697 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10698 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10699 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10700 * sysdeps/pthread/allocalim.h: ... here.
10701 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10702 * sysdeps/pthread/bits/sigthread.h: ... here.
10703 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10704 * sysdeps/pthread/flockfile.c: ... here.
10705 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10706 * sysdeps/pthread/ftrylockfile.c: ... here.
10707 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10708 * sysdeps/pthread/funlockfile.c: ... here.
10709 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10710 * sysdeps/pthread/posix-timer.h: ... here.
10711 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10712 * sysdeps/pthread/timer_create.c: ... here.
10713 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10714 * sysdeps/pthread/timer_delete.c: ... here.
10715 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10716 * sysdeps/pthread/timer_getoverr.c: ... here.
10717 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10718 * sysdeps/pthread/timer_gettime.c: ... here.
10719 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10720 * sysdeps/pthread/timer_routines.c: ... here.
10721 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10722 * sysdeps/pthread/timer_settime.c: ... here.
10723 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10724 * sysdeps/pthread/tst-timer.c: ... here.
10725 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10726 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10728 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10729 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10731 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10732 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10733 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10734 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10735 Update #include target.
10736 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10737 * sysdeps/i386/i686/nptl/Makefile: ... here.
10738 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10739 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10740 Update #include target.
10741 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10742 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10743 * nptl/sysdeps/i386/Makefile: Moved ...
10744 * sysdeps/i386/nptl/Makefile: ... here.
10745 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10746 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10747 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10748 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10749 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10750 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10751 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10752 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10753 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10754 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10755 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10756 * nptl/sysdeps/i386/tls.h: Moved ...
10757 * sysdeps/i386/nptl/tls.h: ... here.
10759 * sysdeps/sh/Makefile [$(subdir) = csu]
10760 (gen-as-const-headers): Add tcb-offsets.sym.
10761 * nptl/sysdeps/sh/Makefile: File removed.
10762 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10763 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10764 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10765 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10766 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10767 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10768 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10769 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10770 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10771 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10772 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10773 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10774 * nptl/sysdeps/sh/tls.h: Moved ...
10775 * sysdeps/sh/nptl/tls.h: ... here.
10776 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10777 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10778 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10779 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10780 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10781 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10782 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10783 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10784 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10785 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10786 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10787 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10788 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10789 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10790 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10791 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10792 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10793 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10794 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10795 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10796 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10797 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10798 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10799 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10800 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10802 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10805 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10807 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10808 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10809 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10810 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10811 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10812 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10813 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10814 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10815 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10816 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10817 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10818 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10819 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10820 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10821 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10822 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10823 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10825 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10827 * posix/spawn_faction_addopen.c: Include string.h.
10829 2014-06-11 Roland McGrath <roland@hack.frob.com>
10831 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10832 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10833 * nptl/sysdeps/x86_64/Makefile: Moved ...
10834 * sysdeps/x86_64/nptl/Makefile: ... here.
10835 * nptl/sysdeps/x86_64/configure: Moved ...
10836 * sysdeps/x86_64/nptl/configure: ... here.
10837 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10838 * sysdeps/x86_64/nptl/configure.ac: ... here.
10839 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10840 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10841 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10842 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10843 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10844 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10845 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10846 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10847 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10848 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10849 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10850 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10851 * nptl/sysdeps/x86_64/tls.h: Moved ...
10852 * sysdeps/x86_64/nptl/tls.h: ... here.
10853 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10854 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10855 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10856 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10858 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10860 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10864 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10866 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10868 [POSIX] (off_t): Likewise.
10869 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10870 [POSIX] (S_ISBLK): Require macro.
10871 [POSIX] (S_ISCHR): Likewise.
10872 [POSIX] (S_ISDIR): Likewise.
10873 [POSIX] (S_ISFIFO): Likewise.
10874 [POSIX] (S_ISREG): Likewise.
10875 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10877 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10879 [POSIX] (time_t): Likewise.
10880 [POSIX] (timer_t): Likewise.
10882 2014-06-11 Florian Weimer <fweimer@redhat.com>
10885 * posix/spawn_int.h (struct __spawn_action): Make the path string
10886 non-const to support deallocation.
10887 * posix/spawn_faction_addopen.c
10888 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10889 * posix/spawn_faction_destroy.c
10890 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10891 path in all spawn_do_open actions.
10892 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10893 posix_spawn_file_actions_addopen.
10895 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10897 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10898 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10899 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10900 conditional code always true.
10901 (__libc_vfork): New alias.
10903 2014-06-11 Roland McGrath <roland@hack.frob.com>
10905 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10906 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10908 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10910 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10911 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10913 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10914 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10916 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10917 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10919 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10921 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10922 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10923 multiarch strcmp for PPC64.
10924 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10925 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10927 multiarch optimizations.
10928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10929 (__libc_ifunc_impl_list): Likewise.
10931 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10933 * benchtests/scripts/validate_benchout.py: New script.
10934 * benchtests/Makefile (bench-func): Call it.
10935 * benchtests/scripts/benchout.schema.json: New file.
10937 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10939 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10940 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10941 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10942 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10943 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10944 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10945 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10946 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10947 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10948 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10949 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10950 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10951 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10952 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10953 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10954 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11059 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11060 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11061 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11062 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11064 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11067 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11068 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11069 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11070 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11071 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11072 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11073 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11075 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11077 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11080 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11081 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11083 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11084 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11085 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11088 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11090 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11091 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11092 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11093 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11094 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11096 2014-06-10 Wilco <wdijkstr@arm.com>
11098 * math/test-fenv-return.c: New file.
11099 * math/Makefile: Add new test test-fenv-return.
11101 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11104 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11105 when x - 1 is zero.
11106 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11107 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11108 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11109 0.0L for an argument of 1.0L.
11110 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11112 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11113 value when x - 1 is zero.
11114 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11115 * sysdeps/i386/fpu/libm-test-ulps: Update.
11116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11118 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11121 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11123 2014-06-09 Roland McGrath <roland@hack.frob.com>
11125 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11126 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11128 2014-06-09 Roland McGrath <roland@hack.frob.com>
11130 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11131 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11133 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11134 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11136 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11137 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11139 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11140 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11142 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11143 if not already defined.
11144 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11145 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11146 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11147 (TLS_INIT_TP): Use it.
11148 (TLS_DEFINE_INIT_TP): New macro.
11149 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11151 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11153 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11155 [POSIX] (IXANY): Likewise.
11156 [POSIX] (OLCUC): Likewise.
11157 [POSIX || POSIX2008] (CBAUD): Do not allow.
11158 [POSIX || POSIX2008] (DEFECHO): Likewise.
11159 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11160 [POSIX || POSIX2008] (ECHOKE): Likewise.
11161 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11162 [POSIX || POSIX2008] (EXTA): Likewise.
11163 [POSIX || POSIX2008] (EXTB): Likewise.
11164 [POSIX || POSIX2008] (FLUSHO): Likewise.
11165 [POSIX || POSIX2008] (LOBLK): Likewise.
11166 [POSIX || POSIX2008] (PENDIN): Likewise.
11167 [POSIX || POSIX2008] (SWTCH): Likewise.
11168 [POSIX || POSIX2008] (VDISCARD): Likewise.
11169 [POSIX || POSIX2008] (VDSUSP): Likewise.
11170 [POSIX || POSIX2008] (VLNEXT): Likewise.
11171 [POSIX || POSIX2008] (VREPRINT): Likewise.
11172 [POSIX || POSIX2008] (VSTATUS): Likewise.
11173 [POSIX || POSIX2008] (VWERASE): Likewise.
11174 (B*): Change to B[0123456789]*.
11175 * conform/data/time.h-data [POSIX || UNIX98]
11176 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11177 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11178 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11179 [POSIX] (tm_*): Do not allow.
11181 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11183 * Makefile (install): Don't set LANGUAGE.
11184 * Makefile.in (install): Likewise.
11185 * assert/Makefile (test-assert-ENV): Remove variable.
11186 (test-assert-perr-ENV): Likewise.
11187 * elf/Makefile (neededtest4-ENV): Likewise.
11188 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11189 [$(cross-compiling) = no]: Don't set LANGUAGE.
11190 * io/ftwtest-sh (LANG): Remove variable.
11191 * libio/Makefile (tst-widetext-ENV): Likewise.
11192 * manual/install.texi (Running make install): Don't refer to
11193 environment settings for make install.
11194 * INSTALL: Regenerated.
11195 * nptl/tst-tls6.sh: Don't set LANG.
11196 * posix/globtest.sh (LANG): Remove variable.
11197 * string/Makefile (tester-ENV): Likewise.
11198 (inl-tester-ENV): Likewise.
11199 (noinl-tester-ENV): Likewise.
11200 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11201 [$(cross-compiling) = no]: Don't set LANGUAGE.
11202 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11203 without explicit environment settings.
11205 2014-06-06 Roland McGrath <roland@hack.frob.com>
11207 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11208 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11209 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11210 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11212 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11214 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11215 other files in the crypt directory.
11216 * crypt/crypt.c: Remove duplicate includes.
11217 * crypt/crypt-entry.c: Likewise.
11218 * crypt/crypt_util.c: Likewise.
11220 2014-06-06 Joseph Myers <joseph@codesourcery.com>
11222 * Makeconfig (run-program-env): New variable.
11223 (run-program-prefix-before-env): Likewise.
11224 (run-program-prefix-after-env): Likewise.
11225 (run-program-prefix): Define in terms of new variables.
11226 (built-program-cmd-before-env): New variable.
11227 (built-program-cmd-after-env): Likewise.
11228 (built-program-cmd): Define in terms of new variables.
11229 (test-program-prefix-before-env): New variable.
11230 (test-program-prefix-after-env): Likewise.
11231 (test-program-prefix): Define in terms of new variables.
11232 (test-program-cmd-before-env): New variable.
11233 (test-program-cmd-after-env): Likewise.
11234 (test-program-cmd): Define in terms of new variables.
11235 * Rules (make-test-out): Use $(run-program-env).
11236 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11237 (help): Do not mention environment variables. Mention
11238 --timeoutfactor option.
11239 (timeoutfactor): New variable.
11240 (blacklist_exports): Remove function.
11241 (exports): Remove variable.
11242 (command): Do not include ${exports}.
11243 * manual/install.texi (Configuring and compiling): Do not mention
11244 test wrappers preserving environment variables. Mention that last
11245 assignment to a variable must take precedence.
11246 * INSTALL: Regenerated.
11247 * benchtests/Makefile (run-bench): Use $(run-program-env).
11248 * catgets/Makefile ($(objpfx)test1.cat): Use
11249 $(built-program-cmd-before-env), $(run-program-env) and
11250 $(built-program-cmd-after-env).
11251 ($(objpfx)test2.cat): Do not specify environment variables
11253 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11254 $(run-program-env) and $(built-program-cmd-after-env).
11255 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11256 $(run-program-env) and $(test-program-cmd-after-env).
11257 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11259 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11260 run_program_env and test_program_cmd_after_env arguments.
11261 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11262 * elf/tst-pathopt.sh: Use run_program_env argument.
11263 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11264 $(test-wrapper-env) and $(run-program-env).
11265 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11266 run_program_env arguments.
11267 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11268 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11269 $(test-program-prefix-before-env), $(run-program-env) and
11270 $(test-program-prefix-after-env).
11271 ($(objpfx)tst-gettext2.out): Likewise.
11272 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11273 run_program_env and test_program_prefix_after_env arguments.
11274 * intl/tst-gettext2.sh: Likewise.
11275 * intl/tst-gettext4.sh: Do not set environment variables
11277 * intl/tst-gettext6.sh: Likewise.
11278 * intl/tst-translit.sh: Likewise.
11279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11280 $(test-program-prefix-before-env), $(run-program-env) and
11281 $(test-program-prefix-after-env).
11282 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11283 run_program_env and test_program_prefix_after_env arguments.
11284 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11285 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11286 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11287 explicitly with each use of ${test_wrapper_env}.
11288 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11289 $(test-program-prefix-before-env), $(run-program-env) and
11290 $(test-program-prefix-after-env).
11291 * posix/tst-getconf.sh: Do not set environment variables
11293 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11294 run_program_env and test_program_prefix_after_env arguments.
11295 * stdio-common/tst-printf.sh: Do not set environment variables
11297 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11298 $(test-program-prefix-before-env), $(run-program-env) and
11299 $(test-program-prefix-after-env).
11300 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11301 run_program_env and test_program_prefix_after_env arguments.
11302 Split $test calls into $test_pre and $test.
11303 * timezone/Makefile (build-testdata): Use
11304 $(built-program-cmd-before-env), $(run-program-env) and
11305 $(built-program-cmd-after-env).
11307 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11309 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11310 strlen for non SHARED builds.
11312 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11314 * nptl/allocatestack.c (check_list): Inlined function...
11315 (__reclaim_stacks): ... here.
11317 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11320 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11323 2014-06-05 Joseph Myers <joseph@codesourcery.com>
11325 * Rules (make-test-out): Include
11326 LOCPATH=$(common-objpfx)localedata in default environment.
11327 * debug/Makefile (tst-chk1-ENV): Remove variable.
11328 (tst-chk2-ENV): Likewise.
11329 (tst-chk3-ENV): Likewise.
11330 (tst-chk4-ENV): Likewise.
11331 (tst-chk5-ENV): Likewise.
11332 (tst-chk6-ENV): Likewise.
11333 (tst-lfschk1-ENV): Likewise.
11334 (tst-lfschk2-ENV): Likewise.
11335 (tst-lfschk3-ENV): Likewise.
11336 (tst-lfschk4-ENV): Likewise.
11337 (tst-lfschk5-ENV): Likewise.
11338 (tst-lfschk6-ENV): Likewise.
11339 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11340 (tst-iconv7-ENV): Likewise.
11341 * intl/Makefile (LOCPATH-ENV): Likewise.
11342 (tst-codeset-ENV): Likewise.
11343 (tst-gettext3-ENV): Likewise.
11344 (tst-gettext5-ENV): Likewise.
11345 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11346 (tst-fopenloc-ENV): Likewise.
11347 (tst-fgetws-ENV): Remove variable.
11348 (tst-ungetwc1-ENV): Likewise.
11349 (tst-ungetwc2-ENV): Likewise.
11350 (bug-ungetwc2-ENV): Likewise.
11351 (tst-swscanf-ENV): Likewise.
11352 (bug-ftell-ENV): Likewise.
11353 (tst-fgetwc-ENV): Likewise.
11354 (tst-fseek-ENV): Likewise.
11355 (tst-ftell-partial-wide-ENV): Likewise.
11356 (tst-ftell-active-handler-ENV): Likewise.
11357 (tst-ftell-append-ENV): Likewise.
11358 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11359 (tst-regexloc-ENV): Likewise.
11360 (bug-regex1-ENV): Likewise.
11361 (tst-regex-ENV): Likewise.
11362 (tst-regex2-ENV): Likewise.
11363 (bug-regex5-ENV): Likewise.
11364 (bug-regex6-ENV): Likewise.
11365 (bug-regex17-ENV): Likewise.
11366 (bug-regex18-ENV): Likewise.
11367 (bug-regex19-ENV): Likewise.
11368 (bug-regex20-ENV): Likewise.
11369 (bug-regex22-ENV): Likewise.
11370 (bug-regex23-ENV): Likewise.
11371 (bug-regex25-ENV): Likewise.
11372 (bug-regex26-ENV): Likewise.
11373 (bug-regex30-ENV): Likewise.
11374 (bug-regex32-ENV): Likewise.
11375 (bug-regex33-ENV): Likewise.
11376 (bug-regex34-ENV): Likewise.
11377 (bug-regex35-ENV): Likewise.
11378 (tst-rxspencer-ENV): Likewise.
11379 (tst-rxspencer-no-utf8-ENV): Likewise.
11380 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11381 (tst-sscanf-ENV): Likewise.
11382 (tst-swprintf-ENV): Likewise.
11383 (tst-swscanf-ENV): Likewise.
11384 (test-vfprintf-ENV): Likewise.
11385 (scanf13-ENV): Likewise.
11386 (bug14-ENV): Likewise.
11387 (tst-grouping-ENV): Likewise.
11388 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11389 (tst-strtod3-ENV): Likewise.
11390 (tst-strtod4-ENV): Likewise.
11391 (tst-strtod5-ENV): Likewise.
11392 (testmb2-ENV): Likewise./
11393 * string/Makefile (tst-strxfrm-ENV): Likewise.
11394 (tst-strxfrm2-ENV): Likewise.
11395 (bug-strcoll1-ENV): Likewise.
11396 (test-strcasecmp-ENV): Likewise.
11397 (test-strncasecmp-ENV): Likewise.
11398 * time/Makefile (tst-strptime-ENV): Likewise.
11399 (tst-ftime_l-ENV): Likewise.
11400 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11401 (tst-mbrtowc-ENV): Likewise.
11402 (tst-wcrtomb-ENV): Likewise.
11403 (tst-mbrtowc2-ENV): Likewise.
11404 (tst-c16c32-1-ENV): Likewise.
11405 (tst-mbsnrtowcs-ENV): Likewise.
11407 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11409 * manual/resource.texi (How to get information about the memory
11410 subsystem?): Fix typo.
11411 Reported by Peon de la Parra Ivan <peon@keba.com>
11413 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11416 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11417 (pthread_spin_lock): Branch out of spin loop to proper location.
11418 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11419 (pthread_spin_lock): Likewise.
11421 * nptl/tst-spin4.c: New test.
11422 * nptl/Makefile (tests): Add tst-spin4.
11424 2014-06-03 Andreas Schwab <schwab@suse.de>
11427 * resolv/res_send.c (send_dg): Reload file descriptor after
11430 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11432 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11434 2014-06-03 Richard Henderson <rth@redhat.com>
11436 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11437 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11438 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11439 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11440 in the SAVE_PID block.
11441 (__libc_vfork): New alias.
11442 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11444 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11445 child in registers, not on the stack. Remove RESET_PID conditionals.
11446 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11448 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11450 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11452 2014-06-03 Wilco <wdijkstr@arm.com>
11454 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11455 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11456 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11457 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11458 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11461 2014-06-03 Wilco <wdijkstr@arm.com>
11463 * sysdeps/aarch64/fpu/math_private.h
11464 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11465 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11466 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11467 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11470 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11472 * crypt/crypt-private.h: Include ufc-crypt.h.
11473 (__b64_from_24bit): Declare extern.
11474 * crypt/crypt_util.c(__b64_from_24bit): New function.
11475 (b64t): New static const variable.
11476 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11477 (b64t): Remove variable.
11478 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11479 * crypt/sha256-crypt.c: Include crypt-private.h.
11480 (b64t): Remove variable.
11481 (__sha256_crypt_r): Remove b64_from_24bit and replace
11482 with __b64_from_24bit.
11483 * crypt/sha512-crypt.c: Likewise.
11485 2014-06-02 Roland McGrath <roland@hack.frob.com>
11487 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11488 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11489 Label the code __libc_vfork rather than __vfork.
11490 [!NOT_IN_libc] (vfork): Define as weak alias.
11491 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11492 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11493 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11495 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11497 * malloc/malloc.c (malloc_info): Fix format specifier for
11500 2014-06-02 Wilco <wdijkstr@arm.com>
11502 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11505 2014-06-02 Wilco <wdijkstr@arm.com>
11508 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11509 Rewrite to reduce FPCR/FPSR accesses.
11511 2014-06-01 David S. Miller <davem@davemloft.net>
11513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11515 2014-05-31 David S. Miller <davem@davemloft.net>
11517 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11518 to occur in round to nearest mode when |x| >= 2.0
11520 2014-05-30 Richard Henderson <rth@twiddle.net>
11522 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11523 (PSEUDO_RET_NOERRNO): Remove.
11524 (ret): Don't redefine.
11525 (ret_NOERRNO): Define in terms of ret.
11526 (ret_ERRVAL): Likewise.
11528 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11529 use of PSEUDO_RET; perform the error check directly.
11531 2014-05-30 Marko Myllynen <myllynen@redhat.com>
11533 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11536 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11538 * malloc/malloc (malloc_info): Fix formatting.
11540 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11541 Roland McGrath <roland@hack.frob.com>
11543 * malloc/malloc (malloc_info): Also print mmapped statistics.
11545 2014-05-30 Roland McGrath <roland@hack.frob.com>
11547 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11548 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11550 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
11552 * malloc/malloc.c (malloc_info): Inline mi_arena.
11554 2014-05-29 Richard Henderson <rth@twiddle.net>
11556 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11557 Remove comma before expanding ASM_ARGS_##nr.
11558 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11559 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11561 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11562 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11563 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11564 (ASM_ARGS_1): Add leading comma.
11566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11567 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11568 to __errno_location.
11569 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11570 Remove the expected plt for __errno_location.
11572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11573 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11576 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11577 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11578 it and break it down.
11579 (DOCARGS_0, DOCARGS_1): Do nothing.
11580 (DOCARGS_2): Update to store into the new stack frame.
11581 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11582 (UNDOCARGS_1): Update to restore from the new stack frame.
11583 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11584 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11586 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11587 (SINGLE_THREAD_P): New parameter for result regno.
11588 (PSEUDO): Update to match; use cbz instead of beq.
11590 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11591 Use ENTRY to define the _nocancel entry point. Share the syscall
11592 and syscall error check paths with the cancel path.
11595 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11596 whitespace; tabs before and after asm mnemonics.
11598 2014-05-29 Eric Wong <normalperson@yhbt.net>
11601 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11602 Call fstat64 or stat64 internally, depending on arguments passed.
11603 Replace stat buffer argument with file descriptor argument.
11604 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11605 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11606 Pass fd to __internal_statvfs instead of calling fstat64.
11607 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11608 Pass fd to __internal_statvfs64 instead of calling fstat64.
11609 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11610 Pass -1 to __internal_statvfs instead of calling stat64.
11611 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11612 Pass -1 to __internal_statvfs64 instead of calling stat64.
11614 2014-05-28 Roland McGrath <roland@hack.frob.com>
11616 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11617 that was previously under [RESET_PID].
11618 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11620 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11621 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11623 2014-05-27 Roland McGrath <roland@hack.frob.com>
11625 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11627 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11628 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11630 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
11632 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11634 2014-05-27 Andreas Schwab <schwab@suse.de>
11636 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11638 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11639 * elf/rtld.c (init_tls, dl_main): Likewise.
11640 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11641 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11642 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11643 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11644 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11645 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11646 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11647 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11648 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11649 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11650 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11651 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11652 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11653 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11654 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11655 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11656 * sysdeps/generic/tls.h: Update description.
11658 2014-05-27 Will Newton <will.newton@linaro.org>
11661 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11662 and restore r2 rather than just restoring.
11664 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11667 * libio/tst-ftell-append.c: New test case.
11668 * libio/Makefile (tests): Add test case.
11669 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11671 * libio/wfileops.c (do_ftell_wide): Likewise.
11673 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11677 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11681 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11682 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11683 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11684 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11685 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11686 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11687 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11693 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11694 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11695 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11696 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11697 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11699 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11700 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11702 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11704 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11706 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11707 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11708 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11710 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11711 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11712 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11713 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11736 conditional [RESET_PID].
11737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11745 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11746 (__libc_vfork): New strong alias.
11747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11754 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11755 (__libc_vfork): New strong alias.
11756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11758 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11761 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11763 * malloc/malloc.c (mi_arena): New function.
11764 (malloc_info): Remove nested function mi_arena. Call non-nosted
11767 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11769 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11771 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11772 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11773 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11774 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11775 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11776 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11777 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11779 2014-05-26 Andreas Schwab <schwab@suse.de>
11782 * locale/programs/repertoire.c (repertoire_read): Add slash
11783 between I18NPATH element and file name.
11784 * locale/programs/locfile.c (locfile_read): Likewise.
11786 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11788 * nptl/pthread_mutexattr_settype.c
11789 (__pthread_mutexattr_settype):
11790 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11792 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11794 * nptl/tst-mutex5 (do_test):
11795 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11797 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11799 * benchtests/README: Document 'init' directive.
11800 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11802 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11803 (parse_file): Recognize 'init' directive.
11805 2014-05-26 Kyle McMartin <kyle@redhat.com>
11808 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11809 alignment of struct pthread.
11811 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11814 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11815 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11816 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11817 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11819 2014-05-25 Richard Henderson <rth@twiddle.net>
11821 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11822 (SINGLE_THREAD_P_PIC): Remove.
11823 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11824 (SINGLE_THREAD_P_PIC): Remove.
11826 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11827 branch to syscall error ...
11828 (PSEUDO): ... here.
11829 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11830 from __local_syscall_error to .Lsyscall_error.
11831 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11832 (SYSCALL_ERROR): Update label name.
11834 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11835 Do not use DOARGS/UNDOARGS.
11836 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11837 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11838 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11839 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11840 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11842 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11845 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11846 define if !NOT_IN_libc.
11847 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11848 define with non-default symbol versions.
11850 2014-05-23 Richard Henderson <rth@twiddle.net>
11852 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11853 (vfork, __vfork): Define via compat_symbol.
11855 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11856 [!HAVE_IFUNC] (vfork_compat): Remove.
11857 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11859 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11862 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11863 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11866 2014-05-23 Richard Henderson <rth@twiddle.net>
11868 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11869 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11870 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11871 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11873 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11874 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11875 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11876 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11877 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11878 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11879 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11880 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11881 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11882 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11883 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11884 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11885 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11886 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11887 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11888 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11889 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11890 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11891 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11892 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11893 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11894 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11895 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11896 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11897 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11898 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11899 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11900 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11901 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11902 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11903 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11904 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11905 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11906 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11907 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11908 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11909 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11910 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11911 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11912 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11913 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11914 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11915 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11916 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11917 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11918 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11919 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11920 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11921 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11922 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11924 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11925 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11926 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11927 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11928 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11930 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11931 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11932 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11933 before exiting on error.
11934 (__libc_vfork): New strong alias.
11935 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11936 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11938 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11939 that was previously under [RESET_PID].
11940 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11942 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11944 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11947 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11948 value when x - 1 is zero.
11949 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11950 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11951 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11952 0.0L for an argument of 1.0L.
11953 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11955 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11956 value when x - 1 is zero.
11957 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11958 * sysdeps/i386/fpu/libm-test-ulps: Update.
11959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11961 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11963 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11964 alphasort and versionsort.
11966 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11968 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11970 [copysignf]: Likewise.
11972 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11974 * crypt/md5-crypt.c: Fix formatting.
11976 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11978 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11979 (b64_from_24bit): New function.
11981 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11983 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11984 libc_hidden_builtin_def to ifunc.
11985 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11986 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11988 2014-05-21 Roland McGrath <roland@hack.frob.com>
11990 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11991 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11993 2014-05-21 Joseph Myers <joseph@codesourcery.com>
11995 * nscd/Depend (linuxthreads): Remove.
11997 * resolv/Depend (linuxthreads): Remove.
11998 * rt/Depend (linuxthreads): Remove.
12000 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12001 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12002 $(common-objpfx)elf/.
12003 (link-libc-before-gnulib): Likewise.
12004 (elfobjdir): Remove variable.
12005 * Makefile (install): Use $(elf-objpfx) instead of
12006 $(common-objpfx)elf/.
12007 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12009 (link-libc-deps): Likewise.
12010 ($(common-objpfx)libc.so): Likewise.
12011 ($(common-objpfx)linkobj/libc.so): Likewise.
12012 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12013 instead of $(common-objpfx)elf/.
12014 (symbolic-link-list): Likewise.
12015 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12016 [$(cross-compiling) = no]: Likewise.
12017 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12019 (static-gnulib-arch): Likewise.
12020 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12021 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12022 $(common-objpfx)elf/.
12024 2014-05-21 Richard Henderson <rth@redhat.com>
12026 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12027 (SINGLE_THREAD_P): Use the correct width load. Fold
12028 into the ldr offset.
12030 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12031 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12033 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12035 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12036 (libgcc_s_resume): Use __attribute_used__.
12037 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12040 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12042 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12043 optimization when used with float constants.
12045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12047 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12050 * locale/nl_langinfo_l.c: Make direct reference to every
12051 _nl_current_CATEGORY symbol.
12052 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12053 (tests-static): Add tst-langinfo-static.
12054 (tests-special): Add tst-langinfo-static.out.
12055 ($(objpfx)tst-langinfo.out): Redirect output.
12056 ($(objpfx)tst-langinfo-static.out): New.
12057 * localedata/tst-langinfo.sh: Send output to stdout.
12058 * localedata/tst-langinfo-static.c: New file.
12061 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12062 when the shift amount is modulo the limb size.
12064 2014-05-20 Richard Henderson <rth@redhat.com>
12067 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12068 Change type of sa_flags from unsigned int to int.
12071 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12073 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12075 2014-05-20 Will Newton <will.newton@linaro.org>
12077 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12078 Test the return value of the system call in the nocancel case.
12080 2014-05-20 Will Newton <will.newton@linaro.org>
12081 Yvan Roux <yvan.roux@linaro.org>
12083 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12084 #include of asm/ptrace.h.
12085 (PTRACE_GET_THREAD_AREA): Remove #undef.
12086 (PTRACE_GETHBPREGS): Likewise.
12087 (PTRACE_SETHBPREGS): Likewise.
12088 (struct user_regs_struct): New structure.
12089 (struct user_fpsimd_struct): New structure.
12090 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12091 #include of asm/ptrace.h and second #include of sys/user.h.
12092 (PTRACE_GET_THREAD_AREA): Remove #undef.
12093 (PTRACE_GETHBPREGS): Likewise.
12094 (PTRACE_SETHBPREGS): Likewise.
12095 (ELF_NGREG): Use new struct user_regs_struct.
12096 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12098 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12100 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12103 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12107 membar to avoid block loads/stores to overlap previous stores.
12109 2014-05-17 Richard Henderson <rth@redhat.com>
12111 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12112 Create the __##syscall_name##_nocancel entry point.
12113 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12114 Remove; let the sysdep-cancel.h code create it.
12116 2014-05-17 David S. Miller <davem@davemloft.net>
12118 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12119 Protect with __USE_GNU.
12120 (TIOCSET_TEMPT): Likewise.
12121 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12122 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12123 these are already provided in bits/ioctl-types.h
12125 2014-05-16 Roland McGrath <roland@hack.frob.com>
12127 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12128 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12130 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12131 Use wait4 regardless of [__NR_waitpid].
12133 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12136 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12137 (_FP_NANSIGN_Q): Set the quiet bit.
12139 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12141 * benchtests/Makefile
12142 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12143 not $(common-objpfx)math/libm.so.
12144 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12145 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12146 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12147 $(common-objpfx)dlfcn/libdl.so.
12148 ($(objpfx)tst-audit8): Depend on $(libm), not
12149 $(common-objpfx)math/libm.so.
12150 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12151 not $(common-objpfx)dlfcn/libdl.so.
12153 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12154 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12155 [$(build-shared) = yes].
12156 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12157 $(common-objpfx)nptl/libpthread.so.
12158 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12159 $(common-objpfx)math/libm.so$(libm.so-version) or
12160 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12161 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12162 $(common-objpfx)dlfcn/libdl.so.
12163 * setjmp/Makefile (link-libm): Remove variable.
12164 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12165 * stdio-common/Makefile (link-libm): Remove variable.
12166 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12167 * stdlib/Makefile (link-libm): Remove variable.
12168 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12169 ($(objpfx)tst-strtod-round): Likewise.
12170 ($(objpfx)tst-tininess): Likewise.
12171 ($(objpfx)tst-strtod-underflow): Likewise.
12172 ($(objpfx)tst-strtod6): Likewise.
12173 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12174 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12175 $(common-objpfx)dlfcn/libdl.so.
12177 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12179 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12180 BSD terminal modes definitions.
12182 2014-05-16 Roland McGrath <roland@hack.frob.com>
12184 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12185 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12187 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12188 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12189 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12190 Don't do #include_next.
12191 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12192 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12193 Don't do #include_next.
12194 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12195 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12196 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12197 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12199 2014-05-16 Allan McRae <allan@archlinux.org>
12201 * po/sv.po: Update Swedish translation from translation project.
12203 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12206 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12209 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12210 errno if the TIOCGPTN ioctl fails with an error different than
12212 * login/tst-ptsname.c: New file.
12213 * login/Makefile (tests): Add tst-ptsname.
12216 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12219 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12223 herrno to return EAI_AGAIN.
12225 2014-05-14 Roland McGrath <roland@hack.frob.com>
12227 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12228 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12229 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12230 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12231 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12232 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12233 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12234 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12236 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12237 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12238 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12239 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12240 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12241 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12242 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12243 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12244 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12245 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12246 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12247 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12248 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12249 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12250 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12251 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12252 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12253 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12254 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12255 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12256 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12258 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12260 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12263 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12265 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12267 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12269 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12271 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12273 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12275 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12277 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12279 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12281 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12283 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12285 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12287 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12289 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12292 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12294 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12296 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12298 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12300 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12302 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12304 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12306 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12308 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12310 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12313 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12315 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12317 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12318 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12319 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12320 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12321 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12322 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12323 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12324 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12325 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12326 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12327 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12328 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12329 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12330 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12331 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12332 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12333 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12334 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12335 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12336 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12337 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12338 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12339 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12340 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12341 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12342 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12343 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12344 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12345 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12346 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12347 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12349 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12350 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12352 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12353 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12354 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12355 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12356 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12360 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12362 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12363 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12365 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12366 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12369 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12370 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12371 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12373 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12374 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12375 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12376 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12377 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12378 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12379 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12382 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12383 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12387 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12388 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12389 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12390 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12393 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12398 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12399 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12400 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12401 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12404 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12405 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12407 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12408 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12410 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12411 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12413 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12414 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12415 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12416 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12418 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12419 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12420 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12421 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12422 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12423 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12424 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12427 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12428 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12430 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12432 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12433 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12434 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12435 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12443 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12444 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12445 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12446 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12448 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12450 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12451 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12453 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12456 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12457 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12459 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12460 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12462 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12463 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12464 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12465 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12466 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12467 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12469 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12470 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12471 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12472 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12473 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12474 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12475 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12478 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12479 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12483 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12484 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12485 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12486 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12489 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12491 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12493 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12494 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12495 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12496 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12497 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12498 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12499 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12500 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12501 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12502 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12503 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12505 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12506 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12508 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12509 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12511 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12512 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12513 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12515 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12517 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12519 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12521 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12522 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12523 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12524 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12525 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12526 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12527 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12528 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12530 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12531 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12532 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12533 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12535 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12536 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12537 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12538 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12539 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12540 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12541 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12545 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12549 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12550 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12551 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12552 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12553 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12554 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12555 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12556 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12557 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12558 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12559 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12560 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12561 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12562 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12563 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12565 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12566 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12567 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12568 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12569 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12571 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12572 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12573 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12574 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12575 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12576 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12577 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12578 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12579 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12580 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12582 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12583 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12585 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12586 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12587 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12588 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12589 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12590 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12591 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12592 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12593 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12594 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12595 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12596 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12597 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12598 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12619 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12621 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12622 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12624 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12625 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12626 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12627 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12628 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12630 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12632 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
12635 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12636 that was previously under [RESET_PID].
12637 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12638 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12639 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12641 * sysdeps/i386/nptl/Implies: New file.
12642 * sysdeps/x86_64/nptl/Implies: New file.
12643 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12644 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12645 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12646 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12648 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12649 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12650 (__libc_vfork): New strong alias.
12651 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12652 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12654 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12655 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12656 (__libc_vfork): New strong alias.
12657 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12658 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12660 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12661 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12662 (__libc_vfork): New strong alias.
12663 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12664 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12665 * nptl/pt-vfork.c: New file.
12666 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12667 (libpthread: GLIBC_2.20): New version set (empty).
12669 2014-05-14 Will Newton <will.newton@linaro.org>
12671 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12674 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12677 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12678 arguments with exponent 65 or above.
12679 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12680 arguments 0x1p113L or above.
12681 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12682 to arguments 0x1p107L or above.
12683 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12684 positive arguments with exponent 65 or above.
12685 * math/auto-libm-test-in: Add more tests of log1p.
12686 * math/auto-libm-test-out: Regenerated.
12689 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12690 non-finite arguments is +0.
12691 * math/s_cacosf.c (__cacosf): Likewise.
12692 * math/s_cacosl.c (__cacosl): Likewise.
12693 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12694 * sysdeps/i386/fpu/libm-test-ulps: Update.
12695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12698 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12700 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12701 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12702 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12703 for explicit high bit of mantissa when testing for argument equal
12705 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12706 * sysdeps/i386/fpu/libm-test-ulps: Update.
12707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12710 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12711 (__erf): Scale by 16 instead of 8 in potentially underflowing
12712 case. Ensure exception if result actually underflows.
12713 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12714 (__erff): Scale by 16 instead of 8 in potentially underflowing
12715 case. Ensure exception if result actually underflows.
12716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12717 (efx8): Remove variable.
12718 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12719 case. Ensure exception if result actually underflows.
12720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12721 (efx8): Remove variable.
12722 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12723 case. Ensure exception if result actually underflows.
12724 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12725 (efx8): Remove variable.
12726 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12727 case. Ensure exception if result actually underflows.
12728 * math/auto-libm-test-in: Add more tests of erf.
12729 * math/auto-libm-test-out: Regenerated.
12731 2014-05-14 Andreas Schwab <schwab@suse.de>
12733 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12734 Remove code conditionalized on USE___THREAD.
12736 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12737 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12740 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12743 Define unconditionally.
12744 (__ASSUME_O_CLOEXEC): Likewise.
12745 (__ASSUME_SOCK_CLOEXEC): Likewise.
12746 (__ASSUME_IN_NONBLOCK): Likewise.
12747 (__ASSUME_PIPE2): Likewise.
12748 (__ASSUME_EVENTFD2): Likewise.
12749 (__ASSUME_SIGNALFD4): Likewise.
12750 (__ASSUME_DUP3): Likewise.
12751 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12752 (__ASSUME_DUP3): Do not define.
12753 (__ASSUME_EVENTFD2): Likewise.
12754 (__ASSUME_IN_NONBLOCK): Likewise.
12755 (__ASSUME_O_CLOEXEC): Likewise.
12756 (__ASSUME_PIPE2): Likewise.
12757 (__ASSUME_SIGNALFD4): Likewise.
12758 (__ASSUME_SOCK_CLOEXEC): Likewise.
12759 (__ASSUME_UTIMES): Undefine.
12760 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12761 (__ASSUME_UTIMES): Do not define.
12762 (__ASSUME_O_CLOEXEC): Likewise.
12763 (__ASSUME_SOCK_CLOEXEC): Likewise.
12764 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12765 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12767 (__ASSUME_PIPE2): Likewise.
12768 (__ASSUME_EVENTFD2): Likewise.
12769 (__ASSUME_SIGNALFD4): Likewise.
12770 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12771 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12773 (__ASSUME_EVENTFD2): Likewise.
12774 (__ASSUME_SIGNALFD4): Likewise.
12775 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12776 (__ASSUME_32BITUIDS): Likewise.
12777 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12778 (__ASSUME_IPC64): Likewise.
12779 (__ASSUME_ST_INO_64_BIT): Likewise.
12780 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12781 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12782 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12783 (__ASSUME_UTIMES): Do not define.
12784 (__ASSUME_PSELECT): Likewise.
12785 (__ASSUME_PPOLL): Likewise.
12786 (__ASSUME_O_CLOEXEC): Likewise.
12787 (__ASSUME_SOCK_CLOEXEC): Likewise.
12788 (__ASSUME_IN_NONBLOCK): Likewise.
12789 (__ASSUME_PIPE2): Likewise.
12790 (__ASSUME_EVENTFD2): Likewise.
12791 (__ASSUME_SIGNALFD4): Likewise.
12792 (__ASSUME_DUP3): Likewise.
12793 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12794 (__ASSUME_UTIMES): Likewise.
12795 (__ASSUME_O_CLOEXEC): Likewise.
12796 (__ASSUME_SOCK_CLOEXEC): Likewise.
12797 (__ASSUME_IN_NONBLOCK): Likewise.
12798 (__ASSUME_PIPE2): Likewise.
12799 (__ASSUME_EVENTFD2): Likewise.
12800 (__ASSUME_SIGNALFD4): Likewise.
12801 (__ASSUME_DUP3): Likewise.
12802 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12803 (__ASSUME_UTIMES): Likewise.
12804 (__ASSUME_O_CLOEXEC): Likewise.
12805 (__ASSUME_SOCK_CLOEXEC): Likewise.
12806 (__ASSUME_IN_NONBLOCK): Likewise.
12807 (__ASSUME_PIPE2): Likewise.
12808 (__ASSUME_EVENTFD2): Likewise.
12809 (__ASSUME_SIGNALFD4): Likewise.
12810 (__ASSUME_DUP3): Likewise.
12811 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12813 (__ASSUME_UTIMES): Likewise.
12814 (__ASSUME_EVENTFD2): Likewise.
12815 (__ASSUME_SIGNALFD4): Likewise.
12816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12817 (__ASSUME_O_CLOEXEC): Likewise.
12818 (__ASSUME_SOCK_CLOEXEC): Likewise.
12819 (__ASSUME_IN_NONBLOCK): Likewise.
12820 (__ASSUME_PIPE2): Likewise.
12821 (__ASSUME_EVENTFD2): Likewise.
12822 (__ASSUME_SIGNALFD4): Likewise.
12823 (__ASSUME_DUP3): Likewise.
12824 (__ASSUME_UTIMES): Undefine.
12826 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12827 feclearexcept. Remove symbol versioning code.
12828 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12829 symbol versioning code.
12830 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12831 symbol versioning code.
12832 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12833 feupdateenv. Remove symbol versioning code.
12834 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12835 fegetexceptflag. Remove symbol versioning code.
12836 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12837 fesetexceptflag. Remove symbol versioning code.
12838 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12839 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12840 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12841 (__posix_fadvise64_l32): Remove prototype.
12842 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12845 2014-05-13 Roland McGrath <roland@hack.frob.com>
12847 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12848 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12849 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12850 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12852 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12854 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12855 current working directory
12857 2014-05-13 Roland McGrath <roland@hack.frob.com>
12859 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12860 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12861 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12862 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12863 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12864 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12865 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12866 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12867 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12868 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12869 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12870 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12871 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12872 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12873 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12874 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12875 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12876 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12877 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12878 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12879 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12880 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12881 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12882 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12883 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12884 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12885 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12886 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12887 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12888 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12889 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12890 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12891 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12892 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12893 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12894 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12895 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12896 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12897 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12898 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12899 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12900 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12902 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12903 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12905 * sysdeps/unix/sysv/linux/arm/Makefile
12906 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12907 Add rt-aeabi_unwind_cpp_pr1.
12908 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12909 Add nptl-aeabi_unwind_cpp_pr1.
12910 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12911 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12912 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12913 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12914 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12915 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12917 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12918 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12919 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12920 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12922 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12923 Deconditionalize the code that was previously under [RESET_PID].
12924 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12926 * sysdeps/generic/exit-thread.h: New file.
12927 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12928 * include/unistd.h (__exit_thread): Remove declaration.
12929 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12930 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12931 * csu/libc-start.c: Include <exit-thread.h>.
12932 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12933 * nptl/pthread_create.c: Include <exit-thread.h>.
12934 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12935 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12936 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12937 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12938 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12939 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12940 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12941 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12942 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12943 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12944 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12945 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12946 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12947 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12948 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12949 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12950 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12952 2014-05-13 Andreas Schwab <schwab@suse.de>
12954 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12956 2014-05-12 Joseph Myers <joseph@codesourcery.com>
12958 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12959 (__ASSUME_UTIMES): Do not condition on kernel version.
12960 (__ASSUME_PSELECT): Define unconditionally.
12961 (__ASSUME_PPOLL): Likewise.
12962 (__ASSUME_ATFCTS): Likewise.
12963 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12964 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12965 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12966 (__ASSUME_UTIMENSAT): Define unconditionally.
12967 (__ASSUME_PRIVATE_FUTEX): Likewise.
12968 (__ASSUME_FALLOCATE): Likewise.
12969 (__ASSUME_O_CLOEXEC): Likewise.
12970 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12971 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12972 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12973 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12974 (__ASSUME_IN_NONBLOCK): Likewise.
12975 (__ASSUME_PIPE2): Likewise.
12976 (__ASSUME_EVENTFD2): Likewise.
12977 (__ASSUME_SIGNALFD4): Likewise.
12978 (__ASSUME_DUP3): Likewise.
12979 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12980 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12981 (__ASSUME_AT_RANDOM): Likewise.
12982 (__ASSUME_PREADV): Likewise.
12983 (__ASSUME_PWRITEV): Likewise.
12984 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12985 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12986 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12987 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12988 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12989 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12990 (__ASSUME_O_CLOEXEC): Define unconditionally.
12991 (__ASSUME_PSELECT): Do not undefine conditionally.
12992 (__ASSUME_PPOLL): Likewise.
12993 (__ASSUME_ATFCTS): Likewise.
12994 (__ASSUME_SET_ROBUST_LIST): Likewise.
12995 (__ASSUME_UTIMENSAT): Likewise.
12996 (__ASSUME_FDATASYNC): Define unconditionally.
12997 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12998 (__ASSUME_SIGFRAME_V2): Likewise.
12999 )__ASSUME_EVENTFD2): Likewise.
13000 (__ASSUME_SIGNALFD4): Likewise.
13001 (__ASSUME_PSELECT): Do not undefine conditionally.
13002 (__ASSUME_PPOLL): Likewise.
13003 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13004 (__ASSUME_PSELECT): Define unconditionally.
13005 (__ASSUME_PPOLL): Likewise.
13006 (__ASSUME_O_CLOEXEC): Likewise.
13007 (__ASSUME_SOCK_CLOEXEC): Likewise.
13008 (__ASSUME_IN_NONBLOCK): Likewise.
13009 (__ASSUME_PIPE2): Likewise.
13010 (__ASSUME_EVENTFD2): Likewise.
13011 (__ASSUME_SIGNALFD4): Likewise.
13012 (__ASSUME_DUP3): Likewise.
13013 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13014 (__ASSUME_O_CLOEXEC): Likewise.
13015 (__ASSUME_SOCK_CLOEXEC): Likewise.
13016 (__ASSUME_IN_NONBLOCK): Likewise.
13017 (__ASSUME_PIPE2): Likewise.
13018 (__ASSUME_EVENTFD2): Likewise.
13019 (__ASSUME_SIGNALFD4): Likewise.
13020 (__ASSUME_DUP3): Likewise.
13021 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13022 (__ASSUME_EVENTFD2): Likewise.
13023 (__ASSUME_SIGNALFD4): Likewise.
13024 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13026 2014-05-12 Andreas Schwab <schwab@suse.de>
13029 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13030 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13031 than maximum RPC packet size.
13032 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13033 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13034 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13035 (_nss_nis_getservbyport_r): Likewise.
13037 2014-05-12 Will Newton <will.newton@linaro.org>
13039 * malloc/Makefile (tests): Add tst-mallopt.
13040 * malloc/tst-mallopt.c: New file.
13042 2014-05-09 Roland McGrath <roland@hack.frob.com>
13044 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13045 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13047 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13049 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13050 (tst-tlsmod6.so): Likewise.
13052 2014-05-09 Roland McGrath <roland@hack.frob.com>
13054 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13056 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13059 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13060 and <dl-procinfo.h>.
13061 (__fegetenv): Save SSE state in envp->__eip if supported.
13062 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13063 envp->__eip if supported.
13064 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13065 and <dl-procinfo.h>.
13066 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13067 __data_offset and __data_selector in environment to 0. Set SSE
13068 state if supported.
13069 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13071 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13073 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13075 2014-05-09 Will Newton <will.newton@linaro.org>
13077 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13078 and libc_relro_required for ARM.
13079 * sysdeps/arm/preconfigure: Regenerate.
13081 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13082 Stefan Liebler <stli@linux.vnet.ibm.com>
13084 * config.make.in (enable-lock-elision): New Makefile variable.
13085 * configure.ac: Likewise.
13086 * configure: Regenerate.
13087 * sysdeps/s390/configure.ac:
13088 Add check for gcc transactions support.
13089 * sysdeps/s390/configure: Regenerate.
13090 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13091 Build elision files if enabled.
13092 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13093 Add lock elision support for s390.
13094 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13095 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13096 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13097 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13098 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13099 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13100 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13102 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13104 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13106 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13108 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13109 (__lll_timedlock_elision, __lll_lock_elision)
13110 (__lll_unlock_elision, __lll_trylock_elision)
13111 (lll_timedlock_elision, lll_lock_elision)
13112 (lll_unlock_elision, lll_trylock_elision): Add.
13113 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13114 (pthread_mutex_t): Add lock elision support for s390.
13116 2014-05-14 Wilco <wdijkstr@arm.com>
13118 * sysdeps/arm/fclrexcpt.c: Cleanup.
13119 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13120 * sysdeps/arm/feenablxcpt.c: Cleanup.
13121 * sysdeps/arm/fegetenv.c: Cleanup.
13122 * sysdeps/arm/fegetexcept.c: Cleanup.
13123 * sysdeps/arm/fegetround.c: Cleanup.
13124 * sysdeps/arm/feholdexcpt.c: Cleanup.
13125 * sysdeps/arm/fesetenv.c: Cleanup.
13126 * sysdeps/arm/fesetround.c: Cleanup.
13127 * sysdeps/arm/feupdateenv.c: Cleanup.
13128 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13129 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13130 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13131 * sysdeps/arm/ftestexcept.c: Cleanup.
13132 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13133 * sysdeps/arm/setfpucw.c: Cleanup.
13135 2014-05-09 Will Newton <will.newton@linaro.org>
13137 * sysdeps/arm/armv7/strcmp.S: New file.
13138 * NEWS: Mention addition of ARMv7 optimized strcmp.
13140 2014-05-08 Roland McGrath <roland@hack.frob.com>
13142 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13143 look for %.ac rather than %.in.
13145 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13146 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13147 * sysdeps/mach/hurd/configure: Regenerated.
13148 * sysdeps/unix/sysv/linux/configure: Regenerated.
13150 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13152 2014-05-07 Steve Ellcey <sellcey@mips.com>
13155 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13159 2014-05-07 Andreas Schwab <schwab@suse.de>
13161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13162 when skipping over non-matching result from nscd.
13164 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13167 * nptl/sockperf.c (client): Check socket return value.
13170 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13171 nscd security class.
13173 2014-05-06 Roland McGrath <roland@hack.frob.com>
13175 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13176 * sysdeps/arm/unwind.h: ... here.
13178 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13181 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13184 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13186 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13187 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13188 multiarch strncpy for PPC64.
13189 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13190 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13192 multiarch optimizations.
13193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13194 (__libc_ifunc_impl_list): Likewise.
13195 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13196 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13197 multiarch stpncpy for PPC64.
13198 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13199 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13201 2014-05-06 Andreas Schwab <schwab@suse.de>
13204 * gmon/mcount.c (_MCOUNT_DECL): Use
13205 atomic_compare_and_exchange_bool_acq instead of
13206 catomic_compare_and_exchange_bool_acq.
13208 2014-05-05 Roland McGrath <roland@hack.frob.com>
13210 * elf/Makefile (others, install-bin): Remove pldd.
13211 (pldd-modules): Variable removed.
13212 ($(objpfx)pldd): Target removed.
13213 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13214 (others, install-bin): Append pldd here.
13215 ($(objpfx)pldd): New target.
13217 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13218 to 0, so the first #if test emitted later doesn't see it undefined.
13219 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13220 * sysdeps/gnu/errlist.c: Regenerated.
13222 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13224 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13225 [libc_hidden_builtin_def]: Define to empty value.
13226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13227 [libc_hidden_builtin_def]: Likewise.
13228 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13229 [libc_hidden_builtin_def]: Likewise.
13230 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13231 [libc_hidden_builtin_def]: Likewise.
13232 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13233 __redirect_memcpy and define ifunc as default hidden symbol.
13234 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13235 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13237 2014-05-04 Adam Conrad <adconrad@0c3.net>
13239 * locale/iso-4217.def: Reintroduce XDR currency.
13241 2014-05-04 Allan McRae <allan@archlinux.org>
13243 * po/eo.po: Update Esperanto translation from translation project.
13245 2014-05-02 Carlos O'Donell <carlos@redhat.com>
13247 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13248 and FEATURE_INDEX_MAX to 1.
13249 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13251 2014-05-01 Steve Ellcey <sellcey@mips.com>
13253 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13254 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13255 * iconvdata/big5.c (ONE_DIRECTION): Define.
13256 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13257 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13258 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13259 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13260 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13261 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13262 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13263 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13264 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13265 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13266 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13267 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13268 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13269 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13270 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13271 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13272 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13273 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13274 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13275 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13276 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13277 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13278 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13279 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13280 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13281 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13282 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13283 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13284 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13285 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13286 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13287 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13288 * iconvdata/johab.c (ONE_DIRECTION): Define.
13289 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13290 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13291 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13292 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13293 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13294 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13295 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13296 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13297 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13298 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13300 2014-05-01 Roland McGrath <roland@hack.frob.com>
13302 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13303 (_IO_JUMPS_OFFSET): Define to 0.
13305 * nptl/sysdeps/pthread/bits/libc-lock.h
13306 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13307 (__libc_lock_define_initialized_recursive): Always define using
13308 initializer. Modern compilers treat uninitialized (implicit zero) and
13309 explicit zero initializers the same (i.e. put the datum in bss).
13311 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13313 * nscd/nscd-client.h: Include <string.h>.
13315 2014-05-01 David S. Miller <davem@davemloft.net>
13318 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13319 multiple zero bytes exist at the end of a string.
13320 Reported by Aurelien Jarno <aurelien@aurel32.net>
13322 * string/test-strcmp.c (check): Add explicit test for situations where
13323 there are multiple zero bytes after the first.
13325 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13328 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13329 when compiling wprintf.
13330 * stdio-common/tstdiomisc.c (t3): New function.
13333 2014-05-01 Steve Ellcey <sellcey@mips.com>
13335 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13336 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13337 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13338 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13340 2014-05-01 Steve Ellcey <sellcey@mips.com>
13342 * stdlib/longlong.h: Updated from GCC.
13344 2014-05-01 Will Newton <will.newton@linaro.org>
13345 Bernard Ogden <bernie.ogden@linaro.org>
13347 * NEWS: Update fixed bug list.
13350 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13352 2014-04-30 David S. Miller <davem@davemloft.net>
13354 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13355 (libc_feholdexcept_setround_sparc_ctx): New function.
13356 (libc_fesetenv_sparc_ctx): Likewise.
13357 (libc_feupdateenv_sparc_ctx): Likewise.
13358 (libc_feholdsetround_sparc_ctx): Likewise.
13359 (libc_feholdexcept_setround_ctx): Define.
13360 (libc_feholdexcept_setroundf_ctx): Likewise.
13361 (libc_feholdexcept_setroundl_ctx): Likewise.
13362 (libc_fesetenv_ctx): Likewise.
13363 (libc_fesetenvf_ctx): Likewise.
13364 (libc_fesetenvl_ctx): Likewise.
13365 (libc_feupdateenv_ctx): Likewise.
13366 (libc_feupdateenvf_ctx): Likewise.
13367 (libc_feupdateenvl_ctx): Likewise.
13368 (libc_feresetround_ctx): Likewise.
13369 (libc_feresetroundf_ctx): Likewise.
13370 (libc_feresetroundl_ctx): Likewise.
13371 (libc_feholdsetround_ctx): Likewise.
13372 (libc_feholdsetroundf_ctx): Likewise.
13373 (libc_feholdsetroundl_ctx): Likewise.
13375 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13376 with __USE_GNU instead of XOPEN cpp guards.
13378 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13381 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13382 with XOPEN cpp guards.
13384 2014-04-30 Julian Brown <julian@codesourcery.com>
13387 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13390 2014-04-30 Joseph Myers <joseph@codesourcery.com>
13393 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13395 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13396 * sysdeps/unix/sysv/linux/configure: Regenerated.
13397 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13398 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13399 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13400 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13401 * README: Update reference to required Linux kernel version.
13402 * manual/install.texi (Linux): Update reference to required Linux
13403 kernel headers version.
13404 * INSTALL: Regenerated.
13406 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13408 [POSIX] (limits.h): Likewise.
13409 [POSIX] (math.h): Likewise.
13410 [POSIX] (sys/wait.h): Likewise.
13411 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13413 [POSIX] (stddef.h): Do not allow header inclusion.
13415 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13417 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13419 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13421 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13422 Return immediately after lll_futex_wake.
13424 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13427 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13429 (datahead_init_pos): Call datahead_init_common early.
13430 (datahead_init_neg): Likewise.
13432 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13433 datahead_init_neg): New functions.
13434 * nscd/aicache.c (addhstaiX): Use them.
13435 * nscd/grpcache.c (cache_addgr): Likewise.
13436 * nscd/hstcache.c (cache_addhst): Likewise.
13437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13438 * nscd/netgroupcache.c (do_notfound): Likewise.
13439 (addgetnetgrentX): Likewise.
13440 (addinnetgrX): Likewise.
13441 * nscd/pwdcache.c (cache_addpw): Likewise.
13442 * nscd/servicescache.c (cache_addserv): Likewise.
13444 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13445 Atsushi Onoe <atsushi@onoe.org>
13450 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13451 one response is valid.
13452 * resolv/res_send.c (send_dg): Check for validity of other
13453 response if the current response is a referral.
13455 2014-04-29 Steve Ellcey <sellcey@mips.com>
13457 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13459 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13462 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13463 Always divide by positive zero when computing -Inf result.
13464 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13465 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13467 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13469 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13470 FPSCR if value do not change.
13471 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13472 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13473 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13474 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13475 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13476 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13479 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13481 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13482 * sysdeps/unix/sysv/linux/hppa: Move directory from
13483 ports/systeps/unix/sysv/linux/hppa.
13484 * README: Update listing for hppa-*-linux-gnu.
13486 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
13489 * manual/stdio.texi (Hook functions): Fix types of stream hook
13492 * socket/sys/socket.h: Fix typo in comment.
13494 2014-04-28 Wilco <wdijkstr@arm.com>
13496 * sysdeps/arm/fenv_private.h: New file.
13497 * sysdeps/arm/math_private.h: New file.
13498 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13500 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13502 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13504 (La_x86_64_retval): Likewise.
13506 2014-04-24 Ian Bolton <ian.bolton@arm.com>
13508 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13509 fpsr if value didn't change.
13510 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13511 to fpcr if value didn't change.
13512 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13513 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13514 fpsr or fpcr if value didn't change.
13515 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13516 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13517 fpcr if value didn't change.
13518 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13519 to fpsr if value didn't change.
13521 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13523 * nptl/tst-sem3.c: Use test-skeleton.c
13524 (main): Rename to do_test. Use return instead of
13526 * nptl/tst-sem4.c: Use test-skeleton.c
13527 (main): Rename to do_test.
13529 2014-04-22 David S. Miller <davem@davemloft.net>
13531 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13532 (struct sigaction): New struct member __glibc_reserved0, change
13533 type of sa_flags to int.
13535 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13537 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13538 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13540 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13542 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13543 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13545 2014-04-22 Will Newton <will.newton@linaro.org>
13546 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13548 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13549 (__longjmp): Add longjmp and longjmp_target SystemTap
13551 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13552 (__sigsetjmp): Add setjmp SystemTap probe.
13554 2014-04-17 Carlos O'Donell <carlos@redhat.com>
13556 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13557 match manual order.
13559 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13561 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13563 * sysdeps/powerpc/fpu/fenv_private.h
13564 (libc_feholdexcept_setroundl_ctx): Define to
13565 libc_feholdexcept_setround_ppc_ctx.
13566 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13567 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13568 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13569 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13571 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13573 * sysdeps/aarch64/math-tests.h: New file.
13575 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13577 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13580 Check and set bit_AVX2_Usable.
13581 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13583 (bit_AVX2): Likewise.
13584 (index_AVX2_Usable): Likewise.
13585 (CPUID_AVX2): Likewise.
13586 (HAS_AVX2): Likewise.
13588 2014-04-17 Will Newton <will.newton@linaro.org>
13590 * manual/setjmp.texi (System V contexts): Add note that
13591 calling setcontext on a context created by a call to a
13592 signal handler is undefined. Update text to note that
13593 setcontext from a signal handler is possible but not
13597 * stdlib/tst-setcontext.c: Include signal.h.
13598 (main): Check that the signal stack before and
13599 after swapcontext is the same.
13601 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13602 Re-implement to restore registers in user code and avoid
13603 rt_sigreturn system call.
13605 2014-04-17 Wilco <wdijkstr@arm.com>
13607 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13608 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13609 * math/test-fenv.c: Skip exception trap tests on targets which only
13610 support non-stop mode.
13612 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13613 Wilco Dijkstra <wilco.dijkstra@arm.com>
13615 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13616 (libc_feholdsetround_aarch64_ctx)
13617 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13618 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13619 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13620 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13621 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13622 (libc_feresetround_noexl_ctx): Define.
13624 2014-04-16 Richard Henderson <rth@redhat.com>
13626 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13628 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13631 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13632 const from the non-libc, non-ldso copy.
13634 * sysdeps/alpha/libm-test-ulps: Regenerate.
13636 2014-04-16 Ian Bolton <ian.bolton@arm.com>
13637 Wilco Dijkstra <wilco.dijkstra@arm.com>
13639 * sysdeps/aarch64/fpu/math_private.h: New file.
13641 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13643 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13645 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13648 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13649 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13650 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13651 Intel MPX bound registers before _dl_profile_fixup.
13652 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13653 registers after _dl_profile_fixup. Save and restore bound
13654 registers bnd0/bnd1 when calling _dl_call_pltexit.
13655 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13656 (LR_BND_OFFSET): Likewise.
13657 (LRV_BND0_OFFSET): Likewise.
13658 (LRV_BND1_OFFSET): Likewise.
13660 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13662 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13664 * sysdeps/mach/hurd/i386/tls.h: ... here.
13665 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13666 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13669 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13671 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13673 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13675 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13677 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13680 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13681 * sysdeps/s390/configure: Regenerate.
13684 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13685 Set round-to-nearest internally to reduce error accumulation.
13687 2014-04-16 Alan Modra <amodra@gmail.com>
13691 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13692 * math/libm-test.inc (frexp_test_data): Add tests.
13693 * NEWS: Update fixed bug list.
13695 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13697 * benchtests/Makefile: Depend on libraries in build directory.
13698 (bench-math): Separate out math tests.
13699 (bench-pthread): Separate out pthread tests.
13700 (bench): Include math and pthread tests.
13702 2014-04-14 Carlos O'Donell <carlos@redhat.com>
13705 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13706 _dl_debug_initialize.
13708 * configure.ac: Remove SELinux header check.
13709 * configure: Regenerate.
13710 * nscd/selinux.c (perms): Array of const char* to permission names.
13711 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13712 default policy. Call string_to_security_class and string_to_av_perm to
13713 translate strings. Enforce default policy and call avs_has_perm with
13714 results of translated strings.
13716 2014-04-13 David S. Miller <davem@davemloft.net>
13718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13720 2014-04-12 Allan McRae <allan@archlinux.org>
13723 * manual/string.texi (Collation Functions): Fix qsort argument
13725 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13727 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13729 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13730 Make the test a no-op if there are no exceptions defined.
13732 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13734 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13735 enable-hardcoded-path-in-tests
13737 2014-04-11 Will Newton <will.newton@linaro.org>
13739 * benchtests/Makefile (extra-objs): Add json-lib.o.
13740 (bench-func): Tidy up JSON output.
13741 * benchtests/bench-skeleton.c: Include json-lib.h.
13742 (main): Use JSON library functions to do output of
13744 * benchtests/bench-timing-type.c (main): Output the
13745 timing type simply, leaving formatting to the user.
13746 * benchtests/json-lib.c: New file.
13747 * benchtests/json-lib.h: Likewise.
13749 2014-04-11 Torvald Riegel <triegel@redhat.com>
13752 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13753 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13754 memory barriers. Add comments.
13755 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13756 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13757 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13758 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13759 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13760 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13762 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13764 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13765 * sysdeps/s390/s390-64/configure.ac: ... this ...
13766 * sysdeps/s390/configure.ac: ... to here.
13767 * sysdeps/s390/s390-32/configure: Delete file.
13768 * sysdeps/s390/s390-64/configure: Delete file.
13769 * sysdeps/s390/configure: Regenerate.
13771 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13773 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13775 2014-04-11 Will Newton <will.newton@linaro.org>
13777 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13778 to zero if it is not defined elsewhere. (mtrim): Test
13779 the value of MALLOC_DEBUG with #if rather than #ifdef.
13781 2014-04-10 Torvald Riegel <triegel@redhat.com>
13783 * benchtests/pthread_once-inputs: New file.
13784 * benchtests/pthread_once-source.c: New file.
13785 * benchtests/README: Update documentation.
13787 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13788 H.J. Lu <hongjiu.lu@intel.com>
13791 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13792 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13793 * sysdeps/x86_64/configure: Regenerated.
13794 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13796 (REGISTER_SAVE_RAX): Likewise.
13797 (REGISTER_SAVE_RCX): Likewise.
13798 (REGISTER_SAVE_RDX): Likewise.
13799 (REGISTER_SAVE_RSI): Likewise.
13800 (REGISTER_SAVE_RDI): Likewise.
13801 (REGISTER_SAVE_R8): Likewise.
13802 (REGISTER_SAVE_R9): Likewise.
13803 (REGISTER_SAVE_BND0): Likewise.
13804 (REGISTER_SAVE_BND1): Likewise.
13805 (REGISTER_SAVE_BND2): Likewise.
13806 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13807 bound registers when calling _dl_fixup.
13809 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13811 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13812 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13814 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13815 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13816 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13817 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13818 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13819 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13820 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13822 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13825 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13826 pathconf(_PC_NAME_MAX).
13828 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13830 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13831 Remove macro usage.
13832 (__PTHREAD_SPINS): Move definition to ...
13833 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13834 (__PTHREAD_SPINS): ... here.
13835 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13836 (__PTHREAD_SPIN): Likewise.
13837 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13838 (__PTHREAD_SPIN): Likewise.
13839 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13840 (__PTHREAD_SPIN): Likewise.
13841 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13842 (__PTHREAD_SPIN): Likewise.
13843 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13844 (__PTHREAD_SPIN): Likewise.
13845 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13846 (__PTHREAD_SPIN): Likewise.
13847 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13848 (__PTHREAD_SPIN): Likewise.
13849 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13850 (__PTHREAD_SPIN): Likewise.
13851 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13852 (__PTHREAD_SPIN): Likewise.
13853 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13854 (__PTHREAD_SPIN): Likewise.
13855 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13856 (__PTHREAD_SPIN): Likewise.
13857 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13858 (__PTHREAD_SPIN): Likewise.
13860 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13861 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13862 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13863 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13865 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13866 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13867 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13868 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13869 correct imply path.
13870 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13871 strlen symbol for non multi-arch builds.
13872 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13873 missing hidden_def and weak_alias.
13875 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13877 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13879 2014-04-07 Will Newton <will.newton@linaro.org>
13881 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13882 and contents. [!_LIBC] Remove #ifndef and contents.
13883 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13884 * string/memccpy.c (__memccpy): Use ANSI prototype.
13885 * string/memfrob.c (memfrob): Likewise.
13886 * string/strcoll.c (STRCOLL): Likewise.
13887 * string/strlen.c (strlen): Likewise.
13888 * string/strtok.c (STRTOK): Likewise.
13889 * string/strcat.c: Remove unused #include of memcopy.h.
13890 (strcat): Use ANSI prototype.
13891 * string/strchr.c: Remove unused #include of memcopy.h.
13892 (strchr): Use ANSI prototype.
13893 * string/strcmp.c: Remove unused #include of memcopy.h.
13894 (strcmp): Use ANSI prototype.
13895 * string/strcpy.c: Remove unused #include of memcopy.h.
13896 (strcpy): Use ANSI prototype.
13898 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13900 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13901 * config.make.in (config-extra-cppflags): Set it from
13902 libc_extra_cppflags.
13903 * configure.ac (libc_extra_cflags): Make it accumulate over
13904 configure fragments.
13905 (libc_extra_cppflags): New flag.
13906 * configure. Regenerate.
13907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13908 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13909 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13914 result for FE_DOWNWARD rounding mode.
13915 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13919 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13921 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13922 in function argument name.
13924 2014-04-03 David Svoboda <svoboda@cert.org>
13927 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13930 2014-04-03 Roland McGrath <roland@hack.frob.com>
13932 * elf/dl-unmap-segments.h: New file.
13933 * sysdeps/generic/ldsodefs.h
13934 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13935 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13936 * elf/dl-fptr.c: Likewise.
13937 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13938 * sysdeps/aarch64/tlsdesc.c: Likewise.
13939 * sysdeps/arm/tlsdesc.c: Likewise.
13940 * sysdeps/i386/tlsdesc.c: Likewise.
13941 * sysdeps/tile/dl-runtime.c: Likewise.
13942 * sysdeps/x86_64/tlsdesc.c: Likewise.
13943 * elf/dl-load.h: New file.
13944 * elf/dl-load.c: Include it.
13945 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13946 Macros moved to dl-load.h.
13947 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13948 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13949 Use _dl_unmap_segments in place of __munmap.
13950 Break out segment-mapping loop into ...
13951 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13953 2014-04-03 Will Newton <will.newton@linaro.org>
13955 * elf/dl-lookup.c (do_lookup_x): Remove comment
13956 referring to nested function and move variable
13957 declarations down to before first use.
13959 2014-04-02 Joseph Myers <joseph@codesourcery.com>
13963 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13965 * math/s_catanf.c (__catanf): Likewise.
13966 * math/s_catanh.c (__catanh): Likewise.
13967 * math/s_catanhf.c (__catanhf): Likewise.
13968 * math/s_catanhl.c (__catanhl): Likewise.
13969 * math/s_catanl.c (__catanl): Likewise.
13970 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13971 by positive zero when computing -Inf result.
13972 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13973 (catanh_test): Likewise.
13974 * sysdeps/i386/fpu/libm-test-ulps: Update.
13975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13978 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13979 instead of using underflowing value in computing result.
13980 * math/s_clog10.c (__clog10): Likewise.
13981 * math/s_clog10f.c (__clog10f): Likewise.
13982 * math/s_clog10l.c (__clog10l): Likewise.
13983 * math/s_clogf.c (__clogf): Likewise.
13984 * math/s_clogl.c (__clogl): Likewise.
13985 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13986 (clog10_test): Likewise.
13987 * sysdeps/i386/fpu/libm-test-ulps: Update.
13988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13990 2014-04-02 Alan Modra <amodra@gmail.com>
13993 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13994 output when value is near a power of two. Use int64_t for lx and
13995 remove casts. Use decimal rather than hex exponent constants.
13996 Don't use long double multiplication when double will suffice.
13997 * math/libm-test.inc (nextafter_test_data): Add tests.
13998 * NEWS: Add 16739 and 16786 to bug list.
14000 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14002 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14004 2014-04-01 Will Newton <will.newton@linaro.org>
14006 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14007 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14009 2014-04-01 Florian Weimer <fweimer@redhat.com>
14012 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14013 * nptl/tst-setuid2.c: New file.
14014 * nptl/Makefile (xtests): Add tst-setuid2.
14016 2014-04-01 Alan Modra <amodra@gmail.com>
14019 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14021 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14025 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14026 set errno as appropriate.
14027 * math/w_scalbf.c (__scalbf): Likewise.
14028 * math/w_scalbl.c (__scalbl): Likewise.
14029 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14030 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14031 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14032 Add more NaN tests.
14035 * math/w_atan2.c: Include <errno.h>.
14036 (__atan2): Set errno for result underflowing to zero.
14037 * math/w_atan2f.c: Include <errno.h>.
14038 (__atan2f): Set errno for result underflowing to zero.
14039 * math/w_atan2l.c: Include <errno.h>.
14040 (__atan2l): Set errno for result underflowing to zero.
14041 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14043 * math/auto-libm-test-out: Regenerated.
14045 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14047 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14048 Encode instruction correctly in little endian.
14049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14051 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14053 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14055 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14058 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14061 * sysdeps/unix/sysv/linux/kernel-features.h
14062 [__sparc__ && !__arch64__ && !__sparc_v9__]
14063 (__ASSUME_SET_ROBUST_LIST): Do not define.
14064 [__sparc__ && !__arch64__ && !__sparc_v9__]
14065 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14066 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14068 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14069 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14070 (__ASSUME_REQUEUE_PI): Likewise.
14071 (__ASSUME_SET_ROBUST_LIST): Likewise.
14072 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14073 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14075 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14076 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14078 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14080 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14082 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14083 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14085 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14086 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14090 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14091 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14092 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14094 2014-03-31 Will Newton <will.newton@linaro.org>
14096 * benchtests/Makefile (bench): Add ffs and ffsll to list
14098 * benchtests/ffs-inputs: New file.
14099 * benchtests/ffsll-inputs: Likewise.
14101 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14104 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14105 too large before casting to int.
14106 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14107 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14108 * math/libm-test.inc (scalb_test_data): Add more tests.
14110 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14112 * benchtests/Makefile (DETAILED_OPT): New make option.
14113 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14115 * benchtests/bench-skeleton.c: Include stdbool.h.
14116 (main): Store and print timings per input.
14117 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14118 member to each argument value.
14119 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14120 (_print_arg_data): Initialize per-input timing to 0.
14122 * benchtests/Makefile (timing-type): New binary.
14123 (bench-clean): Also remove bench-timing-type.
14124 (bench): New target for timing-type.
14125 (bench-func): Print output in JSON format.
14126 * benchtests/bench-skeleton.c (main): Print output in JSON
14128 * benchtests/bench-timing-type.c: New file.
14129 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14130 (TIMING_PRINT_STATS): Remove.
14131 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14134 * benchtests/bench-modf.c: Remove.
14135 * benchtests/modf-inputs: New inputs file.
14137 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14140 * math/s_clog10.c (M_PI_LOG10E): New macro.
14141 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14142 imaginary parts are 0.
14143 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14144 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14145 imaginary parts are 0.
14146 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14147 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14148 imaginary parts are 0.
14149 * math/libm-test.inc (clog10_test_data): Update expected results
14150 for when real and imaginary parts are 0.
14152 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14154 * elf/dl-load.c: Finish conversion of __builtin_expect into
14155 __glibc_{un}likely.
14157 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14160 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14161 1+x for argument with exponent below -67.
14162 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14164 * math/auto-libm-test-in: Add more tests of exp.
14165 * math/auto-libm-test-out: Regenerated.
14167 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14170 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14171 (nscd_getnetgrent): Use it.
14174 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14177 2014-03-27 Andi Kleen <ak@linux.intel.com>
14179 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14180 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14181 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14182 (lll_robust_unlock): Remove out of line section. Use cfi
14184 (LLL_STUB_UNWIND_INFO*): Remove.
14185 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14186 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14187 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14188 (lll_robust_unlock): Remove out of line section. Use cfi
14190 (LLL_STUB_UNWIND_INFO*): Remove.
14192 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14195 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14198 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14200 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14202 2014-03-26 Joseph Myers <joseph@codesourcery.com>
14205 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14207 * math/test-fenv-preserve.c: New file.
14208 * math/Makefile (tests): Add test-fenv-preserve.
14210 2014-03-26 Will Newton <will.newton@linaro.org>
14212 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14214 2014-03-25 Roland McGrath <roland@hack.frob.com>
14216 * scripts/versionlist.awk: Partition the version sets and emit all
14217 GLIBC_* (sorted) before all others (sorted).
14219 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14221 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14222 GLIBC_2.2.5 version.
14224 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14226 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14229 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14234 2014-03-25 Andreas Schwab <schwab@suse.de>
14236 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14237 label to be used after in6ailist is initialized.
14239 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14241 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14242 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14244 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14248 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14250 (fp_formats): Update initializers.
14251 (init_fp_formats): Initialize new field.
14252 (output_for_one_input_case): Allow underflow for results up to
14254 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14255 * math/auto-libm-test-in: Don't mark some underflows from asin and
14257 * math/auto-libm-test-out: Regenerated.
14258 * sysdeps/i386/fpu/libm-test-ulps: Update.
14259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14261 2014-03-25 Andreas Schwab <schwab@suse.de>
14263 * libio/Makefile (tst-ftell-partial-wide-ENV)
14264 (tst-ftell-active-handler-ENV): Define.
14266 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14268 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14270 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14272 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14274 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14276 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14277 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14278 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14280 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14283 * elf/dl-load.c (open_verify): Add mode parameter.
14284 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14285 (open_path): Change from boolean 'secure' to complete flag 'mode'
14286 (_dl_map_object): Adjust.
14287 * elf/Makefile (tests): Add tst-dlopen-aout.
14288 * elf/tst-dlopen-aout.c: New test.
14290 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14293 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14294 (struct stat): Rename member pad0 to __glibc_reserved0.
14297 * sysdeps/s390/s390-32/bits/wordsize.h
14298 (__WORDSIZE32_SIZE_ULONG): New define.
14299 * sysdeps/s390/s390-64/bits/wordsize.h
14300 (__WORDSIZE32_SIZE_ULONG): Likewise.
14301 * sysdeps/generic/stdint.h (SIZE_MAX):
14302 Define as UL if __WORDSIZE32_SIZE_ULONG.
14305 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14306 (__glibc_reserved0): New variable.
14307 (sa_flags): Change type to int.
14309 * posix/Makefile (before-compile): Use += before-compile instead
14312 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14313 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14315 2014-03-20 Andreas Schwab <schwab@suse.de>
14318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14319 non-matching result from nscd.
14321 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14323 * scripts/bench.py: Moved to ...
14324 * benchtests/scripts/bench.py: ... here.
14325 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14327 2014-03-24 Andreas Schwab <schwab@suse.de>
14330 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14331 alloca_account and account alloca use for struct in6ailist.
14333 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14336 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14337 rounding mode to recompute results that overflow to infinity or
14339 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14341 * math/auto-libm-test-out: Regenerated.
14342 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14343 (ccosh_test): Likewise.
14344 (csin_test_data): Use plus_oflow.
14345 (csin_test): Use ALL_RM_TEST.
14346 (csinh_test_data): Use plus_oflow.
14347 (csinh_test): Use ALL_RM_TEST.
14348 * sysdeps/i386/fpu/libm-test-ulps: Update.
14349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14351 2014-03-21 Joseph Myers <joseph@codesourcery.com>
14353 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14354 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14355 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14358 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14359 when x - 1 is zero.
14360 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14361 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14362 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14365 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14366 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14368 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14369 * sysdeps/i386/fpu/libm-test-ulps: Update.
14370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14372 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14374 * scripts/bench.pl: Remove file.
14375 * scripts/bench.py: New benchmark script.
14376 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14377 * benchtests/README: Mention python dependency.
14378 * scripts/pylintrc: New file.
14379 * scripts/pylint: New file.
14381 * bits/mathdef.h: Use #ifdef instead of #if.
14382 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14383 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14384 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14385 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14386 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14387 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14389 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14390 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14392 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14394 and strpbrk-ppc64 objects.
14395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14396 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14397 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14398 multiarch strpbrk for POWER7.
14399 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14400 multiarch strpbrk for PPC64.
14401 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14403 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14404 strpbrk for POWER7.
14406 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14408 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14409 (atan_test): Likewise.
14410 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14411 (atanh_test): Use ALL_RM_TEST.
14412 (atan2_test_data): Likewise.
14413 (cabs_test): Likewise.
14414 (cacosh_test): Likewise.
14415 (carg_test): Likewise.
14416 (casin_test): Likewise.
14417 (casinh_test): Likewise.
14418 (cbrt_test): Likewise.
14419 (csqrt_test): Likewise.
14420 (erf_test): Likewise.
14421 (erfc_test): Likewise.
14422 (pow10_test): Likewise.
14423 (exp2_test): Likewise.
14424 (hypot_test): Likewise.
14425 (j0_test): Likewise.
14426 (j1_test): Likewise.
14427 (lgamma_test): Likewise.
14428 (gamma_test): Likewise.
14429 (sincos_test): Likewise.
14430 (tanh_test): Likewise.
14431 (y0_test): Likewise.
14432 (y1_test): Likewise.
14433 * sysdeps/i386/fpu/libm-test-ulps: Update.
14434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14436 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14438 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14440 and strcspn-ppc64 objects.
14441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14442 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14443 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14444 multiarch strcspn for POWER7.
14445 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14446 multiarch strcspn for PPC64.
14447 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14449 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14450 strcspn for POWER7.
14452 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14454 * math/gen-libm-test.pl (generate_testfile): Expect only function
14455 name as argument to AUTO_TESTS_* and pass results for all rounding
14456 modes to parse_args.
14457 (parse_auto_input): Separate inputs of automatic tests from
14458 outputs before storing in %auto_tests.
14459 * math/libm-test.inc (acos_test_data): Update call to
14461 (acos_test): Use ALL_RM_TEST.
14462 (acos_tonearest_test_data): Remove.
14463 (acos_test_tonearest): Likewise.
14464 (acos_towardzero_test_data): Likewise.
14465 (acos_test_towardzero): Likewise.
14466 (acos_downward_test_data): Likewise.
14467 (acos_test_downward): Likewise.
14468 (acos_upward_test_data): Likewise.
14469 (acos_test_upward): Likewise.
14470 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14471 (asin_test_data): Likewise.
14472 (asin_test): Use ALL_RM_TEST.
14473 (asin_tonearest_test_data): Remove.
14474 (asin_test_tonearest): Likewise.
14475 (asin_towardzero_test_data): Likewise.
14476 (asin_test_towardzero): Likewise.
14477 (asin_downward_test_data): Likewise.
14478 (asin_test_downward): Likewise.
14479 (asin_upward_test_data): Likewise.
14480 (asin_test_upward): Likewise.
14481 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14482 (atan_test_data): Likewise.
14483 (atanh_test_data): Likewise.
14484 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14485 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14486 (carg_test_data): Likewise.
14487 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14488 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14489 (ccosh_test_data): Likewise.
14490 (cexp_test_data): Likewise.
14491 (clog_test_data): Likewise.
14492 (clog10_test_data): Likewise.
14493 (cos_test_data): Update call to AUTO_TESTS_f_f.
14494 (cos_test): Use ALL_RM_TEST.
14495 (cos_tonearest_test_data): Remove.
14496 (cos_test_tonearest): Likewise.
14497 (cos_towardzero_test_data): Likewise.
14498 (cos_test_towardzero): Likewise.
14499 (cos_downward_test_data): Likewise.
14500 (cos_test_downward): Likewise.
14501 (cos_upward_test_data): Likewise.
14502 (cos_test_upward): Likewise.
14503 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14504 (cosh_test): Use ALL_RM_TEST.
14505 (cosh_tonearest_test_data): Remove.
14506 (cosh_test_tonearest): Likewise.
14507 (cosh_towardzero_test_data): Likewise.
14508 (cosh_test_towardzero): Likewise.
14509 (cosh_downward_test_data): Likewise.
14510 (cosh_test_downward): Likewise.
14511 (cosh_upward_test_data): Likewise.
14512 (cosh_test_upward): Likewise.
14513 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14514 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14515 (ctan_test_data): Likewise.
14516 (ctan_test): Use ALL_RM_TEST.
14517 (ctan_tonearest_test_data): Remove.
14518 (ctan_test_tonearest): Likewise.
14519 (ctan_towardzero_test_data): Likewise.
14520 (ctan_test_towardzero): Likewise.
14521 (ctan_downward_test_data): Likewise.
14522 (ctan_test_downward): Likewise.
14523 (ctan_upward_test_data): Likewise.
14524 (ctan_test_upward): Likewise.
14525 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14526 (ctanh_test): Use ALL_RM_TEST.
14527 (ctanh_tonearest_test_data): Remove.
14528 (ctanh_test_tonearest): Likewise.
14529 (ctanh_towardzero_test_data): Likewise.
14530 (ctanh_test_towardzero): Likewise.
14531 (ctanh_downward_test_data): Likewise.
14532 (ctanh_test_downward): Likewise.
14533 (ctanh_upward_test_data): Likewise.
14534 (ctanh_test_upward): Likewise.
14535 (erf_test_data): Update call to AUTO_TESTS_f_f.
14536 (erfc_test_data): Likewise.
14537 (exp_test_data): Likewise.
14538 (exp_test): Use ALL_RM_TEST.
14539 (exp_tonearest_test_data): Remove.
14540 (exp_test_tonearest): Likewise.
14541 (exp_towardzero_test_data): Likewise.
14542 (exp_test_towardzero): Likewise.
14543 (exp_downward_test_data): Likewise.
14544 (exp_test_downward): Likewise.
14545 (exp_upward_test_data): Likewise.
14546 (exp_test_upward): Likewise.
14547 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14548 (exp10_test): Use ALL_RM_TEST.
14549 (exp10_tonearest_test_data): Remove.
14550 (exp10_test_tonearest): Likewise.
14551 (exp10_towardzero_test_data): Likewise.
14552 (exp10_test_towardzero): Likewise.
14553 (exp10_downward_test_data): Likewise.
14554 (exp10_test_downward): Likewise.
14555 (exp10_upward_test_data): Likewise.
14556 (exp10_test_upward): Likewise.
14557 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14558 (expm1_test_data): Likewise.
14559 (expm1_test): Use ALL_RM_TEST.
14560 (expm1_tonearest_test_data): Remove.
14561 (expm1_test_tonearest): Likewise.
14562 (expm1_towardzero_test_data): Likewise.
14563 (expm1_test_towardzero): Likewise.
14564 (expm1_downward_test_data): Likewise.
14565 (expm1_test_downward): Likewise.
14566 (expm1_upward_test_data): Likewise.
14567 (expm1_test_upward): Likewise.
14568 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14569 (fma_test): Use ALL_RM_TEST.
14570 (fma_towardzero_test_data): Remove.
14571 (fma_test_towardzero): Likewise.
14572 (fma_downward_test_data): Likewise.
14573 (fma_test_downward): Likewise.
14574 (fma_upward_test_data): Likewise.
14575 (fma_test_upward): Likewise.
14576 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14577 (j0_test_data): Update call to AUTO_TESTS_f_f.
14578 (j1_test_data): Likewise.
14579 (jn_test_data): Update call to AUTO_TESTS_if_f.
14580 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14581 (log_test_data): Update call to AUTO_TESTS_f_f.
14582 (log10_test_data): Likewise.
14583 (log1p_test_data): Likewise.
14584 (log2_test_data): Likewise.
14585 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14586 (pow_tonearest_test_data): Likewise.
14587 (sin_test_data): Update call to AUTO_TESTS_f_f.
14588 (sin_test): Use ALL_RM_TEST.
14589 (sin_tonearest_test_data): Remove.
14590 (sin_test_tonearest): Likewise.
14591 (sin_towardzero_test_data): Likewise.
14592 (sin_test_towardzero): Likewise.
14593 (sin_downward_test_data): Likewise.
14594 (sin_test_downward): Likewise.
14595 (sin_upward_test_data): Likewise.
14596 (sin_test_upward): Likewise.
14597 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14598 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14599 (sinh_test): Use ALL_RM_TEST.
14600 (sinh_tonearest_test_data): Remove.
14601 (sinh_test_tonearest): Likewise.
14602 (sinh_towardzero_test_data): Likewise.
14603 (sinh_test_towardzero): Likewise.
14604 (sinh_downward_test_data): Likewise.
14605 (sinh_test_downward): Likewise.
14606 (sinh_upward_test_data): Likewise.
14607 (sinh_test_upward): Likewise.
14608 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14609 (sqrt_test): Use ALL_RM_TEST.
14610 (sqrt_tonearest_test_data): Remove.
14611 (sqrt_test_tonearest): Likewise.
14612 (sqrt_towardzero_test_data): Likewise.
14613 (sqrt_test_towardzero): Likewise.
14614 (sqrt_downward_test_data): Likewise.
14615 (sqrt_test_downward): Likewise.
14616 (sqrt_upward_test_data): Likewise.
14617 (sqrt_test_upward): Likewise.
14618 (tan_test_data): Update call to AUTO_TESTS_f_f.
14619 (tan_test): Use ALL_RM_TEST.
14620 (tan_tonearest_test_data): Remove.
14621 (tan_test_tonearest): Likewise.
14622 (tan_towardzero_test_data): Likewise.
14623 (tan_test_towardzero): Likewise.
14624 (tan_downward_test_data): Likewise.
14625 (tan_test_downward): Likewise.
14626 (tan_upward_test_data): Likewise.
14627 (tan_test_upward): Likewise.
14628 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14629 (tgamma_test_data): Likewise.
14630 (y0_test_data): Likewise.
14631 (y1_test_data): Likewise.
14632 (yn_test_data): Update call to AUTO_TESTS_if_f.
14633 (main): Do not call removed functions.
14635 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14637 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14638 (ldexp_test_data): Remove.
14639 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14641 (scalb_test): Use ALL_RM_TEST.
14643 2014-03-19 Andreas Schwab <schwab@suse.de>
14645 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14647 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14650 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14651 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14652 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14654 (__ASSUME_PREADV): Undefine.
14655 (__ASSUME_PWRITEV): Likewise.
14657 2014-03-18 Roland McGrath <roland@hack.frob.com>
14659 * bits/mman-linux.h: Add comment about non-Linux use.
14660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14661 bits/mman-linux.h resting place.
14663 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14664 * bits/mman-linux.h: ... here.
14666 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14668 * conform/conformtest.pl: Add standard definition when calling C
14669 preprocessor on data files.
14670 (checknamespace): Remove unused variable.
14672 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14674 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14675 minus_oflow, plus_uflow and minus_uflow in expected results.
14676 * math/libm-test.inc (scalbn_test_data): Add more tests of
14677 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14679 (scalbn_test): Use ALL_RM_TEST.
14680 (scalbln_test_data): Add more tests of negative arguments. Use
14681 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14682 (scalbln_test): Use ALL_RM_TEST.
14684 2014-03-18 Roland McGrath <roland@hack.frob.com>
14686 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14688 2014-03-18 Will Newton <will.newton@linaro.org>
14690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14691 inaccurate comment.
14693 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14695 * Makerules [!subdir] (check-abi): Exit with error status if a
14698 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14700 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14701 for rint. Include results for all rounding modes.
14702 (nearbyint_test): Use ALL_RM_TEST.
14703 (rint_test_data): Include all tests used for nearbyint.
14705 2014-03-17 Will Newton <will.newton@linaro.org>
14707 * nptl/sysdeps/pthread/pthread.h: Revert previous
14710 * sysdeps/generic/ldsodefs.h: Revert previous
14713 * libio/genops.c: Revert previous change.
14714 * libio/libioP.h: Likewise.
14715 * stdio-common/vfprintf.c: Likewise.
14717 * sysdeps/generic/math_private.h: Revert previous
14720 * sysdeps/generic/math_private.h: Check whether
14721 HAVE_RM_CTX is defined with #ifdef rather
14724 * argp/argp-fmtstream.h: Check whether
14725 __STRICT_ANSI__ is defined with #ifdef rather
14727 * argp/argp.h: Likewise.
14729 * libio/genops.c: Check whether
14730 _IO_JUMPS_OFFSET is defined with #ifdef rather
14732 * libio/libioP.h: Likewise.
14733 * stdio-common/vfprintf.c: Likewise.
14735 * sysdeps/generic/ldsodefs.h: Check whether
14736 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14739 * nptl/sysdeps/pthread/pthread.h: Check
14740 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14743 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14745 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14747 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14751 * libio/fileops.c (_IO_file_open): Seek to end of file but
14752 don't cache the offset.
14753 (get_file_offset): Remove function.
14754 (do_ftell): Use cached offset when available.
14755 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14756 don't cache the offset.
14757 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14759 (do_one_test): Call it.
14760 (do_ftell_test): Fix up expected old offset for a+ mode.
14761 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14764 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14765 up test status with function return status.
14766 (do_write_test): Likewise.
14767 (do_append_test): Likewise.
14769 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14770 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14773 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14775 * math/gen-libm-test.pl (parse_args): Handle results specified for
14776 each rounding mode separately.
14777 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14778 tests and results from lrint_tonearest_test_data,
14779 lrint_towardzero_test_data, lrint_downward_test_data and
14780 lrint_upward_test_data.
14781 (lrint_test): Use ALL_RM_TEST.
14782 (lrint_tonearest_test_data): Remove.
14783 (lrint_test_tonearest): Likewise.
14784 (lrint_towardzero_test_data): Likewise.
14785 (lrint_test_towardzero): Likewise.
14786 (lrint_downward_test_data): Likewise.
14787 (lrint_test_downward): Likewise.
14788 (lrint_upward_test_data): Likewise.
14789 (lrint_test_upward): Likewise.
14790 (llrint_test_data): Merge in per-rounding-mode tests and results
14791 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14792 llrint_downward_test_data and llrint_upward_test_data.
14793 (llrint_test): Use ALL_RM_TEST.
14794 (llrint_tonearest_test_data): Remove.
14795 (llrint_test_tonearest): Likewise.
14796 (llrint_towardzero_test_data): Likewise.
14797 (llrint_test_towardzero): Likewise.
14798 (llrint_downward_test_data): Likewise.
14799 (llrint_test_downward): Likewise.
14800 (llrint_upward_test_data): Likewise.
14801 (llrint_test_upward): Likewise.
14802 (rint_test_data): Merge in per-rounding-mode tests and results
14803 from rint_tonearest_test_data, rint_towardzero_test_data,
14804 rint_downward_test_data and rint_upward_test_data. Add
14805 per-rounding-mode results for tests not in those arrays.
14806 (rint_test): Use ALL_RM_TEST.
14807 (rint_tonearest_test_data): Remove.
14808 (rint_test_tonearest): Likewise.
14809 (rint_towardzero_test_data): Likewise.
14810 (rint_test_towardzero): Likewise.
14811 (rint_downward_test_data): Likewise.
14812 (rint_test_downward): Likewise.
14813 (rint_upward_test_data): Likewise.
14814 (rint_test_upward): Likewise.
14815 (main): Don't call removed functions.
14817 2014-03-14 Roland McGrath <roland@hack.frob.com>
14819 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14820 "Compiled on ..." crapola. It is anti-useful.
14822 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14824 * scripts/evaluate-test.sh: Handle fourth argument to determine
14825 whether test run should stop on failure.
14826 * Makeconfig (stop-on-test-failure): New variable.
14827 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14828 $(stop-on-test-failure).
14829 * Makefile (tests): Give a summary of results from testing and
14830 exit with failure status if they include an ERROR or FAIL.
14831 (xtests): Likewise.
14832 * manual/install.texi (Configuring and compiling): Mention
14833 stop-on-test-failure=y.
14834 * INSTALL: Regenerated.
14836 2014-03-14 Roland McGrath <roland@hack.frob.com>
14838 * scripts/versionlist.awk: New file.
14839 * Makerules [$(build-shared) = yes]
14840 (postclean-generated): Add Versions.def, not Versions.def.v and
14842 ($(common-objpfx)Versions.def.v.i): Target removed.
14843 ($(common-objpfx)Versions.def): New target.
14844 ($(common-objpfx)Versions.all): Depend on that rather that
14845 $(common-objpfx)Versions.def.v.
14846 * Versions.def: File removed.
14848 * Makeconfig (+gccwarn): Add -Wundef.
14849 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14850 a dl-sysdep.h breaking its contract.
14851 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14852 * include/stackinfo.h: New file.
14853 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14854 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14855 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14856 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14857 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14858 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14859 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14860 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14861 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14862 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14863 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14864 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14865 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14866 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14867 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14869 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14872 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14874 * math/libm-test.inc (round_test_data): Add more tests.
14877 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14879 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14882 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14884 * math/libm-test.inc (ceil_test_data): Add more tests.
14886 * math/libm-test.inc (trunc_test_data): Add more tests related to
14889 2014-03-14 Roland McGrath <roland@hack.frob.com>
14891 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14892 with #if rather than #ifdef.
14893 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14895 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14897 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14898 first. Disable AVX-512 GCC support if assembler doesn't support
14900 * sysdeps/x86_64/configure: Regenerated.
14902 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14904 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14905 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14906 (__old_pthread_attr_setstack): Likewise.
14907 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14908 [!_STACK_GROWS_DOWN]: Likewise.
14910 2014-03-13 Mike Frysinger <vapier@gentoo.org>
14912 * config.make.in (have-bash2): Delete.
14913 * configure.ac (libc_cv_have_bash2): Delete.
14914 * configure: Regenerate.
14915 * elf/Makefile (common-ldd-rewrite): Rename to ...
14916 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14917 (sh-ldd-rewrite): Delete.
14918 (bash-ldd-rewrite): Delete.
14919 (have-bash2): Delete checks.
14920 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14923 * config.make.in (have-ksh): Delete.
14925 * configure.ac (libc_cv_have_ksh): Delete.
14926 * configure: Regenerate.
14928 * elf/Makefile: Delete $(have-ksh) check.
14929 ($(objpfx)sotruss): Change KSH to BASH.
14930 * elf/sotruss.ksh: Rename to ...
14931 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14932 function style to match POSIX. Drop ksh vim mode setting.
14934 * manual/time.texi (Specifying the Time Zone with TZ): Change
14935 Tuesday to Thursday.
14937 * debug/tst-longjmp_chk2.c: Update header comment.
14938 (stackoverflow_handler): Add comment. Call assert on pass value.
14940 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14943 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14944 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14945 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14946 (La_x86_64_vector): Add zmm.
14947 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14948 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14949 ($(objpfx)tst-audit10): New target.
14950 ($(objpfx)tst-audit10.out): Likewise.
14951 (tst-audit10-ENV): New.
14952 (AVX512-CFLAGS): Likewise.
14953 (CFLAGS-tst-audit10.c): Likewise.
14954 (CFLAGS-tst-auditmod10a.c): Likewise.
14955 (CFLAGS-tst-auditmod10b.c): Likewise.
14956 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14957 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14958 * sysdeps/x86_64/configure: Regenerated.
14959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14960 AVX-512 zmm register support.
14961 (_dl_x86_64_save_sse): Likewise.
14962 (_dl_x86_64_restore_sse): Likewise.
14963 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14964 size vector registers.
14965 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14966 (ZMM_SIZE): Likewise.
14967 * sysdeps/x86_64/tst-audit10.c: New file.
14968 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14969 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14971 2014-03-13 Roland McGrath <roland@hack.frob.com>
14973 * configure.ac (HAVE_EHDR_START): New check.
14974 * configure: Regenerated.
14975 * config.h.in (HAVE_EHDR_START): New #undef.
14976 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14977 assuming the lowest-addressed segment maps the start of the file.
14979 2014-03-13 Joseph Myers <joseph@codesourcery.com>
14981 * INSTALL: Regenerated.
14983 2014-03-13 Will Newton <will.newton@linaro.org>
14985 * manual/setjmp.texi (System V contexts): Improve
14986 clarity and grammar of documentation.
14988 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14991 * elf/Makefile (tests): Add tst-pie2.
14992 (tests-pie): Add tst-pie2.
14993 * elf/tst-pie2.c: New file.
14994 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14996 * elf/rtld.c (map_doit): Load executable as lt_executable.
14997 (dl_main): Likewise.
14999 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15002 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15003 (__ASSUME_PSELECT): Undefine.
15005 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15009 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15011 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15012 selector for static builds.
15014 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15017 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15020 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15022 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15023 IFUNC selector for static builds.
15025 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15027 * sysdeps/mips/math_private.h [__mips_hard_float]
15028 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15029 libc_feresetround_mips_ctx.
15030 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15031 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15032 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15035 * math/s_nextafter.c (__nextafter): Do not return value from
15036 overflowing computation.
15037 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15038 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15039 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15043 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15044 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15046 2014-03-11 Roland McGrath <roland@hack.frob.com>
15048 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15049 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15050 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15051 the new mov targetting sp.
15053 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15056 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15057 Define it for static builds as well.
15058 (NO_BZERO_IMPL): Likewise.
15060 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15062 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15063 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15064 multiarch strspn for PPC64.
15065 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15066 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15068 (__libc_ifunc_impl_list): Likewise.
15069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15070 multiarch optimizations
15071 * string/strspn.c (strspn): Using macro to redefine symbol name.
15073 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15074 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15076 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15077 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15078 multiarch strncat for PPC64.
15079 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15080 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15082 (__libc_ifunc_impl_list): Likewise.
15083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15084 multiarch optimizations
15086 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15089 * nscd/nscd.service: Make service type forking.
15091 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15093 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15094 sign in non default rounding modes.
15095 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15097 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15099 * math/libm-test.inc (ALL_RM_TEST): New macro.
15100 (ceil_test): Use ALL_RM_TEST.
15101 (cimag_test): Likewise.
15102 (conj_test): Likewise.
15103 (copysign_test): Likewise.
15104 (cproj_test): Likewise.
15105 (creal_test): Likewise.
15106 (fabs_test): Likewise.
15107 (floor_test): Likewise.
15108 (fmax_test): Likewise.
15109 (fmin_test): Likewise.
15110 (fmod_test): Likewise.
15111 (fpclassify_test): Likewise.
15112 (frexp_test): Likewise.
15113 (ilogb_test): Likewise.
15114 (isfinite_test): Likewise.
15115 (finite_test): Likewise.
15116 (isgreater_test): Likewise.
15117 (isgreaterequal_test): Likewise.
15118 (isinf_test): Likewise.
15119 (isless_test): Likewise.
15120 (islessequal_test): Likewise.
15121 (islessgreater_test): Likewise.
15122 (isnan_test): Likewise.
15123 (isnormal_test): Likewise.
15124 (issignaling_test): Likewise.
15125 (isunordered_test): Likewise.
15126 (logb_test): Likewise.
15127 (logb_downward_test_data): Remove.
15128 (logb_test_downward): Likewise.
15129 (lround_test): Use ALL_RM_TEST.
15130 (llround_test): Likewise.
15131 (modf_test): Likewise.
15132 (nexttoward_test): Likewise.
15133 (remainder_test): Likewise.
15134 (drem_test): Likewise.
15135 (remainder_tonearest_test_data): Likewise.
15136 (remainder_test_tonearest): Likewise.
15137 (drem_test_tonearest): Likewise.
15138 (remainder_towardzero_test_data): Likewise.
15139 (remainder_test_towardzero): Likewise.
15140 (drem_test_towardzero): Likewise.
15141 (remainder_downward_test_data): Likewise.
15142 (remainder_test_downward): Likewise.
15143 (drem_test_downward): Likewise.
15144 (remainder_upward_test_data): Likewise.
15145 (remainder_test_upward): Likewise.
15146 (drem_test_upward): Likewise.
15147 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15148 (round_test): Use ALL_RM_TEST.
15149 (signbit_test): Likewise.
15150 (trunc_test): Likewise.
15151 (significand_test): Likewise.
15152 (main): Don't call removed functions.
15154 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15157 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15158 || __USE_XOPEN2K8].
15159 (ILL_ILLOPN): Likewise.
15160 (ILL_ILLADR): Likewise.
15161 (ILL_ILLTRP): Likewise.
15162 (ILL_PRVOPC): Likewise.
15163 (ILL_PRVREG): Likewise.
15164 (ILL_COPROC): Likewise.
15165 (ILL_BADSTK): Likewise.
15166 (FPE_INTDIV): Likewise.
15167 (FPE_INTOVF): Likewise.
15168 (FPE_FLTDIV): Likewise.
15169 (FPE_FLTOVF): Likewise.
15170 (FPE_FLTUND): Likewise.
15171 (FPE_FLTRES): Likewise.
15172 (FPE_FLTINV): Likewise.
15173 (FPE_FLTSUB): Likewise.
15174 (SEGV_MAPERR): Likewise.
15175 (SEGV_ACCERR): Likewise.
15176 (BUS_ADRALN): Likewise.
15177 (BUS_ADRERR): Likewise.
15178 (BUS_OBJERR): Likewise.
15179 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15180 (TRAP_TRACE): Likewise.
15181 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15183 (CLD_KILLED): Likewise.
15184 (CLD_DUMPED): Likewise.
15185 (CLD_TRAPPED): Likewise.
15186 (CLD_STOPPED): Likewise.
15187 (CLD_CONTINUED): Likewise.
15188 (POLL_IN): Likewise.
15189 (POLL_OUT): Likewise.
15190 (POLL_MSG): Likewise.
15191 (POLL_ERR): Likewise.
15192 (POLL_PRI): Likewise.
15193 (POLL_HUP): Likewise.
15194 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15196 (ILL_ILLOPN): Likewise.
15197 (ILL_ILLADR): Likewise.
15198 (ILL_ILLTRP): Likewise.
15199 (ILL_PRVOPC): Likewise.
15200 (ILL_PRVREG): Likewise.
15201 (ILL_COPROC): Likewise.
15202 (ILL_BADSTK): Likewise.
15203 (FPE_INTDIV): Likewise.
15204 (FPE_INTOVF): Likewise.
15205 (FPE_FLTDIV): Likewise.
15206 (FPE_FLTOVF): Likewise.
15207 (FPE_FLTUND): Likewise.
15208 (FPE_FLTRES): Likewise.
15209 (FPE_FLTINV): Likewise.
15210 (FPE_FLTSUB): Likewise.
15211 (SEGV_MAPERR): Likewise.
15212 (SEGV_ACCERR): Likewise.
15213 (BUS_ADRALN): Likewise.
15214 (BUS_ADRERR): Likewise.
15215 (BUS_OBJERR): Likewise.
15216 (BUS_MCEERR_AR): Likewise.
15217 (BUS_MCEERR_AO): Likewise.
15218 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15219 (TRAP_TRACE): Likewise.
15220 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15222 (CLD_KILLED): Likewise.
15223 (CLD_DUMPED): Likewise.
15224 (CLD_TRAPPED): Likewise.
15225 (CLD_STOPPED): Likewise.
15226 (CLD_CONTINUED): Likewise.
15227 (POLL_IN): Likewise.
15228 (POLL_OUT): Likewise.
15229 (POLL_MSG): Likewise.
15230 (POLL_ERR): Likewise.
15231 (POLL_PRI): Likewise.
15232 (POLL_HUP): Likewise.
15233 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15234 (ILL_ILLOPN): Likewise.
15235 (ILL_ILLADR): Likewise.
15236 (ILL_ILLTRP): Likewise.
15237 (ILL_PRVOPC): Likewise.
15238 (ILL_PRVREG): Likewise.
15239 (ILL_COPROC): Likewise.
15240 (ILL_BADSTK): Likewise.
15241 (FPE_INTDIV): Likewise.
15242 (FPE_INTOVF): Likewise.
15243 (FPE_FLTDIV): Likewise.
15244 (FPE_FLTOVF): Likewise.
15245 (FPE_FLTUND): Likewise.
15246 (FPE_FLTRES): Likewise.
15247 (FPE_FLTINV): Likewise.
15248 (FPE_FLTSUB): Likewise.
15249 (SEGV_MAPERR): Likewise.
15250 (SEGV_ACCERR): Likewise.
15251 (BUS_ADRALN): Likewise.
15252 (BUS_ADRERR): Likewise.
15253 (BUS_OBJERR): Likewise.
15254 (BUS_MCEERR_AR): Likewise.
15255 (BUS_MCEERR_AO): Likewise.
15256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15257 (TRAP_TRACE): Likewise.
15258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15260 (CLD_KILLED): Likewise.
15261 (CLD_DUMPED): Likewise.
15262 (CLD_TRAPPED): Likewise.
15263 (CLD_STOPPED): Likewise.
15264 (CLD_CONTINUED): Likewise.
15265 (POLL_IN): Likewise.
15266 (POLL_OUT): Likewise.
15267 (POLL_MSG): Likewise.
15268 (POLL_ERR): Likewise.
15269 (POLL_PRI): Likewise.
15270 (POLL_HUP): Likewise.
15271 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15273 (ILL_ILLOPN): Likewise.
15274 (ILL_ILLADR): Likewise.
15275 (ILL_ILLTRP): Likewise.
15276 (ILL_PRVOPC): Likewise.
15277 (ILL_PRVREG): Likewise.
15278 (ILL_COPROC): Likewise.
15279 (ILL_BADSTK): Likewise.
15280 (ILL_BADIADDR): Likewise.
15281 (ILL_BREAK): Likewise.
15282 (FPE_INTDIV): Likewise.
15283 (FPE_INTOVF): Likewise.
15284 (FPE_FLTDIV): Likewise.
15285 (FPE_FLTOVF): Likewise.
15286 (FPE_FLTUND): Likewise.
15287 (FPE_FLTRES): Likewise.
15288 (FPE_FLTINV): Likewise.
15289 (FPE_FLTSUB): Likewise.
15290 (FPE_DECOVF): Likewise.
15291 (FPE_DECDIV): Likewise.
15292 (FPE_DECERR): Likewise.
15293 (FPE_INVASC): Likewise.
15294 (FPE_INVDEC): Likewise.
15295 (SEGV_MAPERR): Likewise.
15296 (SEGV_ACCERR): Likewise.
15297 (SEGV_PSTKOVF): Likewise.
15298 (BUS_ADRALN): Likewise.
15299 (BUS_ADRERR): Likewise.
15300 (BUS_OBJERR): Likewise.
15301 (BUS_MCEERR_AR): Likewise.
15302 (BUS_MCEERR_AO): Likewise.
15303 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15304 (TRAP_TRACE): Likewise.
15305 (TRAP_BRANCH): Likewise.
15306 (TRAP_HWBKPT): Likewise.
15307 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15309 (CLD_KILLED): Likewise.
15310 (CLD_DUMPED): Likewise.
15311 (CLD_TRAPPED): Likewise.
15312 (CLD_STOPPED): Likewise.
15313 (CLD_CONTINUED): Likewise.
15314 (POLL_IN): Likewise.
15315 (POLL_OUT): Likewise.
15316 (POLL_MSG): Likewise.
15317 (POLL_ERR): Likewise.
15318 (POLL_PRI): Likewise.
15319 (POLL_HUP): Likewise.
15320 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15321 (ILL_ILLOPN): Likewise.
15322 (ILL_ILLADR): Likewise.
15323 (ILL_ILLTRP): Likewise.
15324 (ILL_PRVOPC): Likewise.
15325 (ILL_PRVREG): Likewise.
15326 (ILL_COPROC): Likewise.
15327 (ILL_BADSTK): Likewise.
15328 (FPE_INTDIV): Likewise.
15329 (FPE_INTOVF): Likewise.
15330 (FPE_FLTDIV): Likewise.
15331 (FPE_FLTOVF): Likewise.
15332 (FPE_FLTUND): Likewise.
15333 (FPE_FLTRES): Likewise.
15334 (FPE_FLTINV): Likewise.
15335 (FPE_FLTSUB): Likewise.
15336 (SEGV_MAPERR): Likewise.
15337 (SEGV_ACCERR): Likewise.
15338 (BUS_ADRALN): Likewise.
15339 (BUS_ADRERR): Likewise.
15340 (BUS_OBJERR): Likewise.
15341 (BUS_MCEERR_AR): Likewise.
15342 (BUS_MCEERR_AO): Likewise.
15343 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15344 (TRAP_TRACE): Likewise.
15345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15347 (CLD_KILLED): Likewise.
15348 (CLD_DUMPED): Likewise.
15349 (CLD_TRAPPED): Likewise.
15350 (CLD_STOPPED): Likewise.
15351 (CLD_CONTINUED): Likewise.
15352 (POLL_IN): Likewise.
15353 (POLL_OUT): Likewise.
15354 (POLL_MSG): Likewise.
15355 (POLL_ERR): Likewise.
15356 (POLL_PRI): Likewise.
15357 (POLL_HUP): Likewise.
15358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15359 (ILL_ILLOPN): Likewise.
15360 (ILL_ILLADR): Likewise.
15361 (ILL_ILLTRP): Likewise.
15362 (ILL_PRVOPC): Likewise.
15363 (ILL_PRVREG): Likewise.
15364 (ILL_COPROC): Likewise.
15365 (ILL_BADSTK): Likewise.
15366 (FPE_INTDIV): Likewise.
15367 (FPE_INTOVF): Likewise.
15368 (FPE_FLTDIV): Likewise.
15369 (FPE_FLTOVF): Likewise.
15370 (FPE_FLTUND): Likewise.
15371 (FPE_FLTRES): Likewise.
15372 (FPE_FLTINV): Likewise.
15373 (FPE_FLTSUB): Likewise.
15374 (SEGV_MAPERR): Likewise.
15375 (SEGV_ACCERR): Likewise.
15376 (BUS_ADRALN): Likewise.
15377 (BUS_ADRERR): Likewise.
15378 (BUS_OBJERR): Likewise.
15379 (BUS_MCEERR_AR): Likewise.
15380 (BUS_MCEERR_AO): Likewise.
15381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15382 (TRAP_TRACE): Likewise.
15383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15385 (CLD_KILLED): Likewise.
15386 (CLD_DUMPED): Likewise.
15387 (CLD_TRAPPED): Likewise.
15388 (CLD_STOPPED): Likewise.
15389 (CLD_CONTINUED): Likewise.
15390 (POLL_IN): Likewise.
15391 (POLL_OUT): Likewise.
15392 (POLL_MSG): Likewise.
15393 (POLL_ERR): Likewise.
15394 (POLL_PRI): Likewise.
15395 (POLL_HUP): Likewise.
15396 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15397 (ILL_ILLOPN): Likewise.
15398 (ILL_ILLADR): Likewise.
15399 (ILL_ILLTRP): Likewise.
15400 (ILL_PRVOPC): Likewise.
15401 (ILL_PRVREG): Likewise.
15402 (ILL_COPROC): Likewise.
15403 (ILL_BADSTK): Likewise.
15404 (FPE_INTDIV): Likewise.
15405 (FPE_INTOVF): Likewise.
15406 (FPE_FLTDIV): Likewise.
15407 (FPE_FLTOVF): Likewise.
15408 (FPE_FLTUND): Likewise.
15409 (FPE_FLTRES): Likewise.
15410 (FPE_FLTINV): Likewise.
15411 (FPE_FLTSUB): Likewise.
15412 (SEGV_MAPERR): Likewise.
15413 (SEGV_ACCERR): Likewise.
15414 (BUS_ADRALN): Likewise.
15415 (BUS_ADRERR): Likewise.
15416 (BUS_OBJERR): Likewise.
15417 (BUS_MCEERR_AR): Likewise.
15418 (BUS_MCEERR_AO): Likewise.
15419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15420 (TRAP_TRACE): Likewise.
15421 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15423 (CLD_KILLED): Likewise.
15424 (CLD_DUMPED): Likewise.
15425 (CLD_TRAPPED): Likewise.
15426 (CLD_STOPPED): Likewise.
15427 (CLD_CONTINUED): Likewise.
15428 (POLL_IN): Likewise.
15429 (POLL_OUT): Likewise.
15430 (POLL_MSG): Likewise.
15431 (POLL_ERR): Likewise.
15432 (POLL_PRI): Likewise.
15433 (POLL_HUP): Likewise.
15434 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15435 (ILL_ILLOPN): Likewise.
15436 (ILL_ILLADR): Likewise.
15437 (ILL_ILLTRP): Likewise.
15438 (ILL_PRVOPC): Likewise.
15439 (ILL_PRVREG): Likewise.
15440 (ILL_COPROC): Likewise.
15441 (ILL_BADSTK): Likewise.
15442 (ILL_DBLFLT): Likewise.
15443 (ILL_HARDWALL): Likewise.
15444 (FPE_INTDIV): Likewise.
15445 (FPE_INTOVF): Likewise.
15446 (FPE_FLTDIV): Likewise.
15447 (FPE_FLTOVF): Likewise.
15448 (FPE_FLTUND): Likewise.
15449 (FPE_FLTRES): Likewise.
15450 (FPE_FLTINV): Likewise.
15451 (FPE_FLTSUB): Likewise.
15452 (SEGV_MAPERR): Likewise.
15453 (SEGV_ACCERR): Likewise.
15454 (BUS_ADRALN): Likewise.
15455 (BUS_ADRERR): Likewise.
15456 (BUS_OBJERR): Likewise.
15457 (BUS_MCEERR_AR): Likewise.
15458 (BUS_MCEERR_AO): Likewise.
15459 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15460 (TRAP_TRACE): Likewise.
15461 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15463 (CLD_KILLED): Likewise.
15464 (CLD_DUMPED): Likewise.
15465 (CLD_TRAPPED): Likewise.
15466 (CLD_STOPPED): Likewise.
15467 (CLD_CONTINUED): Likewise.
15468 (POLL_IN): Likewise.
15469 (POLL_OUT): Likewise.
15470 (POLL_MSG): Likewise.
15471 (POLL_ERR): Likewise.
15472 (POLL_PRI): Likewise.
15473 (POLL_HUP): Likewise.
15474 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15475 (ILL_ILLOPN): Likewise.
15476 (ILL_ILLADR): Likewise.
15477 (ILL_ILLTRP): Likewise.
15478 (ILL_PRVOPC): Likewise.
15479 (ILL_PRVREG): Likewise.
15480 (ILL_COPROC): Likewise.
15481 (ILL_BADSTK): Likewise.
15482 (FPE_INTDIV): Likewise.
15483 (FPE_INTOVF): Likewise.
15484 (FPE_FLTDIV): Likewise.
15485 (FPE_FLTOVF): Likewise.
15486 (FPE_FLTUND): Likewise.
15487 (FPE_FLTRES): Likewise.
15488 (FPE_FLTINV): Likewise.
15489 (FPE_FLTSUB): Likewise.
15490 (SEGV_MAPERR): Likewise.
15491 (SEGV_ACCERR): Likewise.
15492 (BUS_ADRALN): Likewise.
15493 (BUS_ADRERR): Likewise.
15494 (BUS_OBJERR): Likewise.
15495 (BUS_MCEERR_AR): Likewise.
15496 (BUS_MCEERR_AO): Likewise.
15497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15498 (TRAP_TRACE): Likewise.
15499 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15501 (CLD_KILLED): Likewise.
15502 (CLD_DUMPED): Likewise.
15503 (CLD_TRAPPED): Likewise.
15504 (CLD_STOPPED): Likewise.
15505 (CLD_CONTINUED): Likewise.
15506 (POLL_IN): Likewise.
15507 (POLL_OUT): Likewise.
15508 (POLL_MSG): Likewise.
15509 (POLL_ERR): Likewise.
15510 (POLL_PRI): Likewise.
15511 (POLL_HUP): Likewise.
15512 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15513 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15516 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15517 before #include of <time.h>.
15518 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15519 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15520 (test-xfail-UNIX98/sched.h/conform): Likewise.
15522 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15524 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15525 error absence of trapping exception support.
15526 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15528 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15530 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15531 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15532 * timezone/Makefile (testdata): Move definition above include of
15534 (test-zones): New variable.
15535 (tests-special): Add zone files.
15536 (build-testdata): Use $(evaluate-test).
15538 * elf/Makefile (tests-special): Rename tests to end with .out.
15539 ($(objpfx)noload-mem): Likewise.
15540 ($(objpfx)tst-leaks1-mem): Likewise.
15541 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15542 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15543 $(objpfx)test-iconvconfig.out.
15544 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15545 set -e inside subshell and redirect output to file.
15546 * iconvdata/Makefile (generated): Rename tests to end with .out.
15548 (tests-special): Rename tests to end with .out.
15549 ($(objpfx)mtrace-tst-loading): Likewise.
15550 * intl/Makefile (generated): Likewise.
15551 (tests-special): Likewise.
15552 ($(objpfx)mtrace-tst-gettext): Likewise.
15553 * misc/Makefile (generated): Likewise.
15554 (tests-special): Likewise.
15555 ($(objpfx)tst-error1-mem): Likewise.
15556 * nptl/Makefile (tests-special): Likewise.
15557 ($(objpfx)tst-stack3-mem): Likewise.
15558 (generated): Likewise.
15559 * posix/Makefile (generated): Likewise.
15560 (tests-special): Likewise.
15561 (xtests-special): Likewise.
15562 ($(objpfx)tst-fnmatch-mem): Likewise.
15563 ($(objpfx)bug-regex2-mem): Likewise.
15564 ($(objpfx)bug-regex14-mem): Likewise.
15565 ($(objpfx)bug-regex21-mem): Likewise.
15566 ($(objpfx)bug-regex31-mem): Likewise.
15567 ($(objpfx)tst-vfork3-mem): Likewise.
15568 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15569 ($(objpfx)tst-pcre-mem): Likewise.
15570 ($(objpfx)tst-boost-mem): Likewise.
15571 ($(objpfx)bug-ga2-mem): Likewise.
15572 ($(objpfx)bug-glob2-mem): Likewise.
15573 * resolv/Makefile (generate): Likewise.
15574 (tests-special): Likewise.
15575 (xtests-special): Likewise.
15576 (generated): Likewise.
15577 ($(objpfx)mtrace-tst-leaks): Likewise.
15578 ($(objpfx)mtrace-tst-leaks2): Likewise.
15580 * scripts/merge-test-results.sh: New file.
15581 * Makefile (tests-special-notdir): New variable.
15582 (tests): Run merge-test-results.sh.
15583 (xtests): Likewise.
15584 * Rules (tests-special-notdir): New variable.
15585 (xtests-special-notdir): Likewise.
15586 (tests): Run merge-test-results.sh
15587 (xtests): Likewise.
15589 * Makeconfig (test-xfail-name): New variable.
15590 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15591 compute variable name for expected failures.
15592 * conform/Makefile (conformtest-headers-data): New variable.
15593 (conformtest-standards): Likewise.
15594 (conformtest-headers-ISO): Likewise.
15595 (conformtest-headers-ISO99): Likewise.
15596 (conformtest-headers-ISO11): Likewise.
15597 (conformtest-headers-POSIX): Likewise.
15598 (conformtest-headers-XPG3): Likewise.
15599 (conformtest-headers-XPG4): Likewise.
15600 (conformtest-headers-UNIX98): Likewise.
15601 (conformtest-headers-XOPEN2K): Likewise.
15602 (conformtest-headers-POSIX2008): Likewise.
15603 (conformtest-headers-XOPEN2K8): Likewise.
15604 (conformtest-header-list-base): Likewise.
15605 (conformtest-header-list-tests): Likewise.
15606 (conformtest-header-base): Likewise.
15607 (conformtest-header-tests): Likewise.
15608 (tests-special): Add $(conformtest-header-list-tests). If
15609 [$(fast-check) && !$(cross-compiling)], add
15610 $(conformtest-header-tests) instead of
15611 $(objpfx)run-conformtest.out.
15612 (generated): Add $(conformtest-header-list-base). If
15613 [$(fast-check) && !$(cross-compiling)], add
15614 $(conformtest-header-base). Remove previous setting.
15615 ($(conformtest-header-list-tests)): New target.
15616 (test-xfail-run-conformtest): Remove variable.
15617 ($(objpfx)run-conformtest.out): Remove target.
15618 (test-xfail-ISO11/complex.h/conform): New variable.
15619 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15620 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15621 (test-xfail-XPG3/varargs.h/conform): Likewise.
15622 (test-xfail-XPG4/varargs.h/conform): Likewise.
15623 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15624 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15625 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15626 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15627 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15628 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15629 (test-xfail-XPG3/ftw.h/conform): Likewise.
15630 (test-xfail-XPG3/grp.h/conform): Likewise.
15631 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15632 (test-xfail-XPG3/limits.h/conform): Likewise.
15633 (test-xfail-XPG3/pwd.h/conform): Likewise.
15634 (test-xfail-XPG3/search.h/conform): Likewise.
15635 (test-xfail-XPG3/signal.h/conform): Likewise.
15636 (test-xfail-XPG3/stdio.h/conform): Likewise.
15637 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15638 (test-xfail-XPG3/string.h/conform): Likewise.
15639 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15640 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15641 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15642 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15643 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15644 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15645 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15646 (test-xfail-XPG3/termios.h/conform): Likewise.
15647 (test-xfail-XPG3/time.h/conform): Likewise.
15648 (test-xfail-XPG3/unistd.h/conform): Likewise.
15649 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15650 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15651 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15652 (test-xfail-XPG4/netdb.h/conform): Likewise.
15653 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15654 (test-xfail-XPG4/signal.h/conform): Likewise.
15655 (test-xfail-XPG4/stdio.h/conform): Likewise.
15656 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15657 (test-xfail-XPG4/stropts.h/conform): Likewise.
15658 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15659 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15660 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15661 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15662 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15663 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15664 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15665 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15666 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15667 (test-xfail-XPG4/termios.h/conform): Likewise.
15668 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15669 (test-xfail-XPG4/unistd.h/conform): Likewise.
15670 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15671 (test-xfail-POSIX/sched.h/conform): Likewise.
15672 (test-xfail-POSIX/signal.h/conform): Likewise.
15673 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15674 (test-xfail-POSIX/tar.h/conform): Likewise.
15675 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15676 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15677 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15678 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15679 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15680 (test-xfail-UNIX98/sched.h/conform): Likewise.
15681 (test-xfail-UNIX98/signal.h/conform): Likewise.
15682 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15683 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15684 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15685 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15686 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15687 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15688 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15689 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15690 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15691 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15692 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15693 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15694 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15695 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15696 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15697 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15698 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15699 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15700 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15701 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15702 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15703 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15704 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15705 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15706 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15707 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15708 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15709 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15710 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15711 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15712 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15713 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15714 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15715 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15716 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15717 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15718 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15719 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15720 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15721 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15722 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15723 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15724 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15725 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15726 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15727 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15728 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15729 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15730 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15731 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15732 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15733 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15734 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15735 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15736 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15737 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15738 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15739 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15740 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15741 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15742 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15743 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15744 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15745 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15746 (conformtest-cc-flags): Likewise.
15747 ($(conformtest-header-tests): New target.
15748 * conform/check-header-lists.sh: New file.
15749 * conform/run-conformtest.sh: Remove.
15751 * conform/conformtest.pl: Allow ' and \ in values given for
15753 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15755 [POSIX] (sys/types.h): Likewise.
15756 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15758 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15760 * conform/data/signal.h-data (SIGIO): Remove expectation.
15761 [XPG3] (SIGBUS): Do not expect.
15762 [POSIX || XPG3] (SIGPOLL): Likewise.
15763 [POSIX || XPG3] (SIGPROF): Likewise.
15764 [POSIX || XPG3] (SIGSYS): Likewise.
15765 [XPG3] (SIGTRAP): Likewise.
15766 [POSIX || XPG3] (SIGURG): Likewise.
15767 [POSIX || XPG3] (SIGVTALRM): Likewise.
15768 [POSIX || XPG3] (SIGXCPU): Likewise.
15769 [POSIX || XPG3] (SIGXFSZ): Likewise.
15770 [POSIX] (SA_SIGINFO): Expect.
15771 [XPG3] (siginfo_t): Do not expect type or contents.
15772 [POSIX] (si_pid): Do not expect element.
15773 [POSIX] (si_uid): Likewise.
15774 [POSIX] (si_addr): Likewise.
15775 [POSIX] (si_status): Likewise.
15776 [POSIX] (si_band): Likewise.
15777 [XPG4] (si_value): Likewise.
15778 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15779 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15780 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15781 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15782 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15783 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15784 [POSIX || XPG3] (ILL_COPROC): Likewise.
15785 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15786 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15787 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15788 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15789 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15790 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15791 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15792 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15793 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15794 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15795 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15796 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15797 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15798 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15799 [POSIX || XPG3] (CLD_EXITED): Likewise.
15800 [POSIX || XPG3] (CLD_KILLED): Likewise.
15801 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15802 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15803 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15804 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15805 [POSIX || XPG3] (POLL_IN): Likewise.
15806 [POSIX || XPG3] (POLL_OUT): Likewise.
15807 [POSIX || XPG3] (POLL_MSG): Likewise.
15808 [POSIX || XPG3] (POLL_ERR): Likewise.
15809 [POSIX || XPG3] (POLL_PRI): Likewise.
15810 [POSIX || XPG3] (POLL_HUP): Likewise.
15811 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15812 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15813 (SIG*): Do not allow.
15814 [XPG3] (si_*): Likewise.
15815 [XPG3] (SI_*): Likewise.
15816 [XPG3 || XPG4] (sigev_*): Likewise.
15817 [XPG3 || XPG4] (SIGEV_*): Likewise.
15818 [XPG3 || XPG4] (sival_*): Likewise.
15819 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15820 [POSIX || XPG3] (BUS_*): Likewise.
15821 [POSIX || XPG3] (CLD_*): Likewise.
15822 [POSIX || XPG3] (FPE_*): Likewise.
15823 [POSIX || XPG3] (ILL_*): Likewise.
15824 [POSIX || XPG3] (POLL_*): Likewise.
15825 [POSIX || XPG3] (SEGV_*): Likewise.
15826 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15827 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15828 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15829 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15830 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15831 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15832 Specify type and value.
15833 (TVERSLEN): Likewise.
15834 (REGTYPE): Likewise.
15835 (AREGTYPE): Likewise.
15836 (LNKTYPE): Likewise.
15837 (SYMTYPE): Likewise.
15838 (CHRTYPE): Likewise.
15839 (BLKTYPE): Likewise.
15840 (DIRTYPE): Likewise.
15841 (FIFOTYPE): Likewise.
15842 (CONTTYPE): Likewise.
15846 (TUREAD): Likewise.
15847 (TUWRITE): Likewise.
15848 (TUEXEC): Likewise.
15849 (TGREAD): Likewise.
15850 (TGWRITE): Likewise.
15851 (TGEXEC): Likewise.
15852 (TOREAD): Likewise.
15853 (TOWRITE): Likewise.
15854 (TOEXEC): Likewise.
15855 [POSIX] (TSVTX): Expect constant.
15857 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15859 * Makefile (tests): Change dependencies to ....
15860 (tests-special): ... additions to this variable.
15861 (tests): Depend on $(tests-special).
15862 * Makerules (check-abi-list): New variable.
15863 (check-abi): Depend on $(check-abi-list).
15864 [$(subdir) = elf] (tests-special): Add
15865 $(objpfx)check-abi-libc.out.
15866 [$(build-shared) = yes && subdir] (tests-special): Add
15868 [$(build-shared) = yes && subdir] (tests): Do not depend on
15870 * Rules (tests): Depend on $(tests-special).
15871 (xtests): Depend on $(xtests-special).
15872 * catgets/Makefile (tests): Change dependencies to ....
15873 (tests-special): ... additions to this variable.
15874 * conform/Makefile (tests): Change dependencies to ....
15875 (tests-special): ... additions to this variable.
15876 * elf/Makefile (tests): Change dependencies to ....
15877 (tests-special): ... additions to this variable.
15878 * grp/Makefile (tests): Change dependencies to ....
15879 (tests-special): ... additions to this variable.
15880 * iconv/Makefile (xtests): Change dependencies to ....
15881 (xtests-special): ... additions to this variable.
15882 * iconvdata/Makefile (tests): Change dependencies to ....
15883 (tests-special): ... additions to this variable.
15884 * intl/Makefile (tests): Change dependencies to ....
15885 (tests-special): ... additions to this variable. Also add
15886 $(objpfx)tst-gettext.out.
15887 * io/Makefile (tests): Change dependencies to ....
15888 (tests-special): ... additions to this variable.
15889 * libio/Makefile (tests): Change dependencies to ....
15890 (tests-special): ... additions to this variable.
15891 * malloc/Makefile (tests): Change dependencies to ....
15892 (tests-special): ... additions to this variable.
15893 * misc/Makefile (tests): Change dependencies to ....
15894 (tests-special): ... additions to this variable.
15895 * nptl/Makefile (tests): Change dependencies to ....
15896 (tests-special): ... additions to this variable.
15897 * nptl_db/Makefile (tests): Change dependencies to ....
15898 (tests-special): ... additions to this variable.
15899 * posix/Makefile (tests): Change dependencies to ....
15900 (tests-special): ... additions to this variable.
15901 (xtests): Change dependencies to ....
15902 (xtests-special): ... additions to this variable.
15903 * resolv/Makefile (tests): Change dependencies to ....
15904 (tests-special): ... additions to this variable.
15905 (xtests): Change dependencies to ....
15906 (xtests-special): ... additions to this variable.
15907 * stdio-common/Makefile (tests): Change dependencies to ....
15908 (tests-special): ... additions to this variable.
15909 (do-tst-unbputc): Remove target.
15910 (do-tst-printf): Likewise.
15911 * stdlib/Makefile (tests): Change dependencies to ....
15912 (tests-special): ... additions to this variable.
15913 * string/Makefile (tests): Change dependencies to ....
15914 (tests-special): ... additions to this variable.
15915 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15916 (tests-special): ... additions to this variable.
15918 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15920 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15922 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15923 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15925 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15926 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15927 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15928 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15929 * conform/data/libgen.h-data [XPG3]: Likewise.
15930 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15931 * conform/data/ndbm.h-data [XPG3]: Likewise.
15932 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15933 * conform/data/netdb.h-data [XPG3]: Likewise.
15934 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15935 * conform/data/poll.h-data [XPG3]: Likewise.
15936 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15937 * conform/data/strings.h-data [XPG3]: Likewise.
15938 * conform/data/stropts.h-data [XPG3]: Likewise.
15939 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15940 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15941 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15943 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15944 * conform/data/sys/time.h-data [XPG3]: Likewise.
15945 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15946 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15947 * conform/data/sys/un.h-data [XPG3]: Likewise.
15948 * conform/data/syslog.h-data [XPG3]: Likewise.
15949 * conform/data/ucontext.h-data [XPG3]: Likewise.
15950 * conform/data/utmpx.h-data [XPG3]: Likewise.
15951 * conform/data/varargs.h-data [UNIX98]: Enable file.
15953 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15955 * math/libm-test.inc (struct test_f_f_data): Move expected results
15956 into structure for each rounding mode.
15957 (struct test_ff_f_data): Likewise.
15958 (struct test_ff_f_data_nexttoward): Likewise.
15959 (struct test_fi_f_data): Likewise.
15960 (struct test_fl_f_data): Likewise.
15961 (struct test_if_f_data): Likewise.
15962 (struct test_fff_f_data): Likewise.
15963 (struct test_c_f_data): Likewise.
15964 (struct test_f_f1_data): Likewise.
15965 (struct test_fF_f1_data): Likewise.
15966 (struct test_ffI_f1_data): Likewise.
15967 (struct test_c_c_data): Likewise.
15968 (struct test_cc_c_data): Likewise.
15969 (struct test_f_i_data): Likewise.
15970 (struct test_ff_i_data): Likewise.
15971 (struct test_f_l_data): Likewise.
15972 (struct test_f_L_data): Likewise.
15973 (struct test_fFF_11_data): Likewise.
15975 (RM_FE_DOWNWARD): Likewise.
15976 (RM_FE_TONEAREST): Likewise.
15977 (RM_FE_TOWARDZERO): Likewise.
15978 (RM_FE_UPWARD): Likewise.
15979 (RUN_TEST_LOOP_f_f): Update references to expected results.
15980 (RUN_TEST_LOOP_2_f): Likewise.
15981 (RUN_TEST_LOOP_fff_f): Likewise.
15982 (RUN_TEST_LOOP_c_f): Likewise.
15983 (RUN_TEST_LOOP_f_f1): Likewise.
15984 (RUN_TEST_LOOP_fF_f1): Likewise.
15985 (RUN_TEST_LOOP_fI_f1): Likewise.
15986 (RUN_TEST_LOOP_ffI_f1): Likewise.
15987 (RUN_TEST_LOOP_c_c): Likewise.
15988 (RUN_TEST_LOOP_cc_c): Likewise.
15989 (RUN_TEST_LOOP_f_i): Likewise.
15990 (RUN_TEST_LOOP_f_i_tg): Likewise.
15991 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15992 (RUN_TEST_LOOP_f_b): Likewise.
15993 (RUN_TEST_LOOP_f_b_tg): Likewise.
15994 (RUN_TEST_LOOP_f_l): Likewise.
15995 (RUN_TEST_LOOP_f_L): Likewise.
15996 (RUN_TEST_LOOP_fFF_11): Likewise.
15997 * math/gen-libm-test.pl (parse_args): Output four copies of
15998 expected results for each test.
16000 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16001 (__ASSUME_UTIMES): Remove.
16002 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16003 (__ASSUME_UTIMES): Likewise.
16005 * math/gen-auto-libm-tests.c: Update comment on output format.
16006 (output_for_one_input_case): Generate before-rounding and
16007 after-rounding information as conditions on output flags not
16008 floating-point format.
16009 * math/auto-libm-test-out: Regenerated.
16010 * math/gen-libm-test.pl (cond_value): New function.
16011 (or_cond_value): Use cond_value.
16012 (generate_testfile): Handle conditional exceptions.
16014 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16016 * math/libm-test.inc (max_valid_error): New variable.
16017 (init_max_error): Take new argument specifying whether function
16018 results are exactly determined. Set max_valid_error and bound
16019 other variables for errors based on this argument.
16020 (set_max_error): Do not record results above max_valid_error.
16021 (check_float_internal): Only accept errors of up to 0.5ulps if
16022 also at most max_valid_error.
16023 (START): Take new argument EXACT and pass it to init_max_error.
16024 (acos_test): Update call to START.
16025 (acos_test_tonearest): Likewise.
16026 (acos_test_towardzero): Likewise.
16027 (acos_test_downward): Likewise.
16028 (acos_test_upward): Likewise.
16029 (acosh_test): Likewise.
16030 (asin_test): Likewise.
16031 (asin_test_tonearest): Likewise.
16032 (asin_test_towardzero): Likewise.
16033 (asin_test_downward): Likewise.
16034 (asin_test_upward): Likewise.
16035 (asinh_test): Likewise.
16036 (atan_test): Likewise.
16037 (atanh_test): Likewise.
16038 (atan2_test): Likewise.
16039 (cabs_test): Likewise.
16040 (cacos_test): Likewise.
16041 (cacosh_test): Likewise.
16042 (carg_test): Likewise.
16043 (casin_test): Likewise.
16044 (casinh_test): Likewise.
16045 (catan_test): Likewise.
16046 (catanh_test): Likewise.
16047 (cbrt_test): Likewise.
16048 (ccos_test): Likewise.
16049 (ccosh_test): Likewise.
16050 (ceil_test): Likewise.
16051 (cexp_test): Likewise.
16052 (cimag_test): Likewise.
16053 (clog_test): Likewise.
16054 (clog10_test): Likewise.
16055 (conj_test): Likewise.
16056 (copysign_test): Likewise.
16057 (cos_test): Likewise.
16058 (cos_test_tonearest): Likewise.
16059 (cos_test_towardzero): Likewise.
16060 (cos_test_downward): Likewise.
16061 (cos_test_upward): Likewise.
16062 (cosh_test): Likewise.
16063 (cosh_test_tonearest): Likewise.
16064 (cosh_test_towardzero): Likewise.
16065 (cosh_test_downward): Likewise.
16066 (cosh_test_upward): Likewise.
16067 (cpow_test): Likewise.
16068 (cproj_test): Likewise.
16069 (creal_test): Likewise.
16070 (csin_test): Likewise.
16071 (csinh_test): Likewise.
16072 (csqrt_test): Likewise.
16073 (ctan_test): Likewise.
16074 (ctan_test_tonearest): Likewise.
16075 (ctan_test_towardzero): Likewise.
16076 (ctan_test_downward): Likewise.
16077 (ctan_test_upward): Likewise.
16078 (ctanh_test): Likewise.
16079 (ctanh_test_tonearest): Likewise.
16080 (ctanh_test_towardzero): Likewise.
16081 (ctanh_test_downward): Likewise.
16082 (ctanh_test_upward): Likewise.
16083 (erf_test): Likewise.
16084 (erfc_test): Likewise.
16085 (exp_test): Likewise.
16086 (exp_test_tonearest): Likewise.
16087 (exp_test_towardzero): Likewise.
16088 (exp_test_downward): Likewise.
16089 (exp_test_upward): Likewise.
16090 (exp10_test): Likewise.
16091 (exp10_test_tonearest): Likewise.
16092 (exp10_test_towardzero): Likewise.
16093 (exp10_test_downward): Likewise.
16094 (exp10_test_upward): Likewise.
16095 (pow10_test): Likewise.
16096 (exp2_test): Likewise.
16097 (expm1_test): Likewise.
16098 (expm1_test_tonearest): Likewise.
16099 (expm1_test_towardzero): Likewise.
16100 (expm1_test_downward): Likewise.
16101 (expm1_test_upward): Likewise.
16102 (fabs_test): Likewise.
16103 (fdim_test): Likewise.
16104 (floor_test): Likewise.
16105 (fma_test): Likewise.
16106 (fma_test_towardzero): Likewise.
16107 (fma_test_downward): Likewise.
16108 (fma_test_upward): Likewise.
16109 (fmax_test): Likewise.
16110 (fmin_test): Likewise.
16111 (fmod_test): Likewise.
16112 (fpclassify_test): Likewise.
16113 (frexp_test): Likewise.
16114 (hypot_test): Likewise.
16115 (ilogb_test): Likewise.
16116 (isfinite_test): Likewise.
16117 (finite_test): Likewise.
16118 (isgreater_test): Likewise.
16119 (isgreaterequal_test): Likewise.
16120 (isinf_test): Likewise.
16121 (isless_test): Likewise.
16122 (islessequal_test): Likewise.
16123 (islessgreater_test): Likewise.
16124 (isnan_test): Likewise.
16125 (isnormal_test): Likewise.
16126 (issignaling_test): Likewise.
16127 (isunordered_test): Likewise.
16128 (j0_test): Likewise.
16129 (j1_test): Likewise.
16130 (jn_test): Likewise.
16131 (ldexp_test): Likewise.
16132 (lgamma_test): Likewise.
16133 (gamma_test): Likewise.
16134 (lrint_test): Likewise.
16135 (lrint_test_tonearest): Likewise.
16136 (lrint_test_towardzero): Likewise.
16137 (lrint_test_downward): Likewise.
16138 (lrint_test_upward): Likewise.
16139 (llrint_test): Likewise.
16140 (llrint_test_tonearest): Likewise.
16141 (llrint_test_towardzero): Likewise.
16142 (llrint_test_downward): Likewise.
16143 (llrint_test_upward): Likewise.
16144 (log_test): Likewise.
16145 (log10_test): Likewise.
16146 (log1p_test): Likewise.
16147 (log2_test): Likewise.
16148 (logb_test): Likewise.
16149 (logb_test_downward): Likewise.
16150 (lround_test): Likewise.
16151 (llround_test): Likewise.
16152 (modf_test): Likewise.
16153 (nearbyint_test): Likewise.
16154 (nextafter_test): Likewise.
16155 (nexttoward_test): Likewise.
16156 (pow_test): Likewise.
16157 (pow_test_tonearest): Likewise.
16158 (pow_test_towardzero): Likewise.
16159 (pow_test_downward): Likewise.
16160 (pow_test_upward): Likewise.
16161 (remainder_test): Likewise.
16162 (drem_test): Likewise.
16163 (remainder_test_tonearest): Likewise.
16164 (drem_test_tonearest): Likewise.
16165 (remainder_test_towardzero): Likewise.
16166 (drem_test_towardzero): Likewise.
16167 (remainder_test_downward): Likewise.
16168 (drem_test_downward): Likewise.
16169 (remainder_test_upward): Likewise.
16170 (drem_test_upward): Likewise.
16171 (remquo_test): Likewise.
16172 (rint_test): Likewise.
16173 (rint_test_tonearest): Likewise.
16174 (rint_test_towardzero): Likewise.
16175 (rint_test_downward): Likewise.
16176 (rint_test_upward): Likewise.
16177 (round_test): Likewise.
16178 (scalb_test): Likewise.
16179 (scalbn_test): Likewise.
16180 (scalbln_test): Likewise.
16181 (signbit_test): Likewise.
16182 (sin_test): Likewise.
16183 (sin_test_tonearest): Likewise.
16184 (sin_test_towardzero): Likewise.
16185 (sin_test_downward): Likewise.
16186 (sin_test_upward): Likewise.
16187 (sincos_test): Likewise.
16188 (sinh_test): Likewise.
16189 (sinh_test_tonearest): Likewise.
16190 (sinh_test_towardzero): Likewise.
16191 (sinh_test_downward): Likewise.
16192 (sinh_test_upward): Likewise.
16193 (sqrt_test): Likewise.
16194 (sqrt_test_tonearest): Likewise.
16195 (sqrt_test_towardzero): Likewise.
16196 (sqrt_test_downward): Likewise.
16197 (sqrt_test_upward): Likewise.
16198 (tan_test): Likewise.
16199 (tan_test_tonearest): Likewise.
16200 (tan_test_towardzero): Likewise.
16201 (tan_test_downward): Likewise.
16202 (tan_test_upward): Likewise.
16203 (tanh_test): Likewise.
16204 (tgamma_test): Likewise.
16205 (trunc_test): Likewise.
16206 (y0_test): Likewise.
16207 (y1_test): Likewise.
16208 (yn_test): Likewise.
16209 (significand_test): Likewise.
16211 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16212 individual tests in comment.
16213 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16214 (prev_max_error): New variable.
16215 (prev_real_max_error): Likewise.
16216 (prev_imag_max_error): Likewise.
16217 (compare_ulp_data): Don't refer to test names in comment.
16218 (find_test_ulps): Remove function.
16219 (find_function_ulps): Likewise.
16220 (find_complex_function_ulps): Likewise.
16221 (init_max_error): Take function name as argument. Look up ulps
16223 (print_ulps): Remove function.
16224 (print_max_error): Use prev_max_error instead of calling
16225 find_function_ulps.
16226 (print_complex_max_error): Use prev_real_max_error and
16227 prev_imag_max_error instead of calling find_complex_function_ulps.
16228 (check_float_internal): Take max_ulp parameter instead of calling
16229 find_test_ulps. Don't call print_ulps.
16230 (check_float): Update call to check_float_internal.
16231 (check_complex): Update calls to check_float_internal.
16232 (START): Pass argument to init_max_error.
16233 * math/gen-libm-test.pl (%results): Don't include "kind"
16235 (parse_ulps): Don't handle ulps of individual tests.
16236 (print_ulps_file): Likewise.
16237 (output_ulps): Likewise.
16238 * math/README.libm-test: Update.
16239 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16241 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16242 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16243 * sysdeps/arm/libm-test-ulps: Likewise.
16244 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16245 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16246 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16247 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16248 * sysdeps/microblaze/libm-test-ulps: Likewise.
16249 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16250 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16252 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16253 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16254 * sysdeps/sh/libm-test-ulps: Likewise.
16255 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16256 * sysdeps/tile/libm-test-ulps: Likewise.
16257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16259 2014-03-04 Joseph Myers <joseph@codesourcery.com>
16261 * math/libm-test.inc (print_complex_max_error): Check separately
16262 whether real and imaginary errors are within allowed range and
16263 pass 0 to print_complex_function_ulps instead of value within
16266 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16268 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16270 (get_handles_fopen): Likewise.
16271 (do_write_test): Likewise.
16273 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16275 * libio/fileops.c (do_ftell): Use cached offset when
16277 * libio/iofwide.c (do_ftell_wide): Likewise.
16278 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16280 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16283 * libio/libioP.h (get_file_offset): New function.
16284 * libio/fileops.c (get_file_offset): Likewise.
16285 (do_ftell): Likewise.
16286 (_IO_new_file_seekoff): Split out ftell logic.
16287 * libio/wfileops.c (do_ftell_wide): Likewise.
16288 (_IO_wfile_seekoff): Split out ftell logic.
16289 * libio/tst-ftell-active-handler.c: New test case.
16290 * libio/Makefile (tests): Add it.
16292 2014-03-03 Roland McGrath <roland@hack.frob.com>
16294 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16295 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16297 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16300 * nscd/connections.c (nscd_init): Call do_exit.
16301 (start_threads): Call do_exit and notify_parent.
16302 (begin_drop_privileges): Call do_exit.
16303 (finish_drop_privileges): Likewise.
16304 * nscd/selinux.c (preserve_capabilities): Likewise.
16305 (install_real_capabilities): Likewise.
16306 (nscd_selinux_enabled): Likewise.
16307 (avc_create_thread): Likewise.
16308 (avc_alloc_lock): Likewise.
16309 (nscd_avc_init): Likewise.
16310 * nscd/nscd.c (parent_fd): New static variable.
16311 (main): Create a pipe between parent and child processes.
16312 Skip closing parent_fd.
16313 (monitor_child): New function.
16314 (do_exit): Likewise.
16315 (notify_parent): Likewise.
16316 * nscd/nscd.h (notify_parent): Likewise.
16317 (do_exit): Likewise.
16319 2014-03-03 Carlos O'Donell <carlos@redhat.com>
16321 * malloc/malloc.c (__libc_calloc): Revert last change.
16323 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16327 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16329 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16333 (__libc_ifunc_impl_list): Likewise.
16334 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16335 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16336 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16337 * string/strrchr.c: Define STRRCHR.
16339 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
16341 * benchtest/bench-strtok.c (simple_strtok): Delete.
16342 (strtok_string): Use as benchmark.
16343 * string/strtok (STRTOK): New macro.
16345 2014-02-28 Carlos O'Donell <carlos@redhat.com>
16347 * manual/threads.texi: Add header and standard comments to all
16350 * elf/dl-lookup.c (check_match): New function.
16351 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16352 (do_lookup_x): Remove nested function check_match. Use non-nested
16353 function check_match.
16355 2014-02-28 Roland McGrath <roland@hack.frob.com>
16357 * csu/Makefile (generated, before-compile): Use += rather than =.
16358 * catgets/Makefile (generated, generated-dirs): Likewise.
16359 * debug/Makefile (generated): Likewise.
16360 * dlfcn/Makefile (generated): Likewise.
16361 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16362 * iconvdata/Makefile (before-compile, generated): Likewise.
16363 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16364 * libio/Makefile (generated): Likewise.
16365 * malloc/Makefile (generated): Likewise.
16366 * manual/Makefile (generated, generated-dirs): Likewise.
16367 * misc/Makefile (generated): Likewise.
16368 * posix/Makefile (generated): Likewise.
16369 * resolv/Makefile (generated): Likewise.
16370 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16371 * timezone/Makefile (generated, generated-dirs): Likewise.
16373 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16375 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16378 power8 implementation.
16379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16380 file: POWER8 llround ifunc implementation.
16381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16382 (__lllround): Add POWER8 implementation.
16383 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16384 POWER8 llround implementation.
16386 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16387 power8 implementation.
16388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16389 file: POWER8 llrint ifunc implementation.
16390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16391 Add POWER8 implementation.
16392 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16393 POWER8 llrint implementation.
16395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16396 power8 implementation.
16397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16398 file: POWER8 finite ifunc implementation.
16399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16400 Add POWER8 implementation.
16401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16403 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16404 POWER8 finite implementation.
16405 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16408 power8 implementation.
16409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16410 file: POWER8 isinf ifunc implementation.
16411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16412 POWER8 implementation.
16413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16415 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16416 isinf implementation.
16417 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16419 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16420 (INIT_ARCH): Add hwcap2 initialization.
16421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16422 power8 implementation.
16423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16424 file: POWER8 isnan ifunc implementation.
16425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16426 POWER8 implementation.
16427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16430 isnan implementation.
16431 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16433 2014-02-27 Joey Ye <joey.ye@arm.com>
16435 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16436 (_FP_NANFRAC_Q): Set to zero.
16438 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16441 * math/auto-libm-test-in: New test inputs.
16442 * math/auto-libm-test-out: Regenerate.
16443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16446 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16448 2014-02-27 Joseph Myers <joseph@codesourcery.com>
16450 * scripts/evaluate-test.sh: Take new argument indicating whether
16451 failure is expected.
16452 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16453 indicating whether failure is expected.
16454 * conform/Makefile (test-xfail-run-conformtest): New variable.
16455 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16457 * posix/Makefile (test-xfail-annexc): New variable.
16458 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16460 2014-02-26 Joseph Myers <joseph@codesourcery.com>
16462 * argp/Makefile: Include Makeconfig immediately after defining
16464 * assert/Makefile: Likewise.
16465 * benchtests/Makefile: Likewise.
16466 * catgets/Makefile: Likewise.
16467 * conform/Makefile: Likewise.
16468 * crypt/Makefile: Likewise.
16469 * csu/Makefile: Likewise.
16470 (all): Remove target.
16471 * ctype/Makefile: Include Makeconfig immediately after defining
16473 * debug/Makefile: Likewise.
16474 * dirent/Makefile: Likewise.
16475 * dlfcn/Makefile: Likewise.
16476 * gmon/Makefile: Likewise.
16477 * gnulib/Makefile: Likewise.
16478 * grp/Makefile: Likewise.
16479 * gshadow/Makefile: Likewise.
16480 * hesiod/Makefile: Likewise.
16481 * hurd/Makefile: Likewise.
16482 (all): Remove target.
16483 * iconvdata/Makefile: Include Makeconfig immediately after
16485 * inet/Makefile: Likewise.
16486 * intl/Makefile: Likewise.
16487 * io/Makefile: Likewise.
16488 * libio/Makefile: Likewise.
16489 (all): Remove target.
16490 * locale/Makefile: Include Makeconfig immediately after defining
16492 * login/Makefile: Likewise.
16493 * mach/Makefile: Likewise.
16494 (all): Remove target.
16495 * malloc/Makefile: Include Makeconfig immediately after defining
16497 (all): Remove target.
16498 * manual/Makefile: Include Makeconfig immediately after defining
16500 * math/Makefile: Likewise.
16501 * misc/Makefile: Likewise.
16502 * nis/Makefile: Likewise.
16503 * nss/Makefile: Likewise.
16504 * po/Makefile: Likewise.
16505 (all): Remove target.
16506 * posix/Makefile: Include Makeconfig immediately after defining
16508 * pwd/Makefile: Likewise.
16509 * resolv/Makefile: Likewise.
16510 * resource/Makefile: Likewise.
16511 * rt/Makefile: Likewise.
16512 * setjmp/Makefile: Likewise.
16513 * shadow/Makefile: Likewise.
16514 * signal/Makefile: Likewise.
16515 * socket/Makefile: Likewise.
16516 * soft-fp/Makefile: Likewise.
16517 * stdio-common/Makefile: Likewise.
16518 * stdlib/Makefile: Likewise.
16519 * streams/Makefile: Likewise.
16520 * string/Makefile: Likewise.
16521 * sunrpc/Makefile: Likewise.
16522 (all): Remove target.
16523 * sysvipc/Makefile: Include Makeconfig immediately after defining
16525 * termios/Makefile: Likewise.
16526 * time/Makefile: Likewise.
16527 * timezone/Makefile: Likewise.
16528 (all): Remove target.
16529 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16531 * wctype/Makefile: Likewise.
16533 2014-02-26 Steve Ellcey <sellcey@mips.com>
16535 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16536 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16537 (libc_feholdexcept_setround_mips): Ditto.
16538 (libc_feholdsetround): New.
16539 (libc_feholdsetroundf): New.
16540 (libc_feholdsetroundl): New.
16541 (libc_feupdateenv_test_mips): New.
16542 (libc_feupdateenv_test): New.
16543 (libc_feupdateenv_testf): New.
16544 (libc_feupdateenv_testl): New.
16545 (libc_feresetround): New.
16546 (libc_feresetroundf): New.
16547 (libc_feresetroundl): New.
16548 (libc_fetestexcept_mips): New.
16549 (libc_fetestexcept): New.
16550 (libc_fetestexceptf): New.
16551 (libc_fetestexceptl): New.
16552 (HAVE_RM_CTX): New.
16553 (libc_feholdexcept_setround_mips_ctx): New.
16554 (libc_feholdexcept_setround_ctx): New.
16555 (libc_feholdexcept_setroundf_ctx): New.
16556 (libc_feholdexcept_setroundl_ctx): New.
16557 (libc_fesetenv_mips_ctx): New.
16558 (libc_fesetenv_ctx): New.
16559 (libc_fesetenv_ctxf): New.
16560 (libc_fesetenv_ctxl): New.
16561 (libc_feupdateenv_mips_ctx): New.
16562 (libc_feupdateenv_ctx): New.
16563 (libc_feupdateenvf_ctx): New.
16564 (libc_feupdateenvl_ctx): New.
16565 (libc_feholdsetround_mips_ctx): New.
16566 (libc_feholdsetround_ctx): New.
16567 (libc_feholdsetroundf_ctx): New.
16568 (libc_feholdsetroundl_ctx): New.
16569 (libc_feresetround_mips_ctx): New.
16570 (libc_feresetround_ctx): New.
16571 (libc_feresetroundf_ctx): New.
16572 (libc_feresetroundl_ctx): New.
16574 2014-02-26 Carlos O'Donell <carlos@redhat.com>
16576 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16578 * manual/ipc.texi: New file.
16579 * manual/Makefile (chapters): Add ipc.
16580 * manual/job.texi: Add "Inter-Process Communication" to next.
16581 * manual/process.texi: Add "Inter-Process Communication" to prev.
16583 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16587 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
16589 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16591 * manual/arith.texi: Fix spaces after sentences.
16592 * manual/charset.texi: Likewise.
16593 * manual/errno.texi: Likewise.
16594 * manual/install.texi: Likewise.
16595 * manual/llio.texi: Likewise.
16596 * manual/locale.texi: Likewise.
16597 * manual/maint.texi: Likewise.
16598 * manual/math.texi: Likewise.
16599 * manual/memory.texi: Likewise.
16600 * manual/message.texi: Likewise.
16601 * manual/probes.texi: Likewise.
16602 * manual/resource.texi: Likewise.
16603 * manual/signal.texi: Likewise.
16604 * manual/socket.texi: Likewise.
16605 * manual/stdio.texi: Likewise.
16606 * manual/string.texi: Likewise.
16607 * manual/time.texi: Likewise.
16608 * manual/users.texi: Likewise.
16610 2014-02-25 Carlos O'Donell <carlos@redhat.com>
16613 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16614 _DEFAULT_SOURCE is defined.
16616 2014-02-25 Ulrich Drepper <drepper@gmail.com>
16617 Carlos O'Donell <carlos@redhat.com>
16620 * elf/dl-tls.c (_dl_count_modids): New function.
16621 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16622 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16623 audit library and increment generation counter.
16624 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16625 * elf/tst-audit9.c: New file.
16626 * elf/tst-auditmod9a.c: New file.
16627 * elf/tst-auditmod9b.c: New file.
16628 * elf/Makefile: Add rules to build and run tst-audit9.
16630 2014-02-25 Florian Weimer <fweimer@redhat.com>
16633 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16635 2014-02-25 Will Newton <will.newton@linaro.org>
16637 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16638 (__longjmp): Restore sp and lr before restoring callee
16639 saved registers. Add longjmp and longjmp_target
16640 SystemTap probe point.
16641 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16642 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16643 Define to zero to match jmpbuf layout.
16644 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16645 (__sigsetjmp): Save sp and lr before saving callee
16646 saved registers. Add setjmp SystemTap probe point.
16648 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16650 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16652 2014-02-24 Andreas Schwab <schwab@suse.de>
16655 * elf/pldd.c (wait_for_ptrace_stop): New function.
16656 (main): Call it after attaching.
16658 2014-02-22 Roland McGrath <roland@hack.frob.com>
16660 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16661 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16662 Versions files is now verboten.
16663 * hurd/Versions (libc: GLIBC_2.0):
16664 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16665 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16666 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16667 * mach/Versions: Likewise.
16669 * csu/Versions: Remove unused %include.
16670 * resolv/Versions: Likewise.
16672 2014-02-21 Joseph Myers <joseph@codesourcery.com>
16674 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16675 ($(objpfx)check-local-headers.out): Likewise.
16676 ($(objpfx)begin-end-check.out): Likewise.
16677 * Makerules (check-abi-%.out): Likewise.
16678 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16679 ($(objpfx)test2.cat): Likewise.
16680 ($(objpfx)de/libc.cat): Likewise.
16681 ($(objpfx)test-gencat.out): Likewise.
16682 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16683 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16684 ($(objpfx)noload-mem): Likewise.
16685 ($(objpfx)tst-pathopt.out): Likewise.
16686 ($(objpfx)tst-rtld-load-self.out): Likewise.
16687 ($(objpfx)tst-array1-cmp.out): Likewise.
16688 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16689 ($(objpfx)tst-array2-cmp.out): Likewise.
16690 ($(objpfx)tst-array3-cmp.out): Likewise.
16691 ($(objpfx)tst-array4-cmp.out): Likewise.
16692 ($(objpfx)tst-array5-cmp.out): Likewise.
16693 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16694 ($(objpfx)check-textrel.out): Likewise.
16695 ($(objpfx)check-execstack.out): Likewise.
16696 ($(objpfx)check-localplt.out): Likewise.
16697 ($(objpfx)order2-cmp.out): Likewise.
16698 ($(objpfx)tst-leaks1-mem): Likewise.
16699 ($(objpfx)tst-leaks1-static-mem): Likewise.
16700 ($(objpfx)tst-initorder-cmp.out): Likewise.
16701 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16702 ($(objpfx)tst-unused-dep.out): Likewise.
16703 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16704 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16705 * iconv/Makefile (test-iconvconfig): Likewise.
16706 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16707 ($(objpfx)iconv-test.out): Likewise.
16708 ($(objpfx)tst-tables.out): Likewise.
16709 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16710 ($(objpfx)tst-gettext.out): Likewise.
16711 ($(objpfx)tst-translit.out): Likewise.
16712 ($(objpfx)tst-gettext2.out): Likewise.
16713 ($(objpfx)tst-gettext4.out): Likewise.
16714 ($(objpfx)tst-gettext6.out): Likewise.
16715 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16716 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16717 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16718 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16719 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16720 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16721 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16722 ($(objpfx)wordexp-tst.out): Likewise.
16723 ($(objpfx)annexc.out): Likewise.
16724 ($(objpfx)tst-fnmatch-mem): Likewise.
16725 ($(objpfx)bug-regex2-mem): Likewise.
16726 ($(objpfx)bug-regex14-mem): Likewise.
16727 ($(objpfx)bug-regex21-mem): Likewise.
16728 ($(objpfx)bug-regex31-mem): Likewise.
16729 ($(objpfx)tst-vfork3-mem): Likewise.
16730 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16731 ($(objpfx)tst-pcre-mem): Likewise.
16732 ($(objpfx)tst-boost-mem): Likewise.
16733 ($(objpfx)tst-getconf.out): Likewise.
16734 ($(objpfx)bug-ga2-mem): Likewise.
16735 ($(objpfx)bug-glob2-mem): Likewise.
16736 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16737 ($(objpfx)mtrace-tst-leaks2): Likewise.
16738 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16739 ($(objpfx)tst-printf.out): Likewise.
16740 ($(objpfx)tst-setvbuf1.out): Likewise.
16741 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16742 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16743 ($(objpfx)tst-fmtmsg.out): Likewise.
16744 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16745 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16747 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16748 * bits/sigaction.h [__USE_MISC]: Likewise.
16749 * bits/waitstatus.h: Update #endif comments.
16750 * ctype/ctype.h: Likewise.
16751 * dirent/dirent.h: Likewise.
16752 [__USE_MISC]: Remove redundant conditionals.
16753 * grp/grp.h: Update #endif comments.
16754 [__USE_GNU]: Remove redundant conditionals.
16755 [__USE_MISC]: Likewise.
16756 * inet/netinet/in.h [__USE_GNU]: Likewise.
16757 * io/sys/stat.h [__USE_MISC]: Likewise.
16758 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16759 * libio/bits/stdio.h: Update #endif comments.
16760 [__USE_MISC]: Remove redundant conditionals.
16761 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16762 * libio/stdio.h: Update #endif comments.
16763 [__USE_MISC]: Remove redundant conditionals.
16764 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16765 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16766 * math/math.h: Update #else and #endif comments.
16767 [__USE_MISC]: Remove redundant conditionals.
16768 * misc/sys/uio.h: Update #endif comments.
16769 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16770 * posix/glob.h [__USE_MISC]: Likewise.
16771 * posix/sys/types.h: Update #endif comments.
16772 [__USE_MISC]: Remove redundant conditionals.
16773 * posix/sys/wait.h: Update #endif comments.
16774 [__USE_MISC]: Remove redundant conditionals.
16775 * posix/unistd.h: Update #endif comments.
16776 [__USE_MISC]: Remove redundant conditionals.
16777 * pwd/pwd.h [__USE_GNU]: Likewise.
16778 [__USE_MISC]: Likewise.
16779 * resolv/netdb.h [__USE_GNU]: Likewise.
16780 * signal/signal.h: Update #endif comments.
16781 [__USE_MISC]: Remove redundant conditionals.
16782 * stdlib/stdlib.h: Update #else and #endif comments.
16783 [__USE_MISC]: Remove redundant conditionals.
16784 [__USE_GNU]: Likewise.
16785 * string/bits/string2.h [__USE_MISC]: Likewise.
16786 * string/string.h: Update #endif comments.
16787 [__USE_MISC]: Remove redundant conditionals.
16788 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16790 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16791 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16792 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16794 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16798 [__USE_MISC]: Remove redundant conditionals.
16799 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16800 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16801 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16802 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16803 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16805 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16806 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16808 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16809 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16811 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16813 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16814 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16816 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16818 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16819 * sysdeps/x86/bits/string.h: Update #endif comments.
16820 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16822 * time/sys/time.h: Update #endif comments.
16823 * time/time.h: Likewise.
16824 [__USE_MISC]: Remove redundant conditionals.
16826 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16829 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16831 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16833 * Versions.def (librt): Add GLIBC_2.17.
16835 2014-02-21 Adam Conrad <adconrad@0c3.net>
16837 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16838 synonym for _SYS_AUXV_H to allow direct inclusion.
16839 * sysdeps/sparc/bits/hwcap.h: Likewise.
16840 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16841 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16842 * sysdeps/sparc/sysdep.h: Likewise.
16844 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16846 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16848 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16850 * benchtests/bench-strrchr.c: Print length instead of position.
16852 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16855 * sysdeps/unix/sysv/linux/kernel-features.h
16856 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16857 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16858 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16859 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16861 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16862 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16863 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16864 (__ASSUME_SENDMMSG): Define instead of using previous
16865 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16866 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16867 (__ASSUME_SENDMMSG_SYSCALL): Define.
16868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16869 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16871 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16872 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16874 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16875 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16877 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16878 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16879 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16880 [__ASSUME_SENDMMSG]: Change conditionals to
16881 [__ASSUME_SENDMMSG_SOCKETCALL].
16882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16883 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16885 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16886 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16888 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16889 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16890 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16891 [!__ASSUME_SENDMMSG]: Change conditional to
16892 [!__ASSUME_SENDMMSG_SOCKETCALL].
16893 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16894 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16898 * sysdeps/unix/sysv/linux/kernel-features.h
16899 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16900 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16901 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16902 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16903 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16904 [__i386__ || __sparc__]
16905 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16906 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16907 (__ASSUME_RECVMMSG): Define instead of using previous
16908 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16909 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16910 (__ASSUME_RECVMMSG_SYSCALL): Define.
16911 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16912 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16914 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16915 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16917 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16918 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16920 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16921 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16922 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16923 [__ASSUME_RECVMMSG]: Change condition to
16924 [__ASSUME_RECVMMSG_SOCKETCALL].
16925 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16926 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16928 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16929 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16930 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16932 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16933 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16934 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16935 [!__ASSUME_RECVMMSG]: Change condition to
16936 [!__ASSUME_RECVMMSG_SOCKETCALL].
16937 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16938 (__ASSUME_RECVMMSG_SYSCALL): Define.
16941 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16942 __powerpc__ || __s390__ || __sh__ || __sparc__]
16943 (__ASSUME_SOCKETCALL): Define.
16944 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16945 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16946 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16947 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16948 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16949 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16950 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16951 (__ASSUME_ACCEPT4): Define instead of using previous
16952 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16953 __powerpc__ || __sparc__ || __s390__)] condition.
16954 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16955 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16956 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16957 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16958 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16959 [!__ASSUME_ACCEPT4]: Change condition to
16960 [!__ASSUME_ACCEPT4_SOCKETCALL].
16961 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16962 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16963 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16964 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16965 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16966 __ASSUME_ACCEPT4_SYSCALL.
16967 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16968 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16969 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16970 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16971 __ASSUME_ACCEPT4_SYSCALL.
16972 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16973 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16974 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16975 [__ASSUME_ACCEPT4]: Change condition to
16976 [__ASSUME_ACCEPT4_SOCKETCALL].
16977 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16978 (__ASSUME_SOCKETCALL): Define.
16979 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16980 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16981 (__ASSUME_SOCKETCALL): Define.
16982 (__ASSUME_ACCEPT4): Remove.
16983 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16985 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16986 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16988 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16989 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16991 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16993 (HWCAP_ARM_LPAE): Likewise.
16994 (HWCAP_ARM_EVTSTRM): Likewise.
16995 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16996 Add vpfd32, lpae and evtstrm.
16997 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17000 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17002 * math/auto-libm-test-in: Add tests of clog10.
17003 * math/auto-libm-test-out: Regenerated.
17004 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17005 * sysdeps/i386/fpu/libm-test-ulps: Update.
17006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17008 2014-02-18 Andreas Schwab <schwab@suse.de>
17011 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17012 Store non-zero if the second buffer was newly allocated.
17013 (send_dg): Likewise.
17014 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17015 to send_vc and send_dg.
17016 (res_nsend): Pass NULL for ansp2_malloced.
17017 * resolv/res_query.c (__libc_res_nquery): Add parameter
17018 answerp2_malloced and pass it down to __libc_res_nsend.
17019 (res_nquery): Pass additional NULL to __libc_res_nquery.
17020 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17021 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17022 second answer buffer if answerp2_malloced was set.
17023 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17024 (__libc_res_nquerydomain): Add parameter
17025 answerp2_malloced and pass it down to __libc_res_nquery.
17026 (res_nquerydomain): Pass additional NULL to
17027 __libc_res_nquerydomain.
17028 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17029 additional NULL to __libc_res_nsend and __libc_res_nquery.
17030 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17031 additional NULL to __libc_res_nsearch.
17032 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17033 parameter of __libc_res_nsearch to check for separately allocated
17035 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17037 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17038 additional NULL to __libc_res_nquery.
17039 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17040 __libc_res_nsearch.
17041 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17042 * include/resolv.h: Update prototypes of __libc_res_nquery,
17043 __libc_res_nsearch, __libc_res_nsend.
17045 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17047 * math/auto-libm-test-in: Add tests of fma.
17048 * math/auto-libm-test-out: Regenerated.
17049 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17050 (fma_towardzero_test_data): Likewise.
17051 (fma_downward_test_data): Likewise.
17052 (fma_upward_test_data): Likewise.
17053 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17055 (rounding_modes): Add values for new field.
17056 (func_calc_method): Add value mpfr_fff_f.
17057 (func_calc_desc): Add mpfr_fff_f union field.
17058 (test_function): Add field exact_args.
17059 (FUNC): Add macro argument EXACT_ARGS.
17060 (FUNC_mpfr_f_f): Update call to FUNC.
17061 (FUNC_mpfr_f_f): Likewise.
17062 (FUNC_mpfr_ff_f): Likewise.
17063 (FUNC_mpfr_if_f): Likewise.
17064 (FUNC_mpc_c_f): Likewise.
17065 (FUNC_mpc_c_c): Likewise.
17066 (test_functions): Add fma. Update calls to FUNC.
17067 (handle_input_arg): Add argument exact_args.
17068 (add_test): Update call to handle_input_arg.
17069 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17070 (output_for_one_input_case): Update call to calc_generic_results.
17071 Recalculate exact zero results in each rounding mode.
17073 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17074 non-negative before setting low bit.
17075 * math/auto-libm-test-in: Mark one asin test possibly having
17076 spurious underflow.
17077 * math/auto-libm-test-out: Regenerated.
17078 * sysdeps/i386/fpu/libm-test-ulps: Update.
17079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17081 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17083 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17084 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17085 ports/sysdeps/unix/sysv/linux/microblaze.
17086 * README: Add missing listing for microblaze*-*-linux-gnu.
17088 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17090 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17093 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17095 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17096 * sysdeps/unix/sysv/linux/ia64: Move directory from
17097 ports/sysdeps/unix/sysv/linux/ia64.
17098 * README: Update listing for ia64-*-linux-gnu.
17100 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17101 Joseph Myers <joseph@codesourcery.com>
17103 * Makeconfig (test-name): New variable.
17104 (evaluate-test): Likewise.
17105 * Makerules (do-test-clean): Remove .test-result files.
17106 (common-mostlyclean): Likewise.
17107 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17108 * scripts/evaluate-test.sh: New file.
17110 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17112 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17113 separate $(objpfx)tst-fopenloc-cmp.out and
17114 $(objpfx)tst-fopenloc-mem.out targets.
17115 (tests): Update dependencies.
17116 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17117 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17118 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17119 (tst-rxspencer-no-utf8-ARGS): New variable.
17120 (tst-rxspencer-no-utf8-ENV): Likewise.
17121 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17122 instead of $(objpfx)tst-rxspencer-mem.
17123 ($(objpfx)tst-rxspencer-mem): Change target to
17124 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17125 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17126 * posix/tst-rxspencer-no-utf8.c: New file.
17128 * elf/Makefile ($(objpfx)order.out): Remove rule.
17129 [$(run-built-tests) = yes] (tests): Depend on
17130 $(objpfx)order-cmp.out.
17131 ($(objpfx)order-cmp.out): New rule.
17132 [$(run-built-tests) = yes] (tests): Depend on
17133 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17134 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17135 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17136 $(objpfx)tst-array5-static-cmp.out.
17137 ($(objpfx)tst-array1.out): Remove rule.
17138 ($(objpfx)tst-array1-cmp.out): New rule.
17139 ($(objpfx)tst-array1-static.out): Remove rule.
17140 ($(objpfx)tst-array1-static-cmp.out): New rule.
17141 ($(objpfx)tst-array2.out): Remove rule.
17142 ($(objpfx)tst-array2-cmp.out): New rule.
17143 ($(objpfx)tst-array3.out): Remove rule.
17144 ($(objpfx)tst-array3-cmp.out): New rule.
17145 ($(objpfx)tst-array4.out): Remove rule.
17146 ($(objpfx)tst-array4-cmp.out): New rule.
17147 ($(objpfx)tst-array5.out): Remove rule.
17148 ($(objpfx)tst-array5-cmp.out): New rule.
17149 ($(objpfx)tst-array5-static.out): Remove rule.
17150 ($(objpfx)tst-array5-static-cmp.out): New rule.
17151 [$(run-built-tests) = yes] (tests): Depend on
17152 $(objpfx)order2-cmp.out.
17153 ($(objpfx)order2.out): Remove rule.
17154 ($(objpfx)order2-cmp.out): New rule.
17155 ($(objpfx)tst-initorder.out): Remove rule.
17156 [$(run-built-tests) = yes] (tests): Depend on
17157 $(objpfx)tst-initorder-cmp.out.
17158 ($(objpfx)tst-initorder-cmp.out): New rule.
17159 ($(objpfx)tst-initorder2.out): Remove rule.
17160 [$(run-built-tests) = yes] (tests): Depend on
17161 $(objpfx)tst-initorder2-cmp.out.
17162 ($(objpfx)tst-initorder2-cmp.out): New rule.
17163 [$(run-built-tests) = yes] (tests): Depend on
17164 $(objpfx)tst-unused-dep-cmp.out.
17165 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17166 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17167 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17168 on $(objpfx)tst-setvbuf1-cmp.out.
17169 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17170 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17171 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17172 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17173 ($(objpfx)tst-svc.out): Remove rule.
17174 ($(objpfx)tst-svc-cmp.out): New rule.
17176 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17178 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17179 * ctype/ctype.h [__USE_MISC]: Likewise.
17180 * dirent/dirent.h [__USE_MISC]: Likewise.
17181 * grp/grp.h [__USE_MISC]: Likewise.
17182 * io/fcntl.h [__USE_MISC]: Likewise.
17183 * io/sys/stat.h [__USE_MISC]: Likewise.
17184 * libio/stdio.h [__USE_MISC]: Likewise.
17185 * posix/unistd.h [__USE_MISC]: Likewise.
17186 * pwd/pwd.h [__USE_MISC]: Likewise.
17187 * stdlib.h [__USE_MISC]: Likewise.
17188 * string/bits/string2.h [__USE_MISC]: Likewise.
17189 * string/string.h [__USE_MISC]: Likewise.
17190 * time/time.h [__USE_MISC]: Likewise.
17192 2014-02-13 Andreas Schwab <schwab@suse.de>
17195 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17196 second answer buffer if it was separately allocated.
17198 2014-02-12 Joseph Myers <joseph@codesourcery.com>
17200 * sysdeps/mips/math-tests.h: Include <features.h>.
17201 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17202 (ROUNDING_TESTS_long_double): Do not define.
17203 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17204 (EXCEPTION_TESTS_long_double): Likewise.
17205 * sysdeps/mips/mips64/libm-test-ulps: Update.
17207 * include/features.h (__USE_BSD): Remove macro definitions.
17208 (__USE_SVID): Likewise.
17209 (_BSD_SOURCE): Likewise.
17210 (_SVID_SOURCE): Likewise.
17211 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17212 from definition of _DEFAULT_SOURCE.
17213 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17215 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17216 * bits/mman.h [__USE_BSD]: Likewise.
17217 * bits/termios.h [__USE_BSD]: Likewise.
17218 * bits/waitstatus.h [__USE_BSD]: Likewise.
17219 * ctype/ctype.h [__USE_SVID]: Likewise.
17220 * dirent/dirent.h [__USE_BSD]: Likewise.
17221 * grp/grp.h [__USE_SVID]: Likewise.
17222 [__USE_BSD]: Likewise.
17223 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17224 * io/fcntl.h [__USE_BSD]: Likewise.
17225 * io/ftw.h [__USE_BSD]: Likewise.
17226 * io/sys/stat.h [__USE_BSD]: Likewise.
17227 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17228 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17229 * libio/stdio.h [__USE_SVID]: Likewise.
17230 [__USE_BSD]: Likewise.
17231 * math/math.h [__USE_SVID]: Likewise.
17232 [__USE_BSD]: Likewise.
17233 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17234 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17235 * misc/search.h [__USE_SVID]: Likewise.
17236 * misc/sys/mman.h [__USE_BSD]: Likewise.
17237 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17238 * misc/sys/uio.h [__USE_BSD]: Likewise.
17239 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17240 * posix/glob.h [__USE_BSD]: Likewise.
17241 * posix/regex.h [__USE_BSD]: Likewise.
17242 * posix/sys/types.h [__USE_BSD]: Likewise.
17243 [__USE_SVID]: Likewise.
17244 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17245 * posix/sys/wait.h [__USE_BSD]: Likewise.
17246 [__USE_SVID]: Likewise.
17247 * posix/unistd.h [__USE_BSD]: Likewise.
17248 [__USE_SVID]: Likewise.
17249 * pwd/pwd.h [__USE_SVID]: Likewise.
17250 * resolv/netdb.h [__USE_BSD]: Likewise.
17251 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17252 * signal/signal.h [__USE_BSD]: Likewise.
17253 [__USE_SVID]: Likewise.
17254 * socket/sys/socket.h [__USE_BSD]: Likewise.
17255 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17256 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17257 [__USE_SVID]: Likewise.
17258 * string/bits/string2.h [__USE_BSD]: Likewise.
17259 [__USE_SVID]: Likewise.
17260 * string/bits/string3.h [__USE_BSD]: Likewise.
17261 * string/endian.h [__USE_BSD]: Likewise.
17262 * string/string.h [__USE_SVID]: Likewise.
17263 [__USE_BSD]: Likewise.
17264 * string/strings.h [__USE_BSD]: Likewise.
17265 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17266 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17267 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17268 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17269 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17270 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17274 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17275 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17277 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17278 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17280 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17282 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17283 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17284 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17286 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17288 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17289 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17290 * termios/termios.h [__USE_BSD]: Likewise.
17291 * time/sys/time.h [__USE_BSD]: Likewise.
17292 * time/time.h [__USE_BSD]: Likewise.
17293 [__USE_SVID]: Likewise.
17295 * Makefile (subdir_targets): Remove subdir_lint.out.
17297 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17298 (do-tst-printf): Likewise.
17299 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17300 $(objpfx)tst-printf.out.
17302 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17304 * Makerules (check-abi-%): Change target to
17305 $(objpfx)check-abi-%.out.
17306 (check-abi target): Update dependencies.
17307 (check-abi-pattern variable): Redirect output of diff to $@.
17308 (check-abi variable): Likewise.
17309 * elf/Makefile (check-abi): Update dependencies.
17311 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17313 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17314 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17316 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17317 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17318 value has largest subnormal exponent.
17319 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17320 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17321 * sysdeps/aarch64/soft-fp/sfp-machine.h
17322 (_FP_TININESS_AFTER_ROUNDING): New macro.
17323 * sysdeps/alpha/soft-fp/sfp-machine.h
17324 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17325 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17327 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17328 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17329 * sysdeps/mips/soft-fp/sfp-machine.h
17330 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17331 * sysdeps/powerpc/soft-fp/sfp-machine.h
17332 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17333 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17335 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17336 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17337 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17338 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17339 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17342 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
17345 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17348 2014-02-12 Richard Henderson <rth@redhat.com>
17350 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17351 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17352 * sysdeps/unix/sysv/linux/alpha: Move directory from
17353 ports/sysdeps/unix/sysv/linux/alpha.
17354 * README: Update listing for alpha-*-linux-gnu.
17356 2014-02-11 Joseph Myers <joseph@codesourcery.com>
17358 * include/features.h: Update comment documenting feature test
17360 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17362 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17363 (_SVID_SOURCE): Likewise.
17364 (_DEFAULT_SOURCE): Update description of default features.
17365 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17367 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17368 (S_ISVTX): Likewise.
17369 * manual/math.texi (Mathematical Constants): Likewise.
17370 * manual/signal.texi (Interrupted Primitives): Likewise.
17371 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17372 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17373 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17374 Don't refer to _SVID_SOURCE in warning text.
17376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17378 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17380 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17381 * sysdeps/mips/dl-lookup.c: Remove.
17382 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17384 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17387 * math/auto-libm-test-in: Add testcase for expl.
17388 * math/auto-libm-test-out: Regenerate.
17389 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17390 calculation of unsafe.
17391 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17393 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17395 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17396 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17397 ports/sysdeps/unix/sysv/linux/aarch64.
17398 * README: Update listing for aarch64*-*-linux-gnu.
17400 2014-02-11 Will Newton <will.newton@linaro.org>
17402 * manual/probes.texi (Mathematical Function Probes): Use
17403 "triggered" instead of "hit".
17405 * manual/probes.texi (Internal Probes): Add documentation
17406 of setjmp, longjmp and longjmp_target probes.
17408 * include/stap-probe.h: Add comment about probe argument
17411 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17412 definition. (tr_where, tr_freehook, tr_mallochook,
17413 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17415 2014-02-11 David S. Miller <davem@davemloft.net>
17417 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17418 processing int_tests.
17420 2014-02-10 Joseph Myers <joseph@codesourcery.com>
17422 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17423 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17424 * sysdeps/unix/sysv/linux/mips: Move directory from
17425 ports/sysdeps/unix/sysv/linux/mips.
17426 * README: Update listing for mips-*-linux-gnu and
17427 mips64-*-linux-gnu.
17429 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17431 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17432 * sysdeps/unix/sysv/linux/m68k: Move directory from
17433 ports/sysdeps/unix/sysv/linux/m68k.
17434 * README: Update listing for m68k-*-linux-gnu.
17436 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17438 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17439 * sysdeps/unix/sysv/linux/generic: Move directory from
17440 ports/sysdeps/unix/sysv/linux/generic.
17441 * sysdeps/unix/sysv/linux/tile: Move directory from
17442 ports/sysdeps/unix/sysv/linux/tile.
17443 * README: Update listing for tile*-*-linux-gnu.
17445 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
17447 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17449 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17450 * catgets/open_catalog.c (__open_catalog): Likewise.
17451 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17452 * debug/confstr_chk.c: Likewise.
17453 * debug/fread_chk.c (__fread_chk): Likewise.
17454 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17455 * debug/getgroups_chk.c: Likewise.
17456 * debug/mbsnrtowcs_chk.c: Likewise.
17457 * debug/mbsrtowcs_chk.c: Likewise.
17458 * debug/mbstowcs_chk.c: Likewise.
17459 * debug/memcpy_chk.c: Likewise.
17460 * debug/memmove_chk.c: Likewise.
17461 * debug/mempcpy_chk.c: Likewise.
17462 * debug/memset_chk.c: Likewise.
17463 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17464 * debug/strcat_chk.c (__strcat_chk): Likewise.
17465 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17466 * debug/strncat_chk.c (__strncat_chk): Likewise.
17467 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17468 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17469 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17470 * debug/wcpncpy_chk.c: Likewise.
17471 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17472 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17473 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17474 * debug/wcsncpy_chk.c: Likewise.
17475 * debug/wcsnrtombs_chk.c: Likewise.
17476 * debug/wcsrtombs_chk.c: Likewise.
17477 * debug/wcstombs_chk.c: Likewise.
17478 * debug/wmemcpy_chk.c: Likewise.
17479 * debug/wmemmove_chk.c: Likewise.
17480 * debug/wmempcpy_chk.c: Likewise.
17481 * debug/wmemset_chk.c: Likewise.
17482 * dirent/scandirat.c (SCANDIRAT): Likewise.
17483 * dlfcn/dladdr1.c (dladdr1): Likewise.
17484 * dlfcn/dladdr.c (dladdr): Likewise.
17485 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17486 * dlfcn/dlerror.c (__dlerror): Likewise.
17487 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17488 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17489 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17490 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17491 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17492 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17493 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17494 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17496 * elf/dl-conflict.c: Likewise.
17497 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17498 * elf/dl-dst.h: Likewise.
17499 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17500 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17501 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17502 * elf/dl-init.c (call_init, _dl_init): Likewise.
17503 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17504 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17505 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17507 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17509 * elf/dl-minimal.c (__libc_memalign): Likewise.
17510 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17511 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17512 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17513 * elf/dl-sym.c (do_sym): Likewise.
17514 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17515 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17516 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17517 * elf/dl-writev.h (_dl_writev): Likewise.
17518 * elf/ldconfig.c (search_dir): Likewise.
17519 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17520 (dl_main): Likewise.
17521 * elf/setup-vdso.h (setup_vdso): Likewise.
17522 * grp/compat-initgroups.c (compat_call): Likewise.
17523 * grp/fgetgrent.c (fgetgrent): Likewise.
17524 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17525 * grp/putgrent.c (putgrent): Likewise.
17526 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17528 * hurd/hurdinit.c: Likewise.
17529 * iconvdata/8bit-gap.c (struct): Likewise.
17530 * iconvdata/ansi_x3.110.c : Likewise.
17531 * iconvdata/big5.c : Likewise.
17532 * iconvdata/big5hkscs.c : Likewise.
17533 * iconvdata/cp1255.c: Likewise.
17534 * iconvdata/cp1258.c : Likewise.
17535 * iconvdata/cp932.c : Likewise.
17536 * iconvdata/euc-cn.c: Likewise.
17537 * iconvdata/euc-jisx0213.c : Likewise.
17538 * iconvdata/euc-jp.c: Likewise.
17539 * iconvdata/euc-jp-ms.c : Likewise.
17540 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17541 * iconvdata/gb18030.c : Likewise.
17542 * iconvdata/gbbig5.c (const): Likewise.
17543 * iconvdata/gbgbk.c: Likewise.
17544 * iconvdata/gbk.c : Likewise.
17545 * iconvdata/ibm1364.c : Likewise.
17546 * iconvdata/ibm930.c : Likewise.
17547 * iconvdata/ibm932.c: Likewise.
17548 * iconvdata/ibm933.c : Likewise.
17549 * iconvdata/ibm935.c : Likewise.
17550 * iconvdata/ibm937.c : Likewise.
17551 * iconvdata/ibm939.c : Likewise.
17552 * iconvdata/ibm943.c: Likewise.
17553 * iconvdata/iso_11548-1.c: Likewise.
17554 * iconvdata/iso-2022-cn.c : Likewise.
17555 * iconvdata/iso-2022-cn-ext.c : Likewise.
17556 * iconvdata/iso-2022-jp-3.c: Likewise.
17557 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17558 * iconvdata/iso-2022-kr.c : Likewise.
17559 * iconvdata/iso646.c (gconv_end): Likewise.
17560 * iconvdata/iso_6937-2.c : Likewise.
17561 * iconvdata/iso_6937.c : Likewise.
17562 * iconvdata/iso8859-1.c: Likewise.
17563 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17564 * iconvdata/shift_jisx0213.c : Likewise.
17565 * iconvdata/sjis.c : Likewise.
17566 * iconvdata/t.61.c : Likewise.
17567 * iconvdata/tcvn5712-1.c : Likewise.
17568 * iconvdata/tscii.c: Likewise.
17569 * iconvdata/uhc.c : Likewise.
17570 * iconvdata/unicode.c (gconv_end): Likewise.
17571 * iconvdata/utf-16.c (gconv_end): Likewise.
17572 * iconvdata/utf-32.c (gconv_end): Likewise.
17573 * iconvdata/utf-7.c (base64): Likewise.
17574 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17575 * iconv/gconv_close.c (__gconv_close): Likewise.
17576 * iconv/gconv_open.c (__gconv_open): Likewise.
17577 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17578 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17579 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17580 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17581 (ucs4le_internal_loop_single): Likewise.
17582 * iconv/iconv.c (iconv): Likewise.
17583 * iconv/iconv_close.c: Likewise.
17584 * iconv/loop.c (SINGLE): Likewise.
17585 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17586 * include/atomic.h: Likewise.
17587 * inet/inet6_option.c (option_alloc): Likewise.
17588 * intl/bindtextdom.c (set_binding_values): Likewise.
17589 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17590 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17591 * intl/localealias.c (read_alias_file): Likewise.
17592 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17593 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17594 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17595 * libio/fmemopen.c (fmemopen): Likewise.
17596 * libio/iofgets.c (_IO_fgets): Likewise.
17597 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17598 * libio/iofgetws.c (fgetws): Likewise.
17599 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17600 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17601 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17602 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17603 * locale/findlocale.c (_nl_find_locale): Likewise.
17604 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17605 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17607 * locale/setlocale.c (setlocale): Likewise.
17608 * login/programs/pt_chown.c (main): Likewise.
17609 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17610 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17611 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17612 (mmap, mmap64, mremap, munmap): Likewise.
17613 * math/e_exp2l.c: Likewise.
17614 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17615 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17616 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17617 * math/s_catan.c (__catan): Likewise.
17618 * math/s_catanf.c (__catanf): Likewise.
17619 * math/s_catanh.c (__catanh): Likewise.
17620 * math/s_catanhf.c (__catanhf): Likewise.
17621 * math/s_catanhl.c (__catanhl): Likewise.
17622 * math/s_catanl.c (__catanl): Likewise.
17623 * math/s_ccosh.c (__ccosh): Likewise.
17624 * math/s_ccoshf.c (__ccoshf): Likewise.
17625 * math/s_ccoshl.c (__ccoshl): Likewise.
17626 * math/s_cexp.c (__cexp): Likewise.
17627 * math/s_cexpf.c (__cexpf): Likewise.
17628 * math/s_cexpl.c (__cexpl): Likewise.
17629 * math/s_clog10.c (__clog10): Likewise.
17630 * math/s_clog10f.c (__clog10f): Likewise.
17631 * math/s_clog10l.c (__clog10l): Likewise.
17632 * math/s_clog.c (__clog): Likewise.
17633 * math/s_clogf.c (__clogf): Likewise.
17634 * math/s_clogl.c (__clogl): Likewise.
17635 * math/s_csin.c (__csin): Likewise.
17636 * math/s_csinf.c (__csinf): Likewise.
17637 * math/s_csinh.c (__csinh): Likewise.
17638 * math/s_csinhf.c (__csinhf): Likewise.
17639 * math/s_csinhl.c (__csinhl): Likewise.
17640 * math/s_csinl.c (__csinl): Likewise.
17641 * math/s_csqrt.c (__csqrt): Likewise.
17642 * math/s_csqrtf.c (__csqrtf): Likewise.
17643 * math/s_csqrtl.c (__csqrtl): Likewise.
17644 * math/s_ctan.c (__ctan): Likewise.
17645 * math/s_ctanf.c (__ctanf): Likewise.
17646 * math/s_ctanh.c (__ctanh): Likewise.
17647 * math/s_ctanhf.c (__ctanhf): Likewise.
17648 * math/s_ctanhl.c (__ctanhl): Likewise.
17649 * math/s_ctanl.c (__ctanl): Likewise.
17650 * math/w_pow.c: Likewise.
17651 * math/w_powf.c: Likewise.
17652 * math/w_powl.c: Likewise.
17653 * math/w_scalb.c (sysv_scalb): Likewise.
17654 * math/w_scalbf.c (sysv_scalbf): Likewise.
17655 * math/w_scalbl.c (sysv_scalbl): Likewise.
17656 * misc/error.c (error_tail): Likewise.
17657 * misc/pselect.c (__pselect): Likewise.
17658 * nis/nis_callback.c (__nis_create_callback): Likewise.
17659 * nis/nis_call.c (__nisfind_server): Likewise.
17660 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17661 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17662 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17663 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17664 * nis/nis_lookup.c (nis_lookup): Likewise.
17665 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17666 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17667 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17668 * nis/nis_xdr.c (xdr_endpoint): Likewise.
17669 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17670 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17671 * nis/nss_compat/compat-initgroups.c (add_group)
17672 (internal_getgrent_r): Likewise.
17673 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17674 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17675 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17676 (internal_getspnam_r): Likewise.
17677 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17678 (_nss_nis_getaliasbyname_r): Likewise.
17679 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17680 (_nss_nis_getntohost_r): Likewise.
17681 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17682 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17683 (_nss_nis_getgrgid_r): Likewise.
17684 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17685 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17686 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17687 (_nss_nis_gethostbyname4_r): Likewise.
17688 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17689 (initgroups_netid): Likewise.
17690 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17691 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17692 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17693 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17694 (_nss_nis_getprotobynumber_r): Likewise.
17695 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17696 (_nss_nis_getsecretkey): Likewise.
17697 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17698 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17699 (_nss_nis_getpwuid_r): Likewise.
17700 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17701 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17702 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17703 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17704 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17705 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17706 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17708 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17709 (_nss_nisplus_getntohost_r): Likewise.
17710 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17711 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17712 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17713 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17715 * nis/nss_nisplus/nisplus-initgroups.c
17716 (_nss_nisplus_initgroups_dyn): Likewise.
17717 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17718 (_nss_nisplus_getnetbyaddr_r): Likewise.
17719 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17720 (_nss_nisplus_getprotobynumber_r): Likewise.
17721 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17722 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17723 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17725 * nis/nss_nisplus/nisplus-service.c
17726 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17727 (_nss_nisplus_getservbyport_r): Likewise.
17728 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17729 (_nss_nisplus_getspnam_r): Likewise.
17730 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17732 * nscd/aicache.c (addhstaiX): Likewise.
17733 * nscd/cache.c (cache_search, prune_cache): Likewise.
17734 * nscd/connections.c (register_traced_file, send_ro_fd)
17735 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17736 (main_loop_epoll): Likewise.
17737 * nscd/grpcache.c (addgrbyX): Likewise.
17738 * nscd/hstcache.c (addhstbyX): Likewise.
17739 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17740 * nscd/mem.c (gc, mempool_alloc): Likewise.
17741 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17742 (addinnetgrX): Likewise.
17743 * nscd/nscd-client.h (__nscd_acquire_maplock)
17744 (__nscd_drop_map_ref): Likewise.
17745 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17746 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17747 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17749 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17750 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17751 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17752 (__nscd_get_map_ref): Likewise.
17753 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17754 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17756 * nscd/pwdcache.c (addpwbyX): Likewise.
17757 * nscd/selinux.c (preserve_capabilities): Likewise.
17758 * nscd/servicescache.c (addservbyX): Likewise.
17759 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17760 * posix/fnmatch.c (fnmatch): Likewise.
17761 * posix/getopt.c (_getopt_internal_r): Likewise.
17762 * posix/glob.c (glob, glob_in_dir): Likewise.
17763 * posix/wordexp.c (exec_comm_child): Likewise.
17764 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17765 (getanswer_r, gaih_getanswer_slice): Likewise.
17766 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17767 * resolv/res_init.c: Likewise.
17768 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17769 * resolv/res_query.c (__libc_res_nquery): Likewise.
17770 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17772 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17773 * stdio-common/perror.c (perror): Likewise.
17774 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17775 * stdio-common/tmpnam.c (tmpnam): Likewise.
17776 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17777 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17778 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17780 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17781 * stdlib/putenv.c (putenv): Likewise.
17782 * stdlib/setenv.c (__add_to_environ): Likewise.
17783 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17784 * stdlib/strtol_l.c (INTERNAL): Likewise.
17785 * string/memmem.c (memmem): Likewise.
17786 * string/strerror.c (strerror): Likewise.
17787 * string/strnlen.c (__strnlen): Likewise.
17788 * string/test-memmem.c (simple_memmem): Likewise.
17789 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17790 * sunrpc/pm_getport.c (__get_socket): Likewise.
17791 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17792 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17793 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17794 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17796 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17797 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17798 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17799 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17800 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17801 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17803 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17805 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17806 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17807 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17808 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17809 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17811 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17812 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17813 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17814 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17815 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17816 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17818 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17820 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17822 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17824 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17826 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17827 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17828 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17832 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17834 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17835 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17837 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17839 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17841 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17843 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17845 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17847 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17849 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17850 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17851 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17852 * sysdeps/posix/sleep.c: Likewise.
17853 * sysdeps/posix/tempname.c: Likewise.
17854 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17855 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17857 * sysdeps/powerpc/powerpc32/dl-machine.h
17858 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17859 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17860 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17861 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17862 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17864 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17865 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17866 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17867 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17868 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17869 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17870 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17871 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17872 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17873 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17875 (elf_machine_lazy_rel): Likewise.
17876 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17878 (elf_machine_lazy_rel): Likewise.
17879 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17880 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17881 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17882 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17883 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17884 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17885 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17889 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17890 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17891 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17892 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17893 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17894 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17895 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17896 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17897 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17898 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17900 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17901 (__posix_fallocate64_l64): Likewise.
17902 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17903 (posix_fallocate): Likewise.
17904 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17907 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17908 (getifaddrs_internal): Likewise.
17909 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17910 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17911 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17912 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17913 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17914 (__posix_fallocate64_l64): Likewise.
17915 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17917 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17918 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17919 (__get_clockfreq): Likewise.
17920 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17921 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17922 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17925 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17926 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17927 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17929 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17930 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17931 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17932 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17933 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17934 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17935 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17937 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17938 (posix_fallocate): Likewise.
17939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17940 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17941 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17942 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17943 (elf_machine_rela, elf_machine_rela_relative)
17944 (elf_machine_lazy_rel): Likewise.
17945 * time/asctime.c (asctime_internal): Likewise.
17946 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17947 * time/tzset.c (__tzset_parse_tz): Likewise.
17948 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17949 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17950 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17951 * wcsmbs/wcsmbsload.h: Likewise.
17954 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17956 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17957 (arena_get2): Remove THREAD_STATS conditionals.
17958 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17959 (__malloc_stats, int): Likewise.
17961 2014-02-08 Mike Frysinger <vapier@gentoo.org>
17963 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17964 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17966 * manual/setjmp.texi: Fix typos/grammar errors.
17968 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17969 Only return early when n is <= 0. Delete unused return statement.
17971 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17972 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17973 * debug/tst-longjmp_chk3.c: New file.
17975 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17976 (test_main): Replace code with set_fortify_handler call.
17977 * debug/test-strcpy_chk.c: Likewise.
17978 * debug/tst-chk1.c: Likewise.
17979 * debug/tst-longjmp_chk.c: Likewise.
17980 * test-skeleton.c: Include fcntl.h & paths.h
17981 (set_fortify_handler): Define.
17983 * debug/tst-longjmp_chk.c: Add header comment and include
17984 ../test-skeleton.c.
17985 (do_test): Mark static.
17986 (TEST_FUNCTION): Define.
17988 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17989 (IP_PMTUDISC_INTERFACE): Likewise.
17990 (IP_MULTICAST_IF): Likewise.
17991 (IP_MULTICAST_TTL): Likewise.
17992 (IP_MULTICAST_LOOP): Likewise.
17993 (IP_ADD_MEMBERSHIP): Likewise.
17994 (IP_DROP_MEMBERSHIP): Likewise.
17995 (IP_UNBLOCK_SOURCE): Likewise.
17996 (IP_BLOCK_SOURCE): Likewise.
17997 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17998 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17999 (IP_MSFILTER): Likewise.
18000 (MCAST_JOIN_GROUP): Likewise.
18001 (MCAST_BLOCK_SOURCE): Likewise.
18002 (MCAST_UNBLOCK_SOURCE): Likewise.
18003 (MCAST_LEAVE_GROUP): Likewise.
18004 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18005 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18006 (MCAST_MSFILTER): Likewise.
18007 (IP_MULTICAST_ALL): Likewise.
18008 (IP_UNICAST_IF): Likewise.
18010 * timezone/Makefile: Delete $(have-ksh) check.
18011 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18012 * timezone/tzselect.ksh: Add +x mode bits.
18014 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18015 (ANON_INODE_FS_MAGIC): Likewise.
18016 (BDEVFS_MAGIC): Likewise.
18017 (BINFMTFS_MAGIC): Likewise.
18018 (BTRFS_TEST_MAGIC): Likewise.
18019 (CRAMFS_MAGIC_WEND): Likewise.
18020 (DEBUGFS_MAGIC): Likewise.
18021 (ECRYPTFS_SUPER_MAGIC): Likewise.
18022 (EXT3_SUPER_MAGIC): Likewise.
18023 (EXT4_SUPER_MAGIC): Likewise.
18024 (FUTEXFS_SUPER_MAGIC): Likewise.
18025 (HOSTFS_SUPER_MAGIC): Likewise.
18026 (HUGETLBFS_MAGIC): Likewise.
18027 (MINIX3_SUPER_MAGIC): Likewise.
18028 (MTD_INODE_FS_MAGIC): Likewise.
18029 (NILFS_SUPER_MAGIC): Likewise.
18030 (OPENPROM_SUPER_MAGIC): Likewise.
18031 (PIPEFS_MAGIC): Likewise.
18032 (PSTOREFS_MAGIC): Likewise.
18033 (QNX6_SUPER_MAGIC): Likewise.
18034 (RAMFS_MAGIC): Likewise.
18035 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18036 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18037 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18038 (SECURITYFS_MAGIC): Likewise.
18039 (SELINUX_MAGIC): Likewise.
18040 (SMACK_MAGIC): Likewise.
18041 (SOCKFS_MAGIC): Likewise.
18042 (SQUASHFS_MAGIC): Likewise.
18043 (STACK_END_MAGIC): Likewise.
18044 (TMPFS_MAGIC): Likewise.
18045 (USBDEVICE_SUPER_MAGIC): Likewise.
18046 (V9FS_MAGIC): Likewise.
18047 (XENFS_SUPER_MAGIC): Likewise.
18048 (CRAMFS_MAGIC): Fix typo in comment.
18049 (EXT2_SUPER_MAGIC): Update comment.
18050 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18052 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18054 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18055 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18056 * sysdeps/unix/sysv/linux/arm: Move directory from
18057 ports/sysdeps/unix/sysv/linux/arm.
18058 * README: Update listing for arm-*-linux-gnueabi.
18060 * README: Remove mention of am33.
18062 2014-02-07 Roland McGrath <roland@hack.frob.com>
18064 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18065 than the comma operator, to avoid "rhs of comma has no effect"
18067 (__sigfillset, __sigandset, __sigorset): Likewise.
18068 * include/signal.h (__sigemptyset): Likewise.
18069 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18071 2014-02-07 Allan McRae <allan@archlinux.org>
18073 * version.h (RELEASE): Set to "development".
18074 (VERSION): Set to "2.19.90"
18075 * NEWS: Add 2.20 section.
18077 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18080 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18082 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18084 * manual/contrib.texi: Update entry for Carlos O'Donell,
18085 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18087 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18089 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18091 * sysdeps/unix/sysv/linux/kernel-features.h
18092 [__LINUX_KERNEL_VERSION >= 0x020621]
18093 (__ASSUME_PROC_PID_TASK_COMM): Define.
18095 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18098 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18099 conversion when destination buffer does not have enough space.
18100 * libio/tst-ftell-partial-wide.c: New test case.
18101 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18103 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18104 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18105 Leonard and Allan McRae.
18107 2014-02-04 David S. Miller <davem@davemloft.net>
18109 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18112 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18141 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18143 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18144 * shlib-versions: Likewise.
18146 2014-02-04 Roland McGrath <roland@hack.frob.com>
18147 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18149 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18150 (abilist-pattern): New variable, set to %-le.abilist.
18152 * Makerules (abilist-pattern): New variable.
18153 (vpath): Use $(abilist-pattern) in place of %.abilist.
18154 (check-abi-% pattern rule): Likewise.
18155 (check-abi, update-abi): Likewise.
18157 2014-02-04 Eric Wong <normalperson@yhbt.net>
18159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18161 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18163 * manual/startup.texi: Add next, previous, and top entries for
18164 the `Program Arguments' and `Environment Variables' nodes.
18166 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18168 * manual/macros.texi: Add comments before MTASC-safety macros.
18170 * manual/users.texi: Document MTASC-safety properties.
18172 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18173 (pthread_getspecific, pthread_setspecific): Format with
18174 @deftypefun, and add @safety note.
18175 * manual/signal.texi: Move comments that analyze the above
18176 functions to their home place.
18178 2014-02-03 Allan McRae <allan@archlinux.org>
18180 * po/sl.po: Update Slovenian translation from translation project.
18182 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
18184 * manual/time.texi (timegm): Add missing blank after @c.
18185 Reported by Joseph Myers <joseph@codesourcery.com>.
18187 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
18189 * manual/check-safety.sh: New.
18190 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18192 * manual/terminal.texi: Document MTASC-safety properties.
18194 * manual/filesys.texi: Document MTASC-safety properties.
18196 * manual/errno.texi: Document MTASC-safety properties.
18198 * manual/intro.texi: Document safety identifiers and
18201 * manual/string.texi (wcstok): Fix prototype.
18202 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18204 * manual/time.texi: Document MTASC-safety properties.
18206 * manual/string.texi: Document MTASC-safety properties.
18208 * manual/threads.texi: Document MTASC-safety properties.
18210 * manual/stdio.texi: Document MTASC-safety properties.
18212 * manual/syslog.texi: Document MTASC-safety properties.
18214 * manual/sysinfo.texi: Document MTASC-safety properties.
18216 * manual/startup.texi: Document MTASC-safety properties.
18218 * manual/socket.texi: Document MTASC-safety properties.
18220 * manual/signal.texi: Document MTASC-safety properties.
18222 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18224 * manual/setjmp.texi: Document MTASC-safety properties.
18226 * manual/search.texi: Document MTASC-safety properties.
18228 * manual/resource.texi: Document MTASC-safety properties.
18230 * manual/process.texi: Document MTASC-safety properties.
18232 * manual/platform.texi: Document MTASC-safety properties.
18234 * manual/pipe.texi: Document MTASC-safety properties.
18236 * manual/pattern.texi: Document MTASC-safety properties.
18238 * manual/message.texi: Document MTASC-safety properties.
18241 * manual/memory.texi: Document MTASC-safety properties.
18243 * manual/math.texi: Document MTASC-safety properties.
18245 * manual/locale.texi: Document MTASC-safety properties.
18247 * manual/llio.texi: Document MTASC-safety properties.
18249 * manual/libdl.texi: New.
18251 * manual/lang.texi: Document MTASC-safety properties.
18253 * manual/job.texi: Document MTASC-safety properties.
18255 * manual/getopt.texi: Document MTASC-safety properties.
18257 * manual/ctype.texi: Document MTASC-safety properties.
18259 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18262 * csu/libc-tls.c (static_map): Remove variable.
18263 (__libc_setup_tls): Use main executable's link map for TLS data.
18264 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18265 casing for LM_ID_BASE and GL(dl_nns).
18266 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18267 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18268 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18269 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18270 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18272 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18275 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
18277 * manual/debug.texi: Document MTASC-safety properties.
18279 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18282 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18283 of __x86_64__ when disabling x87 inline functions.
18285 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
18287 * manual/charset.texi: Document MTASC-safety properties.
18289 * manual/crypt.texi: Document MTASC-safety properties.
18291 * manual/conf.texi: Document MTASC-safety properties.
18293 * manual/arith.texi: Document MTASC-safety properties.
18295 * manual/argp.texi: Document MTASC-safety properties.
18297 * manual/macros.texi: Introduce macros to document multi
18298 thread, asynchronous signal and asynchronous cancellation
18300 * manual/intro.texi: Introduce the properties themselves.
18302 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18304 * sysdeps/sh/sh4/Makefile: New file.
18306 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18308 * math/gen-libm-test.pl ($srcdir): New variable.
18309 ($auto_input): Use it.
18311 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18314 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18315 access beyond array bounds when parsing netgroups file.
18317 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18318 the old buffer before realloc.
18320 2014-01-27 Allan McRae <allan@archlinux.org>
18322 * po/fr.po: Update French translation from translation project.
18324 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18326 * sysdeps/sh/libm-test-ulps: Regenerate.
18328 2014-01-24 David S. Miller <davem@davemloft.net>
18330 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18332 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18334 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18335 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18337 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18340 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18341 string pointers after reallocation.
18343 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18345 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18346 __SH4A__ instead of __SH_FPU_ANY__.
18348 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18350 * sysdeps/sh/fpu_control.h: New file.
18351 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18352 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18353 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18354 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18355 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18356 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18357 * sysdeps/sh/sys/ucontext.h: Remove.
18358 * sysdeps/sh/sys: Remove directory.
18360 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18362 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18363 s390/sys/ucontext.h.
18364 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18365 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18367 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18370 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18372 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18376 Adjust the vDSO correctly for internal calls.
18377 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18379 2014-01-20 Allan McRae <allan@archlinux.org>
18381 * po/ca.po: Update Catalan translation from translation project.
18383 2014-01-16 Mike Frysinger <vapier@gentoo.org>
18385 * sysdeps/s390/sotruss-lib.c: New file.
18387 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18391 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18392 local calls issues by not having a PLT stub required for IFUNC calls.
18393 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18395 2014-01-16 Joseph Myers <joseph@codesourcery.com>
18397 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18398 * math/test-fpucw-static.c: Likewise.
18400 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18403 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18405 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18407 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18408 implementation for powerpc.
18410 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
18413 * sysdeps/posix/system.c (__libc_system): Do not enable
18414 asynchronous cancellation.
18416 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18419 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18420 handling only for numbers special also in the IEEE case.
18422 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18424 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18426 2014-01-11 Allan McRae <allan@archlinux.org>
18428 * po/bg.po: Update Bulgarian translation from translation project.
18430 * po/de.po: Update German translation from translation project.
18432 2014-01-10 Roland McGrath <roland@hack.frob.com>
18434 * sysdeps/generic/gcc-compat.h: New file.
18436 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18438 * benchtests/asin-inputs: Correct slow inputs.
18439 * benchtests/acos-inputs: Likewise.
18441 2014-01-10 Allan McRae <allan@archlinux.org>
18443 * po:sv.po: Update Swedish translation from translation project.
18445 * po/vi.po: Update Vietnamese translation from translation project.
18447 * po/eo.po: Update Esperanto translation from translation project.
18449 * po/cs.po: Update Czech translation from translation project.
18451 * po/nl.po: Update Dutch translation from translation project.
18453 * po/pl.po: Update Polish translation from translation project.
18455 * po/ru.po: Update Russian translation from translation project.
18457 * po/uk.po: Update Ukrainian translation from translation project.
18459 2014-01-08 Brooks Moses <bmoses@google.com>
18461 * elf/dl-load.c: Fix comment typo.
18463 2014-01-08 Carlos O'Donell <carlos@redhat.com>
18465 * po/header.pot: Rename to...
18466 * po/pot.header: ... this.
18467 * po/Makefile: Use pot.header.
18469 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18470 Maxim Kuvyrkov <maxim@kugelworks.com>
18473 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18474 SRC and DEST against LEN.
18476 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18479 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18481 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18483 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18487 2014-01-08 Joseph Myers <joseph@codesourcery.com>
18490 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18491 for large positive arguments.
18493 2014-01-07 Joseph Myers <joseph@codesourcery.com>
18495 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18497 * math/auto-libm-test-in: Mark various tests with
18498 xfail-rounding:ldbl-128ibm.
18499 * math/auto-libm-test-out: Regenerated.
18502 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18503 Increase overflow threshold.
18505 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
18508 * stdio-common/vfprintf.c: Check for integer overflow.
18510 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18512 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18513 the first argument and return value of __tls_get_addr_internal.
18515 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18517 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18518 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18520 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18522 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18523 * sysdeps/s390/rtld-global-offsets.sym: New file.
18524 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18526 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18527 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18528 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18530 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18531 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18537 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18538 halfs of GPRs for high_gprs contexts.
18539 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18540 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18542 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18544 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18546 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18547 for high GPRs (uc_high_gprs) and for future extensions
18549 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18550 for future extensions (__reserved).
18551 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18553 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18554 SC_HIGHGPRS offset definition.
18555 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18556 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18558 * Versions.def: Add GLIBC_2.19 for libpthread.
18559 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18560 siglongjmp for libpthread with GLIBC_2.19 symver.
18561 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18562 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18563 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18564 * sysdeps/s390/__longjmp.c: New file.
18565 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18566 * sysdeps/s390/longjmp.c: New file.
18567 * sysdeps/s390/setjmp.S: New file.
18568 * sysdeps/s390/sigjmp.S: New file.
18569 * sysdeps/s390/v1-longjmp.c: New file.
18570 * sysdeps/s390/v1-setjmp.h: New file.
18571 * sysdeps/s390/v1-sigjmp.c: New file.
18572 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18573 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18574 GLIBC_2.19 version.
18575 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18576 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18577 versioned symbols for ____longjmp_chk.
18578 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18588 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18589 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18590 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18591 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18592 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18593 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18594 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18595 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18596 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18597 * sysdeps/s390/rtld-__longjmp.c: New file.
18598 * sysdeps/s390/rtld-setjmp.S: New file.
18600 2014-01-06 Joseph Myers <joseph@codesourcery.com>
18603 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18604 Return -__logl (x) for small positive arguments without evaluating
18607 2014-01-06 Mike Frysinger <vapier@gentoo.org>
18609 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18611 (__ptrace_peeksiginfo_args): ... this.
18612 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18613 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18614 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18616 2014-01-06 Allan McRae <allan@archlinux.org>
18618 * inet/netinet/in.h: Fix typo in comment.
18620 2014-01-05 Andreas Jaeger <aj@suse.de>
18622 * sysdeps/i386/fpu/libm-test-ulps: Update.
18624 2014-01-05 Allan McRae <allan@archlinux.org>
18626 * po/libc.pot: Regenerated.
18628 * malloc/memusagestat.c: Fix gettext call formatting.
18630 2014-01-04 Sami Kerola <kerolasa@iki.fi>
18632 * nscd/nscd.c: Improve usage() output.
18634 2014-01-04 Mike Frysinger <vapier@gentoo.org>
18636 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18637 * sysdeps/unix/sysv/linux/configure: Regenerated.
18638 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18639 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18641 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18644 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18645 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18647 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18649 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18650 extra tokens at end of #undef directive.
18651 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18652 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18655 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18657 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18659 * math/auto-libm-test-in: Mark various tests with
18660 xfail-rounding:ldbl-128ibm.
18661 * math/auto-libm-test-out: Regenerated.
18663 2014-01-02 Joseph Myers <joseph@codesourcery.com>
18666 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18667 numbers with subnormal high part when calculating exponent.
18670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18674 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18676 (__ieee754_acoshl): Use __log1pl not __log1p.
18678 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
18680 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18681 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18682 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18683 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18684 (reused_arena, arena_get2): Convert to GNU style.
18685 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18686 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18687 (memalign_check, __malloc_set_state): Likewise.
18688 * malloc/mallocbug.c (main): Likewise.
18689 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18690 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18691 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18692 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18693 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18694 (__posix_memalign, malloc_info): Likewise.
18695 * malloc/malloc.h: Likewise.
18696 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18697 (mallochook, memalignhook, reallochook, mabort): Likewise.
18698 * malloc/mcheck.h: Likewise.
18699 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18700 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18701 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18702 * malloc/morecore.c (__default_morecore): Likewise.
18703 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18704 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18705 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18706 (print_and_abort): Likewise.
18707 * malloc/obstack.h: Likewise.
18708 * malloc/set-freeres.c (__libc_freeres): Likewise.
18709 * malloc/tst-mallocstate.c (main): Likewise.
18710 * malloc/tst-mtrace.c (main): Likewise.
18711 * malloc/tst-realloc.c (do_test): Likewise.
18713 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18716 * nscd/netgroupcache.c (do_notfound): New function.
18717 (addgetnetgrentX): Use it.
18720 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18721 NSS_STATUS_NOTFOUND.
18723 2014-01-01 Joseph Myers <joseph@codesourcery.com>
18725 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18728 2014-01-01 Allan McRae <allan@archlinux.org>
18730 * scripts/update-copyrights: Update configure input file suffix.
18732 * NEWS: Update copyright year.
18733 * catgets/gencat.c: Likewise.
18734 * csu/version.c: Likewise.
18735 * debug/catchsegv.sh: Likewise.
18736 * debug/pcprofiledump.c: Likewise.
18737 * debug/xtrace.sh: Likewise.
18738 * elf/ldconfig.c: Likewise.
18739 * elf/ldd.bash.in: Likewise.
18740 * elf/pldd.c: Likewise.
18741 * elf/sotruss.ksh: Likewise.
18742 * elf/sprof.c: Likewise.
18743 * iconv/iconv_prog.c: Likewise.
18744 * iconv/iconvconfig.c: Likewise.
18745 * locale/programs/locale.c: Likewise.
18746 * locale/programs/localedef.c: Likewise.
18747 * login/programs/pt_chown.c: Likewise.
18748 * malloc/memusage.sh: Likewise.
18749 * malloc/memusagestat.c: Likewise.
18750 * malloc/mtrace.pl: Likewise.
18751 * manual/libc.texinfo: Likewise.
18752 * nscd/nscd.c: Likewise.
18753 * nss/getent.c: Likewise.
18754 * nss/makedb.c: Likewise.
18755 * posix/getconf.c: Likewise.
18756 * scripts/test-installation.pl: Likewise.
18758 * All files with FSF copyright notices: Update copyright dates
18759 using scripts/update-copyrights.
18760 * intl/plural.c: Regenerated.
18761 * locale/programs/charmap-kw.h: Likewise.
18762 * locale/programs/locfile-kw.h: Likewise.
18764 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18766 * sysdeps/unix/sysv/linux/configure: Regenerated.
18767 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18768 the linux/fanotify.h header.
18769 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18770 HAVE_LINUX_FANOTIFY_H is defined.
18772 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18774 * benchtests/cos-inputs: New inputs.
18775 * benchtests/sin-inputs: Likewise.
18777 * benchtests/atan-inputs: New inputs. Fix name of multiple
18778 precision fallback inputs.
18780 * benchtests/atanh-inputs: New inputs.
18781 * benchtests/tanh-inputs: Likewise.
18783 * benchtests/acosh-inputs: New inputs.
18784 * benchtests/asinh-inputs: Likewise.
18786 * benchtests/cosh-inputs: New inputs.
18787 * benchtests/sinh-inputs: Likewise.
18789 * benchtests/acos-inputs: Add more inputs.
18790 * benchtests/asin-inputs: Likewise.
18792 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18795 * manual/arith.texi: Fix spelling.
18796 * manual/charset.texi: Likewise.
18797 * manual/errno.texi: Likewise.
18798 * manual/filesys.texi: Likewise.
18799 * manual/lang.texi: Likewise.
18800 * manual/llio.texi: Likewise.
18801 * manual/locale.texi: Likewise.
18802 * manual/message.texi: Likewise.
18803 * manual/resource.texi: Likewise.
18804 * manual/search.texi: Likewise.
18805 * manual/setjmp.texi: Likewise.
18806 * manual/stdio.texi: Likewise.
18807 * manual/string.texi: Likewise.
18808 * manual/sysinfo.texi: Likewise.
18809 * manual/time.texi: Likewise.
18811 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18813 * po/sl.po: New file.
18815 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18817 * .gitignore: Add core/.gdbinit/.gdb_history.
18819 2013-12-27 Allan McRae <allan@archlinux.org>
18822 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18823 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18825 2013-12-24 Brooks Moses <bmoses@google.com>
18827 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18828 all compilers that claim C++98 compliance, not just GCC.
18829 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18832 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18834 * NEWS: Restore accidentally deleted bug-fix entries.
18836 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18837 Ondřej Bílka <neleai@seznam.cz>
18840 * malloc/malloc.c (_int_free): Perform sanity check only if we
18843 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18846 * manual/stdio.texi (String Input Conversions): Clarify that character
18847 classes are not supported.
18849 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18853 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18856 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18857 Calculate results for small negative arguments directly rather
18858 than using reflection formula with special underflow handling.
18860 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18861 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18862 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18863 (fchflags): Likewise.
18864 (revoke): Likewise.
18865 (setlogin): Likewise.
18866 (sigaltstack): Likewise.
18868 (sigblock): Remove.
18869 (sigsetmask): Likewise.
18871 (waitpid): Likewise.
18872 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18873 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18875 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18876 * sysdeps/unix/bsd/Makefile: ... here.
18877 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18878 * sysdeps/unix/bsd/Versions: ... here.
18879 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18880 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18881 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18882 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18883 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18884 * sysdeps/unix/bsd/sigblock.c: ... here.
18885 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18886 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18887 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18888 * sysdeps/unix/bsd/sigvec.c: ... here.
18889 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18890 * sysdeps/unix/bsd/tcdrain.c: ... here.
18891 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18892 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18893 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18894 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18895 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18896 * sysdeps/unix/bsd/wait.c: ... here.
18897 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18898 * sysdeps/unix/bsd/wait3.c: ... here.
18899 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18900 * sysdeps/unix/bsd/waitpid.c: ... here.
18902 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18905 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18906 round-to-nearest for [!USE_AS_EXPM1L].
18907 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18908 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18909 more tests of exp and exp10. Expect some exp10 tests to miss
18910 exceptions or fail in directed rounding modes.
18911 * math/auto-libm-test-out: Regenerated.
18912 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18913 (exp10_test_tonearest): New function.
18914 (exp10_towardzero_test_data): New array.
18915 (exp10_test_towardzero): New function.
18916 (exp10_downward_test_data): New array.
18917 (exp10_test_downward): New function.
18918 (exp10_upward_test_data): New array.
18919 (exp10_test_upward): New function.
18920 (main): Call the new functions.
18921 * sysdeps/i386/fpu/libm-test-ulps: Update.
18922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18924 2013-12-20 Joseph Myers <joseph@codesourcery.com>
18926 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18927 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18928 * math/auto-libm-test-out: Regenerated.
18929 * math/libm-test.inc (acosh_test_data): Add more tests.
18930 (atanh_test_data): Likewise.
18931 (ceil_test_data): Likewise.
18932 (copysign_test_data): Likewise.
18933 * sysdeps/i386/fpu/libm-test-ulps: Update.
18934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18936 * timezone/checktab.awk: Update from tzcode 2013i.
18937 * timezone/private.h: Likewise.
18938 * timezone/scheck.c: Likewise.
18939 * timezone/tzfile.h: Likewise.
18940 * timezone/tzselect.ksh: Likewise.
18941 * timezone/zdump.c: Likewise.
18942 * timezone/zic.c: Likewise.
18944 * math/auto-libm-test-in: Add tests of cpow.
18945 * math/auto-libm-test-out: Regenerated.
18946 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18947 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18949 (func_calc_desc): Add mpc_cc_c union field.
18950 (test_functions): Add cpow.
18951 (special_fill_2pi): New function.
18952 (special_real_inputs): Add 2pi.
18953 (calc_generic_results): Handle mpc_cc_c.
18954 * sysdeps/i386/fpu/libm-test-ulps: Update.
18955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18957 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18958 csqrt, ctan and ctanh.
18959 * math/auto-libm-test-out: Regenerated.
18960 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18961 (TEST_COND_x86): Likewise.
18962 (ccos_test_data): Use AUTO_TESTS_c_c.
18963 (ccosh_test_data): Likewise.
18964 (cexp_test_data): Likewise.
18965 (clog_test_data): Likewise.
18966 (csqrt_test_data): Likewise.
18967 (ctan_test_data): Likewise.
18968 (ctan_tonearest_test_data): Likewise.
18969 (ctan_towardzero_test_data): Likewise.
18970 (ctan_downward_test_data): Likewise.
18971 (ctan_upward_test_data): Likewise.
18972 (ctanh_test_data): Likewise.
18973 (ctanh_tonearest_test_data): Likewise.
18974 (ctanh_towardzero_test_data): Likewise.
18975 (ctanh_downward_test_data): Likewise.
18976 (ctanh_upward_test_data): Likewise.
18977 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18979 (func_calc_desc): Add mpc_c_c union field.
18980 (FUNC_mpc_c_c): New macro.
18981 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18982 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18984 (special_fill_min_subnorm_p120): New function.
18985 (special_real_inputs): Add min_subnorm_p120.
18986 (calc_generic_results): Handle mpc_c_c.
18987 * sysdeps/i386/fpu/libm-test-ulps: Update.
18988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18990 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18992 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18993 (do_sin_slow): New functions.
18994 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18995 (cslow2, csloww1, csloww2): Use the new functions.
18997 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18998 Use M to change sign of result instead of X. Assume X is
19000 (csloww1): Likewise.
19004 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19005 arguments A and DA.
19009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19011 (sloww1): Don't adjust sign of DX.
19012 (csloww1): Likewise.
19013 (sloww2): Use X directly and don't adjust sign of DX.
19014 (csloww2): Likewise.
19016 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19018 * math/auto-libm-test-in: Add tests of cabs and carg.
19019 * math/auto-libm-test-out: Regenerated.
19020 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19021 (carg_test_data): Likewise.
19022 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19024 (func_calc_desc): Add mpc_c_f union field.
19025 (test_functions): Add cabs and carg.
19026 (calc_generic_results): Handle mpc_c_f.
19028 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19029 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19030 as a macro and a compat symbol.
19031 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19032 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19033 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19034 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19035 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19036 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19038 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19040 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19042 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19044 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19046 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19048 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19049 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19052 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19056 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19058 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19059 trailing whitespace removed.
19060 * scripts/config.guess: Update to version 2013-11-29.
19061 * scripts/config.sub: Update to version 2013-10-01.
19063 * math/auto-libm-test-in: Add tests of sincos.
19064 * math/auto-libm-test-out: Regenerated.
19065 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19066 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19068 (func_calc_desc): Add mpfr_f_11 union field.
19069 (test_functions): Add sincos.
19070 (calc_generic_results): Handle mpfr_f_11.
19071 * sysdeps/i386/fpu/libm-test-ulps: Update.
19072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19074 2013-12-19 Andreas Schwab <schwab@suse.de>
19076 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19078 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19079 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19080 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19082 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19084 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19085 * sysdeps/i386/fpu/libm-test-ulps: Update.
19086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19090 round-to-nearest mode when using frndint.
19091 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19092 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19093 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19095 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19097 * math/auto-libm-test-out: Regenerated.
19098 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19099 (TEST_COND_x86): Likewise.
19100 (expm1_tonearest_test_data): New array.
19101 (expm1_test_tonearest): New function.
19102 (expm1_towardzero_test_data): New array.
19103 (expm1_test_towardzero): New function.
19104 (expm1_downward_test_data): New array.
19105 (expm1_test_downward): New function.
19106 (expm1_upward_test_data): New array.
19107 (expm1_test_upward): New function.
19108 (main): Run the new test functions.
19109 * sysdeps/i386/fpu/libm-test-ulps: Update.
19110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19112 * include/features.h: Update comment documenting feature test
19113 macros. Mention _DEFAULT_SOURCE in comment.
19114 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19115 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19116 _BSD_SOURCE and _SVID_SOURCE.
19117 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19118 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19119 !_SVID_SOURCE]: Likewise.
19120 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19121 (__USE_POSIX_IMPLICITLY): Define.
19122 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19123 (_POSIX_SOURCE): Undefine and redefine.
19124 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19125 (_POSIX_C_SOURCE): Likewise.
19126 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19127 (Feature Test Macros): Update documentation of default features.
19129 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19131 * benchtests/Makefile: Add bench-strtok.
19132 * benchtests/bench-strtok.c: New file: strtok benchtest.
19134 2013-12-19 Allan McRae <allan@archlinux.org>
19136 * manual/install.texi: Suppress menu for plain text output.
19137 * INSTALL: Regenerated.
19139 2013-12-18 Brooks Moses <bmoses@google.com>
19142 * misc/getauxval.c: Include errno.h.
19143 (__getauxval): Set errno to ENOENT if the requested type is not
19145 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19146 don't declare with __attribute_const__.
19147 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19148 * manual/startup.texi: Document that getauxval sets errno.
19150 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19152 * math/auto-libm-test-in: Add tests of jn and yn.
19153 * math/auto-libm-test-out: Regenerated.
19154 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19155 (yn_test_data): Likewise.
19156 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19158 (func_calc_desc): Add mpfr_if_f union field.
19159 (FUNC_mpfr_if_f): New macro.
19160 (test_functions): Add jn and yn.
19161 (calc_generic_results): Assert type of second input for
19162 mpfr_ff_f. Handle mpfr_if_f.
19163 (output_for_one_input_case): Disable all checking for arguments
19164 fitting floating-point types in case of an integer argument.
19165 * sysdeps/i386/fpu/libm-test-ulps: Update.
19166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19169 Don't expect fegetround reference in libm.so.
19171 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19173 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19174 $(config-cflags-nofma).
19176 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19178 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19179 * math/auto-libm-test-out: Regenerated.
19182 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19183 to determine exponent and adjust argument to have exponent of -1.
19184 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19186 * math/auto-libm-test-out: Regenerated.
19187 * sysdeps/i386/fpu/libm-test-ulps: Update.
19188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19190 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
19192 * manual/probes.texi: Remove cases when per-thread arenas are
19195 2013-12-18 Andreas Schwab <schwab@suse.de>
19197 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19198 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19199 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19200 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19201 * sysdeps/i386/i686/multiarch/Makefile: Update.
19202 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19204 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19206 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19207 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19209 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19212 Support TZ transition times < 00:00:00.
19213 This is needed for version-3 tz-format files; it supports time
19214 stamps past 2037 for America/Godthab (the only entry in the tz
19215 database for which this change is relevant).
19216 * manual/time.texi (TZ Variable): Document transition times
19217 from -167:59:59 through -00:00:01.
19218 * time/tzset.c (tz_rule): Time of day is now signed.
19219 (__tzset_parse_tz): Parse negative time of day.
19221 Document TZ transition times >= 25:00:00.
19222 * manual/time.texi (TZ Variable): Document transition times from
19223 25:00:00 through 167:59:59. These are already supported, and this
19224 support will help with version-3 tz-format files.
19226 * manual/time.texi (TZ Variable): Modernize North America example
19227 to reflect current (i.e., 2007-and-later) daylight saving rules.
19229 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19231 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19233 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19234 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19235 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19237 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19238 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19239 * sysdeps/unix/bsd/clock.c: Likewise.
19240 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19241 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19242 * sysdeps/unix/bsd/init-posix.c: Likewise.
19243 * sysdeps/unix/bsd/poll.c: Likewise.
19244 * sysdeps/unix/bsd/ptsname.c: Likewise.
19245 * sysdeps/unix/bsd/seekdir.c: Likewise.
19246 * sysdeps/unix/bsd/setegid.c: Likewise.
19247 * sysdeps/unix/bsd/seteuid.c: Likewise.
19248 * sysdeps/unix/bsd/setgid.c: Likewise.
19249 * sysdeps/unix/bsd/setrgid.c: Likewise.
19250 * sysdeps/unix/bsd/setruid.c: Likewise.
19251 * sysdeps/unix/bsd/setsid.c: Likewise.
19252 * sysdeps/unix/bsd/setuid.c: Likewise.
19253 * sysdeps/unix/bsd/sigaction.c: Likewise.
19254 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19255 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19256 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19257 * sysdeps/unix/bsd/telldir.c: Likewise.
19258 * sysdeps/unix/bsd/times.c: Likewise.
19259 * sysdeps/unix/bsd/usleep.c: Likewise.
19261 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19262 ($(objpfx)libbsd-compat.a): Remove rule.
19264 * include/features.h (__FAVOR_BSD): Do not define.
19265 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19266 features conflicting with POSIX.
19267 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19268 (_BSD_SOURCE): Remove description of not being a subset of other
19269 feature test macros.
19270 * manual/job.texi (getpgrp): Do not document BSD version.
19271 (getpgid): Do not document by reference to BSD getpgrp.
19272 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19273 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19274 * signal/signal.h [__FAVOR_BSD]: Likewise.
19275 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19276 instead of making contents conditional on [__FAVOR_BSD].
19277 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19279 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19283 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19286 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19287 values below 2**-450, not 2**-500.
19288 * math/auto-libm-test-in: Don't allow spurious underflow from
19290 * math/auto-libm-test-out: Regenerated.
19294 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19295 values of ha and hb and sort them after adjusting subnormal
19297 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19299 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19300 values of ea and eb and sort them after adjusting subnormal
19302 * math/auto-libm-test-in: Do not expect some hypot tests of
19303 subnormals to fail. Add more hypot tests.
19304 * math/auto-libm-test-out: Regenerated.
19306 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19309 * sysdeps/sh/s_fma.c: New file.
19310 * sysdeps/sh/s_fmaf.c: New file.
19311 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19313 * sysdeps/sh/Implies: Add sh/soft-fp.
19315 2013-12-16 Roland McGrath <roland@hack.frob.com>
19317 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19318 level of indirection to members `objname', `errstring', `malloced'.
19319 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19320 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19321 it as the __longjmp argument (just pass 1 instead).
19322 (_dl_catch_error): Initialize C with argument pointers and address of
19323 volatile local ERRCODE rather than copying values out of C at return.
19325 2013-12-16 Joseph Myers <joseph@codesourcery.com>
19327 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19328 * math/auto-libm-test-out: Regenerated.
19329 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19330 (hypot_test_data): Likewise.
19331 (pow_test_data): Likewise.
19332 (pow_tonearest_test_data): Likewise.
19333 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19335 (func_calc_desc): Add mpfr_ff_f union field.
19336 (FUNC_mpfr_ff_f): New macro.
19337 (test_functions): Add atan2, hypot and pow.
19338 (special_fill_min): New function.
19339 (special_fill_minus_min): Likewise.
19340 (special_fill_min_subnorm): Likewise.
19341 (special_fill_minus_min_subnorm): Likewise.
19342 (special_real_inputs): Add min, -min, min_subnorm and
19344 (calc_generic_results): Handle mpfr_ff_f.
19345 * sysdeps/i386/fpu/libm-test-ulps: Update.
19346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19348 2013-12-16 Will Newton <will.newton@linaro.org>
19350 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19351 (Aligned Memory Blocks): Add documentation for aligned_alloc
19352 and suggest it as an alternative to posix_memalign.
19353 (Hooks for Malloc): Document __memalign_hook is also called
19354 for aligned_alloc. (Summary of Malloc): Add summary for
19355 aligned alloc. Document __memalign_hook is also called
19358 2013-12-16 Will Newton <will.newton@linaro.org>
19360 * manual/memory.texi (Malloc Examples): Clarify default
19361 alignment documentation. Suggest posix_memalign rather
19362 than memalign or valloc.
19363 (Aligned Memory Blocks): Remove suggestion to use memalign
19364 or valloc. Remove obsolete comment about BSD.
19365 Document memalign errno values and mark the function obsolete.
19366 Document posix_memalign returned error codes. Mark valloc
19367 as obsolete. (Hooks for Malloc): __memalign_hook is also
19368 called for posix_memalign and valloc.
19369 (Summary of Malloc): Add posix_memalign to function summary.
19370 __memalign_hook is also called for posix_memalign and valloc.
19372 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19374 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19378 (sloww): Use mynumber union. Expand ternary operator into
19379 if-else statements.
19380 (cslow): use mynumber union.
19382 2013-12-16 Allan McRae <allan@archlinux.org>
19384 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19385 * configure: Regenerated.
19387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19390 * configure.ac: Added --enable-maintainer-mode. Check for
19391 autoconf when enabled.
19392 * configure: Regenerated.
19394 * nscd/nscd.service: New file.
19395 * nscd/nscd.tmpfiles: New file.
19397 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
19400 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19401 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19402 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19403 (strstr): Add __strstr_sse2_unaligned ifunc.
19404 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19405 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19406 (strcasestr): Remove __strcasestr_sse42 ifunc.
19407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19411 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19413 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19414 * sysdeps/sh/bits/fenv.h: ... here.
19415 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19417 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19419 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19422 hypotf multiarch implementations.
19423 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19426 multiarch hypot for PPC64.
19427 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19428 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19430 multiarch hypotf for PPC64.
19432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19433 modff multiarch implementations.
19434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19437 multiarch modf for PPC64.
19438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19441 multiarch modff for PPC64.
19443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19444 and logl multiarch implementations.
19445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19448 multiarch logb for PPC64.
19449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19452 multiarch logb for PPC64.
19453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19456 multiarch logb for PPC64.
19458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19459 isinff multiarch implementation.
19460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19464 multiarch isinf for PPC64.
19465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19468 multiarch isinff for PPC64.
19470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19471 finitef multiarch implementation.
19472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19476 multiarch finite for PPC64.
19477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19480 multiarch finitef for PPC64.
19482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19483 lrint multiarch implementation.
19484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19488 multiarch llrint for PPC64.
19489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19490 multiarch lrint for PPC64.
19492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19493 copysignf multiarch implementation.
19494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19499 multiarch copysign for PPC64.
19500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19501 multiarch copysignf for PPC64.
19503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19504 multiarch implementation.
19505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19513 multiarch llround for PPC64.
19514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19515 multiarch trunc for PPC64.
19516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19517 multiarch truncf for PPC64.
19519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19520 multiarch implementation.
19521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19529 multiarch llround for PPC64.
19530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19531 multiarch round for PPC64.
19532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19533 multiarch roundf for PPC64.
19535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19536 multiarch implementation.
19537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19545 multiarch llround for PPC64.
19546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19547 multiarch floor for PPC64.
19548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19549 multiarch floorf for PPC64.
19551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19552 multiarch implementation.
19553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19561 multiarch llround for PPC64.
19562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19563 multiarch ceil for PPC64.
19564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19565 multiarch ceilf for PPC64.
19567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19568 multiarch implementation.
19569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19576 multiarch llround for PPC64.
19577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19578 multiarch lround for PPC64.
19580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19581 multiarch implementation.
19582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19589 multiarch isnan for PPC64.
19590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19591 multiarch isnanf for PPC64.
19593 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19594 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19595 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19596 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19597 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19600 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19606 multiarch implementations.
19607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19608 (__libc_ifunc_impl_list): Likewise.
19609 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19610 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19611 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19612 multiarch stpcpy for PPC64.
19614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19615 multiarch implementations.
19616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19617 (__libc_ifunc_impl_list): Likewise.
19618 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19619 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19620 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19621 multiarch strcpy for PPC64.
19623 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19624 redefine function name.
19625 (_wordcopy_fwd_dest_aligned): Likewise.
19626 (_wordcopy_bwd_aligned): Likewise.
19627 (_wordcopy_bwd_dest_aligned): Likewise.
19628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19629 multiarch implementations.
19630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19631 (__libc_ifunc_impl_list): Likewise.
19632 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19633 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19634 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19635 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19636 multiarch wcscpy for PPC64.
19638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19639 multiarch implementations.
19640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19641 (__libc_ifunc_impl_list): Likewise.
19642 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19643 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19644 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19645 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19646 multiarch wcscpy for PPC64.
19648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19649 multiarch implementations.
19650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19651 (__libc_ifunc_impl_list): Likewise.
19652 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19653 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19654 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19655 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19656 multiarch wcsrchr for PPC64.
19658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19659 multiarch implementations.
19660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19661 (__libc_ifunc_impl_list): Likewise.
19662 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19663 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19664 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19665 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19666 multiarch wcschr for PPC64.
19668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19669 multiarch implementations.
19670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19671 (__libc_ifunc_impl_list): Likewise.
19672 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19673 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19674 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19675 multiarch strchrnul for PPC64.
19677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19680 (__libc_ifunc_impl_list): Likewise.
19681 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19682 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19683 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19684 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19690 (__libc_ifunc_impl_list): Likewise.
19691 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19692 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19693 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19694 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19698 multiarch implementations.
19699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19700 (__libc_ifunc_impl_list): Likewise.
19701 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19702 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19703 strncasecmp for PPC64.
19704 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19705 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19706 multiarch strncasecmp_l for PPC64.
19708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19709 multiarch implementations.
19710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19711 (__libc_ifunc_impl_list): Likewise.
19712 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19714 multiarch strcasecmp for PPC64.
19715 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19717 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19718 multiarch strcasecmp_l for PPC64.
19720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19723 (__libc_ifunc_impl_list): Likewise.
19724 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19725 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19726 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19732 (__libc_ifunc_impl_list): Likewise.
19733 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19734 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19735 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19741 (__libc_ifunc_impl_list): Likewise.
19742 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19743 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19744 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19745 rawmemrchr for PPC64.
19747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19750 (__libc_ifunc_impl_list): Likewise.
19751 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19752 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19753 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19759 (__libc_ifunc_impl_list): Likewise.
19760 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19761 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19762 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19768 (__libc_ifunc_impl_list): Likewise.
19769 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19770 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19771 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19774 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19775 avoid cretion of __bzero symbol.
19776 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19778 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19780 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19783 multiarch implementations.
19784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19785 (__libc_ifunc_impl_list): Likewise.
19786 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19787 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19788 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19789 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19791 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19792 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19793 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19794 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19795 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19797 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19799 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19803 (__libc_ifunc_impl_list): Likewise.
19804 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19805 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19806 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19807 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19811 multiarch for POWER/PPC64.
19812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19813 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19814 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19815 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19816 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19817 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19818 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19819 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19820 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19823 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19824 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19825 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19826 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19827 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19828 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19829 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19830 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19831 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19832 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19833 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19834 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19835 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19836 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19837 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19846 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19848 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19850 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19852 * benchtests/Makefile (bench): Add exp2 and log2.
19853 (LDLIBS-bench-exp2): Add -lm.
19854 (LDLIBS-bench-log2): Likewise.
19855 * benchtests/exp2-inputs: New inputs file.
19856 * benchtests/log2-inputs: New inputs file.
19857 * benchtests/log-inputs: Add new inputs.
19858 * benchtests/tan-inputs: Likewise.
19860 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19862 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19864 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19865 (csloww2): ... from here.
19867 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19868 instead of structures.
19869 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19870 (POLYNOMIAL): Likewise.
19871 (TAYLOR_SLOW): Likewise.
19877 (sloww1); Likewise.
19878 (sloww2): Likewise.
19879 (bsloww1): Likewise.
19880 (bsloww2): Likewise.
19881 (cslow2): Likewise.
19882 (csloww): Likewise.
19883 (csloww1): Likewise.
19884 (csloww2): Likewise.
19886 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19888 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19889 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19890 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19891 * malloc/hooks.c (realloc_check): Likewise.
19893 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19894 * malloc/arena.c: Remove PER_THREAD conditional.
19895 [!PER_THREAD]: Remove code.
19896 (ptmalloc_unlock_all2): Likewise.
19897 (ptmalloc_init): Likewise.
19898 (_int_new_arena): Likewise.
19899 (arena_get2): Likewise.
19900 * malloc/hooks.c (__malloc_get_state): Likewise.
19901 (__malloc_set_state): Likewise.
19902 * malloc/malloc.c: Likewise.
19903 (struct malloc_state): Likewise.
19904 (struct malloc_par): Likewise.
19905 (__libc_realloc): Likewise.
19906 (__libc_mallopt): Likewise.
19908 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19910 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19912 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
19914 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19915 macro to a function. Check for zero perturb_byte.
19916 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19918 * malloc/malloc.c: (force_reg): Remove.
19919 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19920 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19921 force_reg by atomic_forced_read.
19922 * malloc/arena.c (ptmalloc_init): Likewise.
19923 * malloc/hooks.c (top_check): Likewise.
19925 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19929 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19933 2013-12-08 Joseph Myers <joseph@codesourcery.com>
19935 * math/auto-libm-test-in: Add tests of lgamma.
19936 * math/auto-libm-test-out: Regenerated.
19937 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19938 (M_LOG_2_SQRT_PIl): Likewise.
19939 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19940 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19942 (func_calc_desc): Add mpfr_f_f1 union field.
19943 (ARGS1): New macro.
19951 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19952 (test_functions): Add lgamma.
19953 (calc_generic_results): Handle mpfr_f_f1.
19954 * sysdeps/i386/fpu/libm-test-ulps: Update.
19955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19957 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19959 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19960 __mpn_add_n for PowerPC64/POWER7.
19961 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19962 __mpn_sub_n for PowerPC64/POWER7.
19964 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19965 __mpn_addmul_1 for PowerPC64.
19966 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19967 __mpn_submul_1 for PowerPC64.
19968 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19970 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19973 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19976 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19978 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19980 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19982 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19983 add multiarch folders.
19984 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19985 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19986 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19987 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19988 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19989 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19990 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19991 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19992 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19993 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19994 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20003 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20009 multiarch __ieee754_hypot for PowerPC32.
20010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20015 multiarch __ieee754_hypotf for PowerPC32.
20017 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20018 long_double_symbol only if __logbl is defined.
20019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20020 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20022 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20024 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20026 path for implementation.
20027 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20028 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20030 logb, and logbl multiarch implementations for PowerPC32.
20031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20036 multiarch logb for PowerPC32.
20037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20042 multiarch logbf for PowerPC32.
20043 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20047 multiarch logbl implementation for PowerPC32.
20049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20050 and modff multiarch implementations.
20051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20056 multiarch modf for PowerPC32.
20057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20062 multiarch modff for PowerPC32.
20064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20065 and lrintf multiarch implementations.
20066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20071 multiarch lrint for PowerPC32.
20072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20073 file: multiarch lrintf for PowerPC32.
20075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20076 and lroundf multiarch implementations.
20077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20084 multiarch lround for PowerPC32.
20085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20086 file: multiarch lroundf for PowerPC32.
20088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20089 copysign and copysignf multiarch implementations.
20090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20095 file: multiarch copysign for PowerPC32.
20096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20097 file: multiarch copysignf for PowerPC32.
20099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20100 and truncf multiarch implementations.
20101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20106 multiarch trunc for PowerPC32.
20107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20112 multiarch truncf for PowerPC32.
20114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20115 and roundf multiarch implementations.
20116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20121 multiarch round for PowerPC32.
20122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20127 multiarch roundf for PowerPC32.
20129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20130 and floorf multiarch implementations.
20131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20136 multiarch floor for PowerPC32.
20137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20142 multiarch floorf for PowerPC32.
20144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20145 and ceilf multiarch implementations.
20146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20151 multiarch ceil for PowerPC32.
20152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20157 multiarch ceilf for PowerPC32.
20159 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20161 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20162 FINITEF is defined.
20163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20164 and finitef multiarch implementations.
20165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20170 multiarch finite for PowerPC32.
20171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20174 file: multiarch finitef for PowerPC32.
20176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20177 and isinff multiarch implementations.
20178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20183 multiarch isinf for PowerPC32.
20184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20187 multiarch isinff for PowerPC32.
20189 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20190 alias when __isnan is defined.
20191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20192 and isnanf multiarch implementations.
20193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20202 multiarch isnan for PowerPC32.
20203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20208 multiarch isnanf for PowerPC32.
20210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20211 and sqrtf multiarch implementations.
20212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20217 multiarch sqrt for PowerPC32.
20218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20223 multiarch sqrtf for PowerPC32.
20225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20226 and llroundf multiarch implementations.
20227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20234 file: multiarch llround for PowerPC32.
20235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20236 file: multiarch llroundf for PowerPC32.
20238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20239 multiarch PowerPC32 fpu implementations.
20240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20245 multiarch llrint for PowerPC32.
20246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20255 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20257 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20259 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20261 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20262 multiarch wordcopy for PPC32.
20263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20266 (__libc_ifunc_impl_list): Likewise.
20267 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20268 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20269 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20270 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20271 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20272 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20274 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20282 multiarch wcscpy for PPC32.
20283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20286 (__libc_ifunc_impl_list): Likewise.
20287 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20288 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20289 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20290 sysdeps/powerpc/power6/wcscpy.c.
20292 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20300 multiarch wcsrchr for PPC32.
20301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20304 (__libc_ifunc_impl_list): Likewise.
20305 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20306 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20307 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20308 sysdeps/powerpc/power6/wcsrchr.c.
20310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20316 multiarch wcschr for PPc32.
20317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20320 (__libc_ifunc_impl_list): Likewise.
20321 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20322 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20323 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20324 sysdeps/powerpc/power6/wcschr.c.
20326 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20327 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20329 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20330 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20331 file: multiarch strchr for PPC32.
20332 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20335 (__libc_ifunc_impl_list): Likewise.
20337 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20339 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20341 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20343 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20344 multiarch strchrnul for PPC32.
20345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20348 (__libc_ifunc_impl_list): Likewise.
20350 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20352 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20353 multiarch strncasecmp for PPC32.
20354 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20356 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20357 multiarch strncasecmp_l for PPC32.
20358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20359 strncasecmp multiarch objects.
20360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20361 (__libc_ifunc_impl_list): Likewise.
20363 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20365 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20366 multiarch strncasecmp for PPC32.
20367 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20369 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20370 multiarch strcasecmp_l for PPC32.
20371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20374 (__libc_ifunc_impl_list): Likewise.
20376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20378 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20380 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20381 multiarch strncmp for PPC32.
20382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20385 (__libc_ifunc_impl_list): Likewise.
20387 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20388 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20390 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20391 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20395 (__libc_ifunc_impl_list): Likewise.
20397 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20399 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20401 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20405 (__libc_ifunc_impl_list): Likewise.
20407 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20409 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20411 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20412 multiarch rawmemchr for PPC32.
20413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20416 (__libc_ifunc_impl_list): Likewise.
20418 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20420 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20422 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20423 file: memrchr multiarch for PPC32.
20424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20427 (__libc_ifunc_impl_list): Likewise.
20429 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20430 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20432 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20433 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20434 multiarch memchr for PPC32.
20435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20438 (__libc_ifunc_impl_list): Likewise.
20440 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20441 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20443 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20445 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20446 file: multiarch mempcpy for PPC32.
20447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20450 (__libc_ifunc_impl_list): Likewise.
20452 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20453 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20454 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20455 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20456 multiarch bzero for PPC32.
20457 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20459 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20461 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20462 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20463 file: multiarch memset for PPC32.
20464 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20466 memset multiarch objects.
20467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20468 (__libc_ifunc_impl_list): Likewise.
20470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20472 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20473 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20475 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20479 (__libc_ifunc_impl_list): Likewise.
20481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20490 multiarch memcpy for PPC32.
20491 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20493 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20494 (__libc_ifunc_impl_list): Likewise.
20496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20497 support multiarch for POWER/PPC32.
20498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20500 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20502 Implies file to make multiarch folder appers before the fpu and
20503 default folder for power4 configuration.
20505 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20507 * scripts/bench.pl: Append volatile keyword to type.
20509 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20511 * sysdeps/sh/sotruss-lib.c: New file.
20512 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20514 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20518 2013-12-05 Joseph Myers <joseph@codesourcery.com>
20521 * math/w_tgamma.c: Include <errno.h>.
20522 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20523 * math/w_tgammaf.c: Include <errno.h>.
20524 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20525 * math/w_tgammal.c: Include <errno.h>.
20526 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20527 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20528 underflow. Add more tgamma tests.
20529 * math/auto-libm-test-out: Regenerated.
20530 * sysdeps/i386/fpu/libm-test-ulps: Update.
20531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20533 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20534 sin, sinh, tan, tanh, tgamma, y0 and y1.
20535 * math/auto-libm-test-out: Regenerated.
20536 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20537 (TEST_COND_x86): Likewise.
20538 (M_E2l): Remove macro.
20540 (M_2_SQRT_PIl): Likewise.
20541 (M_SQRT_PIl): Likewise.
20542 (M_1_DIV_El): Likewise.
20543 (log_test_data): Use AUTO_TESTS_f_f.
20544 (log10_test_data): Likewise.
20545 (log1p_test_data): Likewise.
20546 (log2_test_data): Likewise.
20547 (sin_test_data): Likewise.
20548 (sin_tonearest_test_data): Likewise.
20549 (sin_towardzero_test_data): Likewise.
20550 (sin_downward_test_data): Likewise.
20551 (sin_upward_test_data): Likewise.
20552 (sinh_test_data): Likewise.
20553 (sinh_tonearest_test_data): Likewise.
20554 (sinh_towardzero_test_data): Likewise.
20555 (sinh_downward_test_data): Likewise.
20556 (sinh_upward_test_data): Likewise.
20557 (tan_test_data): Likewise.
20558 (tan_tonearest_test_data): Likewise.
20559 (tan_towardzero_test_data): Likewise.
20560 (tan_downward_test_data): Likewise.
20561 (tan_upward_test_data): Likewise.
20562 (tanh_test_data): Likewise.
20563 (tgamma_test_data): Likewise.
20564 (y0_test_data): Likewise.
20565 (y1_test_data): Likewise.
20566 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20567 (special_real_inputs): Add pi/4.
20568 * sysdeps/i386/fpu/libm-test-ulps: Update.
20569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20571 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20573 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20574 "longjmp_target" static probes.
20575 (__longjmp): Rename to __longjmp_symbol.
20576 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20577 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20578 on which longjmp to generate.
20579 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20580 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20582 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20583 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20584 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20585 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20586 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20587 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20589 __longjmp_symbol based on which __longjmp to generate.
20590 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20592 (setjmp): Rename to setjmp_symbol.
20593 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20594 (_setjmp): Rename to _setjmp_symbol.
20595 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20596 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20597 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20598 which setjmp to generate.
20599 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20600 "longjmp_target" static probes.
20602 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20604 * benchtests/README: Add note about output arguments.
20605 * benchtests/bench-sincos.c: Remove file.
20606 * benchtests/sincos-inputs: New file.
20607 * scripts/bench.pl: Identify output arguments and define
20608 static variables for them.
20610 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20613 * Makefile (INSTALL): Add install-plain.texi as the primary
20615 * manual/install-plain.texi: New file.
20616 * manual/install.texi: Include node directive only for
20617 non-plaintext output.
20619 2013-12-04 Joseph Myers <joseph@codesourcery.com>
20621 * stdlib/longlong.h: Update from GCC.
20625 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20626 * math/w_j0f.c (y0f): Likewise.
20627 * math/w_j0l.c (__y0l): Likewise.
20628 * math/w_j1.c (y1): Likewise.
20629 * math/w_j1f.c (y1f): Likewise.
20630 * math/w_j1l.c (__y1l): Likewise
20631 * math/w_jn.c (yn): Likewise.
20632 * math/w_jnf.c (ynf): Likewise.
20633 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20634 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20635 value for Bessel function domain errors outside _SVID_ mode.
20636 Adjust sign of return value for yn (negative integer, 0).
20637 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20638 by zero in return for negative x and set sign appropriately for
20640 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20641 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20642 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20643 expectations in error cases.
20644 (y1_test_data): Likewise.
20645 (yn_test_data): Likewise.
20646 * sysdeps/i386/fpu/libm-test-ulps: Update.
20647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20649 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20651 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20652 "64" to "64-v1". Add "64-v2".
20653 (abi-64-options): Rename to ...
20654 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20655 (abi-64-condition): Rename to ...
20656 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20657 (abi-64-ld-soname): Rename to ...
20658 (abi-64-v1-ld-soname): ... this.
20659 (abi-64-v2-options): Define.
20660 (abi-64-v2-condition): Likewise.
20661 (abi-64-v2-ld-soname): Likewise.
20662 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20663 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20668 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20669 Alan Modra <amodra@gmail.com>
20671 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20672 New versions for use with the ELFv2 ABI.
20673 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20674 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20676 (struct La_ppc64v2_retval): Likewise.
20677 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20678 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20679 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20680 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20681 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20683 Do not save or restore CR.
20684 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20685 (_dl_profile_resolve): Do no save or restore CR. Support extended
20686 return values for ELFv2 ABI. Fix location of FPR return registers.
20687 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20688 updated values for _CALL_ELF == 2.
20689 (La_regs, La_retval, int_retval): Likewise.
20691 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20693 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20694 (FRAME_MIN_SIZE_PARM): Likewise.
20695 (FRAME_BACKCHAIN): Likewise.
20696 (FRAME_CR_SAVE): Likewise.
20697 (FRAME_LR_SAVE): Likewise.
20698 (FRAME_TOC_SAVE): Likewise.
20699 (FRAME_PARM_SAVE): Likewise.
20700 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20701 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20702 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20703 (call_mcount_parm_offset): New macro.
20704 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20705 (PROF): Use symbolic stack frame offsets.
20706 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20707 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20708 Redefine in terms of FRAME_MIN_SIZE.
20709 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20710 (_dl_profile_resolve): Likewise. Update comment.
20711 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20712 symbols stack frame offsets.
20713 (__sigsetjmp): Likewise.
20714 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20715 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20716 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20717 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20720 (FRAME_BACKCHAIN): Remove.
20721 (FRAME_CR_SAVE): Likewise.
20722 (FRAME_LR_SAVE): Likewise.
20723 (FRAME_COMPILER_DW): Likewise.
20724 (FRAME_LINKER_DW): Likewise.
20725 (FRAME_TOC_SAVE): Likewise.
20726 (FRAME_PARM_SAVE): Likewise.
20727 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20728 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20729 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20731 (CHECK_SP): Use symbolic stack frame offsets.
20732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20733 zone" instead of caller's parameter save area for temp storage.
20734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20735 Likewise. Also, use symbolic stack frame offsets.
20736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20737 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20738 our own stack frame instead of the caller's.
20739 (__socket): Use symbolic stack frame offsets.
20741 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20742 Alan Modra <amodra@gmail.com>
20744 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20746 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20747 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20748 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20750 (elf_machine_fixup_plt): Call it.
20751 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20753 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20755 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20756 r2 before calling target.
20758 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20759 Alan Modra <amodra@gmail.com>
20761 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20762 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20763 versions of macros to support ELFv2 ABI.
20764 (LOCALENTRY): New macro.
20765 (ENTRY, EALIGN): Use it.
20766 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20767 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20768 fall through into ENTRY entry point.
20769 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20770 Only define if _CALL_ELF != 2.
20772 (elf_machine_matches_host): Verify ABI version matches.
20773 (RTLD_START): Use LOCALENTRY.
20774 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20775 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20776 (PLT_ENTRY_WORDS): New macro.
20777 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20778 (elf_machine_runtime_setup): Support ELFv2 ABI.
20779 (elf_machine_fixup_plt): Likewise.
20780 (elf_machine_plt_conflict): Likewise.
20781 (resolve_ifunc): Likewise.
20782 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20783 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20786 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20788 (makecontext): Support ELFv2 ABI.
20789 * elf/elf.h (EF_PPC64_ABI): Define.
20791 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20793 * sysdeps/powerpc/powerpc64/sysdep.h
20794 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20795 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20796 (ENTRY) [ASSEMBLER]: ... but instead here ...
20797 (EALIGN) [ASSEMBLER]: ... and here.
20798 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20799 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20800 (ENTRY_2) [!ASSEMBLER]: Use it.
20801 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20802 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20803 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20804 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20805 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20807 Use PPC64_LOAD_FUNCPTR.
20809 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20811 2013-12-04 Alan Modra <amodra@gmail.com>
20813 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20814 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20815 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20816 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20819 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20820 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20821 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20822 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20823 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20825 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20828 (__makecontext): Fix incorrect CFI when backtracing out of
20829 context created via makecontext.
20830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20831 (__setcontext): Fix incorrect CFI during switch to new context.
20832 (__novec_setcontext): Likewise.
20834 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20837 * time/strptime_l.c (__strptime_internal): Allow modifiers
20839 * time/tst-strptime.c (day_tests): Add testcase.
20841 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20843 * scripts/bench.pl: Skip over blank lines.
20845 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20848 * manual/time.texi (Calendar Time): Clarify what timezone functions
20851 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20855 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20857 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20859 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20860 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20861 * debug/memset_chk.c (__memset_chk): Likewise.
20862 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20863 * debug/strncpy_chk.c: Likewise.
20865 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20869 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20870 (__ieee754_exp): For possibly underflowing results, check size of
20871 result and force underflow exception if required.
20872 * math/auto-libm-test-in: Add more tests of exp.
20873 * math/auto-libm-test-out: Regenerated.
20874 * sysdeps/i386/fpu/libm-test-ulps: Update.
20875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20878 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20879 * math/w_exp2f.c (__exp2f): Likewise.
20880 * math/w_exp2l.c (__exp2l): Likewise.
20881 * math/auto-libm-test-in: Do not allow missing errno on exp2
20883 * math/auto-libm-test-out: Regenerated.
20885 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20888 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20889 handle filename validation.
20890 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20893 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20896 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20897 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20898 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20900 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20902 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20904 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20905 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20906 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20907 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20908 Add more erfc tests.
20909 * math/auto-libm-test-out: Regenerated.
20910 * sysdeps/i386/fpu/libm-test-ulps: Update.
20911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20913 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20914 exp2, expm1, j0 and j1.
20915 * math/auto-libm-test-out: Regenerated.
20916 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20917 (erfc_test_data): Likewise.
20918 (exp_test_data): Likewise.
20919 (exp_tonearest_test_data): Likewise.
20920 (exp_towardzero_test_data): Likewise.
20921 (exp_downward_test_data): Likewise.
20922 (exp_upward_test_data): Likewise.
20923 (exp10_test_data): Likewise.
20924 (exp2_test_data): Likewise.
20925 (expm1_test_data): Likewise.
20926 (j0_test_data): Likewise.
20927 (j1_test_data): Likewise.
20928 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20929 (input_flag_type): Add flag_xfail_rounding.
20930 (input_flags): Add xfail-rounding.
20931 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20932 (output_for_one_input_case): Handle flag_xfail_rounding.
20933 * sysdeps/i386/fpu/libm-test-ulps: Update.
20934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20936 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20939 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20942 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20945 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20946 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20947 (STAP_PROBE0): New macro.
20948 (STAP_PROBE1): Likewise.
20949 (STAP_PROBE2): Likewise.
20950 (STAP_PROBE3): Likewise.
20951 (STAP_PROBE4): Likewise.
20953 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
20955 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20957 2013-12-02 Steve Ellcey <sellcey@mips.com>
20959 * benchtests/Makefile (bench): Add sqrt.
20960 (LDLIBS-bench-sqrt): New.
20961 * benchtests/sqrt-input: New.
20963 2013-12-02 Pavel Simerda <psimerda@redhat.com>
20965 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20966 (GAIH_EAI): Likewise.
20967 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20968 (gaih_inet): Likewise.
20969 (getaddrinfo): Don't use GAIH_EAI.
20971 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20972 (struct gaih): Remove definition.
20974 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20976 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20977 Use HERRNOP directly.
20979 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20983 2013-11-30 Joseph Myers <joseph@codesourcery.com>
20985 * math/gen-auto-libm-tests.c (test_functions): Add more
20986 single-argument functions.
20987 (special_fill_pi_2): New function.
20988 (special_fill_minus_pi_2): Likewise.
20989 (special_fill_pi_6): Likewise.
20990 (special_fill_minus_pi_6): Likewise.
20991 (special_fill_pi_3): Likewise.
20992 (special_fill_2pi_3): Likewise.
20993 (special_fill_e): Likewise.
20994 (special_fill_1_e): Likewise.
20995 (special_fill_e_minus_1): Likewise.
20996 (special_real_inputs): Add more special inputs.
20997 (output_for_one_input_case): Do not require ERANGE on underflow to
20998 zero if round-to-nearest result does not underflow to zero, unless
20999 exact results required.
21000 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21001 atan, atanh, cbrt, cos and cosh.
21002 * math/auto-libm-test-out: Regenerated.
21003 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21004 (acos_tonearest_test_data): Likewise.
21005 (acos_towardzero_test_data): Likewise.
21006 (acos_downward_test_data): Likewise.
21007 (acos_upward_test_data): Likewise.
21008 (acosh_test_data): Likewise.
21009 (asin_test_data): Likewise.
21010 (asin_tonearest_test_data): Likewise.
21011 (asin_towardzero_test_data): Likewise.
21012 (asin_upward_test_data): Likewise.
21013 (asinh_test_data): Likewise.
21014 (atan_test_data): Likewise.
21015 (atanh_test_data): Likewise.
21016 (cbrt_test_data): Likewise.
21017 (cos_test_data): Likewise.
21018 (cos_tonearest_test_data): Likewise.
21019 (cos_towardzero_test_data): Likewise.
21020 (cos_downward_test_data): Likewise.
21021 (cos_upward_test_data): Likewise.
21022 (cosh_test_data): Likewise.
21023 (cosh_tonearest_test_data): Likewise.
21024 (cosh_towardzero_test_data): Likewise.
21025 (cosh_downward_test_data): Likewise.
21026 (cosh_upward_test_data): Likewise.
21027 * sysdeps/i386/fpu/libm-test-ulps: Update.
21028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21030 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21033 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21034 * math/w_exp10f.c (__exp10f): Likewise.
21035 * math/w_exp10l.c (__exp10l): Likewise.
21036 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21037 errno settings in existing tests.
21040 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21041 precision control set to double precision.
21042 * sysdeps/i386/fpu/w_sqrt.c: New file.
21043 * math/auto-libm-test-in: Add more tests.
21044 * math/auto-libm-test-out: Update.
21046 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21047 (sqrt_test_tonearest): New function.
21048 (sqrt_towardzero_test_data): New variable.
21049 (sqrt_test_towardzero): New function.
21050 (sqrt_downward_test_data): New variable.
21051 (sqrt_test_downward): New function.
21052 (sqrt_upward_test_data): New variable.
21053 (sqrt_test_upward): New function.
21054 (main): Call the new functions.
21056 * math/gen-auto-libm-tests.c: New file.
21057 * math/auto-libm-test-in: Likewise.
21058 * math/auto-libm-test-out: New generated file.
21059 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21061 (%beautify): Add generated representations of zero.
21062 (top level): Set $auto_input and call parse_auto_input.
21063 (beautify): Remove trailing "f" from hex float constants.
21064 (parse_args): Handle XFAIL_TEST.
21065 (convert_condition): New function.
21066 (or_value): Likewise.
21067 (or_cond_value): Likewise.
21068 (generate_testfile): Handle AUTO_TESTS_* lines.
21069 (parse_auto_input): New function.
21070 * math/libm-test.inc (XFAIL_TEST): New macro.
21071 (ERRNO_UNCHANGED): Update value.
21072 (ERRNO_EDOM): Likewise.
21073 (ERRNO_ERANGE): Likewise.
21074 (IGNORE_RESULT): Likewise.
21075 (TEST_COND_flt_32): New macro.
21076 (TEST_COND_dbl_64): Likewise.
21077 (TEST_COND_ldbl_96_intel): Likewise.
21078 (TEST_COND_ldbl_96_m68k): Likewise.
21079 (TEST_COND_ldbl_128): Likewise.
21080 (TEST_COND_ldbl_128ibm): Likewise.
21081 (TEST_COND_long32): Likewise.
21082 (TEST_COND_long64): Likewise.
21083 (TEST_COND_before_rounding): Likewise.
21084 (TEST_COND_after_rounding): Likewise.
21085 (enable_test): Handle XFAIL_TEST flag.
21086 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21087 with finite results.
21088 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21089 auto-libm-test-out.
21091 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21092 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21095 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21096 __tls_get_addr_internal instead of __tls_get_offset in order to
21097 avoid GOT pointer dependency. Make rtld export
21098 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21099 __tls_get_addr since we are a __tls_get_offset platform.
21100 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21101 GOT pointer being set up before.
21102 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21104 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21106 * manual/math.texi (Errors in Math Functions): Document accuracy
21110 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21111 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21112 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21113 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21114 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21115 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21116 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21119 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21124 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21125 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21127 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21128 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21129 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21130 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21131 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21133 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21135 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21137 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21138 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21139 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21140 atomic-feupdateenv and flt-rounds.
21141 * sysdeps/powerpc/nofpu/Versions (libc): Add
21142 __atomic_feholdexcept, __atomic_feclearexcept,
21143 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21144 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21145 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21146 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21147 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21152 * manual/arith.texi (FP Exceptions): Document that exceptions may
21153 not be raised when matherr is used.
21154 (Math Error Reporting): Document overflow in directed rounding
21155 modes. Document that errno may not be set when finite values are
21156 returned on overflow. Document intent to set errno on underflow
21157 only for underflow to zero.
21160 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21161 round-to-nearest then adjust result for other rounding modes.
21162 * include/fenv.h (fegetround): Use libm_hidden_proto.
21163 * math/fegetround.c (fegetround): Use libm_hidden_def.
21164 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21165 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21166 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21167 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21169 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21170 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21171 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21172 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21174 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21177 * nss/Versions (libnss_files): Add
21178 _nss_files_gethostbyname3_r.
21179 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21181 (HOST_DB_LOOKUP): Remove macro.
21182 (_nss_files_gethostbyname_r): Implement function without the
21183 HOST_DB_LOOKUP macro.
21184 (_nss_files_gethostbyname2_r): Likewise.
21186 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
21188 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21190 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
21192 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21193 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21196 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21198 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21199 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21200 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21201 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21202 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21203 __fe_nomask_env_priv and attribute_hidden.
21204 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21205 (libc_feupdateenv_test_ppc): Likewise.
21206 (libc_feresetround_ppc): Likewise.
21207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21208 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21209 compat_symbol macro.
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21211 (__fe_nomask_env): Likewise.
21212 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21214 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21216 * string/Makefile: Remove ifunc tests.
21217 * string/test-string.h: Define TEST_IFUNC.
21218 * string/test-bcopy-ifunc.c: Remove.
21219 * string/test-bzero-ifunc.c: Likewise.
21220 * string/test-memccpy-ifunc.c: Likewise.
21221 * string/test-memchr-ifunc.c: Likewise.
21222 * string/test-memcmp-ifunc.c: Likewise.
21223 * string/test-memcpy-ifunc.c: Likewise.
21224 * string/test-memmem-ifunc.c: Likewise.
21225 * string/test-memmove-ifunc.c: Likewise.
21226 * string/test-mempcpy-ifunc.c: Likewise.
21227 * string/test-memrchr-ifunc.c: Likewise.
21228 * string/test-memset-ifunc.c: Likewise.
21229 * string/test-rawmemchr-ifunc.c: Likewise.
21230 * string/test-stpcpy-ifunc.c: Likewise.
21231 * string/test-stpncpy-ifunc.c: Likewise.
21232 * string/test-strcasecmp-ifunc.c: Likewise.
21233 * string/test-strcasestr-ifunc.c: Likewise.
21234 * string/test-strcat-ifunc.c: Likewise.
21235 * string/test-strchr-ifunc.c: Likewise.
21236 * string/test-strchrnul-ifunc.c: Likewise.
21237 * string/test-strcmp-ifunc.c: Likewise.
21238 * string/test-strcpy-ifunc.c: Likewise.
21239 * string/test-strcspn-ifunc.c: Likewise.
21240 * string/test-strlen-ifunc.c: Likewise.
21241 * string/test-strncasecmp-ifunc.c: Likewise.
21242 * string/test-strncat-ifunc.c: Likewise.
21243 * string/test-strncmp-ifunc.c: Likewise.
21244 * string/test-strncpy-ifunc.c: Likewise.
21245 * string/test-strnlen-ifunc.c: Likewise.
21246 * string/test-strpbrk-ifunc.c: Likewise.
21247 * string/test-strrchr-ifunc.c: Likewise.
21248 * string/test-strspn-ifunc.c: Likewise.
21249 * string/test-strstr-ifunc.c: Likewise.
21251 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21253 * benchtests/Makefile: Remove ifunc tests.
21254 * benchtests/bench-string.h: Define TEST_IFUNC.
21255 * benchtests/bench-bcopy-ifunc.c: Remove.
21256 * benchtests/bench-bzero-ifunc.c: Likewise.
21257 * benchtests/bench-memccpy-ifunc.c: Likewise.
21258 * benchtests/bench-memchr-ifunc.c: Likewise.
21259 * benchtests/bench-memcmp-ifunc.c: Likewise.
21260 * benchtests/bench-memcpy-ifunc.c: Likewise.
21261 * benchtests/bench-memmem-ifunc.c: Likewise.
21262 * benchtests/bench-memmove-ifunc.c: Likewise.
21263 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21264 * benchtests/bench-memrchr-ifunc.c: Likewise.
21265 * benchtests/bench-memset-ifunc.c: Likewise.
21266 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21267 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21268 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21269 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21270 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21271 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21272 * benchtests/bench-strcat-ifunc.c: Likewise.
21273 * benchtests/bench-strchr-ifunc.c: Likewise.
21274 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21275 * benchtests/bench-strcmp-ifunc.c: Likewise.
21276 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21277 * benchtests/bench-strcpy-ifunc.c: Likewise.
21278 * benchtests/bench-strcspn-ifunc.c: Likewise.
21279 * benchtests/bench-strlen-ifunc.c: Likewise.
21280 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21281 * benchtests/bench-strncat-ifunc.c: Likewise.
21282 * benchtests/bench-strncmp-ifunc.c: Likewise.
21283 * benchtests/bench-strncpy-ifunc.c: Likewise.
21284 * benchtests/bench-strnlen-ifunc.c: Likewise.
21285 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21286 * benchtests/bench-strrchr-ifunc.c: Likewise.
21287 * benchtests/bench-strsep-ifunc.c: Likewise.
21288 * benchtests/bench-strspn-ifunc.c: Likewise.
21289 * benchtests/bench-strstr-ifunc.c: Likewise.
21291 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21293 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21295 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21297 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21298 * rt/aio.h: Likewise.
21299 * sysdeps/gnu/bits/utmp.h: Likewise.
21300 * sysdeps/gnu/bits/utmpx.h: Likewise.
21301 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21302 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21303 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21304 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21305 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21306 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21307 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21308 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21309 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21310 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21311 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21312 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21313 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21315 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21316 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21317 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21318 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21319 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21320 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21321 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21322 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21323 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21324 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21325 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21327 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21328 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21329 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21330 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21331 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21332 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21333 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21334 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21335 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21336 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21337 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21338 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21339 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21340 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21341 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21342 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21344 2013-11-25 Carlos O'Donell <carlos@redhat.com>
21347 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21348 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21350 2013-11-25 Joseph Myers <joseph@codesourcery.com>
21352 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21353 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21356 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21358 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21359 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21360 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21361 (__fesetround): Remove define.
21362 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21363 rounding and exceptions handling.
21364 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21365 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21366 (__fe_nomask_env): Likewise.
21367 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21368 __fegetround instead of fegetround.
21369 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21370 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21372 2013-11-21 Roland McGrath <roland@hack.frob.com>
21374 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21377 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21379 2013-11-21 Meador Inge <meadori@codesourcery.com>
21382 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21383 (encrypt_r): Likewise.
21384 * malloc/obstack.h (obstack_free): Likewise.
21385 * posix/unistd.h (encrypt): Likewise.
21387 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21389 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21390 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21391 DL_CALL_DT_FINI() that call the functions directly.
21392 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21393 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21394 * elf/dl-fini.c: Likewise.
21396 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
21398 * malloc/hooks.c (memalign_check): Add alignment rounding.
21399 * malloc/malloc.c (_mid_memalign): New function.
21400 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21401 Implement by calling _mid_memalign.
21402 * manual/probes.texi (Memory Allocation Probes): Remove
21403 memory_valloc_retry and memory_pvalloc_retry.
21405 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21407 * locale/programs/locarchive.c (open_archive): Add const
21408 qualifier to ARCHIVEFNAME and copy default fname to
21412 * libio/tst-widetext.input: Rename Oriya to Odia.
21413 * locale/iso-639.def: Likewise.
21415 * manual/probes.texi (Mathematical Function Probes): Add
21416 documentation for sin, cos, asin and acos probes.
21417 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21418 (__sin32): Add slowasin probe.
21419 (__cos32): Add slowacos probe.
21420 (__mpsin): Add slowsin probe.
21421 (__mpcos): Add slowcos probe.
21423 2013-11-19 Joseph Myers <joseph@codesourcery.com>
21426 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21427 thread-local __sim_exceptions_thread and global
21428 __sim_exceptions_global.
21429 (__sim_disabled_exceptions): Change to thread-local
21430 __sim_disabled_exceptions_thread and global
21431 __sim_disabled_exceptions_global.
21432 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21433 and global __sim_round_mode_global.
21434 (__simulate_exceptions): Use thread-local floating-point state and
21435 set global state from it as needed.
21436 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21437 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21438 __sim_round_mode_thread.
21439 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21440 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21441 and global __sim_exceptions_global.
21442 (__sim_disabled_exceptions): Change to thread-local
21443 __sim_disabled_exceptions_thread and global
21444 __sim_disabled_exceptions_global.
21445 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21446 and global __sim_round_mode_global.
21447 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21448 (SIM_SET_GLOBAL): Likewise.
21449 * sysdeps/powerpc/soft-fp/sfp-machine.h
21450 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21451 __sim_round_mode_thread.
21452 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21453 __sim_disabled_exceptions_thread.
21454 (__sim_exceptions): Change to __sim_exceptions_thread.
21455 (__sim_disabled_exceptions): Change to
21456 __sim_disabled_exceptions_thread.
21457 (__sim_round_mode): Change to __sim_round_mode_thread.
21458 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21459 thread-local floating-point state and set global state from it as
21461 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21462 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21463 (__sim_disabled_exceptions): Remove extern declaration.
21464 (feenableexcept): Use thread-local floating-point state and set
21465 global state from it as needed.
21466 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21467 extern declaration.
21468 (__sim_disabled_exceptions): Likewise.
21469 (__sim_round_mode): Likewise.
21470 (__fegetenv): Use thread-local floating-point state.
21471 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21472 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21473 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21474 floating-point state and set global state from it as needed.
21475 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21476 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21477 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21479 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21480 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21482 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21483 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21484 Use __sim_round_mode_thread.
21485 * math/test-fenv-tls.c: New file.
21486 * math/Makefile (tests): Add test-fenv-tls.
21487 ($(objpfx)test-fenv-tls): Depend on
21488 $(common-objpfx)nptl/libpthread.so.
21490 2013-11-19 Andreas Schwab <schwab@suse.de>
21492 * locale/programs/locale.c (show_info): Decode wordarray elements.
21493 * locale/categories.def (LC_MONETARY): Add element for
21494 _NL_MONETARY_CRNCYSTR.
21495 * locale/C-monetary.c (conversion_rate): New variable.
21496 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21499 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21501 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21502 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21504 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21506 * elf/Makefile (tst-auxv): New test.
21507 * elf/tst-auxv.c: New
21508 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21510 2013-11-18 Joseph Myers <joseph@codesourcery.com>
21512 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21513 (hidden_proto): Caller changed.
21514 (hidden_tls_proto): New macro.
21515 (libc_hidden_tls_proto): Likewise.
21516 (rtld_hidden_tls_proto): Likewise.
21517 (libm_hidden_tls_proto): Likewise.
21518 (libresolv_hidden_tls_proto): Likewise.
21519 (librt_hidden_tls_proto): Likewise.
21520 (libdl_hidden_tls_proto): Likewise.
21521 (libnss_files_hidden_tls_proto): Likewise.
21522 (libnsl_hidden_tls_proto): Likewise.
21523 (libnss_nisplus_hidden_tls_proto): Likewise.
21524 (libutil_hidden_tls_proto): Likewise.
21526 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
21529 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21530 (decompose_rpath): Defer expansion to fillin_rpath.
21531 (_dl_init_paths): Pass linkmap to fillin_rpath.
21533 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21535 * benchtests/Makefile: Add strsep.
21536 * benchtests/bench-strsep.c: New file: strsep benchtest.
21537 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21539 2013-11-18 Andreas Schwab <schwab@suse.de>
21541 * locale/programs/locale.c (show_info) [case byte]: Check for
21542 '\377' instead of '\177'.
21543 * locale/C-monetary.c (not_available): Always use "\377".
21544 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21545 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21546 detect unavailable sign_posn locale elements.
21547 * locale/localeconv.c (__localeconv): For grouping and
21548 mon_grouping handle "\177" and "\377" like no grouping.
21549 (INT_ELEM): New macro. Use it to set all numeric members.
21550 * locale/programs/ld-monetary.c (monetary_read)
21551 <tok_mon_grouping>: Normalize single -1 to the empty string.
21552 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21555 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21558 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21559 when we match (nil).
21560 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21562 2013-11-16 Joseph Myers <joseph@codesourcery.com>
21564 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21565 (NO_TEST_INLINE): Update value.
21566 (ERRNO_UNCHANGED): Likewise.
21567 (ERRNO_EDOM): Likewise.
21568 (ERRNO_ERANGE): Likewise.
21569 (IGNORE_RESULT): Likewise.
21570 (check_float_internal): Check signs of NaN results if
21571 TEST_NAN_SIGN used.
21572 (check_complex): Pass TEST_NAN_SIGN flag through to second
21573 check_float_internal call.
21574 (copysign_test_data): Add tests with quiet NaNs as second
21575 argument. Use TEST_NAN_SIGN.
21576 (fabs_test_data): Add test of negative quiet NaN argument. Use
21578 (signbit_test_data): Add tests of quiet NaN argument.
21579 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21581 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21583 (parse_args): Handle function results specified as IGNORE.
21584 * math/libm-test.inc (IGNORE_RESULT): New macro.
21585 (check_float_internal): Do not check numerical result if flag
21587 (check_complex): Pass through IGNORE_RESULT to second
21588 check_float_internal call.
21589 (check_int): Do not check numerical result if flag IGNORE_RESULT
21591 (check_long): Likewise.
21592 (check_bool): Likewise.
21593 (check_longlong): Likewise.
21594 (lrint_test_data): Add tests of infinite and NaN arguments.
21595 (lrint_tonearest_test_data): Likewise.
21596 (lrint_towardzero_test_data): Likewise.
21597 (lrint_downward_test_data): Likewise.
21598 (lrint_upward_test_data): Likewise.
21599 (llrint_test_data): Likewise.
21600 (llrint_tonearest_test_data): Likewise.
21601 (llrint_towardzero_test_data): Likewise.
21602 (llrint_downward_test_data): Likewise.
21603 (llrint_upward_test_data): Likewise.
21604 (lround_test_data): Likewise.
21605 (llround_test_data): Likewise.
21607 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21608 (ERRNO_UNCHANGED): Update value.
21609 (ERRNO_EDOM): Likewise.
21610 (ERRNO_ERANGE): Likewise.
21611 (NO_TEST_INLINE_FLOAT): New macro.
21612 (NO_TEST_INLINE_DOUBLE): Likewise.
21613 (enable_test): New function.
21614 (RUN_TEST_f_f): Check enable_test before running test.
21615 (RUN_TEST_2_f): Likewise.
21616 (RUN_TEST_fff_f): Likewise.
21617 (RUN_TEST_c_f): Likewise.
21618 (RUN_TEST_f_f1): Likewise.
21619 (RUN_TEST_fF_f1): Likewise.
21620 (RUN_TEST_fI_f1): Likewise.
21621 (RUN_TEST_ffI_f1): Likewise.
21622 (RUN_TEST_c_c): Likewise.
21623 (RUN_TEST_cc_c): Likewise.
21624 (RUN_TEST_f_i): Likewise.
21625 (RUN_TEST_f_i_tg): Likewise.
21626 (RUN_TEST_ff_i_tg): Likewise.
21627 (RUN_TEST_f_b): Likewise.
21628 (RUN_TEST_f_b_tg): Likewise.
21629 (RUN_TEST_f_l): Likewise.
21630 (RUN_TEST_f_L): Likewise.
21631 (RUN_TEST_fFF_11): Likewise.
21632 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21634 (cosh_test_data): Likewise.
21635 (exp_test_data): Likewise.
21636 (expm1_test_data): Likewise.
21637 (hypot_test_data): Likewise.
21638 (pow_test_data): Likewise.
21639 (sinh_test_data): Likewise.
21640 (tanh_test_data): Likewise.
21641 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21644 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21645 tests with quiet NaN input and output.
21646 (acosh_test_data): Likewise.
21647 (asin_test_data): Likewise.
21648 (asinh_test_data): Likewise.
21649 (atan_test_data): Likewise.
21650 (atanh_test_data): Likewise.
21651 (atan2_test_data): Likewise.
21652 (cbrt_test_data): Likewise.
21653 (cos_test_data): Likewise.
21654 (cosh_test_data): Likewise.
21655 (erf_test_data): Likewise.
21656 (erfc_test_data): Likewise.
21657 (exp_test_data): Likewise.
21658 (exp10_test_data): Likewise.
21659 (exp2_test_data): Likewise.
21660 (expm1_test_data): Likewise.
21661 (hypot_test_data): Likewise.
21662 (j0_test_data): Likewise.
21663 (j1_test_data): Likewise.
21664 (jn_test_data): Likewise.
21665 (lgamma_test_data): Likewise.
21666 (log_test_data): Likewise.
21667 (log10_test_data): Likewise.
21668 (log1p_test_data): Likewise.
21669 (log2_test_data): Likewise.
21670 (pow_test_data): Likewise.
21671 (scalb_test_data): Likewise.
21672 (sin_test_data): Likewise.
21673 (sincos_test_data): Likewise.
21674 (sinh_test_data): Likewise.
21675 (tan_test_data): Likewise.
21676 (tanh_test_data): Likewise.
21677 (tgamma_test_data): Likewise.
21678 (y0_test_data): Likewise.
21679 (y1_test_data): Likewise.
21680 (yn_test_data): Likewise.
21683 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21684 argument being NaN and avoid computations with second argument in
21686 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21687 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21688 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21690 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21692 * locale/iso-639.def: Add Chitwani Tharu (the).
21694 2013-11-14 Andreas Schwab <schwab@suse.de>
21696 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21697 word instead of empty string.
21699 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21702 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21704 (__fe_nomask_env): Likewise.
21706 2013-11-13 Steve Ellcey <sellcey@mips.com>
21708 * benchtests/bench-timing.h: Include time.h.
21710 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21713 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21715 * sysdeps/unix/sysv/linux/configure: Regenerated.
21717 2013-11-13 Joseph Myers <joseph@codesourcery.com>
21720 * stdlib/strtod_l.c (round_and_return): Do not consider
21721 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21722 exponent one less than half the least subnormal exponent.
21723 * stdlib/test-strtod-round-data: Add more tests.
21724 * stdlib/tst-strtod-round.c (tests): Regenerated.
21726 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21729 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21730 (__fe_mask_env): Likewise.
21731 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21732 libm_hidden_proto and add function prototype.
21733 (__fe_mask_env): Add function prototype.
21734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21735 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21737 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21739 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21741 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21743 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21744 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21746 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21748 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21749 of htab_find_slot().
21751 2013-11-11 David S. Miller <davem@davemloft.net>
21754 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21755 symbol in the non-vis3 case in static builds.
21756 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21757 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21758 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21759 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21761 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21764 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21767 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21769 * benchtests/Makefile: Add bench-strtod.
21770 * benchtests/bench-strtod.c: New file: strtod benchtest
21772 2013-11-11 Andreas Schwab <schwab@suse.de>
21775 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21776 terminating NUL in key length.
21778 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21780 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21781 Add artificial ODP entry for vDSO symbol for PPC64.
21782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21783 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21785 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21788 * nss/getent.c (services_keys): Recognize services starting with digit.
21790 2013-11-06 David S. Miller <davem@davemloft.net>
21793 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21794 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21796 2013-11-06 Will Newton <will.newton@linaro.org>
21798 * manual/memory.texi (Malloc Examples): Remove register
21799 keyword from examples.
21801 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21803 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21805 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21808 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21809 depending on [__GCC_IEC_559 > 0].
21810 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21811 depending on [__GCC_IEC_559_COMPLEX > 0].
21813 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21815 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21818 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21820 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21822 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21825 * malloc/malloc (malloc_info): Do not handle first bin as
21828 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21830 * locale/iso-639.def: Add Central Nahuatl (nhn).
21832 2013-11-01 Bruno Haible <bruno@clisp.org>
21835 * manual/math.texi (BSD Random): Specify range upper bound as
21838 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21840 * locale/iso-639.def: Add Meadow Mari (mhr).
21842 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21844 [BZ #14752], [BZ #15763]
21845 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21847 * rt/tst_shm.c: Add test for escaping directory.
21849 2013-10-31 Andreas Schwab <schwab@suse.de>
21852 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21853 followed by 'x' as part of digit sequence.
21854 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21856 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21859 * configure.ac: allow GNU Make 4.0 and greater.
21860 * configure: Regenerated.
21862 2013-10-30 Will Newton <will.newton@linaro.org>
21865 * malloc/hooks.c (memalign_check): Limit alignment to the
21866 maximum representable power of two.
21867 * malloc/malloc.c (__libc_memalign): Likewise.
21868 * malloc/tst-memalign.c (do_test): Add test for very
21869 large alignment values.
21870 * malloc/tst-posix_memalign.c (do_test): Likewise.
21872 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21875 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21876 (munmap_chunk): Likewise.
21877 (mremap_chunk): Likewise.
21879 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21882 * stdlib/div.c (div): Remove obsolete code.
21883 * stdlib/ldiv.c (ldiv): Likewise.
21884 * stdlib/lldiv.c (lldiv): Likewise.
21886 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21889 * nss/nss_files/files-XXX.c (get_contents_ret): New
21891 (get_contents): New function.
21892 (internal_getent): Use it. Expand size of LINEBUFLEN.
21894 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21896 * configure.in: Moved to ...
21897 * configure.ac: ... here. Change reference to configure.in
21899 * sysdeps/arm/preconfigure.ac: ... here.
21900 configure.in to configure.ac.
21901 * sysdeps/gnu/configure.in: Moved to ...
21902 * sysdeps/gnu/configure.ac: ... here.
21903 * sysdeps/i386/configure.in: Moved to ...
21904 * sysdeps/i386/configure.ac: ... here.
21905 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21906 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21907 * sysdeps/mach/configure.in: Moved to ...
21908 * sysdeps/mach/configure.ac: ... here.
21909 * sysdeps/mach/hurd/configure.in: Moved to ...
21910 * sysdeps/mach/hurd/configure.ac: ... here.
21911 * sysdeps/powerpc/configure.in: Moved to ...
21912 * sysdeps/powerpc/configure.ac: ... here.
21913 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21914 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21915 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21916 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21917 * sysdeps/s390/s390-32/configure.in: Moved to ...
21918 * sysdeps/s390/s390-32/configure.ac: ... here.
21919 * sysdeps/s390/s390-64/configure.in: Moved to ...
21920 * sysdeps/s390/s390-64/configure.ac: ... here.
21921 * sysdeps/sh/configure.in: Moved to ...
21922 * sysdeps/sh/configure.ac: ... here.
21923 * sysdeps/sparc/configure.in: Moved to ...
21924 * sysdeps/sparc/configure.ac: ... here.
21925 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21926 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21927 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21928 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21929 * sysdeps/x86_64/configure.in: Moved to ...
21930 * sysdeps/x86_64/configure.ac: ... here.
21931 * sysdeps/x86_64/preconfigure.in: Moved to ...
21932 * sysdeps/x86_64/preconfigure.ac: ... here.
21933 * aclocal.m4: Change reference to configure.in to configure.ac.
21934 * config.h.in: Likewise.
21935 * manual/install.texi: Likewise.
21936 * manual/maint.texi: Likewise.
21937 * Makefile: Likewise.
21938 * malloc/Makefile: Likewise.
21939 * nscd/Makefile: Likewise.
21940 * Makeconfig: Change reference to configure.in and
21941 preconfigure.in to configure.ac and preconfigure.ac
21943 * INSTALL: Regenerated.
21944 * configure: Likewise.
21945 * sysdeps/gnu/configure: Likewise.
21946 * sysdeps/i386/configure: Likewise.
21947 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21948 * sysdeps/mach/configure: Likewise.
21949 * sysdeps/mach/hurd/configure: Likewise.
21950 * sysdeps/powerpc/configure: Likewise.
21951 * sysdeps/powerpc/powerpc32/configure: Likewise.
21952 * sysdeps/powerpc/powerpc64/configure: Likewise.
21953 * sysdeps/s390/s390-32/configure: Likewise.
21954 * sysdeps/s390/s390-64/configure: Likewise.
21955 * sysdeps/sh/configure: Likewise.
21956 * sysdeps/sparc/configure: Likewise.
21957 * sysdeps/unix/sysv/linux/configure: Likewise.
21958 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21959 * sysdeps/x86_64/configure: Likewise.
21960 * sysdeps/x86_64/preconfigure: Likewise.
21962 2013-10-29 Andreas Schwab <schwab@suse.de>
21964 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21966 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21968 * benchtests/pow-inputs: Add new inputs.
21970 * benchtests/exp-inputs: Add new inputs.
21972 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21973 conditional check for return value.
21974 (__cos32): Likewise.
21976 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21978 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21979 to provide a boost for large inputs with word alignment.
21980 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21981 implementation based on optimized PPC64 strcpy.
21982 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21983 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21984 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21985 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21987 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21990 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21992 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21995 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21996 * time/tst-strptime.c (day_tests): Add testcase.
21998 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22001 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22003 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22006 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22007 MAP_FAILED on error.
22009 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22012 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22013 heap for large requests.
22015 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22018 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22019 result if the result has no associated interface.
22020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22021 interface for all 127.X.Y.Z addresses.
22023 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22025 * locale/iso-639.def: Add Ligurian (lij)
22027 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22030 * sunrpc/rpc_main.c: Document rpcgen -5.
22032 2013-10-19 Michael Stahl <mstahl@redhat.com>
22034 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22036 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22039 * posix/glob.c: Match only directories when trailing slash is present.
22040 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22041 (main): Add testcase.
22043 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22046 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22048 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22050 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22051 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22052 AUTH_DES and cindex for FIPS 140-2.
22053 (DES Encryption): Add cindex FIPS 46-3.
22055 * locale/locarchive.h (struct locarhandle): Add fname.
22056 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22057 if an optional argument was specified to --list-archive,
22059 * locale/programs/locarchive.c (show_archive_content): Take new
22060 argument fname and pass it via ah.fname to open_archive.
22061 * locale/programs/localedef.h: Update decl.
22062 (open_archive): If AH->fname is non-null, open that file
22063 rather than the default file name, and don't ignore ENOENT.
22064 (create_archive): Set AH.fname to NULL.
22065 (delete_locales_from_archive): Likewise.
22066 (add_locales_to_archive): Likewise.
22067 * locale/programs/locfile.c (write_all_categories): Likewise.
22069 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22070 Aldy Hernandez <aldyh@redhat.com>
22072 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22073 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22074 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22075 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22076 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22077 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22078 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22079 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22080 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22081 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22082 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22083 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22084 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22085 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22086 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22088 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22090 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22092 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22094 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22095 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22097 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22098 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22099 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22100 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22102 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22103 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22104 * sysdeps/powerpc/preconfigure: Likewise.
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22107 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22108 Replace contents of file by #include of <fenv_libc.h>.
22109 * sysdeps/powerpc/soft-fp/sfp-machine.h
22110 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22112 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22113 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22114 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22115 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22116 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22117 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22125 Allow copysignl PLT reference to be missing.
22127 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22128 Joseph Myers <joseph@codesourcery.com
22131 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22133 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22135 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22137 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22138 * elf/tst-tls1.c: Likewise.
22139 * elf/tst-tls10.h: Likewise.
22140 * elf/tst-tls14.c: Likewise.
22141 * elf/tst-tls2.c: Likewise.
22142 * elf/tst-tls3.c: Likewise.
22143 * elf/tst-tls4.c: Likewise.
22144 * elf/tst-tls5.c: Likewise.
22145 * elf/tst-tls6.c: Likewise.
22146 * elf/tst-tls7.c: Likewise.
22147 * elf/tst-tls8.c: Likewise.
22148 * elf/tst-tls9.c: Likewise.
22149 * elf/tst-tlsmod1.c: Likewise.
22150 * elf/tst-tlsmod13.c: Likewise.
22151 * elf/tst-tlsmod13a.c: Likewise.
22152 * elf/tst-tlsmod14a.c: Likewise.
22153 * elf/tst-tlsmod16a.c: Likewise.
22154 * elf/tst-tlsmod16b.c: Likewise.
22155 * elf/tst-tlsmod2.c: Likewise.
22156 * elf/tst-tlsmod3.c: Likewise.
22157 * elf/tst-tlsmod4.c: Likewise.
22158 * elf/tst-tlsmod5.c: Likewise.
22159 * elf/tst-tlsmod6.c: Likewise.
22161 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22164 * malloc/malloc.c: remove checks for statistics.
22166 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22169 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22170 * inet/tst-network.c: Add testcase.
22172 2013-10-17 Andreas Schwab <schwab@suse.de>
22175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22176 to determine canonical name.
22178 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22180 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22181 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22182 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22183 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22185 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22186 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22187 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22188 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22189 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22190 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22191 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22192 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22193 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22194 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22195 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22197 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22198 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22199 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22203 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22204 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22205 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22206 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22208 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22209 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22210 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22211 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22212 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22213 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22214 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22215 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22216 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22217 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22218 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22219 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22220 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22221 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22222 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22223 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22224 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22225 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22226 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22227 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22228 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22229 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22230 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22231 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22232 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22233 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22234 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22235 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22236 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22237 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22239 2013-10-17 Joseph Myers <joseph@codesourcery.com>
22242 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22243 make result into a quiet NaN.
22245 2013-10-16 Joseph Myers <joseph@codesourcery.com>
22247 * soft-fp/adddf3.c: Fix horizontal whitespace.
22248 * soft-fp/addsf3.c: Likewise.
22249 * soft-fp/addtf3.c: Likewise.
22250 * soft-fp/divdf3.c: Likewise.
22251 * soft-fp/divsf3.c: Likewise.
22252 * soft-fp/divtf3.c: Likewise.
22253 * soft-fp/double.h: Likewise.
22254 * soft-fp/eqdf2.c: Likewise.
22255 * soft-fp/eqsf2.c: Likewise.
22256 * soft-fp/eqtf2.c: Likewise.
22257 * soft-fp/extenddftf2.c: Likewise.
22258 * soft-fp/extended.h: Likewise.
22259 * soft-fp/extendsfdf2.c: Likewise.
22260 * soft-fp/extendsftf2.c: Likewise.
22261 * soft-fp/extendxftf2.c: Likewise.
22262 * soft-fp/fixdfdi.c: Likewise.
22263 * soft-fp/fixdfsi.c: Likewise.
22264 * soft-fp/fixdfti.c: Likewise.
22265 * soft-fp/fixsfdi.c: Likewise.
22266 * soft-fp/fixsfsi.c: Likewise.
22267 * soft-fp/fixsfti.c: Likewise.
22268 * soft-fp/fixtfdi.c: Likewise.
22269 * soft-fp/fixtfsi.c: Likewise.
22270 * soft-fp/fixtfti.c: Likewise.
22271 * soft-fp/fixunsdfdi.c: Likewise.
22272 * soft-fp/fixunsdfsi.c: Likewise.
22273 * soft-fp/fixunsdfti.c: Likewise.
22274 * soft-fp/fixunssfdi.c: Likewise.
22275 * soft-fp/fixunssfsi.c: Likewise.
22276 * soft-fp/fixunssfti.c: Likewise.
22277 * soft-fp/fixunstfdi.c: Likewise.
22278 * soft-fp/fixunstfsi.c: Likewise.
22279 * soft-fp/fixunstfti.c: Likewise.
22280 * soft-fp/floatdidf.c: Likewise.
22281 * soft-fp/floatdisf.c: Likewise.
22282 * soft-fp/floatditf.c: Likewise.
22283 * soft-fp/floatsidf.c: Likewise.
22284 * soft-fp/floatsisf.c: Likewise.
22285 * soft-fp/floatsitf.c: Likewise.
22286 * soft-fp/floattidf.c: Likewise.
22287 * soft-fp/floattisf.c: Likewise.
22288 * soft-fp/floattitf.c: Likewise.
22289 * soft-fp/floatundidf.c: Likewise.
22290 * soft-fp/floatundisf.c: Likewise.
22291 * soft-fp/floatunditf.c: Likewise.
22292 * soft-fp/floatunsidf.c: Likewise.
22293 * soft-fp/floatunsisf.c: Likewise.
22294 * soft-fp/floatunsitf.c: Likewise.
22295 * soft-fp/floatuntidf.c: Likewise.
22296 * soft-fp/floatuntisf.c: Likewise.
22297 * soft-fp/floatuntitf.c: Likewise.
22298 * soft-fp/fmadf4.c: Likewise.
22299 * soft-fp/fmasf4.c: Likewise.
22300 * soft-fp/fmatf4.c: Likewise.
22301 * soft-fp/gedf2.c: Likewise.
22302 * soft-fp/gesf2.c: Likewise.
22303 * soft-fp/getf2.c: Likewise.
22304 * soft-fp/ledf2.c: Likewise.
22305 * soft-fp/lesf2.c: Likewise.
22306 * soft-fp/letf2.c: Likewise.
22307 * soft-fp/muldf3.c: Likewise.
22308 * soft-fp/mulsf3.c: Likewise.
22309 * soft-fp/multf3.c: Likewise.
22310 * soft-fp/negdf2.c: Likewise.
22311 * soft-fp/negsf2.c: Likewise.
22312 * soft-fp/negtf2.c: Likewise.
22313 * soft-fp/op-1.h: Likewise.
22314 * soft-fp/op-2.h: Likewise.
22315 * soft-fp/op-4.h: Likewise.
22316 * soft-fp/op-8.h: Likewise.
22317 * soft-fp/op-common.h: Likewise.
22318 * soft-fp/quad.h: Likewise.
22319 * soft-fp/single.h: Likewise.
22320 * soft-fp/soft-fp.h: Likewise.
22321 * soft-fp/sqrtdf2.c: Likewise.
22322 * soft-fp/sqrtsf2.c: Likewise.
22323 * soft-fp/sqrttf2.c: Likewise.
22324 * soft-fp/subdf3.c: Likewise.
22325 * soft-fp/subsf3.c: Likewise.
22326 * soft-fp/subtf3.c: Likewise.
22327 * soft-fp/truncdfsf2.c: Likewise.
22328 * soft-fp/trunctfdf2.c: Likewise.
22329 * soft-fp/trunctfsf2.c: Likewise.
22330 * soft-fp/trunctfxf2.c: Likewise.
22331 * soft-fp/unorddf2.c: Likewise.
22332 * soft-fp/unordsf2.c: Likewise.
22333 * soft-fp/unordtf2.c: Likewise.
22335 2013-10-15 Joseph Myers <joseph@codesourcery.com>
22337 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22338 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22340 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
22342 * elf/dl-libc.c: Clear initfini list after freeing.
22344 2013-10-14 Joseph Myers <joseph@codesourcery.com>
22346 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22347 * soft-fp/addsf3.c: Likewise.
22348 * soft-fp/addtf3.c: Likewise.
22349 * soft-fp/divdf3.c: Likewise.
22350 * soft-fp/divsf3.c: Likewise.
22351 * soft-fp/divtf3.c: Likewise.
22352 * soft-fp/double.h: Likewise.
22353 * soft-fp/eqdf2.c: Likewise.
22354 * soft-fp/eqsf2.c: Likewise.
22355 * soft-fp/eqtf2.c: Likewise.
22356 * soft-fp/extenddftf2.c: Likewise.
22357 * soft-fp/extended.h: Likewise.
22358 * soft-fp/extendsfdf2.c: Likewise.
22359 * soft-fp/extendsftf2.c: Likewise.
22360 * soft-fp/extendxftf2.c: Likewise.
22361 * soft-fp/fixdfdi.c: Likewise.
22362 * soft-fp/fixdfsi.c: Likewise.
22363 * soft-fp/fixdfti.c: Likewise.
22364 * soft-fp/fixsfdi.c: Likewise.
22365 * soft-fp/fixsfsi.c: Likewise.
22366 * soft-fp/fixsfti.c: Likewise.
22367 * soft-fp/fixtfdi.c: Likewise.
22368 * soft-fp/fixtfsi.c: Likewise.
22369 * soft-fp/fixtfti.c: Likewise.
22370 * soft-fp/fixunsdfdi.c: Likewise.
22371 * soft-fp/fixunsdfsi.c: Likewise.
22372 * soft-fp/fixunsdfti.c: Likewise.
22373 * soft-fp/fixunssfdi.c: Likewise.
22374 * soft-fp/fixunssfsi.c: Likewise.
22375 * soft-fp/fixunssfti.c: Likewise.
22376 * soft-fp/fixunstfdi.c: Likewise.
22377 * soft-fp/fixunstfsi.c: Likewise.
22378 * soft-fp/fixunstfti.c: Likewise.
22379 * soft-fp/floatdidf.c: Likewise.
22380 * soft-fp/floatdisf.c: Likewise.
22381 * soft-fp/floatditf.c: Likewise.
22382 * soft-fp/floatsidf.c: Likewise.
22383 * soft-fp/floatsisf.c: Likewise.
22384 * soft-fp/floatsitf.c: Likewise.
22385 * soft-fp/floattidf.c: Likewise.
22386 * soft-fp/floattisf.c: Likewise.
22387 * soft-fp/floattitf.c: Likewise.
22388 * soft-fp/floatundidf.c: Likewise.
22389 * soft-fp/floatundisf.c: Likewise.
22390 * soft-fp/floatunsidf.c: Likewise.
22391 * soft-fp/floatunsisf.c: Likewise.
22392 * soft-fp/floatuntidf.c: Likewise.
22393 * soft-fp/floatuntisf.c: Likewise.
22394 * soft-fp/floatuntitf.c: Likewise.
22395 * soft-fp/fmadf4.c: Likewise.
22396 * soft-fp/fmasf4.c: Likewise.
22397 * soft-fp/fmatf4.c: Likewise.
22398 * soft-fp/gedf2.c: Likewise.
22399 * soft-fp/gesf2.c: Likewise.
22400 * soft-fp/getf2.c: Likewise.
22401 * soft-fp/ledf2.c: Likewise.
22402 * soft-fp/lesf2.c: Likewise.
22403 * soft-fp/letf2.c: Likewise.
22404 * soft-fp/muldf3.c: Likewise.
22405 * soft-fp/mulsf3.c: Likewise.
22406 * soft-fp/multf3.c: Likewise.
22407 * soft-fp/negdf2.c: Likewise.
22408 * soft-fp/negsf2.c: Likewise.
22409 * soft-fp/negtf2.c: Likewise.
22410 * soft-fp/op-1.h: Likewise.
22411 * soft-fp/op-2.h: Likewise.
22412 * soft-fp/op-4.h: Likewise.
22413 * soft-fp/op-8.h: Likewise.
22414 * soft-fp/op-common.h: Likewise.
22415 * soft-fp/quad.h: Likewise.
22416 * soft-fp/single.h: Likewise.
22417 * soft-fp/soft-fp.h: Likewise.
22418 * soft-fp/sqrtdf2.c: Likewise.
22419 * soft-fp/sqrtsf2.c: Likewise.
22420 * soft-fp/sqrttf2.c: Likewise.
22421 * soft-fp/subdf3.c: Likewise.
22422 * soft-fp/subsf3.c: Likewise.
22423 * soft-fp/subtf3.c: Likewise.
22424 * soft-fp/truncdfsf2.c: Likewise.
22425 * soft-fp/trunctfdf2.c: Likewise.
22426 * soft-fp/trunctfsf2.c: Likewise.
22427 * soft-fp/trunctfxf2.c: Likewise.
22428 * soft-fp/unorddf2.c: Likewise.
22429 * soft-fp/unordsf2.c: Likewise.
22430 * soft-fp/unordtf2.c: Likewise.
22432 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
22435 * misc/error.c (error_tail): Fix possible buffer overflow.
22437 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22440 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22443 2013-10-14 P. J. McDermott <pj@pehjota.net>
22446 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22447 testing pipefail option.
22449 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22451 * soft-fp/double.h: Indent preprocessor directives inside #if.
22452 * soft-fp/extended.h: Likewise.
22453 * soft-fp/op-2.h: Likewise.
22454 * soft-fp/op-4.h: Likewise.
22455 * soft-fp/op-common.h: Likewise.
22456 * soft-fp/quad.h: Likewise.
22457 * soft-fp/single.h: Likewise.
22458 * soft-fp/soft-fp.h: Likewise.
22460 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22462 * iconv/iconv_prog.c: Fix typos.
22463 * stdio-common/psiginfo-data.h: Likewise.
22465 2013-10-12 Reuben Thomas <rrt@sc3d.org>
22468 * locale/setlocale.c: Fix typo.
22470 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22473 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22474 signaling NaN arguments.
22475 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22476 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22479 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22480 unordered operands.
22481 * soft-fp/gesf2.c (__gesf2): Likewise.
22482 * soft-fp/getf2.c (__getf2): Likewise.
22483 * soft-fp/ledf2.c (__ledf2): Likewise.
22484 * soft-fp/lesf2.c (__lesf2): Likewise.
22485 * soft-fp/letf2.c (__letf2): Likewise.
22487 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22488 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22489 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22490 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22491 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22492 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22493 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22494 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22495 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22496 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22497 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22498 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22499 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22500 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22501 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22502 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22503 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22504 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22505 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22506 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22507 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22508 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22509 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22510 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22511 * soft-fp/floattidf.c (__floattidf): Likewise.
22512 * soft-fp/floattisf.c (__floattisf): Likewise.
22513 * soft-fp/floattitf.c (__floattitf): Likewise.
22514 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22515 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22516 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22517 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22518 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22519 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22520 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22521 * soft-fp/gesf2.c (__gesf2): Likewise.
22522 * soft-fp/getf2.c (__getf2): Likewise.
22523 * soft-fp/ledf2.c (__ledf2): Likewise.
22524 * soft-fp/lesf2.c (__lesf2): Likewise.
22525 * soft-fp/letf2.c (__letf2): Likewise.
22527 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22528 Undefine and redefine.
22529 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22530 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22531 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22532 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22533 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22534 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22535 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22536 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22537 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22538 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22539 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22540 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22541 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22542 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22543 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22546 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22547 without decrementing exponent if mantissa >= that for the
22548 denominator, not >.
22549 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22550 denominator, not >. Decrement exponent in < case instead of
22551 incrementing in >= case.
22552 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22553 without decrementing exponent if mantissa >= that for the
22554 denominator, not >.
22556 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22557 computing saturated result for unsigned overflow.
22559 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22560 Jeff Law <law@redhat.com>
22562 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22563 (atan2Mp): Add systemtap probe marker.
22564 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22565 (__ieee754_log): Add systemtap probe marker.
22566 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22567 (atanMp): Add systemtap probe marker.
22568 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22569 (tanMp): Add systemtap probe marker.
22570 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22571 (__slowexp): Add systemtap probe marker.
22572 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22573 (__slowpow): Add systemtap probe marker.
22574 * manual/probes.texi: Document probes.
22576 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
22579 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22581 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22583 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22584 written to buffer but not flushed.
22585 * libio/iofwrite_u.c: Likewise.
22586 * libio/iopadn.c: Return bytes returned even if EOF was
22588 * libio/iowpadn.c: Likewise.
22589 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22590 if _IO_padn does not write the whole buffer.
22591 [!COMPILE_WPRINTF] (PAD): Likewise.
22593 2013-10-10 David S. Miller <davem@davemloft.net>
22595 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22598 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22600 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22601 instead of FSF address.
22602 * soft-fp/fixdfti.c: Likewise.
22603 * soft-fp/fixsfti.c: Likewise.
22604 * soft-fp/fixtfti.c: Likewise.
22605 * soft-fp/fixunsdfti.c: Likewise.
22606 * soft-fp/fixunssfti.c: Likewise.
22607 * soft-fp/fixunstfti.c: Likewise.
22608 * soft-fp/floattidf.c: Likewise.
22609 * soft-fp/floattisf.c: Likewise.
22610 * soft-fp/floattitf.c: Likewise.
22611 * soft-fp/floatuntidf.c: Likewise.
22612 * soft-fp/floatuntisf.c: Likewise.
22613 * soft-fp/floatuntitf.c: Likewise.
22614 * soft-fp/trunctfxf2.c: Likewise.
22616 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22617 * soft-fp/fixdfti.c: Likewise.
22618 * soft-fp/fixsfti.c: Likewise.
22619 * soft-fp/fixtfti.c: Likewise.
22620 * soft-fp/fixunsdfti.c: Likewise.
22621 * soft-fp/fixunssfti.c: Likewise.
22622 * soft-fp/fixunstfti.c: Likewise.
22623 * soft-fp/floattidf.c: Likewise.
22624 * soft-fp/floattisf.c: Likewise.
22625 * soft-fp/floattitf.c: Likewise.
22626 * soft-fp/floatuntidf.c: Likewise.
22627 * soft-fp/floatuntisf.c: Likewise.
22628 * soft-fp/floatuntitf.c: Likewise.
22629 * soft-fp/trunctfxf2.c: Likewise.
22631 2013-10-10 David S. Miller <davem@davemloft.net>
22633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22635 2013-10-10 Joseph Myers <joseph@codsourcery.com>
22637 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22638 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22639 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22640 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22641 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22642 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22643 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22646 for NaNs before doing comparisons on argument.
22647 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22650 2013-10-10 Will Newton <will.newton@linaro.org>
22652 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22653 passed to _int_memalign does not overflow.
22655 2013-10-10 Torvald Riegel <triegel@redhat.com>
22657 * scripts/bench.pl: Add include-sources directive.
22658 * benchtests/README: Update documentation.
22660 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22662 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22663 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22664 instead of FP_INIT_ROUNDMODE.
22665 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22666 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22669 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22670 copy class of input value.
22671 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22672 not handle exceptions.
22673 * soft-fp/negsf2.c (__negsf2): Likewise.
22674 * soft-fp/negtf2.c (__negtf2): Likewise.
22675 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22677 2013-10-09 Joseph Myers <joseph@codesourcery.com>
22679 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22680 semicolon. From Linux kernel.
22682 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22684 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22686 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22689 * manual/socket.texi: Added statement about buffer
22690 for gethostbyname2_r.
22692 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
22694 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22695 Use .p2align directive instead, throughout.
22696 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22697 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22698 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22699 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22700 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22701 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22702 * sysdeps/x86_64/strchr.S: Likewise.
22703 * sysdeps/x86_64/strrchr.S: Likewise.
22705 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22707 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22709 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22711 * sysdeps/generic/math_private.h (__mpsin1): Remove
22713 (__mpcos1): Likewise.
22714 (__mpsin): New argument __range_reduce.
22715 (__mpcos): Likewise.
22716 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22717 (slow): Use __mpsin and __mpcos.
22721 (sloww1): Likewise.
22722 (sloww2): Likewise.
22723 (bsloww): Likewise.
22724 (bsloww1): Likewise.
22725 (bsloww2): Likewise.
22726 (cslow2): Likewise.
22727 (csloww): Likewise.
22728 (csloww1): Likewise.
22729 (csloww2): Likewise.
22730 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22731 range_reduce. Merge in __mpsin1.
22732 (__mpcos): Likewise.
22733 (__mpsin1): Remove.
22734 (__mpcos1): Likewise.
22736 2013-10-07 Joseph Myers <joseph@codesourcery.com>
22738 * locale/loadlocale.c (_nl_intern_locale_data): Use
22740 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22741 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22742 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22743 obstack data is appropriately aligned.
22744 (obstack_int32_grow_fast): Likewise.
22745 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22746 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22747 (add_locale_uint32_array): Likewise.
22749 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22751 * benchtests/Makefile: Remove ARGLIST and RET variables.
22752 ($(objpfx)bench-%.c): Pass only function name to the script.
22753 * benchtests/README: Update documentation.
22754 * benchtests/acos-inputs: Add new directives.
22755 * benchtests/acosh-inputs: Likewise.
22756 * benchtests/asin-inputs: Likewise.
22757 * benchtests/asinh-inputs: Likewise.
22758 * benchtests/atan-inputs: Likewise.
22759 * benchtests/atanh-inputs: Likewise.
22760 * benchtests/cos-inputs: Likewise.
22761 * benchtests/cosh-inputs: Likewise.
22762 * benchtests/exp-inputs: Likewise.
22763 * benchtests/log-inputs: Likewise.
22764 * benchtests/pow-inputs: Likewise.
22765 * benchtests/rint-inputs: Likewise.
22766 * benchtests/sin-inputs: Likewise.
22767 * benchtests/sinh-inputs: Likewise.
22768 * benchtests/tan-inputs: Likewise.
22769 * benchtests/tanh-inputs: Likewise.
22770 * scripts/bench.pl: Add support for new directives.
22772 2013-10-07 Alan Modra <amodra@gmail.com>
22774 * README: Fix careless merge.
22776 2013-10-05 Alan Modra <amodra@gmail.com>
22778 * NEWS: Mention powerpc64le support and bugs fixed.
22779 * README: Both big-endian and little-endian powerpc64 supported.
22781 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22783 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22784 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22785 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22786 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22788 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22790 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22793 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22795 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22796 Move -mhard-float appending from
22797 ports/sysdeps/powerpc/powerpc32/Makefile.
22798 [$(with-fp) = yes] (ASFLAGS): Likewise.
22799 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22800 * sysdeps/powerpc/nofpu: Move directory from
22801 ports/sysdeps/powerpc/nofpu.
22802 * sysdeps/powerpc/soft-fp: Move directory from
22803 ports/sysdeps/powerpc/soft-fp.
22804 * sysdeps/powerpc/powerpc32/405: Move directory from
22805 ports/sysdeps/powerpc/powerpc32/405.
22806 * sysdeps/powerpc/powerpc32/440: Move directory from
22807 ports/sysdeps/powerpc/powerpc32/440.
22808 * sysdeps/powerpc/powerpc32/464: Move directory from
22809 ports/sysdeps/powerpc/powerpc32/464.
22810 * sysdeps/powerpc/powerpc32/476: Move directory from
22811 ports/sysdeps/powerpc/powerpc32/476.
22812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22813 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22815 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22817 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22819 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22821 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22822 * README: Update for powerpc-*-linux-gnu software floating point
22825 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22826 case to powerpc/powerpc32*.
22827 * sysdeps/unix/sysv/linux/configure: Regenerated.
22829 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22830 (_FPU_MASK_OM): Define as 0x04.
22831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22839 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22842 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22845 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22846 and setcontext_e500.
22848 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22850 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22852 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22854 * manual/threads.texi (Default Thread Attributes): Fix typo.
22856 2013-10-04 Will Newton <will.newton@linaro.org>
22858 * malloc/Makefile: Add tst-memalign.
22859 * malloc/tst-memalign.c: New file.
22861 * malloc/tst-posix_memalign.c: Add comments.
22862 (do_test): Add comments and call free on all potentially
22863 allocated pointers. Add space after cast.
22865 * malloc/tst-pvalloc.c: Add comments.
22866 (do_test): Add comments and call free on all potentially
22867 allocated pointers. Remove duplicate check for NULL pointer.
22868 Add space after cast.
22870 * malloc/tst-valloc.c: Add comments.
22871 (do_test): Add comments and call free on all potentially
22872 allocated pointers. Remove duplicate check for NULL pointer.
22873 Add space after cast.
22875 2013-10-04 Alan Modra <amodra@gmail.com>
22877 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22878 Use stdint types in rather than __attribute__((mode())).
22879 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22881 2013-10-04 Alan Modra <amodra@gmail.com>
22883 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22884 Correct handling of unaligned relocs for little-endian.
22885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22887 2013-10-04 Alan Modra <amodra@gmail.com>
22889 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22890 * configure: Regenerate.
22891 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22892 * shlib-versions: Likewise.
22894 2013-10-04 Alan Modra <amodra@gmail.com>
22896 * string/tester.c (test_memrchr): Increment reported test cycle.
22898 2013-10-04 Alan Modra <amodra@gmail.com>
22900 * string/test-memcpy.c (do_one_test): When reporting errors, print
22901 string address and don't overrun end of string.
22903 2013-10-04 Alan Modra <amodra@gmail.com>
22905 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22906 insrdi. Make better use of reg selection to speed exit slightly.
22907 Schedule entry path a little better. Remove useless "are we done"
22908 checks on entry to main loop. Handle wrapping around zero address.
22909 Correct main loop count. Handle single left-over word from main
22910 loop inline rather than by using loop_small. Remove extra word
22911 case in loop_small caused by wrong loop count. Add little-endian
22913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22914 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22917 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22918 support. Avoid rlwimi.
22919 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22921 2013-10-04 Alan Modra <amodra@gmail.com>
22923 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22924 insrdi. Formatting.
22925 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22926 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22927 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22928 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22929 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22930 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22932 2013-10-04 Alan Modra <amodra@gmail.com>
22934 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22935 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22936 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22937 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22938 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22939 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22940 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22941 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22942 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22943 use of regs. Use power7 mtocrf. Tidy function tails.
22945 2013-10-04 Alan Modra <amodra@gmail.com>
22947 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22948 Formatting. Consistently use rXXX register defines or rN defines.
22949 Use early exit labels that avoid restoring unused non-volatile regs.
22950 Make cr field use more consistent with rWORDn compares. Rename
22951 regs used as shift registers for unaligned loop, using rN defines
22952 for short lifetime/multiple use regs.
22953 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22954 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22955 addi 1,1,64 to pop stack frame. Simplify return value code.
22956 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22958 2013-10-04 Alan Modra <amodra@gmail.com>
22960 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22961 support. Correct typos, formatting. Optimize tail. Use insrdi
22962 rather than rlwimi.
22963 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22964 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22965 little-endian support. Correct typos.
22966 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22967 rather than rlwimi.
22968 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22969 in loop and entry code to keep "and." results.
22970 (strchr): Add little-endian support. Comment. Move cntlzd
22972 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22974 2013-10-04 Alan Modra <amodra@gmail.com>
22976 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22977 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22978 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22979 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22981 2013-10-04 Alan Modra <amodra@gmail.com>
22983 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22984 (rTMP): Define as r11.
22985 (strcmp): Add little-endian support. Optimise tail.
22986 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22987 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22988 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22989 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22990 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22991 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22994 2013-10-04 Alan Modra <amodra@gmail.com>
22996 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22997 little-endian support. Remove unnecessary "are we done" tests.
22998 Handle "s" wrapping around zero and extremely large "size".
22999 Correct main loop count. Handle single left-over word from main
23000 loop inline rather than by using small_loop. Correct comments.
23001 Delete "zero" tail, use "end_max" instead.
23002 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23004 2013-10-04 Alan Modra <amodra@gmail.com>
23006 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23007 support. Don't branch over align.
23008 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23009 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23010 support. Rearrange tmp reg use to suit. Comment.
23011 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23013 2013-10-04 Alan Modra <amodra@gmail.com>
23015 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23017 2013-10-04 Alan Modra <amodra@gmail.com>
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23020 conditional form of branch and link when obtaining pc.
23021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23023 2013-10-04 Alan Modra <amodra@gmail.com>
23025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23030 2013-10-04 Alan Modra <amodra@gmail.com>
23032 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23033 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23034 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23035 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23036 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23037 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23038 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23039 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23040 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23041 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23043 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23044 Alistair Popple <alistair@ozlabs.au.ibm.com>
23045 Alan Modra <amodra@gmail.com>
23048 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23049 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23050 _dl_hwcap access for little-endian.
23051 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23052 destroy vmx regs when saving unaligned.
23053 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23054 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23055 destroy vmx regs when saving unaligned.
23057 2013-10-04 Alan Modra <amodra@gmail.com>
23059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23060 Don't use a union to pack hi/low value.
23062 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23064 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23066 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23067 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23068 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23069 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23070 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23072 2013-10-04 Alan Modra <amodra@gmail.com>
23074 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23075 constants to usual value for .cst8 section, and remove redundant
23077 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23078 constant for 0x1p52. Load little-endian words of double from
23079 correct stack offsets.
23081 2013-10-04 Alan Modra <amodra@gmail.com>
23083 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23084 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23085 words of double from correct stack offsets.
23086 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23087 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23088 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23089 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23090 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23091 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23093 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23094 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23095 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23096 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23097 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23098 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23099 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23100 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23101 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23102 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23104 2013-10-04 Alan Modra <amodra@gmail.com>
23106 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23107 64-bit int/double union.
23108 (_FPU_SETCW): Likewise.
23109 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23110 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23112 2013-10-04 Alan Modra <amodra@gmail.com>
23114 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23115 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23117 2013-10-04 Alan Modra <amodra@gmail.com>
23119 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23120 use vector int constants.
23121 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23123 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23125 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23126 array with long long.
23127 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23128 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23129 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23130 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23131 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23132 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23133 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23134 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23135 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23136 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23137 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23138 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23139 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23141 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23143 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23144 (__signbit): Likewise. Correct for little-endian.
23145 (__signbitl): Call __signbit.
23146 (lrint): Correct for little-endian.
23147 (lrintf): Call lrint.
23149 2013-10-04 Alan Modra <amodra@gmail.com>
23151 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23152 union 32-bit int array member with 64-bit int array.
23153 (t515, tm256): Double rather than long double.
23154 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23156 2013-10-04 Alan Modra <amodra@gmail.com>
23158 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23160 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23161 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23162 version of math_ldbl.h.
23164 2013-10-04 Alan Modra <amodra@gmail.com>
23166 [BZ #15734], [BZ #15735]
23167 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23168 all uses of ieee875 long double macros and unions. Simplify test
23169 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23170 ldbl_extract_mantissa value for ix,iy exponents. Properly
23171 normalize after ldbl_extract_mantissa, and don't add hidden bit
23172 already handled. Don't treat low word of ieee854 mantissa like
23173 low word of IBM long double and mask off bit when testing for
23175 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23176 all uses of ieee875 long double macros and unions. Simplify tests
23177 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23178 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23179 two1022, instead use their values. Recognise that tests for large
23180 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23181 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23182 Rewrite all uses of ieee875 long double macros and unions. Simplify
23183 test for 0.0L and nan. Correct negation.
23184 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23185 ieee875 long double macros and unions. Correct output for large
23186 magnitude x. Correct absolute value calculation.
23187 (__erfcl): Likewise.
23188 * math/libm-test.inc: Add tests for errors discovered in IBM long
23189 double versions of fmodl, remainderl, erfl and erfcl.
23191 2013-10-04 Alan Modra <amodra@gmail.com>
23193 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23194 all uses of ieee854 long double macros and unions. Simplify tests
23195 for long doubles that are fully specified by the high double.
23196 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23198 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23199 Remove dead code too.
23200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23201 (__ieee754_ynl): Likewise.
23202 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23203 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23204 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23205 Remove dead code too.
23206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23207 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23208 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23209 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23211 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23213 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23214 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23215 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23216 Comment on variable precision.
23217 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23218 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23223 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23224 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23226 2013-10-04 Alan Modra <amodra@gmail.com>
23228 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23229 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23230 all uses of ieee854 long double macros and unions.
23231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23233 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23234 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23239 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23240 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23241 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23243 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23244 Simplify sign and nan test too.
23245 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23246 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23247 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23248 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23250 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23251 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23254 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23255 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23256 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23257 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23258 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23260 2013-10-04 Alan Modra <amodra@gmail.com>
23262 * stdio-common/printf_size.c (__printf_size): Don't use
23263 union ieee854_long_double in fpnum union.
23264 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23265 signbit macro to retrieve sign from long double.
23266 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23267 retrieve sign from long double.
23268 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23269 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23270 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23271 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23272 * math/test-misc.c (main): Don't use union ieee854_long_double.
23274 2013-10-04 Alan Modra <amodra@gmail.com>
23277 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23278 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23279 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23280 calculation. Remove unnecessary test for denormal exponent.
23281 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23282 Correct handling of denormals. Avoid undefined shift behaviour.
23283 Correct normalisation of low mantissa when low double is denormal.
23284 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23285 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23286 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23287 Correct normalisation of low mantissa. Test for overflow of high
23288 mantissa and normalise.
23289 (ldbl_nearbyint): Use more readable constant for two52.
23290 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23291 (__mpn_construct_long_double): Fix test for overflow of high
23292 mantissa and correct normalisation. Avoid undefined shift.
23294 2013-10-04 Alan Modra <amodra@gmail.com>
23296 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23297 (union ibm_extended_long_double): Define as an array of ieee754_double.
23298 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23299 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23300 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23301 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23303 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23304 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23305 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23306 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23310 2013-10-03 Joseph Myers <joseph@codesourcery.com>
23312 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23313 page size instead of calling getpagesize.
23315 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23316 (LOCFILE_ALIGN_MASK): Likewise.
23317 (LOCFILE_ALIGN_UP): Likewise.
23318 (LOCFILE_ALIGNED_P): Likewise.
23319 * locale/programs/ld-collate.c (collate_output): Use the new
23320 macros instead of __alignof__ (int32_t).
23321 * locale/weight.h (findidx): Likewise.
23323 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
23326 * manual/string.texi: Fix strncat and wcsncat.
23328 2013-10-03 Brooks Moses <bmoses@google.com>
23331 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23332 * Makerules: ...here, and adjust associated comments.
23334 2013-10-02 Will Newton <will.newton@linaro.org>
23336 * malloc/Makefile: Add tst-pvalloc.
23337 * malloc/tst-pvalloc.c: New file.
23339 2013-10-02 Will Newton <will.newton@linaro.org>
23341 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23342 improve test coverage.
23344 2013-10-02 Will Newton <will.newton@linaro.org>
23346 * malloc/Makefile: Add tst-posix_memalign.
23347 * malloc/tst-posix_memalign.c: New file.
23349 2013-10-01 Eric Blake <eblake@redhat.com>
23351 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23352 Use __THROWNL rather than __THROW on static functions.
23354 2013-09-30 Petr Machata <pmachata@redhat.com>
23356 * elf/elf.h (R_AARCH64_ABS16): New macro.
23357 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23358 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23359 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23360 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23361 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23362 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23363 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23364 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23365 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23366 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23367 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23368 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23369 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23370 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23371 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23372 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23373 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23374 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23375 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23376 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23377 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23378 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23379 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23380 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23381 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23382 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23383 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23384 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23385 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23386 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23387 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23388 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23389 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23390 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23391 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23392 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23393 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23394 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23395 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23396 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23397 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23398 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23399 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23400 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23401 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23402 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23403 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23404 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23405 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23406 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23407 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23408 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23409 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23410 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23411 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23412 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23413 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23414 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23415 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23416 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23417 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23418 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23419 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23420 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23421 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23422 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23423 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23424 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23425 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23426 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23427 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23428 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23429 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23430 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23431 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23432 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23433 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23434 (R_AARCH64_TLSDESC_LDR): Likewise.
23435 (R_AARCH64_TLSDESC_ADD): Likewise.
23436 (R_AARCH64_TLSDESC_CALL): Likewise.
23438 2013-09-30 Andreas Schwab <schwab@suse.de>
23441 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23442 the nss database lookup.
23443 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23446 2013-09-28 Mike Frysinger <vapier@gentoo.org>
23448 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23450 2013-09-28 P. J. McDermott <pj@pehjota.net>
23452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23453 ${Bash-specific parameter/pattern/string} parameter expansion.
23454 * sysdeps/unix/make-syscalls.sh: Likewise.
23456 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23458 * sysdeps/sh/stackguard-macros.h: New file.
23460 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
23462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23464 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23465 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23466 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23467 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23469 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23471 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23472 Fix thread ID register.
23474 2013-09-25 Joseph Myers <joseph@codesourcery.com>
23476 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23477 [POSIX || UNIX98]: Require rather than permitting all symbols from
23479 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23480 element of struct sched_param.
23481 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23482 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23483 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23484 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23487 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23489 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23490 argument calculation.
23492 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23494 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23496 [POSIX] (pthread_attr_t): Do not require type.
23497 [POSIX] (pthread_cond_t): Likewise.
23498 [POSIX] (pthread_condattr_t): Likewise.
23499 [POSIX] (pthread_key_t): Likewise.
23500 [POSIX] (pthread_mutex_t): Likewise.
23501 [POSIX] (pthread_mutexattr_t): Likewise.
23502 [POSIX] (pthread_once_t): Likewise.
23503 [POSIX] (pthread_t): Likewise.
23504 [POSIX-based standards] (pthread_atfork): Expect function.
23506 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23507 Richard Sandiford <richard@codesourcery.com>
23509 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23510 (swap_endianness_p): New extern variable.
23511 (set_big_endian): New inline function.
23512 (maybe_swap_uint32): Likewise.
23513 (maybe_swap_uint32_array): Likewise.
23514 (maybe_swap_uint32_obstack): Likewise.
23515 * locale/programs/locfile.c: Include <stdbool.h>.
23516 (swap_endianness_p): New variable.
23517 (add_locale_uint32): Call maybe_swap_uint32.
23518 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23519 (write_locale_data): Call maybe_swap_uint32_array.
23520 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23522 (obstack_int32_grow_fast): Likewise.
23523 (output_weightwc): Call maybe_swap_uint32_obstack.
23524 (collate_output): Likewise.
23525 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23526 (OPT_LITTLE_ENDIAN): Likewise.
23527 (options): Add --little-endian and --big-endian options.
23528 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23529 * locale/programs/locarchive.c: Include "locfile.h".
23533 (create_archive): Use the new macros to access fields of
23534 structures directly mapped from or written to locale archives.
23535 (oldlocrecentcmp): Likewise.
23536 (enlarge_archive): Likewise.
23537 (insert_name): Likewise.
23538 (add_alias): Likewise.
23539 (add_locale): Likewise.
23540 (delete_locales_from_archive): Likewise.
23541 (show_archive_content): Likewise.
23542 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23545 2013-09-24 Roland McGrath <roland@hack.frob.com>
23547 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23548 http://www.gnu.org/doc/freemanuals.texi.
23549 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23551 2013-09-24 Will Newton <will.newton@linaro.org>
23553 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23556 2013-09-23 Joseph Myers <joseph@codesourcery.com>
23558 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23561 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23563 * manual/threads.texi (POSIX Threads): Fix a typo.
23565 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23568 * string/tst-strcoll-overflow.c: New test case.
23569 * string/Makefile (xtests): Add tst-strcoll-overflow.
23570 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23571 cache if string sizes may cause integer overflow.
23574 * string/strcoll_l.c (coll_seq): New members rule, idx,
23575 save_idx and back_us.
23576 (get_next_seq_nocache): New function.
23577 (do_compare_nocache): New function.
23578 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23581 2013-09-23 Carlos O'Donell <carlos@redhat.com>
23584 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23585 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23586 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23589 * elf/Makefile (tests): Add tst-ptrguard1.
23590 (tests-static): Add tst-ptrguard1-static.
23591 (tst-ptrguard1-ARGS): Define.
23592 (tst-ptrguard1-static-ARGS): Define.
23593 * elf/tst-ptrguard1.c: New file.
23594 * elf/tst-ptrguard1-static.c: New file.
23595 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23596 * sysdeps/i386/stackguard-macros.h: Likewise.
23597 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23598 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23599 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23600 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23601 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23602 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23604 2013-09-23 Hector Marco <hecmargi@upv.es>
23605 Ismael Ripoll <iripoll@disca.upv.es>
23606 Carlos O'Donell <carlos@redhat.com>
23609 * sysdeps/generic/stackguard-macros.h: Define
23610 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23611 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23612 Define __pointer_chk_guard_local.
23613 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23614 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23616 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23619 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23621 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23623 * include/string.h (__ffs): Declare as hidden.
23624 * string/ffs.c (__ffs): Define as hidden.
23625 * sysdeps/i386/ffs.c (__ffs): Likewise.
23626 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23627 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23628 * sysdeps/s390/ffs.c (__ffs): Likewise.
23629 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23631 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
23633 * NEWS: Mention malloc probes.
23635 * malloc/arena.c (new_heap): New memory_heap_new probe.
23636 (grow_heap): New memory_heap_more probe.
23637 (shrink_heap): New memory_heap_less probe.
23638 (heap_trim): New memory_heap_free probe.
23639 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23640 (systrim): New memory_sbrk_less probe.
23641 * manual/probes.texi: Document them.
23643 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23644 * manual/probes.texi: Document it.
23646 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23647 (__libc_realloc): Add memory_realloc_retry probe.
23648 (__libc_memalign): Add memory_memalign_retry probe.
23649 (__libc_valloc): Add memory_valloc_retry probe.
23650 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23651 (__libc_calloc): Add memory_calloc_retry probe.
23652 * manual/probes.texi: Document them.
23654 * malloc/arena.c (get_free_list): Add probe
23655 memory_arena_reuse_free_list.
23656 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23657 and memory_arena_reuse.
23658 (arena_get2) [!PER_THREAD]: Likewise.
23659 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23660 memory_arena_reuse_realloc.
23661 * manual/probes.texi: Document them.
23663 * malloc/malloc.c (__libc_free): Add
23664 memory_mallopt_free_dyn_thresholds probe.
23665 (__libc_mallopt): Add multiple memory_mallopt probes.
23666 * manual/probes.texi: Document them.
23668 * malloc/malloc.c: Include stap-probe.h.
23669 (__libc_mallopt): Add memory_mallopt probe.
23670 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23671 * manual/probes.texi: New.
23672 * manual/Makefile (chapters): Add probes.
23673 * manual/threads.texi: Set next node.
23675 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
23677 [BZ #15963, #13985]
23678 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23679 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23680 Add `Chinese' to `nan' entry name.
23682 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23684 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23685 (POLYNOMIAL): Likewise.
23686 (TAYLOR_SINCOS): Likewise.
23687 (TAYLOR_SLOW): Likewise.
23688 (__sin): Use TAYLOR_SINCOS.
23690 (slow): Use TAYLOR_SLOW.
23692 (bsloww): Likewise.
23693 (csloww): Likewise.
23695 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23697 * stdlib/strtod_l.c: Fix buffer overrun.
23699 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23701 * benchtests/Makefile (bench): Add sincos.
23702 * benchtests/bench-sincos.c: New file.
23704 * math/libm-test.inc (cos_test_data): New test inputs.
23705 (sin_test_data): Likewise.
23707 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23713 (sloww1): Likewise.
23714 (sloww2): Likewise.
23715 (bsloww1): Likewise.
23716 (bsloww2): Likewise.
23717 (cslow2): Likewise.
23718 (csloww1): Likewise.
23719 (csloww2): Likewise.
23721 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23730 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23732 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23733 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23734 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23735 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23736 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23737 * elf/cache.c (print_entry): Handle the new cache flags.
23739 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23740 Aldy Hernandez <aldyh@redhat.com>
23742 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23743 Change condition to [_SOFT_FLOAT].
23744 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23756 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23759 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23762 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23764 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23765 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23766 (__longjmp): Use LOAD_GP to load saved GPRs.
23767 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23768 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23769 (__sigsetjmp): Use SAVE_GP to save GPRs.
23771 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23772 Do not append -msoft-float.
23773 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23775 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23777 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23779 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23782 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23783 (_FPU_GETCW): Use initial "__" on variable and field names but not
23784 on macro parameter name.
23785 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23786 parentheses around reference to macro parameter.
23788 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23790 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23792 (ctype_startup): Use uint32_t in cast and sizeof for
23795 2013-09-11 Jia Liu <proljc@gmail.com>
23797 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23799 [__FreeBSD__]: Likewise.
23801 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23804 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23805 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23806 (strchr): Remove __strchr_sse42 ifunc selection.
23807 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23808 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23810 2013-09-11 Will Newton <will.newton@linaro.org>
23812 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23813 parameter to RES. Remove hardcoded 1000 value.
23814 * benchtests/bench-skeleton.c (main): Pass RES parameter
23815 to TIMING_INIT and multiply result by 1000.
23817 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23821 2013-09-11 Andreas Schwab <schwab@suse.de>
23823 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23825 (O_TMPFILE) [__USE_GNU]: Define.
23826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23829 2013-09-11 Will Newton <will.newton@linaro.org>
23832 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23835 2013-09-11 Will Newton <will.newton@linaro.org>
23838 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23841 2013-09-11 Will Newton <will.newton@linaro.org>
23844 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23847 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23849 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23851 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23852 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23853 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23855 2013-09-10 Allan McRae <allan@archlinux.org>
23858 * manual/arith.texi (Parsing of Floats): Clarify
23862 * manual/install.texi (Running make install): Mention
23864 * INSTALL: Regenerated.
23866 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23868 * csu/init-first.c (_init): Remove the !SHARED condition around
23869 FPU control word initialization.
23870 * elf/dl-support.c (_dl_fpu_control): New variable.
23871 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23872 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23873 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23874 * math/test-fpucw-static.c: New file.
23875 * math/test-fpucw-ieee.c: New file.
23876 * math/test-fpucw-ieee-static.c: New file.
23877 * math/Makefile (tests): Add `test-fpucw-ieee' and
23879 (tests-static): New variable.
23880 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23882 [($(build-shared),yes)]
23883 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23885 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23888 2013-09-09 Allan McRae <allan@archlinux.org>
23891 * manual/string.texi (Collation Functions): Fix typo in
23893 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23896 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23899 * libio/memstream.c (open_memstream): Fix memory leak.
23900 * libio/wmemstream.c (open_wmemstream): Likewise.
23903 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23905 2013-09-09 Will Newton <will.newton@linaro.org>
23907 * malloc/Makefile: Add tst-realloc to tests.
23908 * malloc/tst-realloc.c: New file.
23910 2013-09-09 Allan McRae <allan@archlinux.org>
23913 * COPYING: Update from GNU website to fix FSF address.
23914 * COPYING.LIB: Likewise.
23916 2013-09-06 David S. Miller <davem@davemloft.net>
23918 * po/zh_TW.po: Update Chinese (traditional) translation from
23919 translation project.
23921 2013-09-06 Richard Sandiford <richard@codesourcery.com>
23922 Joseph Myers <joseph@codesourcery.com>
23924 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23926 (obstack_chunk_alloc): New macro.
23927 (obstack_chunk_free): Likewise.
23928 (record_offset): New function.
23929 (init_locale_data): Likewise.
23930 (align_locale_data): Likewise.
23931 (add_locale_empty): Likewise.
23932 (add_locale_raw_data): Likewise.
23933 (add_locale_raw_obstack): Likewise.
23934 (add_locale_string): Likewise.
23935 (add_locale_wstring): Likewise.
23936 (add_locale_uint32): Likewise.
23937 (add_locale_uint32_array): Likewise.
23938 (add_locale_char): Likewise.
23939 (start_locale_structure): Likewise.
23940 (end_locale_structure): Likewise.
23941 (start_locale_prelude): Likewise.
23942 (end_locale_prelude): Likewise.
23943 (write_locale_data): Take locale_file structure rather than an
23945 * locale/programs/locfile.h: Include "obstack.h".
23946 (struct locale_file): Change to store locale file contents instead
23948 (init_locale_data): New prototype.
23949 (align_locale_data): Likewise.
23950 (add_locale_empty): Likewise.
23951 (add_locale_raw_data): Likewise.
23952 (add_locale_raw_obstack): Likewise.
23953 (add_locale_string): Likewise.
23954 (add_locale_wstring): Likewise.
23955 (add_locale_uint32): Likewise.
23956 (add_locale_uint32_array): Likewise.
23957 (add_locale_char): Likewise.
23958 (start_locale_structure): Likewise.
23959 (end_locale_structure): Likewise.
23960 (start_locale_prelude): Likewise.
23961 (end_locale_prelude): Likewise.
23962 (write_locale_data): Update prototype.
23963 * locale/programs/3level.h (struct TABLE): Remove result field.
23964 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23965 Use new locale_file interface.
23966 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23967 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23968 * locale/programs/ld-address.c (address_output): Use new
23969 locale_file interface.
23970 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23972 (collate_finish): Don't call collseq_table_finalize.
23973 (collate_output): Use new locale_file interface.
23974 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23976 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23977 (TABLE): Move defines earlier in file.
23978 (ELEMENT): Likewise.
23979 (DEFAULT): Likewise.
23980 (wctrans_table_add): Move macro and inline function earlier in
23982 (struct wctype_table): Move type earlier in file.
23983 (add_locale_wctype_table): New static prototype.
23984 (struct locale_ctype_t): Use logical types instead of struct iovec
23985 pointers for members.
23986 (ctype_output): Use new locale_file interface.
23987 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23988 new locale_file interface.
23989 (allocate_arrays): Update for use of new locale_file interface.
23990 * locale/programs/ld-identification.c (identification_output): Use
23991 new locale_file interface.
23992 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23993 * locale/programs/ld-messages.c (messages_output): Likewise.
23994 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23995 * locale/programs/ld-name.c (name_output): Likewise.
23996 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23997 * locale/programs/ld-paper.c (paper_output): Likewise.
23998 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23999 * locale/programs/ld-time.c (time_output): Likewise.
24001 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24003 * benchtests/Makefile: Add memrchr benchmark.
24004 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24005 benchmark as memrchr.
24006 * benchtests/bench-memrchr-ifunc.c: New file.
24007 * benchtests/bench-memrchr.c: New file.
24009 2013-09-06 Will Newton <will.newton@linaro.org>
24011 * benchtests/Makefile (string-bench): Add memcpy.
24013 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24014 Cong Wang <amwang@redhat.com>
24017 * sysdeps/unix/sysv/linux/bits/in.h
24018 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24019 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24020 before __USE_KERNEL_IPV6_DEFS uses.
24021 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24023 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24024 sockaddr_in6, or ipv6_mreq.
24026 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24028 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24029 memory access for final bytes in some large inputs.
24030 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24032 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24034 * string/test-memrchr.c: New file.
24035 * string/test-memrchr-ifunc.c: New file.
24036 * string/Makefile: Add new memrchr testcase.
24038 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24040 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24041 fanotify_init returns EPERM.
24043 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24045 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24047 (top level): Treat second token from macro or constant entries for
24048 allowed headers as allowed.
24049 * include/complex.h: Condition internal declarations on
24051 * include/fenv.h: Condition include of <stdbool.h> and internal
24052 declarations on [!_ISOMAC].
24054 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24057 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24059 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24061 * configure.in (--enable-versioning): Remove configure option.
24062 (libc_cv_asm_symver_directive): Remove configure test.
24063 (libc_cv_ld_version_script_option): Likewise.
24064 (VERSIONING): Remove variable and AC_SUBST.
24065 (DO_VERSIONING): Remove AC_DEFINE.
24066 * configure: Regenerated.
24067 * config.h.in (DO_VERSIONING): Remove macro.
24068 * Makerules [$(versioning) = yes]: Change conditionals to
24069 [$(build-shared) = yes].
24070 * config.make.in (versioning): Remove variable.
24071 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24072 [$(build-shared) = yes].
24073 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24074 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24075 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24076 [$(build-shared) = yes].
24077 * extra-lib.mk [$(versioning) = yes]: Likewise.
24078 * hurd/Makefile [$(versioning) = yes]: Likewise.
24079 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24081 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24083 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24084 [SHARED && !NO_HIDDEN].
24085 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24087 [SHARED && DO_VERSIONING]: Likewise..
24088 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24089 [$(build-shared) = yes].
24090 * manual/install.texi (--disable-versioning): Remove
24092 * INSTALL: Regenerated.
24093 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24095 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24096 [$(build-shared) = yes].
24097 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24098 * sysdeps/i386/i686/multiarch/strstr-c.c
24099 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24100 [SHARED && !NO_HIDDEN].
24101 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24102 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24103 * sysdeps/powerpc/powerpc32/dl-machine.c
24104 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24105 * sysdeps/powerpc/powerpc32/sysdep.h
24106 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24107 to [SHARED && PIC && !NO_HIDDEN].
24108 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24109 conditional to [SHARED].
24111 2013-09-04 Will Newton <will.newton@linaro.org>
24113 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24114 * benchtests/bench-string.h: Include bench-timing.h instead
24115 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24116 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24117 call to HP_TIMING_DIFF_INIT.
24118 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24119 instead of hp-timing.h macros.
24120 * benchtests/bench-memchr.c: Likewise.
24121 * benchtests/bench-memcmp.c: Likewise.
24122 * benchtests/bench-memcpy.c: Likewise.
24123 * benchtests/bench-memmem.c: Likewise.
24124 * benchtests/bench-memmove.c: Likewise.
24125 * benchtests/bench-memset.c: Likewise.
24126 * benchtests/bench-rawmemchr.c: Likewise.
24127 * benchtests/bench-strcasecmp.c: Likewise.
24128 * benchtests/bench-strcasestr.c: Likewise.
24129 * benchtests/bench-strcat.c: Likewise.
24130 * benchtests/bench-strchr.c: Likewise.
24131 * benchtests/bench-strcmp.c: Likewise.
24132 * benchtests/bench-strcpy.c: Likewise.
24133 * benchtests/bench-strcpy_chk.c: Likewise.
24134 * benchtests/bench-strlen.c: Likewise.
24135 * benchtests/bench-strncasecmp.c: Likewise.
24136 * benchtests/bench-strncat.c: Likewise.
24137 * benchtests/bench-strncmp.c: Likewise.
24138 * benchtests/bench-strncpy.c: Likewise.
24139 * benchtests/bench-strnlen.c: Likewise.
24140 * benchtests/bench-strpbrk.c: Likewise.
24141 * benchtests/bench-strrchr.c: Likewise.
24142 * benchtests/bench-strspn.c: Likewise.
24143 * benchtests/bench-strstr.c: Likewise.
24145 2013-09-04 Will Newton <will.newton@linaro.org>
24147 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24149 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24152 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24153 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24154 * math/libm-test.inc (lgamma_test_data): Add more tests.
24155 * sysdeps/i386/fpu/libm-test-ulps: Update.
24156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24158 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24160 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24164 Add strcmp-sse2-unaligned
24165 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24167 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24169 * Versions.def (libc): Add GLIBC_2.19.
24171 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24173 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24174 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24176 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24179 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24180 intermediate calculations in recurrence.
24181 (__ieee754_ynf): Likewise.
24182 * math/libm-test.inc (jn_test_data): Do not allow spurious
24183 underflow exception. Add more tests.
24184 (yn_test_data): Add more tests.
24185 * sysdeps/i386/fpu/libm-test-ulps: Update.
24186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24188 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
24190 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24192 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24194 * csu/init-first.c: Fix then/than typos.
24195 * locale/programs/ld-collate.c: Likewise.
24196 * locale/programs/linereader.h: Likewise.
24197 * manual/charset.texi: Likewise.
24198 * manual/filesys.texi: Likewise.
24199 * manual/stdio.texi: Likewise.
24200 * manual/string.texi: Likewise.
24201 * stdlib/fmtmsg.c: Likewise.
24202 * sysdeps/i386/stpncpy.S: Likewise.
24203 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24204 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24205 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24206 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24208 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24210 * elf/dl-open.c: Fix typos.
24211 * iconvdata/gbbig5.c: Likewise.
24212 * iconvdata/iso-2022-jp.c: Likewise.
24213 * iconv/gconv_int.h: Likewise.
24214 * iconv/loop.c: Likewise.
24215 * nis/rpcsvc/nis.h: Likewise.
24216 * resolv/ns_name.c: Likewise.
24217 * stdio-common/vfscanf.c: Likewise.
24218 * streams/stropts.h: Likewise.
24219 * sunrpc/rpc_thread.c: Likewise.
24220 * sysdeps/i386/strpbrk.S: Likewise.
24221 * sysdeps/ieee754/k_standard.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24224 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24225 * sysdeps/mach/hurd/profil.c: Likewise.
24226 * sysdeps/s390/dl-procinfo.h: Likewise.
24227 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24228 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24229 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24230 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24233 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24235 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24238 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24240 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24241 aix specific files.
24242 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24243 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24244 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24245 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24246 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24247 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24248 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24249 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24251 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24252 Roland McGrath <roland@hack.frob.com>
24254 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24255 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24257 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24259 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24260 __executable_start symbol instead of _start.
24262 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24264 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24265 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24267 * sysdeps/gnu/ldsodefs.h: ... this new file.
24269 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24270 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24271 instead of ELFOSABI_LINUX.
24273 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24274 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24275 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24276 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24278 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24279 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24280 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24282 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24283 (ibm_extended_long_double): Add ieee_nan member.
24284 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24285 (do_test): New function.
24287 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24289 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24290 functions, renamed from truncdfsf_test, trunctfsf_test,
24292 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24294 (do_test): Run all these.
24296 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24298 * argp/argp-help.c: Fix typos.
24299 * argp/argp-parse.c: Likewise.
24300 * debug/backtracesyms.c: Likewise.
24301 * elf/elf.h: Likewise.
24302 * malloc/malloc.c: Likewise.
24303 * nis/nis_print.c: Likewise.
24304 * resolv/res_comp.c: Likewise.
24305 * stdlib/stdlib.h: Likewise.
24306 * sunrpc/clnt_tcp.c: Likewise.
24307 * sunrpc/clnt_udp.c: Likewise.
24308 * sunrpc/clnt_unix.c: Likewise.
24309 * sysdeps/unix/bsd/ptsname.c: Likewise.
24310 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24311 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24318 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24320 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24322 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24325 2013-08-27 Mike Frysinger <vapier@gentoo.org>
24328 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24329 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24330 ($(objpfx)bug-dl-leaf): New rule.
24331 ($(objpfx)bug-dl-leaf.so): Likewise.
24332 ($(objpfx)bug-dl-leaf.out): Likewise.
24333 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24334 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24335 * dlfcn/bug-dl-leaf.c: New test.
24336 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24337 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24338 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24339 (dlclose): Likewise.
24340 (dlmopen): Likewise.
24342 2013-08-27 Roland McGrath <roland@hack.frob.com>
24344 * include/netdb.h [!_ISOMAC]:
24345 Don't include <tls.h>.
24346 (h_errno, __libc_h_errno): Move declaration and macros out of
24349 * include/resolv.h [_RESOLV_H_]:
24350 Don't include <tls.h>.
24351 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24352 * resolv/res_libc.c: Don't include <tls.h>.
24353 (_res): Use __attribute__ ((nocommon)) in place of
24354 __attribute__ ((section (".bss"))).
24356 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24357 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24359 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24361 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24362 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24364 * resolv/res_mkquery.c: Include <sys/time.h>.
24366 * inet/ifreq.c: Moved to ...
24367 * sysdeps/unix/ifreq.c: ... here.
24368 * inet/ifreq.c: New file, true stub version.
24370 * socket/sa_len.c: New file.
24371 * socket/Makefile (aux): Add it.
24372 * sysdeps/unix/sysv/linux/Makefile
24373 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24374 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24375 and #include <socket/sa_len.c>.
24376 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24377 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24379 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24380 * bits/socket.h: ... here.
24382 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24383 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24384 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24386 2013-08-27 Andreas Schwab <schwab@suse.de>
24389 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24390 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24391 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24392 * string/test-strcasecmp.c (test_main): Run tests in several
24394 * string/test-strncasecmp.c (test_main): Likewise.
24396 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24397 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24398 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24400 (__strncasecmp_ssse3) [PIC]: Likewise.
24402 2013-08-26 Roland McGrath <roland@hack.frob.com>
24404 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24406 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24407 instead of explicitly declaring xdecrypt.
24408 * nis/nss_nis/nis-publickey.c: Likewise.
24410 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24413 * nscd/aicache.c: Include res_hconf.h.
24414 (addhstaiX): Initialize res_hconf.
24416 2013-08-26 Andreas Schwab <schwab@suse.de>
24418 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24419 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24421 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24423 * nscd/aicache.c (addhstaiX): Fix indentation.
24425 2013-08-25 Mike Frysinger <vapier@gentoo.org>
24427 * configure.ac: Quote $build_pt_chown test.
24428 * configure: Regenerated.
24430 2013-08-23 Joseph Myers <joseph@codesourcery.com>
24433 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24434 * math/s_cexpf.c (__cexpf): Likewise.
24435 * math/s_cexpl.c (__cexpl): Likewise.
24436 * math/libm-test.inc (cexp_test_data): Correct expected return
24437 value for NaN + i0. Add another test.
24439 2013-08-22 David S. Miller <davem@davemloft.net>
24441 * po/ca.po: Update Catalan translation from translation project.
24442 * po/uk.po: Add Ukrainian translations from translation project.
24444 2013-08-21 Joseph Myers <joseph@codesourcery.com>
24447 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24448 is infinite, not alongside NaN test.
24449 * math/s_fdimf.c (__fdimf): Likewise.
24450 * math/s_fdiml.c (__fdiml): Likewise.
24451 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24452 errno is unchanged.
24454 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
24456 * argp/argp-help.c: Fix typos.
24457 * crypt/speeds.c: Likewise.
24458 * csu/check_fds.c: Likewise.
24459 * elf/dl-load.c: Likewise.
24460 * elf/dl-open.c: Likewise.
24461 * elf/reldep3.c: Likewise.
24462 * elf/reldep.c: Likewise.
24463 * elf/sprof.c: Likewise.
24464 * iconv/iconv_charmap.c: Likewise.
24465 * iconv/skeleton.c: Likewise.
24466 * iconv/strtab.c: Likewise.
24467 * io/lockf64.c: Likewise.
24468 * libio/libioP.h: Likewise.
24469 * resolv/gai_notify.c: Likewise.
24470 * resolv/ns_name.c: Likewise.
24471 * resolv/ns_samedomain.c: Likewise.
24472 * resolv/res_send.c: Likewise.
24473 * stdlib/random.c: Likewise.
24474 * sunrpc/rpc/xdr.h: Likewise.
24475 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24476 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24477 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24478 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24483 * sysdeps/mach/hurd/check_fds.c: Likewise.
24484 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24485 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24487 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24488 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24489 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24490 * sysdeps/pthread/aio_notify.c: Likewise.
24491 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24492 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24495 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24497 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24499 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24500 version if bit_Slow_SSE4_2 is set.
24501 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24504 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24507 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24508 trampoline stack frame information.
24509 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24510 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24511 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24512 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24513 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24514 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24515 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24516 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24518 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24519 interrupting a syscall and set with option SA_SIGINFO.
24521 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24524 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24525 argument is infinite.
24526 * math/s_cprojf.c (__cprojf): Likewise.
24527 * math/s_cprojl.c (__cprojl): Likewise.
24528 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24529 * math/libm-test.inc (cproj_test_data): Add more tests.
24531 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24533 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24534 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24535 size. Use __ffs to determine corresponding shift.
24537 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24538 Roland McGrath <roland@hack.frob.com>
24540 * Makefile (INSTALL): Remove trailing blank lines from output of
24543 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24545 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24546 Align 32 bit compat elf_greg to 8 bytes.
24548 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24550 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24552 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24554 * string/strcoll_l.c (coll_seq): New structure.
24555 (get_next_seq_cached): New function.
24556 (get_next_seq): New function.
24557 (do_compare): New function.
24558 (STRCOLL): Use GNU style definition. Simplify implementation
24559 by using get_next_seq, get_next_seq_cached and do_compare.
24561 2013-08-16 Florian Weimer <fweimer@redhat.com>
24565 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24567 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24569 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24570 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24571 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24573 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24574 GETDENTS_64BIT_ALIGNED.
24575 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24576 * manual/filesys.texi (Reading/Closing Directory): Document
24577 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24579 * manual/conf.texi (Limits for Files): Add portability note to
24580 NAME_MAX, PATH_MAX.
24581 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24583 2013-08-13 Andreas Schwab <schwab@suse.de>
24586 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24588 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24589 LDBL_MAX_EXP >= 16384]: Add tests for it.
24591 2013-08-12 David S. Miller <davem@davemloft.net>
24593 * version.h (RELEASE): Set to "development".
24594 (VERSION): Set to "2.18.90".
24595 * NEWS: Add 2.19 section.
24597 2013-08-03 David S. Miller <davem@davemloft.net>
24599 * po/ko.po: Update Korean translation from translation project.
24601 2013-08-01 David S. Miller <davem@davemloft.net>
24603 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24604 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24607 2013-07-30 David S. Miller <davem@davemloft.net>
24609 * po/fr.po: Update French translation from translation project.
24611 2013-07-28 David S. Miller <davem@davemloft.net>
24613 * po/cs.po: Update Czech translation from translation project.
24615 * po/sv.po: Update Swedish translation from translation project.
24617 2013-07-27 David S. Miller <davem@davemloft.net>
24619 * po/eo.po: Update Esperanto translation from translation project.
24621 * po/vi.po: Update Vietnamese translation from translation project.
24623 * po/de.po: Update German translation from translation project.
24625 2013-07-26 David S. Miller <davem@davemloft.net>
24627 * po/bg.po: Update Bulgarian translation from translation project.
24629 * po/nl.po: Update Dutch translation from translation project.
24630 * po/pl.po: Update Polish translation from translation project.
24631 * po/ru.po: Update Russian translation from translation project.
24633 2013-07-24 David S. Miller <davem@davemloft.net>
24635 * po/libc.pot: Update.
24637 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24639 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24640 variable page size.
24641 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24642 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24643 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24645 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24647 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24649 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24650 Andreas Schwab <schwab@suse.de>
24651 Roland McGrath <roland@hack.frob.com>
24652 Joseph Myers <joseph@codesourcery.com>
24653 Carlos O'Donell <carlos@redhat.com>
24656 * config.h.in: Define HAVE_PT_CHOWN.
24657 * config.make.in (build-pt-chown): New variable.
24658 * configure.in (--enable-pt_chown): New configure option.
24659 * configure: Regenerate.
24660 * login/Makefile: Include Makeconfig. Build pt_chown only if
24661 build-pt-chown is enabled.
24662 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24663 pt_chown to fix pty ownership.
24664 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24666 * manual/install.texi (Configuring and compiling): Mention
24667 --enable-pt_chown. Add @findex for grantpt.
24668 * INSTALL: Regenerate.
24670 2013-07-20 David S. Miller <davem@davemloft.net>
24672 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24673 difference between 32-bit and 64-bit.
24675 2013-07-15 Carlos O'Donell <carlos@redhat.com>
24678 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24679 Avoid system header dependency with -ffreestanding.
24680 ($(objpfx)bits/syscall%d): Likewise.
24682 2013-07-13 David S. Miller <davem@davemloft.net>
24684 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24685 underflows from atanl/atan2l due to bug 15319.
24686 (casinh_test_data): Likewise.
24688 2013-07-07 David S. Miller <davem@davemloft.net>
24690 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24692 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24694 * sysdeps/i386/fpu/libm-test-ulps: Update.
24695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24697 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24699 * configure.in (--enable-lock-elision): Fix message text.
24700 * INSTALL: Regenerate.
24701 * configure: Regenerate.
24703 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24707 2013-07-03 Andreas Jaeger <aj@suse.de>
24709 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24711 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24712 (ptrace_peeksiginfo_args): Add.
24713 (__ptrace_peeksiginfo_flags): Add.
24714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24716 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24718 2013-07-03 Allan McRae <allan@archlinux.org>
24720 * sysdeps/i386/fpu/libm-test-ulps: Update.
24722 2013-07-02 David S. Miller <davem@davemloft.net>
24724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24726 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24730 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24732 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24735 2013-07-02 Andi Kleen <ak@linux.intel.com>
24737 * config.h.in (ENABLE_LOCK_ELISION): Add.
24738 * configure.in (--enable-lock-elision): Add option.
24739 * manual/install.texi: Document --enable lock elision.
24740 * configure: Regenerate
24741 * INSTALL: Regenerate.
24743 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24745 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24746 SSE4.2 strcasecmp for libc.a.
24747 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24749 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24752 * soft-fp/op-common.h (_FP_FMA): New macro.
24753 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24754 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24755 (_FP_MUL_MEAT_1_imm): ... here.
24756 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24757 (_FP_MUL_MEAT_1_wide): ... here.
24758 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24759 (_FP_MUL_MEAT_1_hard): ... here.
24760 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24761 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24762 (_FP_MUL_MEAT_2_wide): ... here.
24763 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24764 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24765 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24766 (_FP_MUL_MEAT_2_gmp): ... here.
24767 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24768 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24769 (_FP_MUL_MEAT_4_wide): ... here.
24770 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24771 (_FP_MUL_MEAT_4_gmp): ... here.
24772 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24773 (_FP_WFRACBITS_DW_S): Likewise.
24774 (_FP_WFRACXBITS_DW_S): Likewise.
24775 (_FP_HIGHBIT_DW_S): Likewise.
24776 (FP_FMA_S): Likewise.
24777 (_FP_FRAC_HIGH_DW_S): Likewise.
24778 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24779 (_FP_WFRACBITS_DW_D): Likewise.
24780 (_FP_WFRACXBITS_DW_D): Likewise.
24781 (_FP_HIGHBIT_DW_D): Likewise.
24782 (FP_FMA_D): Likewise.
24783 (_FP_FRAC_HIGH_DW_D): Likewise.
24784 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24785 (_FP_WFRACBITS_DW_E): Likewise.
24786 (_FP_WFRACXBITS_DW_E): Likewise.
24787 (_FP_HIGHBIT_DW_E): Likewise.
24788 (FP_FMA_E): Likewise.
24789 (_FP_FRAC_HIGH_DW_E): Likewise.
24790 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24791 (_FP_WFRACBITS_DW_Q): Likewise.
24792 (_FP_WFRACXBITS_DW_Q): Likewise.
24793 (_FP_HIGHBIT_DW_Q): Likewise.
24794 (FP_FMA_Q): Likewise.
24795 (_FP_FRAC_HIGH_DW_Q): Likewise.
24796 * soft-fp/fmasf4.c: New file.
24797 * soft-fp/fmadf4.c: Likewise.
24798 * soft-fp/fmatf4.c: Likewise.
24800 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24803 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24807 (index_Slow_SSE4_2): Likewise.
24808 (index_Prefer_PMINUB_for_stringop): Likewise.
24809 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24810 bit_Slow_SSE4_2 is set.
24811 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24812 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24814 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24816 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24817 rtld_global._dl_hwcap2.
24818 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24820 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24821 POWER8 feature descriptions defined in _dl_hwcap2.
24822 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24823 string handling for POWER8 feature bits.
24824 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24825 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24826 _dl_powerpc_cap_flags.
24827 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24828 * sysdeps/powerpc/rtld-global-offsets.sym
24829 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24830 _dl_hwcap2 in the rtld_global_ro structure.
24832 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24834 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24835 hardware capabilities in support of AT_HWCAP2.
24836 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24837 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24839 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24840 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24841 explicitly the unknown a_type display mechanism is used.
24842 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24843 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24845 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24846 to macro prototype for AT_HWCAP2 support.
24847 * sysdeps/i386/dl-procinfo.h: Likewise.
24848 * sysdeps/s390/dl-procinfo.h: Likewise.
24849 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24850 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24851 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24852 return -1 for unknown a_type display fallback.
24853 * sysdeps/sparc/dl-procinfo.h: Likewise.
24854 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24855 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24857 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24859 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24860 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24862 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24865 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24866 mprotect making __stack_prot writable.
24868 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24869 Joseph Myers <joseph@codesourcery.com>
24871 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24872 as being properly aligned.
24874 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24876 * dlfcn/modstatic5.c: New file.
24877 * dlfcn/tststatic5.c: New file.
24878 * dlfcn/Makefile (tests): Add tststatic5.
24879 (tests-static): Likewise.
24880 (modules-names): Add modstatic5.
24881 (tststatic5-ENV): New variable.
24882 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24885 * elf/dl-support.c (_dl_main_map): New variable.
24886 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24887 (_dl_nns, _dl_load_adds): Set to 1.
24888 (_dl_initial_searchlist): Refer to _dl_main_map.
24889 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24890 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24891 call to _dl_get_origin.
24892 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24894 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24895 * dlfcn/modstatic3.c: New file.
24896 * dlfcn/tststatic3.c: New file.
24897 * dlfcn/tststatic4.c: New file.
24898 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24899 (tests-static): Likewise.
24900 (modules-names): Add modstatic3.
24901 (tststatic3-ENV, tststatic4-ENV): New variables.
24902 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24903 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24905 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24907 * configure.in (CC): Require GCC version 4.4 or later.
24908 * configure: Regenerated.
24909 * manual/install.texi (Tools for Compilation): Update GCC version
24911 * INSTALL: Regenerated.
24913 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24916 * string/test-memcmp.c (check2): New.
24917 (main): Call check2.
24919 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24921 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24924 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24926 (dl_open_worker) [!SHARED]: ... here.
24928 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24930 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24932 2013-06-25 Richard Henderson <rth@redhat.com>
24934 * locale/programs/locarchive.c: Include <libc-internal.h>
24936 2013-06-25 Joseph Myers <joseph@codesourcery.com>
24938 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24939 trailing whitespace removed.
24941 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24944 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24945 * locale/programs/locarchive.c: Include libc-mmap.h.
24946 (prepare_address_space): Take two new outputs (the mmap base and len).
24947 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24949 (create_archive): Declare new mmap base and len values for
24950 prepare_address_space, and store the result in ah.
24951 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24952 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24953 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24954 Declare new mmap base and len values for
24955 prepare_address_space, and store the result in new_ah.
24956 (open_archive): Declare new mmap base and len values for
24957 prepare_address_space, and store the result in ah.
24958 (close_archive): If ah->mmap_base is not NULL, use that and
24959 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24960 * sysdeps/generic/libc-mmap.h: New file.
24962 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24964 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24965 (ALIGN_UP): Likewise.
24966 (PTR_ALIGN_DOWN): Likewise.
24967 (PTR_ALIGN_UP): Likewise.
24969 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24971 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24972 entry mapped to PPC_PLATFORM_POWER8.
24973 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24975 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24976 (_dl_string_platform): Add case for exporting platform position for
24978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24979 search path to sysdeps/powerpc/powerpc32/power8 directory.
24980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24981 search path to sysdeps/powerpc/powerpc64/power8 directory.
24982 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24983 power7 directories.
24984 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24985 power7 directories.
24987 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24989 * INSTALL: Regenerate.
24991 * nscd/connections.c (nscd_init): Fix comment.
24993 2013-06-22 Joseph Myers <joseph@codesourcery.com>
24995 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24998 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24999 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25001 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25003 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25005 (DL_DST_REQ_STATIC): Remove macro.
25007 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25010 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25011 with a shift of 0 bits.
25013 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25015 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25018 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25021 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25023 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25025 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25026 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25027 accepts -fno-tree-loop-distribute-patterns.
25028 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25029 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25031 * string/memset.c (memset): Likewise.
25032 * string/test-memmove.c (simple_memmove): Disable loop transformation
25034 * string/test-memset.c (simple_memset): Likewise.
25035 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25036 * benchtests/bench-memset.c (simple_memset): Likewise.
25037 * configure: Regenerated.
25039 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25041 * math/test-misc.c (main): Ignore fesetround failure when failures
25042 of subsequent rounding tests would be ignored.
25045 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25046 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25047 * math/fegetenv.c (__fegetenv): Return 0.
25048 * math/fegetexcept.c (fegetexcept): Return 0.
25049 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25051 * math/feholdexcpt.c (feholdexcept): Return 0.
25052 * math/fesetenv.c (__fesetenv): Return 0.
25053 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25054 argument FE_TONEAREST.
25055 * math/feupdateenv.c (__feupdateenv): Return 0.
25056 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25058 2013-06-18 Roland McGrath <roland@hack.frob.com>
25060 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25061 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25062 ($(objpfx)rtld-%.os rules): Use them.
25064 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25066 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25069 2013-06-17 Roland McGrath <roland@hack.frob.com>
25071 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25072 length of target pattern, then descending length of dependency pattern.
25073 * configure.in (AWK): Require gawk 3.1.2 or newer.
25074 * manual/install.texi (Tools for Compilation): Say that we do.
25075 * configure: Regenerated.
25077 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25078 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25079 * scripts/sysd-rules.awk: ... this new script.
25080 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25081 than a glob-style pattern.
25083 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25085 * math/test-misc.c (main): Do not treat incorrectly rounded
25086 conversions as failure unless ROUNDING_TESTS passes.
25088 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25091 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25092 restore exception state around main square root computation, then
25093 check for inexactness explicitly.
25095 * math/libm-test.inc (fma_test_data): Add another test.
25097 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25099 * manual/threads.texi (Non-POSIX Extensions): New document
25100 node. Document pthread_getattr_default_np and
25101 pthread_setattr_default_np.
25103 * Versions.def (libpthread): Add GLIBC_2.18.
25104 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25113 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25124 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25127 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25129 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25130 H.J. Lu <hjl.tools@gmail.com>
25133 * sysdeps/x86_64/rtld-memset.c: Remove file.
25134 * sysdeps/x86_64/rtld-memset.S: New file.
25136 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25138 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25139 (test_in_one_mode): Take arguments for whether the rounding mode
25140 is supported for each floating-point type.
25141 (do_test): Pass new arguments to test_in_one_mode using
25144 2013-06-13 Roland McGrath <roland@hack.frob.com>
25146 * posix/tst-waitid.c (do_test): Distinguish different instances of
25147 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25148 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25149 before entering the kernel for waitpid.
25151 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25153 * NEWS: Fix note on clock function precision. Text by Roland
25156 2013-06-13 Roland McGrath <roland@hack.frob.com>
25158 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25159 it into place only when and if the sanity check passes.
25161 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25163 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25164 output for whether conversion result is exact. Take argument
25165 indicating whether type is IBM long double.
25166 (round_for_all): Change need_exact field to ibm_ld.
25167 * stdlib/tst-strtod-round.c (struct exactness): New type.
25168 (struct test): Change bool ld_ok field to struct exactness exact.
25169 (TEST): Update all definitions for change to field.
25170 (tests): Regenerate array contents.
25171 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25172 field value. Check for IBM long double here.
25173 (do_test): Update calls to test_in_one_mode.
25175 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25178 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25179 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25181 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25184 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25185 generated by the compiler on loop optimizations.
25186 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25187 general definitions.
25189 2013-06-12 Joseph Myers <joseph@codesourcery.com>
25191 * math/bug-nextafter.c: Include <math-tests.h>.
25192 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25194 * math/bug-nexttoward.c: Include <math-tests.h>.
25195 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25197 * math/test-misc.c: Include <math-tests.h>.
25198 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25201 2013-06-12 Andreas Jaeger <aj@suse.de>
25203 * po/ia.po: Update Interlingua translation from translation
25206 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25208 * include/fenv.h: Include stdbool.h.
25209 (struct rm_ctx): New structure.
25210 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25212 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25213 (SET_RESTORE_ROUNDF): Likewise.
25214 (SET_RESTORE_ROUNDL): Likewise.
25215 (SET_RESTORE_ROUND_NOEX): Likewise.
25216 (SET_RESTORE_ROUND_NOEXF): Likewise.
25217 (SET_RESTORE_ROUND_NOEXL): Likewise.
25218 (SET_RESTORE_ROUND_53BIT): Likewise.
25219 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25220 (libc_feresetround_noexf_ctx): Likewise.
25221 (libc_feresetround_noexl_ctx): Likewise.
25222 (libc_feholdsetround_53bit_ctx): Likewise.
25223 (libc_feresetround_53bit_ctx): Likewise.
25224 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25225 (libc_feholdexcept_setround_sse_ctx): New function.
25226 (libc_fesetenv_sse_ctx): Likewise.
25227 (libc_feupdateenv_sse_ctx): Likewise.
25228 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25229 (libc_feholdexcept_setround_387_ctx): Likewise.
25230 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25231 (libc_feholdsetround_387_prec_ctx): Likewise.
25232 (libc_feholdsetround_387_ctx): Likewise.
25233 (libc_feholdsetround_387_53bit_ctx): Likewise.
25234 (libc_feholdsetround_sse_ctx): Likewise.
25235 (libc_feresetround_sse_ctx): Likewise.
25236 (libc_feresetround_387_ctx): Likewise.
25237 (libc_feupdateenv_387_ctx): Likewise.
25238 (libc_feholdexcept_setroundf_ctx): Define macro.
25239 (libc_fesetenvf_ctx): Likewise.
25240 (libc_feupdateenvf_ctx): Likewise.
25241 (libc_feholdsetroundf_ctx): Likewise.
25242 (libc_feresetroundf_ctx): Likewise.
25243 (libc_feholdexcept_setround_ctx): Likewise.
25244 (libc_fesetenv_ctx): Likewise.
25245 (libc_feupdateenv_ctx): Likewise.
25246 (libc_feholdsetround_ctx): Likewise.
25247 (libc_feresetround_ctx): Likewise.
25248 (libc_feholdexcept_setroundl_ctx): Likewise.
25249 (libc_feupdateenvl_ctx): Likewise.
25250 (libc_feholdsetroundl_ctx): Likewise.
25251 (libc_feresetroundl_ctx): Likewise.
25252 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25253 (libc_feresetround_53bit_ctx): Likewise.
25255 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25257 * locale/iso-639.def: Convert to UTF-8.
25259 2013-06-11 Joseph Myers <joseph@codesourcery.com>
25261 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25262 (EXCEPTION_TESTS_double): Likewise.
25263 (EXCEPTION_TESTS_long_double): Likewise.
25264 (EXCEPTION_TESTS): Likewise.
25265 * math/libm-test.inc (test_exceptions): Only test exceptions if
25266 EXCEPTION_TESTS (FLOAT).
25268 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25270 * benchtests/Makefile (string-bench): Add strcpy_chk and
25272 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25273 * benchtests/bench-stpcpy_chk.c: New file.
25274 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25275 * benchtests/bench-strcpy_chk.c: New file.
25276 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25278 (do_test): Likewise.
25280 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25282 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25283 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25284 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25285 with tabs where appropriate.
25286 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25288 [PPC_PLATFORM_PPC440]: Likewise.
25289 [PPC_PLATFORM_PPC464]: Likewise.
25290 [PPC_PLATFORM_PPC476]: Likewise.
25291 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25292 ppc464, and ppc476 platform strings merging from ports/
25295 2013-06-11 Andreas Schwab <schwab@suse.de>
25298 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25299 (from_ucs4_idx): Regenerate.
25300 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25301 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25302 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25303 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25304 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25305 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25306 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25307 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25308 from FROM_LOOP and TO_LOOP specific macros.
25309 (BODY): Handle combining characters.
25310 * iconvdata/BIG5HKSCS.irreversible: Update.
25311 * iconvdata/BIG5HKSCS.precomposed: New file.
25312 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25314 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25316 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25318 * include/sys/time.h: Fix indentation and add copyright header.
25320 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25321 (do_test): Likewise.
25322 * string/test-memchr.c (do_one_test): Likewise.
25323 (do_test): Likewise.
25324 * string/test-memcmp.c (do_one_test): Likewise.
25325 (do_test): Likewise.
25326 * string/test-memcpy.c (do_one_test): Likewise.
25327 (do_test): Likewise.
25328 * string/test-memmem.c (do_one_test): Likewise.
25329 (do_test): Likewise.
25330 (do_random_tests): Likewise.
25331 * string/test-memmove.c (do_one_test): Likewise.
25332 (do_test): Likewise.
25333 * string/test-memset.c (do_one_test): Likewise.
25334 (do_test): Likewise.
25335 * string/test-rawmemchr.c (do_one_test): Likewise.
25336 (do_test): Likewise.
25337 * string/test-strcasecmp.c (do_one_test): Likewise.
25338 (do_test): Likewise.
25339 * string/test-strcasestr.c (do_one_test): Likewise.
25340 (do_test): Likewise.
25341 * string/test-strcat.c (do_one_test): Likewise.
25342 (do_test): Likewise.
25343 * string/test-strchr.c (do_one_test): Likewise.
25344 (do_test): Likewise.
25345 * string/test-strcmp.c (do_one_test): Likewise.
25346 (do_test): Likewise.
25347 * string/test-strcpy.c (do_one_test): Likewise.
25348 (do_test): Likewise.
25349 * string/test-string.h: Likewise.
25350 (test_init): Likewise.
25351 * string/test-strlen.c (do_one_test): Likewise.
25352 (do_test): Likewise.
25353 * string/test-strncasecmp.c (do_one_test): Likewise.
25354 (do_test): Likewise.
25355 * string/test-strncat.c (do_one_test): Likewise.
25356 (do_test): Likewise.
25357 * string/test-strncmp.c (do_one_test): Likewise.
25358 (do_test_limit): Likewise.
25359 (do_test): Likewise.
25360 * string/test-strncpy.c (do_one_test): Likewise.
25361 (do_test): Likewise.
25362 * string/test-strnlen.c (do_one_test): Likewise.
25363 (do_test): Likewise.
25364 * string/test-strpbrk.c (do_one_test): Likewise.
25365 (do_test): Likewise.
25366 * string/test-strrchr.c (do_one_test): Likewise.
25367 (do_test): Likewise.
25368 * string/test-strspn.c (do_one_test): Likewise.
25369 (do_test): Likewise.
25370 * string/test-strstr.c (do_one_test): Likewise.
25371 (do_test): Likewise.
25373 * benchtests/Makefile (string-bench): Add string benchmarks.
25374 * benchtests/bench-bcopy-ifunc.c: New file.
25375 * benchtests/bench-bcopy.c: New file.
25376 * benchtests/bench-bzero-ifunc.c: New file.
25377 * benchtests/bench-bzero.c: New file.
25378 * benchtests/bench-memccpy-ifunc.c: New file.
25379 * benchtests/bench-memccpy.c: New file.
25380 * benchtests/bench-memchr-ifunc.c: New file.
25381 * benchtests/bench-memchr.c: New file.
25382 * benchtests/bench-memcmp-ifunc.c: New file.
25383 * benchtests/bench-memcmp.c: New file.
25384 * benchtests/bench-memmem-ifunc.c: New file.
25385 * benchtests/bench-memmem.c: New file.
25386 * benchtests/bench-memmove-ifunc.c: New file.
25387 * benchtests/bench-memmove.c: New file.
25388 * benchtests/bench-mempcpy-ifunc.c: New file.
25389 * benchtests/bench-mempcpy.c: New file.
25390 * benchtests/bench-memset-ifunc.c: New file.
25391 * benchtests/bench-memset.c: New file.
25392 * benchtests/bench-rawmemchr-ifunc.c: New file.
25393 * benchtests/bench-rawmemchr.c: New file.
25394 * benchtests/bench-stpcpy-ifunc.c: New file.
25395 * benchtests/bench-stpcpy.c: New file.
25396 * benchtests/bench-stpncpy-ifunc.c: New file.
25397 * benchtests/bench-stpncpy.c: New file.
25398 * benchtests/bench-strcasecmp-ifunc.c: New file.
25399 * benchtests/bench-strcasecmp.c: New file.
25400 * benchtests/bench-strcasestr-ifunc.c: New file.
25401 * benchtests/bench-strcasestr.c: New file.
25402 * benchtests/bench-strcat-ifunc.c: New file.
25403 * benchtests/bench-strcat.c: New file.
25404 * benchtests/bench-strchr-ifunc.c: New file.
25405 * benchtests/bench-strchr.c: New file.
25406 * benchtests/bench-strchrnul-ifunc.c: New file.
25407 * benchtests/bench-strchrnul.c: New file.
25408 * benchtests/bench-strcmp-ifunc.c: New file.
25409 * benchtests/bench-strcmp.c: New file.
25410 * benchtests/bench-strcpy-ifunc.c: New file.
25411 * benchtests/bench-strcpy.c: New file.
25412 * benchtests/bench-strcspn-ifunc.c: New file.
25413 * benchtests/bench-strcspn.c: New file.
25414 * benchtests/bench-strlen-ifunc.c: New file.
25415 * benchtests/bench-strlen.c: New file.
25416 * benchtests/bench-strncasecmp-ifunc.c: New file.
25417 * benchtests/bench-strncasecmp.c: New file.
25418 * benchtests/bench-strncat-ifunc.c: New file.
25419 * benchtests/bench-strncat.c: New file.
25420 * benchtests/bench-strncmp-ifunc.c: New file.
25421 * benchtests/bench-strncmp.c: New file.
25422 * benchtests/bench-strncpy-ifunc.c: New file.
25423 * benchtests/bench-strncpy.c: New file.
25424 * benchtests/bench-strnlen-ifunc.c: New file.
25425 * benchtests/bench-strnlen.c: New file.
25426 * benchtests/bench-strpbrk-ifunc.c: New file.
25427 * benchtests/bench-strpbrk.c: New file.
25428 * benchtests/bench-strrchr-ifunc.c: New file.
25429 * benchtests/bench-strrchr.c: New file.
25430 * benchtests/bench-strspn-ifunc.c: New file.
25431 * benchtests/bench-strspn.c: New file.
25432 * benchtests/bench-strstr-ifunc.c: New file.
25433 * benchtests/bench-strstr.c: New file.
25435 * benchtests/Makefile: Disable parallel execution of targets.
25436 (string-bench): Add memcpy.
25437 (benchset): New variable to store a list of benchmark sets.
25438 (bench-func): Renamed from bench.
25439 (bench-set): New target.
25440 (bench): Depend on bench-func and bench-set.
25441 * benchtests/README: Add section on benchmark sets.
25442 * benchtests/bench-memcpy-ifunc.c: New file.
25443 * benchtests/bench-memcpy.c: New file.
25444 * benchtests/bench-string.h: New file.
25446 2013-06-11 Andreas Schwab <schwab@suse.de>
25449 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25450 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25451 values in the triple.
25452 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25453 terminator in the group key.
25455 2013-06-11 Andreas Jaeger <aj@suse.de>
25457 * po/zh_TW.po: Update Chinese (traditional) translation from
25458 translation project.
25460 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25462 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25463 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25464 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25465 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25466 (clock_getcpuclockid): Likewise.
25467 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25468 Add weak_alias and libc_hidden_def.
25469 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25470 * rt/clock_gettime.c (clock_gettime): Rename to
25471 __clock_gettime. Add weak_alias and libc_hidden_def.
25472 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25473 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25474 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25475 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25476 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25478 * rt/clock_settime.c (clock_settime): Rename to
25479 __clock_settime. Add weak_alias and libc_hidden_def.
25480 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25482 2013-06-10 Joseph Myers <joseph@codesourcery.com>
25484 * mach/err_boot.sub: Remove trailing whitespace.
25485 * mach/err_ipc.sub: Likewise.
25486 * mach/err_mach.sub: Likewise.
25488 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25489 (ROUNDING_TESTS_double): Likewise.
25490 (ROUNDING_TESTS_long_double): Likewise.
25491 (ROUNDING_TESTS): Likewise.
25492 * math/libm-test.inc: Include <math-tests.h>.
25493 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25494 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25495 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25496 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25498 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25500 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25503 2013-06-08 Joseph Myers <joseph@codesourcery.com>
25505 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25506 otherwise empty TRANS lines.
25507 * sysdeps/gnu/errlist.c: Regenerated.
25509 * catgets/gencat.c (error_print): Use (void) in function
25511 * crypt/crypt_util.c (__init_des): Likewise.
25512 * crypt/speeds.c (Stop): Likewise.
25514 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25515 * inet/ruserpass.c (token): Likewise.
25516 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25517 * intl/localealias.c (extend_alias_table): Likewise.
25518 * intl/plural-exp.c (init_germanic_plural): Likewise.
25519 * libio/fcloseall.c (__fcloseall): Likewise.
25520 * libio/genops.c (_IO_flush_all): Likewise.
25521 (_IO_flush_all_linebuffered): Likewise.
25522 (_IO_cleanup): Likewise.
25523 (_IO_iter_begin): Likewise.
25524 (_IO_iter_end): Likewise.
25525 (_IO_list_lock): Likewise.
25526 (_IO_list_unlock): Likewise.
25527 (_IO_list_resetlock): Likewise.
25528 * libio/getchar.c (getchar): Likewise.
25529 * libio/getchar_u.c (getchar_unlocked): Likewise.
25530 * libio/getwchar.c (getwchar): Likewise.
25531 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25532 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25533 * login/getpt.c (__getpt): Likewise.
25534 * login/tst-utmp.c (main): Likewise.
25535 * malloc/hooks.c (__malloc_check_init): Likewise.
25536 * malloc/malloc.c (__malloc_stats): Likewise.
25537 * malloc/mtrace.c (tr_break): Likewise.
25538 (mtrace): Likewise.
25539 (muntrace): Likewise.
25540 * misc/fstab.c (endfsent): Likewise.
25541 * misc/getclktck.c (__getclktck): Likewise.
25542 * misc/getdtsz.c (__getdtablesize): Likewise.
25543 * misc/gethostid.c (gethostid): Likewise.
25544 * misc/getpagesize.c (__getpagesize): Likewise.
25545 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25546 (__get_nprocs): Likewise.
25547 (__get_phys_pages): Likewise.
25548 (__get_avphys_pages): Likewise.
25549 * misc/getttyent.c (getttyent): Likewise.
25550 (setttyent): Likewise.
25551 (endttyent): Likewise.
25552 * misc/getusershell.c (getusershell): Likewise.
25553 (endusershell): Likewise.
25554 (setusershell): Likewise.
25555 (initshells): Likewise.
25556 * misc/hsearch.c (__hdestroy): Likewise.
25557 * misc/sync.c (sync): Likewise.
25558 * misc/syslog.c (closelog_internal): Likewise.
25559 (closelog): Likewise.
25560 * misc/ttyslot.c (ttyslot): Likewise.
25561 * misc/vhangup.c (vhangup): Likewise.
25562 * posix/fork.c (__fork): Likewise.
25563 * posix/getegid.c (__getegid): Likewise.
25564 * posix/geteuid.c (__geteuid): Likewise.
25565 * posix/getgid.c (__getgid): Likewise.
25566 * posix/getpid.c (__getpid): Likewise.
25567 * posix/getppid.c (__getppid): Likewise.
25568 * posix/getuid.c (__getuid): Likewise.
25569 * posix/pause.c (pause): Likewise.
25570 * posix/setpgrp.c (setpgrp): Likewise.
25571 * posix/setsid.c (__setsid): Likewise.
25572 * posix/test-vfork.c (noop): Likewise.
25573 * resolv/gethnamaddr.c (_endhtent): Likewise.
25574 (_gethtent): Likewise.
25575 (ht_endhostent): Likewise.
25576 (gethostent): Likewise.
25577 (dns_service): Likewise.
25578 * stdlib/drand48.c (drand48): Likewise.
25579 * stdlib/lrand48.c (lrand48): Likewise.
25580 * stdlib/mrand48.c (mrand48): Likewise.
25581 * stdlib/rand.c (rand): Likewise.
25582 * stdlib/random.c (__random): Likewise.
25583 * stdlib/setenv.c (clearenv): Likewise.
25584 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25585 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25586 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25587 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25588 (__get_nprocs): Likewise.
25589 (__get_phys_pages): Likewise.
25590 (__get_avphys_pages): Likewise.
25591 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25592 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25593 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25594 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25595 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25596 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25597 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25598 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25599 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25600 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25601 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25602 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25603 * sysdeps/posix/clock.c (clock): Likewise.
25604 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25605 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25606 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25607 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25608 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25610 (__get_nprocs_conf): Likewise.
25611 (__get_phys_pages): Likewise.
25612 (__get_avphys_pages): Likewise.
25613 * time/clock.c (clock): Likewise.
25614 * time/tzset.c (__tzname_max): Likewise.
25616 2013-06-07 Joseph Myers <joseph@codesourcery.com>
25618 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25619 (__bswap_32): Do not use "register".
25620 * crypt/crypt.c (_ufc_doit_r): Likewise.
25621 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25622 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25623 * gmon/gmon.c (__monstartup): Likewise.
25624 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25625 * hurd/hurdmalloc.c (more_memory): Likewise.
25626 (malloc): Likewise.
25628 (realloc): Likewise.
25629 (malloc_fork_prepare): Likewise.
25630 (malloc_fork_parent): Likewise.
25631 (malloc_fork_child): Likewise.
25632 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25633 (_svcauth_des): Likewise.
25634 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25635 * inet/inet_net.c (inet_network): Likewise.
25636 * inet/inet_netof.c (inet_netof): Likewise.
25637 * inet/rcmd.c (__validuser2_sa): Likewise.
25638 * io/fts.c (fts_open): Likewise.
25639 (fts_load): Likewise.
25640 (fts_close): Likewise.
25641 (fts_read): Likewise.
25642 (fts_children): Likewise.
25643 (fts_build): Likewise.
25644 (fts_stat): Likewise.
25645 (fts_sort): Likewise.
25646 (fts_alloc): Likewise.
25647 (fts_lfree): Likewise.
25648 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25649 (_IO_file_xsgetn): Likewise.
25650 (_IO_file_xsgetn_mmap): Likewise.
25651 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25652 (_IO_cookie_write): Likewise.
25653 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25654 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25655 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25656 * malloc/obstack.c (_obstack_begin): Likewise.
25657 (_obstack_begin_1): Likewise.
25658 (_obstack_newchunk): Likewise.
25659 (_obstack_allocated_p): Likewise.
25660 (obstack_free): Likewise.
25661 (_obstack_memory_used): Likewise.
25662 * misc/getttyent.c (getttynam): Likewise.
25663 (getttyent): Likewise.
25666 * misc/getusershell.c (initshells): Likewise.
25667 * misc/syslog.c (__vsyslog_chk): Likewise.
25668 * misc/ttyslot.c (ttyslot): Likewise.
25669 * nis/nis_hash.c (__nis_hash): Likewise.
25670 * posix/fnmatch_loop.c (FCT): Likewise.
25671 * posix/getconf.c (print_all): Likewise.
25673 * posix/getopt.c (exchange): Likewise.
25674 * posix/glob.c (globfree): Likewise.
25675 (prefix_array): Likewise.
25676 (__glob_pattern_type): Likewise.
25677 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25678 (NS_GET32): Likewise.
25679 (NS_PUT16): Likewise.
25680 (NS_PUT32): Likewise.
25681 * resolv/gethnamaddr.c (getanswer): Likewise.
25682 (gethostbyname2): Likewise.
25683 (gethostbyaddr): Likewise.
25684 (_gethtent): Likewise.
25685 (_gethtbyname2): Likewise.
25686 (_gethtbyaddr): Likewise.
25687 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25688 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25689 * resolv/res_init.c (__res_vinit): Likewise.
25690 (net_mask): Likewise.
25691 * resolv/res_mkquery.c (outchar): Likewise.
25693 * stdio-common/printf_fp.c (outchar): Likewise.
25695 * stdio-common/printf_fphex.c (outchar): Likewise.
25697 * stdio-common/printf_size.c (outchar): Likewise.
25699 * stdio-common/test_rdwr.c (main): Likewise.
25700 * stdio-common/tfformat.c (matches): Likewise.
25701 * stdio-common/vfprintf.c (outchar): Likewise.
25702 (printf_unknown): Likewise.
25703 (buffered_vfprintf): Likewise.
25704 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25705 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25706 (ReadFile): Likewise.
25707 * stdlib/qsort.c (SWAP): Likewise.
25708 (_quicksort): Likewise.
25709 * stdlib/setenv.c (__add_to_environ): Likewise.
25710 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25711 * stdlib/strtol_l.c (__strtol_l): Likewise.
25712 * stdlib/tst-strtod.c (main): Likewise.
25713 * stdlib/tst-strtol.c (main): Likewise.
25714 * stdlib/tst-strtoll.c (main): Likewise.
25715 * string/bits/string2.h (__strcmp_cc): Likewise.
25716 (__strcmp_cg): Likewise.
25717 (__strcspn_c1): Likewise.
25718 (__strcspn_c2): Likewise.
25719 (__strcspn_c3): Likewise.
25720 (__strspn_c1): Likewise.
25721 (__strspn_c2): Likewise.
25722 (__strspn_c3): Likewise.
25723 (__strsep_1c): Likewise.
25724 (__strsep_2c): Likewise.
25725 (__strsep_3c): Likewise.
25726 * string/memccpy.c (__memccpy): Likewise.
25727 * string/stpcpy.c (__stpcpy): Likewise.
25728 * string/strcmp.c (strcmp): Likewise.
25729 * string/strrchr.c (strrchr): Likewise.
25730 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25732 * sysdeps/mach/hurd/getcwd.c
25733 (_hurd_canonicalize_directory_name_internal): Likewise.
25734 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25735 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25736 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25737 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25738 Likewise, in both definitions.
25739 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25741 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25742 64] (__bswap_64): Likewise.
25743 * time/test_time.c (main): Likewise.
25744 * time/tzfile.c (__tzfile_read): Likewise.
25745 (__tzfile_compute): Likewise.
25746 * time/tzset.c (__tzset_parse_tz): Likewise.
25747 (tzset_internal): Likewise.
25748 (compute_change): Likewise.
25749 * wcsmbs/wcscat.c (__wcscat): Likewise.
25750 * wcsmbs/wcschr.c (wcschr): Likewise.
25751 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25752 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25753 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25754 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25755 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25756 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25757 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25758 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25759 * wcsmbs/wmemset.c (wmemset): Likewise.
25761 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25763 * scripts/config.guess: Update to version 2013-05-16.
25764 * scripts/config.sub: Update to version 2013-04-24.
25765 * scripts/install-sh: Update to version 2011-11-20.07.
25766 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25767 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25769 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25771 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25772 * elf/sln.c: Likewise.
25773 * hurd/hurd/ioctl.h: Likewise.
25774 * hurd/hurdmalloc.c: Likewise.
25775 * hurd/xattr.c: Likewise.
25776 * include/shlib-compat.h: Likewise.
25777 * inet/ruserpass.c: Likewise.
25778 * libio/iofgets_u.c: Likewise.
25779 * libio/iofgetws_u.c: Likewise.
25780 * locale/programs/ld-identification.c: Likewise.
25781 * locale/programs/ld-time.c: Likewise.
25782 * mach/msg-destroy.c: Likewise.
25783 * nss/nss_files/files-netgrp.c: Likewise.
25784 * resolv/res_data.c: Likewise.
25785 * soft-fp/op-1.h: Likewise.
25786 * soft-fp/op-2.h: Likewise.
25787 * soft-fp/op-4.h: Likewise.
25788 * soft-fp/op-common.h: Likewise.
25789 * stdio-common/printf_fphex.c: Likewise.
25790 * stdlib/strtod_l.c: Likewise.
25791 * sunrpc/rpc/clnt.h: Likewise.
25792 * sysdeps/generic/framestate.c: Likewise.
25793 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25794 * sysdeps/i386/bsd-setjmp.S: Likewise.
25795 * sysdeps/i386/__longjmp.S: Likewise.
25796 * sysdeps/i386/setjmp.S: Likewise.
25797 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25798 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25799 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25800 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25802 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25806 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25807 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25808 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25809 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25810 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25811 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25813 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25814 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25815 * sysdeps/ieee754/support.c: Likewise.
25816 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25817 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25818 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25819 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25820 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25821 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25822 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25823 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25824 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25825 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25826 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25827 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25828 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25829 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25830 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25831 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25832 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25835 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25837 * posix/transbug.c: Remove executable mode.
25839 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25841 * crypt/speeds.c: Remove trailing whitespace.
25842 * dlfcn/default.c: Likewise.
25843 * elf/ifuncdep2.c: Likewise.
25844 * elf/ifuncmain1.c: Likewise.
25845 * elf/ifuncmain1vis.c: Likewise.
25846 * elf/testobj.h: Likewise.
25847 * elf/tst-stackguard1.c: Likewise.
25848 * gmon/sys/gmon.h: Likewise.
25849 * hurd/hurdmsg.c: Likewise.
25850 * hurd/new-fd.c: Likewise.
25851 * hurd/ports-get.c: Likewise.
25852 * iconvdata/ibm1008_420.c: Likewise.
25853 * inet/tst-getni1.c: Likewise.
25854 * inet/tst-getni2.c: Likewise.
25855 * libio/ioungetc.c: Likewise.
25856 * libio/wfiledoalloc.c: Likewise.
25857 * manual/libm-err-tab.pl: Likewise.
25858 * math/w_dremf.c: Likewise.
25859 * misc/ftruncate.c: Likewise.
25860 * posix/bug-glob2.c: Likewise.
25861 * posix/tst-pcre.c: Likewise.
25862 * posix/wait4.c: Likewise.
25863 * resolv/README: Likewise.
25864 * resolv/res_debug.h: Likewise.
25865 * resolv/tst-inet_ntop.c: Likewise.
25866 * setjmp/bug269-setjmp.c: Likewise.
25867 * soft-fp/extended.h: Likewise.
25868 * soft-fp/op-1.h: Likewise.
25869 * soft-fp/op-2.h: Likewise.
25870 * soft-fp/op-4.h: Likewise.
25871 * soft-fp/op-8.h: Likewise.
25872 * soft-fp/testit.c: Likewise.
25873 * stdio-common/bug16.c: Likewise.
25874 * stdlib/random.c: Likewise.
25875 * sunrpc/rpcsvc/rquota.x: Likewise.
25876 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25877 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25878 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25879 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25880 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25881 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25883 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25884 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25885 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25886 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25887 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25889 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25890 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25903 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25905 * sysdeps/ieee754/s_lib_version.c: Likewise.
25906 * sysdeps/mach/hurd/check_fds.c: Likewise.
25907 * sysdeps/mach/hurd/getsockname.c: Likewise.
25908 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25909 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25910 * sysdeps/powerpc/bits/link.h: Likewise.
25911 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25912 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25913 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25914 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25915 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25916 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25917 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25918 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25919 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25920 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25921 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25922 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25923 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25924 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25925 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25926 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25927 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25928 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25930 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25932 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25934 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25935 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25936 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25937 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25938 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25940 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25941 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25942 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25943 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25945 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25946 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25947 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25948 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25949 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25950 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25951 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25952 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25953 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25954 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25955 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25956 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25957 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25958 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25959 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25960 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25963 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25964 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25965 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25966 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25967 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25968 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25969 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25970 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25971 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25973 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25974 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25975 * sysdeps/powerpc/sysdep.h: Likewise.
25976 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25977 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25978 * sysdeps/sh/dl-trampoline.S: Likewise.
25979 * sysdeps/sh/memset.S: Likewise.
25980 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25981 * sysdeps/sh/strlen.S: Likewise.
25982 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25983 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25984 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25985 * sysdeps/sparc/sparc32/rem.S: Likewise.
25986 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25987 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25988 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25989 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25990 * sysdeps/sparc/sparc32/urem.S: Likewise.
25991 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25992 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25993 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25994 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25995 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25996 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25997 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25998 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25999 * sysdeps/unix/bsd/times.c: Likewise.
26000 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26001 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26005 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26006 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26007 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26008 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26009 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26010 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26011 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26012 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26013 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26014 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26015 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26016 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26017 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26018 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26019 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26020 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26021 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26022 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26023 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26024 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26025 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26026 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26027 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26028 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26029 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26030 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26031 * sysdeps/x86_64/strcspn.S: Likewise.
26033 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26035 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26036 generated file. Regenerate properly from gen-translit.pl.
26037 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26038 locale/C-translit.h.
26040 2013-06-05 Andreas Schwab <schwab@suse.de>
26043 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26044 week as 6 instead of -1.
26045 * time/tst-strptime.c (day_tests): Add test case.
26047 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26049 * sysdeps/generic/math_private.h
26050 (libc_feholdexcept_setround_53bit): Replace with
26051 libc_feholdsetround_53bit.
26052 (libc_feupdateenv_53bit): Replace with
26053 libc_feresetround_53bit.
26054 (SET_RESTORE_ROUND_53BIT): Adjust.
26056 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26058 * string/test-strchrnul.c: Add copyright header.
26060 * posix/tst-getaddrinfo4.c: Increase test timeout.
26062 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26065 * math/libm-test.inc (MAX_EXP): Remove
26067 (ulp): Use MIN_EXP - MANT_DIG.
26068 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26070 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26072 * po/be.po: Revert last change.
26073 * po/zh_CN.po: Likewise.
26074 * po/header.pot: Likewise.
26076 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26078 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26079 link-libc-deps to empty as target-specific variable.
26080 * Makerules (link-libc-args): New variable.
26081 (libc-for-link): Likewise.
26082 (link-libc-deps): Likewise.
26083 (lib%.so): Depend on $(link-libc-deps). Link with
26085 (build-module): Link with $(link-libc-args).
26086 (build-module-asneeded): Likewise.
26087 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26089 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26090 target-specific variable.
26091 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26092 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26093 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26095 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26097 ($(objpfx)libpcprofile.so): Likewise.
26098 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26100 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26101 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26102 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26104 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26105 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26106 * login/Makefile ($(objpfx)libutil.so): Likewise.
26107 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26108 * math/Makefile ($(objpfx)libm.so): Likewise.
26109 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26110 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26111 variable instead of depending directly on libc.
26112 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26113 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26115 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26117 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26118 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26119 ($(objpfx)libanl.so): Likewise.
26120 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26122 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26124 * sysdeps/i386/fpu/Makefile: Remove file.
26125 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26126 ($(objpfx)libm.so): Remove dependency on ld.so.
26128 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26131 * nis/yp_xdr.c (XDRMAXNAME): Define.
26132 (XDRMAXRECORD): Define.
26133 (xdr_domainname): Use XDRMAXNAME.
26134 (xdr_mapname): Likewise.
26135 (xdr_peername): Likewise.
26136 (xdr_keydat): Use XDRMAXRECORD.
26137 (xdr_valdat): Likewise.
26139 2013-05-30 Jeff Law <law@redhat.com>
26142 * manual/errno.texi (ESTALE): Update to account for more than
26143 just NFS file systems.
26144 * sysdeps/gnu/errlist.c: Regenerated.
26146 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26149 * elf/Makefile (tests): Add tst-null-argv.
26150 (modules-names): Add tst-null-argv-lib.
26151 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26152 (tst-null-argv-ENV): Set environment for tst-null-argv.
26153 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26154 (RTLD_PROGNAME): New macro.
26155 * elf/tst-null-argv.c: New test case.
26156 * elf/tst-null-argv-lib.c: Library for test case.
26157 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26158 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26159 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26160 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26161 * elf/dl-init.c (call_init): Likewise.
26162 (_dl_init): Likewise.
26163 * elf/dl-load.c (print_search_path): Likewise.
26164 (_dl_map_object): Likewise.
26165 * elf/dl-lookup.c (do_lookup_x): Likewise.
26166 (add_dependency): Likewise.
26167 (_dl_lookup_symbol_x): Likewise.
26168 (_dl_debug_bindings): Likewise.
26169 * elf/dl-open.c (_dl_show_scope): Likewise.
26170 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26171 * elf/dl-version.c (match_symbol): Likewise.
26172 (_dl_check_map_versions): Likewise.
26173 * elf/rtld.c (dl_main): Likewise.
26174 (print_unresolved): Use RTLD_PROGNAME.
26175 (print_missing_version): Likewise.
26176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26177 (elf_machine_rela): Likewise.
26178 * sysdeps/powerpc/powerpc32/dl-machine.c
26179 (__process_machine_rela): Likewise.
26180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26182 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26184 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26186 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26193 2013-05-28 Carlos O'Donell <carlos@redhat.com>
26195 * po/be.po: Add descriptive title.
26196 * po/zh_CN.po: Likewise.
26197 * po/header.pot: Likewise.
26199 2013-05-28 Mike Frysinger <vapier@gentoo.org>
26201 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26203 (enlarge_archive): Likewise.
26205 2013-05-28 Ben North <ben@redfrontdoor.org>
26207 * manual/arith.texi (frexp): It is the magnitude of the return
26208 value which lies in [0.5, 1), not the return value itself.
26210 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26214 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26216 * stdio-common/bug26.c (main): Correct fscanf template.
26218 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26219 declare _dl_skip_args.
26221 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26224 * manual/platform.texi: Add missing @end deftypefun.
26226 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26230 bit of mantissa of 2^16382.
26231 * math/libm-test.inc (hypot_test_data): Add more tests.
26233 * math/libm-test.inc: Add drem and pow10 to list of tested
26235 (pow10_test): New function.
26236 (drem_test): Likewise.
26237 (drem_test_tonearest): Likewise.
26238 (drem_test_towardzero): Likewise.
26239 (drem_test_downward): Likewise.
26240 (drem_test_upward): Likewise.
26241 (main): Call the new functions.
26243 * math/libm-test.inc (finite_test_data): Remove.
26244 (finite_test): Run tests from isfinite_test_data.
26245 (gamma_test_data): Remove.
26246 (gamma_test): Run tests from lgamma_test_data.
26247 * sysdeps/i386/fpu/libm-test-ulps: Update.
26248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26250 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26252 * manual/platform.texi: Add PowerPC PPR function set documentation.
26253 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26256 2013-05-24 Carlos O'Donell <carlos@redhat.com>
26258 * math/libm-test.inc (MAX_EXP): Define.
26260 (ulp): New function.
26261 (check_float_internal): Use ULPDIFF.
26262 (cpow_test): Disable failing test.
26263 (check_ulp): Test ulp() implemetnation.
26264 (main): Call check_ulp before starting tests.
26266 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26268 * math/gen-libm-test.pl (generate_testfile): Do not handle
26269 START_DATA and END_DATA.
26270 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26272 (acos_tonearest_test_data): Likewise.
26273 (acos_towardzero_test_data): Likewise.
26274 (acos_downward_test_data): Likewise.
26275 (acos_upward_test_data): Likewise.
26276 (acosh_test_data): Likewise.
26277 (asin_test_data): Likewise.
26278 (asin_tonearest_test_data): Likewise.
26279 (asin_towardzero_test_data): Likewise.
26280 (asin_downward_test_data): Likewise.
26281 (asin_upward_test_data): Likewise.
26282 (asinh_test_data): Likewise.
26283 (atan_test_data): Likewise.
26284 (atanh_test_data): Likewise.
26285 (atan2_test_data): Likewise.
26286 (cabs_test_data): Likewise.
26287 (cacos_test_data): Likewise.
26288 (cacosh_test_data): Likewise.
26289 (carg_test_data): Likewise.
26290 (casin_test_data): Likewise.
26291 (casinh_test_data): Likewise.
26292 (catan_test_data): Likewise.
26293 (catanh_test_data): Likewise.
26294 (cbrt_test_data): Likewise.
26295 (ccos_test_data): Likewise.
26296 (ccosh_test_data): Likewise.
26297 (ceil_test_data): Likewise.
26298 (cexp_test_data): Likewise.
26299 (cimag_test_data): Likewise.
26300 (clog_test_data): Likewise.
26301 (clog10_test_data): Likewise.
26302 (conj_test_data): Likewise.
26303 (copysign_test_data): Likewise.
26304 (cos_test_data): Likewise.
26305 (cos_tonearest_test_data): Likewise.
26306 (cos_towardzero_test_data): Likewise.
26307 (cos_downward_test_data): Likewise.
26308 (cos_upward_test_data): Likewise.
26309 (cosh_test_data): Likewise.
26310 (cosh_tonearest_test_data): Likewise.
26311 (cosh_towardzero_test_data): Likewise.
26312 (cosh_downward_test_data): Likewise.
26313 (cosh_upward_test_data): Likewise.
26314 (cpow_test_data): Likewise.
26315 (cproj_test_data): Likewise.
26316 (creal_test_data): Likewise.
26317 (csin_test_data): Likewise.
26318 (csinh_test_data): Likewise.
26319 (csqrt_test_data): Likewise.
26320 (ctan_test_data): Likewise.
26321 (ctan_tonearest_test_data): Likewise.
26322 (ctan_towardzero_test_data): Likewise.
26323 (ctan_downward_test_data): Likewise.
26324 (ctan_upward_test_data): Likewise.
26325 (ctanh_test_data): Likewise.
26326 (ctanh_tonearest_test_data): Likewise.
26327 (ctanh_towardzero_test_data): Likewise.
26328 (ctanh_downward_test_data): Likewise.
26329 (ctanh_upward_test_data): Likewise.
26330 (erf_test_data): Likewise.
26331 (erfc_test_data): Likewise.
26332 (exp_test_data): Likewise.
26333 (exp_tonearest_test_data): Likewise.
26334 (exp_towardzero_test_data): Likewise.
26335 (exp_downward_test_data): Likewise.
26336 (exp_upward_test_data): Likewise.
26337 (exp10_test_data): Likewise.
26338 (exp2_test_data): Likewise.
26339 (expm1_test_data): Likewise.
26340 (fabs_test_data): Likewise.
26341 (fdim_test_data): Likewise.
26342 (finite_test_data): Likewise.
26343 (floor_test_data): Likewise.
26344 (fma_test_data): Likewise.
26345 (fma_towardzero_test_data): Likewise.
26346 (fma_downward_test_data): Likewise.
26347 (fma_upward_test_data): Likewise.
26348 (fmax_test_data): Likewise.
26349 (fmin_test_data): Likewise.
26350 (fmod_test_data): Likewise.
26351 (fpclassify_test_data): Likewise.
26352 (frexp_test_data): Likewise.
26353 (gamma_test_data): Likewise.
26354 (hypot_test_data): Likewise.
26355 (ilogb_test_data): Likewise.
26356 (isfinite_test_data): Likewise.
26357 (isgreater_test_data): Likewise.
26358 (isgreaterequal_test_data): Likewise.
26359 (isinf_test_data): Likewise.
26360 (isless_test_data): Likewise.
26361 (islessequal_test_data): Likewise.
26362 (islessgreater_test_data): Likewise.
26363 (isnan_test_data): Likewise.
26364 (isnormal_test_data): Likewise.
26365 (issignaling_test_data): Likewise.
26366 (isunordered_test_data): Likewise.
26367 (j0_test_data): Likewise.
26368 (j1_test_data): Likewise.
26369 (jn_test_data): Likewise.
26370 (ldexp_test_data): Likewise.
26371 (lgamma_test_data): Likewise.
26372 (lrint_test_data): Likewise.
26373 (lrint_tonearest_test_data): Likewise.
26374 (lrint_towardzero_test_data): Likewise.
26375 (lrint_downward_test_data): Likewise.
26376 (lrint_upward_test_data): Likewise.
26377 (llrint_test_data): Likewise.
26378 (llrint_tonearest_test_data): Likewise.
26379 (llrint_towardzero_test_data): Likewise.
26380 (llrint_downward_test_data): Likewise.
26381 (llrint_upward_test_data): Likewise.
26382 (log_test_data): Likewise.
26383 (log10_test_data): Likewise.
26384 (log1p_test_data): Likewise.
26385 (log2_test_data): Likewise.
26386 (logb_test_data): Likewise.
26387 (logb_downward_test_data): Likewise.
26388 (lround_test_data): Likewise.
26389 (llround_test_data): Likewise.
26390 (modf_test_data): Likewise.
26391 (nearbyint_test_data): Likewise.
26392 (nextafter_test_data): Likewise.
26393 (nexttoward_test_data): Likewise.
26394 (pow_test_data): Likewise.
26395 (pow_tonearest_test_data): Likewise.
26396 (pow_towardzero_test_data): Likewise.
26397 (pow_downward_test_data): Likewise.
26398 (pow_upward_test_data): Likewise.
26399 (remainder_test_data): Likewise.
26400 (remainder_tonearest_test_data): Likewise.
26401 (remainder_towardzero_test_data): Likewise.
26402 (remainder_downward_test_data): Likewise.
26403 (remainder_upward_test_data): Likewise.
26404 (remquo_test_data): Likewise.
26405 (rint_test_data): Likewise.
26406 (rint_tonearest_test_data): Likewise.
26407 (rint_towardzero_test_data): Likewise.
26408 (rint_downward_test_data): Likewise.
26409 (rint_upward_test_data): Likewise.
26410 (round_test_data): Likewise.
26411 (scalb_test_data): Likewise.
26412 (scalbn_test_data): Likewise.
26413 (scalbln_test_data): Likewise.
26414 (signbit_test_data): Likewise.
26415 (sin_test_data): Likewise.
26416 (sin_tonearest_test_data): Likewise.
26417 (sin_towardzero_test_data): Likewise.
26418 (sin_downward_test_data): Likewise.
26419 (sin_upward_test_data): Likewise.
26420 (sincos_test_data): Likewise.
26421 (sinh_test_data): Likewise.
26422 (sinh_tonearest_test_data): Likewise.
26423 (sinh_towardzero_test_data): Likewise.
26424 (sinh_downward_test_data): Likewise.
26425 (sinh_upward_test_data): Likewise.
26426 (sqrt_test_data): Likewise.
26427 (tan_test_data): Likewise.
26428 (tan_tonearest_test_data): Likewise.
26429 (tan_towardzero_test_data): Likewise.
26430 (tan_downward_test_data): Likewise.
26431 (tan_upward_test_data): Likewise.
26432 (tanh_test_data): Likewise.
26433 (tgamma_test_data): Likewise.
26434 (trunc_test_data): Likewise.
26435 (y0_test_data): Likewise.
26436 (y1_test_data): Likewise.
26437 (yn_test_data): Likewise.
26438 (significand_test_data): Likewise.
26440 * math/gen-libm-test.pl (@functions): Remove variable.
26441 (generate_testfile): Don't handle START and END lines.
26442 * math/libm-test.inc (START): New macro.
26444 (END_COMPLEX): Likewise.
26445 (acos_test): Use END macro without arguments.
26446 (acos_test_tonearest): Likewise.
26447 (acos_test_towardzero): Likewise.
26448 (acos_test_downward): Likewise.
26449 (acos_test_upward): Likewise.
26450 (acosh_test): Likewise.
26451 (asin_test): Likewise.
26452 (asin_test_tonearest): Likewise.
26453 (asin_test_towardzero): Likewise.
26454 (asin_test_downward): Likewise.
26455 (asin_test_upward): Likewise.
26456 (asinh_test): Likewise.
26457 (atan_test): Likewise.
26458 (atanh_test): Likewise.
26459 (atan2_test): Likewise.
26460 (cabs_test): Likewise.
26461 (cacos_test): Use END_COMPLEX macro without arguments.
26462 (cacosh_test): Likewise.
26463 (carg_test): Use END macro without arguments.
26464 (casin_test): Use END_COMPLEX macro without arguments.
26465 (casinh_test): Likewise.
26466 (catan_test): Likewise.
26467 (catanh_test): Likewise.
26468 (cbrt_test): Use END macro without arguments.
26469 (ccos_test): Use END_COMPLEX macro without arguments.
26470 (ccosh_test): Likewise.
26471 (ceil_test): Use END macro without arguments.
26472 (cexp_test): Use END_COMPLEX macro without arguments.
26473 (cimag_test): Use END macro without arguments.
26474 (clog_test): Use END_COMPLEX macro without arguments.
26475 (clog10_test): Likewise.
26476 (conj_test): Likewise.
26477 (copysign_test): Use END macro without arguments.
26478 (cos_test): Likewise.
26479 (cos_test_tonearest): Likewise.
26480 (cos_test_towardzero): Likewise.
26481 (cos_test_downward): Likewise.
26482 (cos_test_upward): Likewise.
26483 (cosh_test): Likewise.
26484 (cosh_test_tonearest): Likewise.
26485 (cosh_test_towardzero): Likewise.
26486 (cosh_test_downward): Likewise.
26487 (cosh_test_upward): Likewise.
26488 (cpow_test): Use END_COMPLEX macro without arguments.
26489 (cproj_test): Likewise.
26490 (creal_test): Use END macro without arguments.
26491 (csin_test): Use END_COMPLEX macro without arguments.
26492 (csinh_test): Likewise.
26493 (csqrt_test): Likewise.
26494 (ctan_test): Likewise.
26495 (ctan_test_tonearest): Likewise.
26496 (ctan_test_towardzero): Likewise.
26497 (ctan_test_downward): Likewise.
26498 (ctan_test_upward): Likewise.
26499 (ctanh_test): Likewise.
26500 (ctanh_test_tonearest): Likewise.
26501 (ctanh_test_towardzero): Likewise.
26502 (ctanh_test_downward): Likewise.
26503 (ctanh_test_upward): Likewise.
26504 (erf_test): Use END macro without arguments.
26505 (erfc_test): Likewise.
26506 (exp_test): Likewise.
26507 (exp_test_tonearest): Likewise.
26508 (exp_test_towardzero): Likewise.
26509 (exp_test_downward): Likewise.
26510 (exp_test_upward): Likewise.
26511 (exp10_test): Likewise.
26512 (exp2_test): Likewise.
26513 (expm1_test): Likewise.
26514 (fabs_test): Likewise.
26515 (fdim_test): Likewise.
26516 (finite_test): Likewise.
26517 (floor_test): Likewise.
26518 (fma_test): Likewise.
26519 (fma_test_towardzero): Likewise.
26520 (fma_test_downward): Likewise.
26521 (fma_test_upward): Likewise.
26522 (fmax_test): Likewise.
26523 (fmin_test): Likewise.
26524 (fmod_test): Likewise.
26525 (fpclassify_test): Likewise.
26526 (frexp_test): Likewise.
26527 (gamma_test): Likewise.
26528 (hypot_test): Likewise.
26529 (ilogb_test): Likewise.
26530 (isfinite_test): Likewise.
26531 (isgreater_test): Likewise.
26532 (isgreaterequal_test): Likewise.
26533 (isinf_test): Likewise.
26534 (isless_test): Likewise.
26535 (islessequal_test): Likewise.
26536 (islessgreater_test): Likewise.
26537 (isnan_test): Likewise.
26538 (isnormal_test): Likewise.
26539 (issignaling_test): Likewise.
26540 (isunordered_test): Likewise.
26541 (j0_test): Likewise.
26542 (j1_test): Likewise.
26543 (jn_test): Likewise.
26544 (ldexp_test): Likewise.
26545 (lgamma_test): Likewise.
26546 (lrint_test): Likewise.
26547 (lrint_test_tonearest): Likewise.
26548 (lrint_test_towardzero): Likewise.
26549 (lrint_test_downward): Likewise.
26550 (lrint_test_upward): Likewise.
26551 (llrint_test): Likewise.
26552 (llrint_test_tonearest): Likewise.
26553 (llrint_test_towardzero): Likewise.
26554 (llrint_test_downward): Likewise.
26555 (llrint_test_upward): Likewise.
26556 (log_test): Likewise.
26557 (log10_test): Likewise.
26558 (log1p_test): Likewise.
26559 (log2_test): Likewise.
26560 (logb_test): Likewise.
26561 (logb_test_downward): Likewise.
26562 (lround_test): Likewise.
26563 (llround_test): Likewise.
26564 (modf_test): Likewise.
26565 (nearbyint_test): Likewise.
26566 (nextafter_test): Likewise.
26567 (nexttoward_test): Likewise.
26568 (pow_test): Likewise.
26569 (pow_test_tonearest): Likewise.
26570 (pow_test_towardzero): Likewise.
26571 (pow_test_downward): Likewise.
26572 (pow_test_upward): Likewise.
26573 (remainder_test): Likewise.
26574 (remainder_test_tonearest): Likewise.
26575 (remainder_test_towardzero): Likewise.
26576 (remainder_test_downward): Likewise.
26577 (remainder_test_upward): Likewise.
26578 (remquo_test): Likewise.
26579 (rint_test): Likewise.
26580 (rint_test_tonearest): Likewise.
26581 (rint_test_towardzero): Likewise.
26582 (rint_test_downward): Likewise.
26583 (rint_test_upward): Likewise.
26584 (round_test): Likewise.
26585 (scalb_test): Likewise.
26586 (scalbn_test): Likewise.
26587 (scalbln_test): Likewise.
26588 (signbit_test): Likewise.
26589 (sin_test): Likewise.
26590 (sin_test_tonearest): Likewise.
26591 (sin_test_towardzero): Likewise.
26592 (sin_test_downward): Likewise.
26593 (sin_test_upward): Likewise.
26594 (sincos_test): Likewise.
26595 (sinh_test): Likewise.
26596 (sinh_test_tonearest): Likewise.
26597 (sinh_test_towardzero): Likewise.
26598 (sinh_test_downward): Likewise.
26599 (sinh_test_upward): Likewise.
26600 (sqrt_test): Likewise.
26601 (tan_test): Likewise.
26602 (tan_test_tonearest): Likewise.
26603 (tan_test_towardzero): Likewise.
26604 (tan_test_downward): Likewise.
26605 (tan_test_upward): Likewise.
26606 (tanh_test): Likewise.
26607 (tgamma_test): Likewise.
26608 (trunc_test): Likewise.
26609 (y0_test): Likewise.
26610 (y1_test): Likewise.
26611 (yn_test): Likewise.
26612 (significand_test): Likewise.
26614 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
26617 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26619 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26622 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26623 __ppc_mdoio and __ppc_mdoom.
26624 * manual/platform.texi: Document new functions __ppc_yield,
26625 __ppc_mdoio and __ppc_mdoom.
26627 2013-05-22 Carlos O'Donell <carlos@redhat.com>
26629 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26630 (main): Mention "tls" pseudo-hwcap is legacy.
26631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26633 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26635 * math/gen-libm-test.pl (parse_args): Output only string of
26636 arguments as text for test name, not full call or descriptions of
26637 tests for extra outputs.
26638 (generate_testfile): Do not pass function name to parse_args.
26639 Generate this_func variable from START.
26640 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26642 (struct test_ff_f_data): Likewise.
26643 (test_ff_f_data_nexttoward): Likewise.
26644 (struct test_fi_f_data): Likewise.
26645 (struct test_fl_f_data): Likewise.
26646 (struct test_if_f_data): Likewise.
26647 (struct test_fff_f_data): Likewise.
26648 (struct test_c_f_data): Likewise.
26649 (struct test_f_f1_data): Likewise. Remove field extra_name.
26650 (struct test_fF_f1_data): Likewise.
26651 (struct test_ffI_f1_data): Likewise.
26652 (struct test_c_c_data): Rename test_name field to arg_str.
26653 (struct test_cc_c_data): Likewise.
26654 (struct test_f_i_data): Likewise.
26655 (struct test_ff_i_data): Likewise.
26656 (struct test_f_l_data): Likewise.
26657 (struct test_f_L_data): Likewise.
26658 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26660 (COMMON_TEST_SETUP): New macro.
26661 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26662 (COMMON_TEST_CLEANUP): Likewise.
26663 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26664 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26666 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26667 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26669 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26670 (RUN_TEST_fff_f): Take argument string. Call new setup and
26672 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26673 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26675 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26676 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26678 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26679 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26681 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26682 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26684 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26685 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26687 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26688 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26690 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26691 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26693 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26694 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26696 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26697 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26699 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26700 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26702 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26703 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26705 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26706 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26708 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26709 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26711 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26712 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26714 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26715 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26717 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26719 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26721 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26722 to _sifields.sigfault.
26723 (si_addr_lsb): Define new macro.
26724 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26726 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26728 2013-05-03 Carlos O'Donell <carlos at redhat.com>
26731 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26733 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26735 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26736 loading the domain.
26738 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26740 * math/gen-libm-test.pl (parse_args): Do not include expected
26741 result in test name.
26742 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26745 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26746 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26749 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26751 * benchtests/Makefile: Sort function entries.
26753 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26754 tanh, asinh, acosh, atanh.
26755 * benchtests/acos-inputs: New file.
26756 * benchtests/acosh-inputs: New file.
26757 * benchtests/asin-inputs: New file.
26758 * benchtests/asinh-inputs: New file.
26759 * benchtests/atanh-inputs: New file.
26760 * benchtests/cosh-inputs: New file.
26761 * benchtests/log-inputs: New file.
26762 * benchtests/sinh-inputs: New file.
26763 * benchtests/tanh-inputs: New file.
26765 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26768 * posix/tst-getaddrinfo4.c: New test.
26769 * posix/Makefile (tests): Add it.
26771 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26774 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26775 when no services were used.
26776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26777 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26779 2013-05-21 Andreas Schwab <schwab@suse.de>
26782 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26783 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26785 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26786 redundant variable declarations and reallocation of buffer when
26787 parsing as IPv6 address. Always set NSS status when called from
26788 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26789 buffer too small. Correct computation of needed size.
26790 * nss/Makefile (tests): Add test-digits-dots.
26791 * nss/test-digits-dots.c: New test.
26793 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26795 * benchtests/Makefile: Remove instructions for adding
26797 * benchtests/README: New file to explain how to execute and
26798 enhance the benchmark tests.
26800 2013-05-21 Andreas Schwab <schwab@suse.de>
26803 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26804 * setjmp/tst-sigsetjmp.c: New test.
26806 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26808 * sysdeps/x86_64/memset.S (memset): New implementation.
26809 (__bzero): Likewise.
26810 (__memset_tail): New function.
26812 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26814 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26815 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26816 __memcpy_sse2_unaligned ifunc selection.
26817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26818 Add memcpy-sse2-unaligned.S.
26819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26820 Add: __memcpy_sse2_unaligned.
26822 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26825 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26826 math_force_eval before restoring floating-point envrionment.
26827 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26830 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26832 (__nearbyintl): Use math_force_eval before restoring
26833 floating-point environment.
26834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26836 * math/gen-libm-test.pl (special_functions): Remove.
26837 (parse_args): Don't handle TEST_extra. Handle functions with no
26839 * math/libm-test.inc (struct test_sincos_data): Replace with
26840 struct test_fFF_11_data.
26841 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26842 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26843 (sincos_test_data): Change element type to struct
26844 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26845 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26846 RUN_TEST_LOOP_sincos.
26847 * math/README.libm-test: Don't mention special handling of
26848 individual functions.
26849 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26851 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26852 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26853 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26856 * math/gen-libm-test.pl (get_variable): Remove function.
26857 (parse_args): Don't show pointer parameters to call in test
26858 names. Use "extra output N" in test names for extra outputs
26859 rather than naming variables.
26861 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26864 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26865 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26866 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26868 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26870 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26873 * math/gen-libm-test.pl (@tests): Remove variable.
26874 ($count): Likewise.
26875 (new_test): Remove function.
26876 (show_exceptions): New function.
26877 (special_functions): Use show_exceptions instead of new_test.
26878 (parse_args): Likewise.
26879 (generate_testfile): Pass only function name in generated call to
26880 print_max_error or print_complex_max_error.
26881 (get_ulps): Do not handle complex tests specially.
26882 (output_test): Rename to ...
26883 (get_all_ulps_for_test): ... this. Return a string rather than
26884 printing to a file. Require ulps to be present.
26885 (output_ulps): Generate arrays rather than #defines.
26886 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26887 (struct ulp_data): New type.
26888 (BUILD_COMPLEX_ULP): Remove macro.
26889 (compare_ulp_data): New function.
26890 (find_ulps): Likewise.
26891 (find_test_ulps): Likewise.
26892 (find_function_ulps): Likewise.
26893 (find_complex_function_ulps): Likewise.
26894 (print_max_error): Determine allowed ulps using
26895 find_function_ulps.
26896 (print_complex_max_error): Determine allowed ulps using
26897 find_complex_function_ulps.
26898 (check_float_internal): Determine max ulps using find_test_ulps.
26899 (check_float): Do not take max_ulp parameter. Update call to
26900 check_float_internal.
26901 (check_complex): Likewise.
26902 (check_int): Do not take max_ulp parameter.
26903 (check_long): Likewise.
26904 (check_bool): Likewise.
26905 (check_longlong): Likewise.
26906 (struct test_f_f_data): Remove max_ulp field.
26907 (struct test_ff_f_data): Likewise.
26908 (struct test_ff_f_data_nexttoward): Likewise.
26909 (struct test_fi_f_data): Likewise.
26910 (struct test_fl_f_data): Likewise.
26911 (struct test_if_f_data): Likewise.
26912 (struct test_fff_f_data): Likewise.
26913 (struct test_c_f_data): Likewise.
26914 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26915 (struct test_fF_f1_data): Likewise.
26916 (struct test_ffI_f1_data): Likewise.
26917 (struct test_c_c_data): Remove max_ulp field.
26918 (struct test_cc_c_data): Likewise.
26919 (struct test_f_i_data): Likewise.
26920 (struct test_ff_i_data): Likewise.
26921 (struct test_f_l_data): Likewise.
26922 (struct test_f_L_data): Likewise.
26923 (struct test_sincos_data): Likewise.
26924 (RUN_TEST_f_f): Do not handle ulps.
26925 (RUN_TEST_LOOP_f_f): Likewise.
26926 (RUN_TEST_2_f): Likewise.
26927 (RUN_TEST_LOOP_2_f): Likewise.
26928 (RUN_TEST_fff_f): Likewise.
26929 (RUN_TEST_LOOP_fff_f): Likewise.
26930 (RUN_TEST_c_f): Likewise.
26931 (RUN_TEST_LOOP_c_f): Likewise.
26932 (RUN_TEST_f_f1): Likewise.
26933 (RUN_TEST_LOOP_f_f1): Likewise.
26934 (RUN_TEST_fF_f1): Likewise.
26935 (RUN_TEST_LOOP_fF_f1): Likewise.
26936 (RUN_TEST_fI_f1): Likewise.
26937 (RUN_TEST_LOOP_fI_f1): Likewise.
26938 (RUN_TEST_ffI_f1): Likewise.
26939 (RUN_TEST_LOOP_ffI_f1): Likewise.
26940 (RUN_TEST_c_c): Likewise.
26941 (RUN_TEST_LOOP_c_c): Likewise.
26942 (RUN_TEST_cc_c): Likewise.
26943 (RUN_TEST_LOOP_cc_c): Likewise.
26944 (RUN_TEST_f_i): Likewise.
26945 (RUN_TEST_LOOP_f_i): Likewise.
26946 (RUN_TEST_f_i_tg): Likewise.
26947 (RUN_TEST_LOOP_f_i_tg): Likewise.
26948 (RUN_TEST_ff_i_tg): Likewise.
26949 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26950 (RUN_TEST_f_b): Likewise.
26951 (RUN_TEST_LOOP_f_b): Likewise.
26952 (RUN_TEST_f_b_tg): Likewise.
26953 (RUN_TEST_LOOP_f_b_tg): Likewise.
26954 (RUN_TEST_f_l): Likewise.
26955 (RUN_TEST_LOOP_f_l): Likewise.
26956 (RUN_TEST_f_L): Likewise.
26957 (RUN_TEST_LOOP_f_L): Likewise.
26958 (RUN_TEST_sincos): Likewise.
26959 (RUN_TEST_LOOP_sincos): Likewise.
26961 2013-05-17 Joseph Myers <joseph@codesourcery.com>
26965 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26966 main case of finite arguments, set rounding mode to FE_TONEAREST
26967 and discard exceptions.
26968 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26970 (remainder_tonearest_test_data): New variable.
26971 (remainder_test_tonearest): New function.
26972 (remainder_towardzero_test_data): New variable.
26973 (remainder_test_towardzero): New function.
26974 (remainder_downward_test_data): New variable.
26975 (remainder_test_downward): New function.
26976 (remainder_upward_test_data): New variable.
26977 (remainder_test_upward): New function.
26978 (main): Call the new test functions.
26980 * math/libm-test.inc (struct test_f_f1_data): Remove field
26982 (struct test_fF_f1_data): Likewise.
26983 (struct test_ffI_f1_data): Likewise.
26984 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26985 based on value of EXTRA_EXPECTED.
26986 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26987 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26988 EXTRA_VAR based on value of EXTRA_EXPECTED.
26989 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26990 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26991 EXTRA_VAR based on value of EXTRA_EXPECTED.
26992 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26993 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26994 EXTRA_VAR based on value of EXTRA_EXPECTED.
26995 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26996 * math/gen-libm-test.pl (parse_args): Don't output initializers
26997 for extra output values.
26999 * math/libm-test.inc (check_int): Expect result to be exactly
27000 equal to expected value and do not handle ulps.
27001 (check_long): Likewise.
27002 (check_longlong): Likewise.
27004 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27006 (cimag_test_data): Likewise.
27007 (conj_test_data): Likewise.
27008 (copysign_test_data): Likewise.
27009 (cproj_test_data): Likewise.
27010 (creal_test_data): Likewise.
27011 (fabs_test_data): Likewise.
27012 (fdim_test_data): Likewise.
27013 (finite_test_data): Likewise.
27014 (floor_test_data): Likewise.
27015 (fmax_test_data): Likewise.
27016 (fmin_test_data): Likewise.
27017 (fmod_test_data): Likewise.
27018 (fpclassify_test_data): Likewise.
27019 (frexp_test_data): Likewise.
27020 (ilogb_test_data): Likewise.
27021 (isfinite_test_data): Likewise.
27022 (isgreater_test_data): Likewise.
27023 (isgreaterequal_test_data): Likewise.
27024 (isinf_test_data): Likewise.
27025 (isless_test_data): Likewise.
27026 (islessequal_test_data): Likewise.
27027 (islessgreater_test_data): Likewise.
27028 (isnan_test_data): Likewise.
27029 (isnormal_test_data): Likewise.
27030 (issignaling_test_data): Likewise.
27031 (isunordered_test_data): Likewise.
27032 (ldexp_test_data): Likewise.
27033 (lrint_test_data): Likewise.
27034 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27035 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27036 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27037 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27038 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27039 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27041 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27042 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27043 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27044 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27046 (lrint_downward_test_data): Test for "inexact" exceptions.
27047 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27048 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27049 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27051 (lrint_upward_test_data): Test for "inexact" exceptions.
27052 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27054 (llrint_test_data): Test for "inexact" exceptions.
27055 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27056 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27057 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27058 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27059 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27060 (llrint_downward_test_data): Test for "inexact" exceptions.
27061 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27062 (llrint_upward_test_data): Test for "inexact" exceptions.
27063 (logb_test_data): Likewise.
27064 (logb_downward_test_data): Likewise.
27065 (nextafter_test_data): Likewise.
27066 (nexttoward_test_data): Likewise.
27067 (remainder_test_data): Likewise.
27068 (remquo_test_data): Likewise.
27069 (scalbn_test_data): Likewise.
27070 (scalbln_test_data): Likewise.
27071 (signbit_test_data): Likewise.
27072 (sqrt_test_data): Likewise.
27073 (significand_test_data): Likewise.
27075 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27078 * benchtests/bench-modf.c (struct args): Mark arg0 as
27080 * scripts/bench.pl: Mark members of struct args as volatile.
27082 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27085 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27086 negative infinity on POWER6 or lower.
27087 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27089 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27092 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27093 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27094 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27095 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27096 (_FP_SETQNAN): New macro.
27097 (_FP_SETQNAN_SEMIRAW): Likewise.
27098 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27099 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27100 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27101 (FP_EXTEND): Use _FP_FRAC_SNANP.
27102 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27103 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27105 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27107 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27110 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27112 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27113 with DIVIDE_BY_ZERO_EXCEPTION.
27114 (gamma_test_data): Likewise.
27115 (lgamma_test_data): Likewise.
27116 (log_test_data): Likewise.
27117 (log10_test_data): Likewise.
27118 (log2_test_data): Likewise.
27119 (tgamma_test_data): Likewise.
27121 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27122 (acos_test_tonearest): Likewise.
27123 (acos_test_towardzero): Likewise.
27124 (acos_test_downward): Likewise.
27125 (acos_test_upward): Likewise.
27126 (acosh_test): Likewise.
27127 (asin_test): Likewise.
27128 (asin_test_tonearest): Likewise.
27129 (asin_test_towardzero): Likewise.
27130 (asin_test_downward): Likewise.
27131 (asin_test_upward): Likewise.
27132 (asinh_test): Likewise.
27133 (atan_test): Likewise.
27134 (atanh_test): Likewise.
27135 (atan2_test): Likewise.
27136 (cabs_test): Likewise.
27137 (cacos_test): Likewise.
27138 (cacosh_test): Likewise.
27139 (casin_test): Likewise.
27140 (casinh_test): Likewise.
27141 (catan_test): Likewise.
27142 (catanh_test): Likewise.
27143 (cbrt_test): Likewise.
27144 (ccos_test): Likewise.
27145 (ccosh_test): Likewise.
27146 (cexp_test): Likewise.
27147 (clog_test): Likewise.
27148 (clog10_test): Likewise.
27149 (cos_test): Likewise.
27150 (cos_test_tonearest): Likewise.
27151 (cos_test_towardzero): Likewise.
27152 (cos_test_downward): Likewise.
27153 (cos_test_upward): Likewise.
27154 (cosh_test): Likewise.
27155 (cosh_test_tonearest): Likewise.
27156 (cosh_test_towardzero): Likewise.
27157 (cosh_test_downward): Likewise.
27158 (cosh_test_upward): Likewise.
27159 (cpow_test): Likewise.
27160 (csin_test): Likewise.
27161 (csinh_test): Likewise.
27162 (csqrt_test): Likewise.
27163 (ctan_test): Likewise.
27164 (ctan_test_tonearest): Likewise.
27165 (ctan_test_towardzero): Likewise.
27166 (ctan_test_downward): Likewise.
27167 (ctan_test_upward): Likewise.
27168 (ctanh_test): Likewise.
27169 (ctanh_test_tonearest): Likewise.
27170 (ctanh_test_towardzero): Likewise.
27171 (ctanh_test_downward): Likewise.
27172 (ctanh_test_upward): Likewise.
27173 (erf_test): Likewise.
27174 (erfc_test): Likewise.
27175 (exp_test): Likewise.
27176 (exp_test_tonearest): Likewise.
27177 (exp_test_towardzero): Likewise.
27178 (exp_test_downward): Likewise.
27179 (exp_test_upward): Likewise.
27180 (exp10_test): Likewise.
27181 (exp2_test): Likewise.
27182 (expm1_test): Likewise.
27183 (fmod_test): Likewise.
27184 (gamma_test): Likewise.
27185 (hypot_test): Likewise.
27186 (j0_test): Likewise.
27187 (j1_test): Likewise.
27188 (jn_test): Likewise.
27189 (lgamma_test): Likewise.
27190 (log_test): Likewise.
27191 (log10_test): Likewise.
27192 (log1p_test): Likewise.
27193 (log2_test): Likewise.
27194 (logb_test_downward): Likewise.
27195 (pow_test): Likewise.
27196 (pow_test_tonearest): Likewise.
27197 (pow_test_towardzero): Likewise.
27198 (pow_test_downward): Likewise.
27199 (pow_test_upward): Likewise.
27200 (remainder_test): Likewise.
27201 (remquo_test): Likewise.
27202 (sin_test): Likewise.
27203 (sin_test_tonearest): Likewise.
27204 (sin_test_towardzero): Likewise.
27205 (sin_test_downward): Likewise.
27206 (sin_test_upward): Likewise.
27207 (sincos_test): Likewise.
27208 (sinh_test): Likewise.
27209 (sinh_test_tonearest): Likewise.
27210 (sinh_test_towardzero): Likewise.
27211 (sinh_test_downward): Likewise.
27212 (sinh_test_upward): Likewise.
27213 (sqrt_test): Likewise.
27214 (tan_test): Likewise.
27215 (tan_test_tonearest): Likewise.
27216 (tan_test_towardzero): Likewise.
27217 (tan_test_downward): Likewise.
27218 (tan_test_upward): Likewise.
27219 (tanh_test): Likewise.
27220 (tgamma_test): Likewise.
27221 (y0_test): Likewise.
27222 (y1_test): Likewise.
27223 (yn_test): Likewise.
27225 * math/gen-libm-test.pl (adjust_arg): Remove function.
27226 (special_function): Remove argument $in_func. Only handle
27227 generating output for tables of tests, not inside functions.
27228 (parse_args): Likewise.
27229 (generate_testfile): Remove variable $in_func. Update call to
27231 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27232 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27233 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27234 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27235 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27236 (MAX_VALUE_INIT): Rename macro to max_value.
27237 (MIN_VALUE_INIT): Rename macro to min_value.
27238 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27239 (plus_zero): Remove variable.
27240 (minus_zero): Likewise.
27241 (plus_infty): Likewise.
27242 (minus_infty): Likewise.
27243 (qnan_value): Likewise.
27244 (max_value): Likewise.
27245 (min_value): Likewise.
27246 (min_subnorm_value): Likewise.
27248 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27250 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27251 uint64_t or uint32_t usage.
27252 * crypt/sha256-block.c: Likewise.
27253 * crypt/sha256-crypt.c: Likewise.
27254 * crypt/sha256.c: Likewise.
27255 * crypt/sha512-block.c: Likewise.
27256 * crypt/sha512-crypt.c: Likewise.
27257 * crypt/sha512.c: Likewise.
27258 * debug/backtrace-tst.c: Likewise.
27259 * debug/pcprofiledump.c: Likewise.
27260 * elf/cache.c: Likewise.
27261 * elf/dl-cache.c: Likewise.
27262 * elf/dl-misc.c: Likewise.
27263 * elf/dl-profile.c: Likewise.
27264 * elf/dl-support.c: Likewise.
27265 * elf/ldconfig.c: Likewise.
27266 * elf/sprof.c: Likewise.
27267 * iconv/dummy-repertoire.c: Likewise.
27268 * iconv/iconv_charmap.c: Likewise.
27269 * iconv/skeleton.c: Likewise.
27270 * iconvdata/8bit-generic.c: Likewise.
27271 * iconvdata/cp737.h: Likewise.
27272 * iconvdata/cp775.h: Likewise.
27273 * iconvdata/ibm1008.h: Likewise.
27274 * iconvdata/ibm1025.h: Likewise.
27275 * iconvdata/ibm1046.h: Likewise.
27276 * iconvdata/ibm1097.h: Likewise.
27277 * iconvdata/ibm1112.h: Likewise.
27278 * iconvdata/ibm1122.h: Likewise.
27279 * iconvdata/ibm1123.h: Likewise.
27280 * iconvdata/ibm1124.h: Likewise.
27281 * iconvdata/ibm1129.h: Likewise.
27282 * iconvdata/ibm1130.h: Likewise.
27283 * iconvdata/ibm1132.h: Likewise.
27284 * iconvdata/ibm1133.h: Likewise.
27285 * iconvdata/ibm1137.h: Likewise.
27286 * iconvdata/ibm1140.h: Likewise.
27287 * iconvdata/ibm1141.h: Likewise.
27288 * iconvdata/ibm1142.h: Likewise.
27289 * iconvdata/ibm1143.h: Likewise.
27290 * iconvdata/ibm1144.h: Likewise.
27291 * iconvdata/ibm1145.h: Likewise.
27292 * iconvdata/ibm1146.h: Likewise.
27293 * iconvdata/ibm1147.h: Likewise.
27294 * iconvdata/ibm1148.h: Likewise.
27295 * iconvdata/ibm1149.h: Likewise.
27296 * iconvdata/ibm1153.h: Likewise.
27297 * iconvdata/ibm1154.h: Likewise.
27298 * iconvdata/ibm1155.h: Likewise.
27299 * iconvdata/ibm1156.h: Likewise.
27300 * iconvdata/ibm1157.h: Likewise.
27301 * iconvdata/ibm1158.h: Likewise.
27302 * iconvdata/ibm1160.h: Likewise.
27303 * iconvdata/ibm1161.h: Likewise.
27304 * iconvdata/ibm1162.h: Likewise.
27305 * iconvdata/ibm1163.h: Likewise.
27306 * iconvdata/ibm1164.h: Likewise.
27307 * iconvdata/ibm1166.h: Likewise.
27308 * iconvdata/ibm1167.h: Likewise.
27309 * iconvdata/ibm12712.h: Likewise.
27310 * iconvdata/ibm1390.h: Likewise.
27311 * iconvdata/ibm1399.h: Likewise.
27312 * iconvdata/ibm16804.h: Likewise.
27313 * iconvdata/ibm4517.h: Likewise.
27314 * iconvdata/ibm4899.h: Likewise.
27315 * iconvdata/ibm4909.h: Likewise.
27316 * iconvdata/ibm4971.h: Likewise.
27317 * iconvdata/ibm5347.h: Likewise.
27318 * iconvdata/ibm803.h: Likewise.
27319 * iconvdata/ibm856.h: Likewise.
27320 * iconvdata/ibm901.h: Likewise.
27321 * iconvdata/ibm902.h: Likewise.
27322 * iconvdata/ibm9030.h: Likewise.
27323 * iconvdata/ibm9066.h: Likewise.
27324 * iconvdata/ibm921.h: Likewise.
27325 * iconvdata/ibm922.h: Likewise.
27326 * iconvdata/ibm9448.h: Likewise.
27327 * iconvdata/isiri-3342.h: Likewise.
27328 * iconvdata/jis0201.h: Likewise.
27329 * include/link.h: Likewise.
27330 * include/netdb.h: Likewise.
27331 * inet/check_native.c: Likewise.
27332 * inet/check_pf.c: Likewise.
27333 * inet/getipv4sourcefilter.c: Likewise.
27334 * inet/getnameinfo.c: Likewise.
27335 * inet/getsourcefilter.c: Likewise.
27336 * inet/htonl.c: Likewise.
27337 * inet/setipv4sourcefilter.c: Likewise.
27338 * inet/setsourcefilter.c: Likewise.
27339 * inet/test-inet6_opt.c: Likewise.
27340 * inet/tst-network.c: Likewise.
27341 * locale/C-collate.c: Likewise.
27342 * locale/C-ctype.c: Likewise.
27343 * locale/C-time.c: Likewise.
27344 * locale/C-translit.h: Likewise.
27345 * locale/loadarchive.c: Likewise.
27346 * locale/programs/3level.h: Likewise.
27347 * locale/programs/charmap.c: Likewise.
27348 * locale/programs/charmap.h: Likewise.
27349 * locale/programs/ld-address.c: Likewise.
27350 * locale/programs/ld-collate.c: Likewise.
27351 * locale/programs/ld-ctype.c: Likewise.
27352 * locale/programs/ld-identification.c: Likewise.
27353 * locale/programs/ld-measurement.c: Likewise.
27354 * locale/programs/ld-messages.c: Likewise.
27355 * locale/programs/ld-monetary.c: Likewise.
27356 * locale/programs/ld-name.c: Likewise.
27357 * locale/programs/ld-numeric.c: Likewise.
27358 * locale/programs/ld-paper.c: Likewise.
27359 * locale/programs/ld-telephone.c: Likewise.
27360 * locale/programs/ld-time.c: Likewise.
27361 * locale/programs/linereader.c: Likewise.
27362 * locale/programs/locale.c: Likewise.
27363 * locale/programs/locarchive.c: Likewise.
27364 * locale/programs/locfile.h: Likewise.
27365 * locale/programs/repertoire.c: Likewise.
27366 * locale/programs/simple-hash.c: Likewise.
27367 * locale/programs/simple-hash.h: Likewise.
27368 * malloc/memusage.c: Likewise.
27369 * malloc/memusagestat.c: Likewise.
27370 * nis/nis_defaults.c: Likewise.
27371 * nis/nis_hash.c: Likewise.
27372 * nis/nis_print.c: Likewise.
27373 * nis/nis_xdr.c: Likewise.
27374 * nscd/connections.c: Likewise.
27375 * nscd/hstcache.c: Likewise.
27376 * nscd/nscd_gethst_r.c: Likewise.
27377 * nscd/nscd_getserv_r.c: Likewise.
27378 * nscd/nscd_helper.c: Likewise.
27379 * nscd/servicescache.c: Likewise.
27380 * nss/makedb.c: Likewise.
27381 * nss/nss_db/db-XXX.c: Likewise.
27382 * nss/nss_db/db-initgroups.c: Likewise.
27383 * nss/nss_db/db-netgrp.c: Likewise.
27384 * nss/nss_files/files-network.c: Likewise.
27385 * nss/nss_files/files-parse.c: Likewise.
27386 * posix/bug-regex5.c: Likewise.
27387 * posix/fnmatch_loop.c: Likewise.
27388 * posix/regcomp.c: Likewise.
27389 * posix/regexec.c: Likewise.
27390 * posix/tst-rfc3484-2.c: Likewise.
27391 * posix/tst-rfc3484-3.c: Likewise.
27392 * posix/tst-rfc3484.c: Likewise.
27393 * resolv/nss_dns/dns-canon.c: Likewise.
27394 * resolv/nss_dns/dns-network.c: Likewise.
27395 * resolv/res_init.c: Likewise.
27396 * resolv/res_mkquery.c: Likewise.
27397 * resolv/tst-aton.c: Likewise.
27398 * stdlib/cxa_atexit.c: Likewise.
27399 * stdlib/cxa_finalize.c: Likewise.
27400 * stdlib/gen-fpioconst.c: Likewise.
27401 * stdlib/strtol_l.c: Likewise.
27402 * string/tst-endian.c: Likewise.
27403 * sunrpc/auth_des.c: Likewise.
27404 * sunrpc/clnt_udp.c: Likewise.
27405 * sunrpc/rtime.c: Likewise.
27406 * sunrpc/svcauth_des.c: Likewise.
27407 * sunrpc/xdr.c: Likewise.
27408 * sunrpc/xdr_intXX_t.c: Likewise.
27409 * sunrpc/xdr_rec.c: Likewise.
27410 * sysdeps/generic/ldconfig.h: Likewise.
27411 * sysdeps/generic/ldsodefs.h: Likewise.
27412 * sysdeps/generic/memusage.h: Likewise.
27413 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27415 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27416 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27419 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27421 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27423 * sysdeps/posix/getaddrinfo.c: Likewise.
27424 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27425 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27426 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27427 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27428 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27429 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27430 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27431 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27432 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27433 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27434 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27435 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27436 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27437 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27438 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27439 * sysdeps/x86_64/dl-tls.h: Likewise.
27440 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27441 * time/alt_digit.c: Likewise.
27442 * time/era.c: Likewise.
27443 * wcsmbs/tst-c16c32-1.c: Likewise.
27445 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27447 * math/libm-test.inc (struct test_sincos_data): New type.
27448 (RUN_TEST_LOOP_sincos): New macro.
27449 (sincos_test_data): New variable.
27450 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27452 2013-05-16 Richard Henderson <rth@redhat.com>
27454 * math/atest-exp2.c (LIMB64): New macro.
27455 (CONSTSZ): New macro.
27456 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27458 (print_mpn_fp): ... to function scope.
27459 (read_mpn_hex): Remove.
27460 (get_log2): Remove.
27461 (exp2_mpn): Use mp_log2.
27462 (main): Use mp_exp1.
27464 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27466 * math/libm-test.inc: Remove comment about not testing "inexact"
27468 (INEXACT_EXCEPTION): New macro.
27469 (NO_INEXACT_EXCEPTION): Likewise.
27470 (INVALID_EXCEPTION_OK): Update value.
27471 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27472 (OVERFLOW_EXCEPTION_OK): Likewise.
27473 (UNDERFLOW_EXCEPTION_OK): Likewise.
27474 (IGNORE_ZERO_INF_SIGN): Likewise.
27475 (ERRNO_UNCHANGED): Likewise.
27476 (ERRNO_EDOM): Likewise.
27477 (ERRNO_ERANGE): Likewise.
27478 (test_exceptions): Handle testing "inexact" exceptions.
27479 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27480 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27481 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27482 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27484 (rint_towardzero_test_data): Likewise.
27485 (rint_downward_test_data): Likewise.
27486 (rint_upward_test_data): Likewise.
27488 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27489 with OVERFLOW_EXCEPTION.
27490 (exp10_test_data): Likewise.
27491 (exp2_test_data): Likewise.
27492 (expm1_test_data): Likewise.
27493 (lgamma_test_data): Likewise.
27494 (pow_test_data): Likewise.
27495 (tgamma_test_data): Likewise.
27496 (yn_test_data): Remove duplicate test of overflow.
27498 * math/libm-test.inc (struct test_cc_c_data): New type.
27499 (RUN_TEST_LOOP_cc_c): New macro.
27500 (cpow_test_data): New variable.
27501 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27503 * math/libm-test.inc (struct test_f_L_data): New type.
27504 (RUN_TEST_LOOP_f_L): New macro.
27505 (llrint_test_data): New variable.
27506 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27507 (llrint_tonearest_test_data): New variable.
27508 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27509 (llrint_towardzero_test_data): New variable.
27510 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27511 (llrint_downward_test_data): New variable.
27512 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27513 (llrint_upward_test_data): New variable.
27514 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27515 (llround_test_data): New variable.
27516 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27518 2013-05-13 Peter Collingbourne <pcc@google.com>
27520 * math/atest-exp2.c (get_log2): Remove const attribute.
27522 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27524 * math/libm-test.inc (struct test_f_l_data): New type.
27525 (RUN_TEST_LOOP_f_l): New macro.
27526 (lrint_test_data): New variable.
27527 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27528 (lrint_tonearest_test_data): New variable.
27529 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27530 (lrint_towardzero_test_data): New variable.
27531 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27532 (lrint_downward_test_data): New variable.
27533 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27534 (lrint_upward_test_data): New variable.
27535 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27536 (lround_test_data): New variable.
27537 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27539 2013-05-15 Peter Collingbourne <pcc@google.com>
27541 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27542 (EXTRACT_WORDS64) Use where appropriate.
27543 (INSERT_WORDS64) Likewise.
27545 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27546 constraints with x constraints.
27547 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27549 * malloc/obstack.c (_obstack_compat): Add initializer.
27551 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27553 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27554 si_trapno and add si_addr_lsb to _sifields.sigfault.
27555 (si_trapno): Remove macro.
27556 (si_addr_lsb): Define new macro.
27557 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27559 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27561 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27562 instead of TEST_f_l.
27563 (llrint_test_tonearest): Likewise.
27564 (llrint_test_towardzero): Likewise.
27565 (llrint_test_downward): Likewise.
27566 (llrint_test_upward): Likewise.
27567 (llround_test): Likewise.
27569 * math/libm-test.inc (struct test_f_i_data): Add comment.
27570 (RUN_TEST_LOOP_f_b): New macro.
27571 (RUN_TEST_LOOP_f_b_tg): Likewise.
27572 (finite_test_data): New variable.
27573 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27574 (isfinite_test_data): New variable.
27575 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27576 (isinf_test_data): New variable.
27577 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27578 (isnan_test_data): New variable.
27579 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27580 (isnormal_test_data): New variable.
27581 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27582 (issignaling_test_data): New variable.
27583 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27584 (signbit_test_data): New variable.
27585 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27587 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27588 with INVALID_EXCEPTION.
27589 (acosh_test_data): Likewise.
27590 (asin_test_data): Likewise.
27591 (atanh_test_data): Likewise.
27592 (fmod_test_data): Likewise.
27593 (log_test_data): Likewise.
27594 (log10_test_data): Likewise.
27595 (log2_test_data): Likewise.
27596 (pow_test_data): Likewise.
27597 (sqrt_test_data): Likewise.
27598 (y0_test_data): Likewise.
27599 (y1_test_data): Likewise.
27600 (yn_test_data): Likewise.
27602 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27605 * math/libm-test.inc (struct test_ff_i_data): New type.
27606 (RUN_TEST_LOOP_ff_i_tg): New macro.
27607 (isgreater_test_data): New variable.
27608 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27609 (isgreaterequal_test_data): New variable.
27610 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27611 (isless_test_data): New variable.
27612 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27613 (islessequal_test_data): New variable.
27614 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27615 (islessgreater_test_data): New variable.
27616 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27617 (isunordered_test_data): New variable.
27618 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27620 2013-05-14 David S. Miller <davem@davemloft.net>
27622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27624 2013-05-14 Joseph Myers <joseph@codesourcery.com>
27626 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27628 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27630 (struct test_f_i_data): Change type of max_ulp to int.
27632 * math/libm-test.inc (test_ffI_f1_data): New type.
27633 (RUN_TEST_LOOP_ffI_f1): New macro.
27634 (remquo_test_data): New variable.
27635 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27637 * setjmp/tst-setjmp-fp.c: New file.
27638 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27639 (link-libm): New variable.
27640 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27642 * math/libm-test.inc (struct test_f_i_data): New type.
27643 (RUN_TEST_LOOP_f_i): New macro.
27644 (RUN_TEST_LOOP_f_i_tg): Likewise.
27645 (fpclassify_test_data): New variable.
27646 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27647 (ilogb_test_data): New variable.
27648 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27650 * math/libm-test.inc (scalbln_test): Correct function name in END
27653 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27654 (RUN_TEST_LOOP_fI_f1): New macro.
27655 (frexp_test_data): New variable.
27656 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27658 * math/libm-test.inc (struct test_fF_f1_data): New type.
27659 (RUN_TEST_LOOP_fF_f1): New macro.
27660 (modf_test_data): New variable.
27661 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27663 * math/libm-test.inc (struct test_f_f1_data): New type.
27664 (RUN_TEST_LOOP_f_f1): New macro.
27665 (gamma_test_data): New variable.
27666 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27667 (lgamma_test_data): New variable.
27668 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27670 2013-05-13 Carlos O'Donell <carlos@redhat.com>
27672 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27673 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27674 (main): Comment "tls" pseudo-hwcap.
27676 2013-05-13 Joseph Myers <joseph@codesourcery.com>
27678 * math/libm-test.inc (struct test_fl_f_data): New type.
27679 (RUN_TEST_LOOP_fl_f): New variable.
27680 (scalbln_test_data): New variable.
27681 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27683 * math/libm-test.inc (struct test_fi_f_data): New type.
27684 (RUN_TEST_LOOP_fi_f): New macro.
27685 (ldexp_test_data): New variable.
27686 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27687 (scalbn_test_data): New variable.
27688 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27690 * math/libm-test.inc (struct test_c_f_data): New type.
27691 (RUN_TEST_LOOP_c_f): New macro.
27692 (cabs_test_data): New variable.
27693 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27694 (carg_test_data): New variable.
27695 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27696 (cimag_test_data): New variable.
27697 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27698 (creal_test_data): New variable.
27699 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27701 * math/libm-test.inc (struct test_if_f_data): New type.
27702 (RUN_TEST_LOOP_if_f): New macro.
27703 (jn_test_data): New variable.
27704 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27705 (yn_test_data): New variable.
27706 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27708 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27710 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27712 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27713 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27715 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27717 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27718 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27719 (bench-deps): Add bench-timing.h.
27720 * benchtests-bench-skeleton.c: Include bench-timing.h.
27721 (main): Use TIMING_* macros instead of clock_gettime.
27722 * benchtests/bench-timing.h: New file.
27725 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27726 Renamed from _LIB_VERSION.
27727 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27729 2013-05-12 Joseph Myers <joseph@codesourcery.com>
27731 * math/libm-test.inc (struct test_fff_f_data): New type.
27732 (RUN_TEST_LOOP_fff_f): New macro.
27733 (fma_test_data): New variable.
27734 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27735 (fma_towardzero_test_data): New variable.
27736 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27737 (fma_downward_test_data): New variable.
27738 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27739 (fma_upward_test_data): New variable.
27740 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27742 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27743 (struct test_c_c_data): New type.
27744 (RUN_TEST_LOOP_c_c): New macro.
27745 (cacos_test_data): New variable.
27746 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27747 (cacosh_test_data): New variable.
27748 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27749 (casin_test_data): New variable.
27750 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27751 (casinh_test_data): New variable.
27752 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27753 (catan_test_data): New variable.
27754 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27755 (catanh_test_data): New variable.
27756 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27757 (ccos_test_data): New variable.
27758 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27759 (ccosh_test_data): New variable.
27760 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27761 (cexp_test_data): New variable.
27762 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27763 (clog_test_data): New variable.
27764 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27765 (clog10_test_data): New variable.
27766 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27767 (conj_test_data): New variable.
27768 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27769 (cproj_test_data): New variable.
27770 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27771 (csin_test_data): New variable.
27772 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27773 (csinh_test_data): New variable.
27774 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27775 (csqrt_test_data): New variable.
27776 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27777 (ctan_test_data): New variable.
27778 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27779 (ctan_tonearest_test_data): New variable.
27780 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27781 (ctan_towardzero_test_data): New variable.
27782 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27783 (ctan_downward_test_data): New variable.
27784 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27785 (ctan_upward_test_data): New variable.
27786 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27787 (ctanh_test_data): New variable.
27788 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27789 (ctanh_tonearest_test_data): New variable.
27790 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27791 (ctanh_towardzero_test_data): New variable.
27792 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27793 (ctanh_downward_test_data): New variable.
27794 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27795 (ctanh_upward_test_data): New variable.
27796 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27797 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27800 * math/libm-test.inc (struct test_ff_f_data): New type.
27801 (struct test_ff_f_data_nexttoward): Likewise.
27802 (RUN_TEST_LOOP_2_f): New macro.
27803 (RUN_TEST_LOOP_ff_f): Likewise.
27804 (atan2_test_data): New variable.
27805 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27806 (copysign_test_data): New variable.
27807 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27808 (fdim_test_data): New variable.
27809 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27810 (fmax_test_data): New variable.
27811 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27812 (fmin_test_data): New variable.
27813 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27814 (fmod_test_data): New variable.
27815 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27816 (hypot_test_data): New variable.
27817 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27818 (nextafter_test_data): New variable.
27819 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27820 (nexttoward_test_data): New variable.
27821 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27822 (pow_test_data): New variable.
27823 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27824 (pow_tonearest_test_data): New variable.
27825 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27826 (pow_towardzero_test_data): New variable.
27827 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27828 (pow_downward_test_data): New variable.
27829 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27830 (pow_upward_test_data): New variable.
27831 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27832 (remainder_test_data): New variable.
27833 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27834 (scalb_test_data): New variable.
27835 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27836 * sysdeps/i386/fpu/libm-test-ulps: Update.
27838 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27840 * math/libm-test.inc (fma_test): Use max_value instead of local
27842 (nextafter_test): Likewise.
27844 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27845 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27846 (acos_downward_test_data): New variable.
27847 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27848 (acos_upward_test_data): New variable.
27849 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27850 (acosh_test_data): New variable.
27851 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27852 (asin_test_data): New variable.
27853 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27854 (asin_tonearest_test_data): New variable.
27855 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27856 (asin_towardzero_test_data): New variable.
27857 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27858 (asin_downward_test_data): New variable.
27859 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27860 (asin_upward_test_data): New variable.
27861 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27862 (asinh_test_data): New variable.
27863 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27864 (atan_test_data): New variable.
27865 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27866 (atanh_test_data): New variable.
27867 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27868 (cbrt_test_data): New variable.
27869 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27870 (ceil_test_data): New variable.
27871 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27872 (cos_test_data): New variable.
27873 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27874 (cos_tonearest_test_data): New variable.
27875 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27876 (cos_towardzero_test_data): New variable.
27877 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27878 (cos_downward_test_data): New variable.
27879 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27880 (cos_upward_test_data): New variable.
27881 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27882 (cosh_test_data): New variable.
27883 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27884 (cosh_tonearest_test_data): New variable.
27885 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27886 (cosh_towardzero_test_data): New variable.
27887 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27888 (cosh_downward_test_data): New variable.
27889 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27890 (cosh_upward_test_data): New variable.
27891 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27892 (erf_test_data): New variable.
27893 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27894 (erfc_test_data): New variable.
27895 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27896 (exp_test_data): New variable.
27897 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27898 (exp_tonearest_test_data): New variable.
27899 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27900 (exp_towardzero_test_data): New variable.
27901 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27902 (exp_downward_test_data): New variable.
27903 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27904 (exp_upward_test_data): New variable.
27905 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27906 (exp10_test_data): New variable.
27907 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27908 (exp2_test_data): New variable.
27909 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27910 (expm1_test_data): New variable.
27911 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27912 (fabs_test_data): New variable.
27913 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27914 (floor_test_data): New variable.
27915 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27916 (j0_test_data): New variable.
27917 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27918 (j1_test_data): New variable.
27919 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27920 (log_test_data): New variable.
27921 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27922 (log10_test_data): New variable.
27923 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27924 (log1p_test_data): New variable.
27925 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27926 (log2_test_data): New variable.
27927 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27928 (logb_test_data): New variable.
27929 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27930 (logb_downward_test_data): New variable.
27931 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27932 (nearbyint_test_data): New variable.
27933 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27934 (rint_test_data): New variable.
27935 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27936 (rint_tonearest_test_data): New variable.
27937 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27938 (rint_towardzero_test_data): New variable.
27939 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27940 (rint_downward_test_data): New variable.
27941 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27942 (rint_upward_test_data): New variable.
27943 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27944 (round_test_data): New variable.
27945 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27946 (sin_test_data): New variable.
27947 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27948 (sin_tonearest_test_data): New variable.
27949 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27950 (sin_towardzero_test_data): New variable.
27951 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27952 (sin_downward_test_data): New variable.
27953 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27954 (sin_upward_test_data): New variable.
27955 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27956 (sinh_test_data): New variable.
27957 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27958 (sinh_tonearest_test_data): New variable.
27959 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27960 (sinh_towardzero_test_data): New variable.
27961 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27962 (sinh_downward_test_data): New variable.
27963 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27964 (sinh_upward_test_data): New variable.
27965 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27966 (sqrt_test_data): New variable.
27967 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27968 (tan_test_data): New variable.
27969 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27970 (tan_tonearest_test_data): New variable.
27971 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27972 (tan_towardzero_test_data): New variable.
27973 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27974 (tan_downward_test_data): New variable.
27975 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27976 (tan_upward_test_data): New variable.
27977 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27978 (tanh_test_data): New variable.
27979 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27980 (tgamma_test_data): New variable.
27981 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27982 (trunc_test_data): New variable.
27983 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27984 (y0_test_data): New variable.
27985 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27986 (y1_test_data): New variable.
27987 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27988 (significand_test_data): New variable.
27989 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27991 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27994 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27996 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27998 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28000 2013-05-10 Andreas Jaeger <aj@suse.de>
28003 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28004 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28006 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28008 * math/gen-libm-test.pl (adjust_arg): New function.
28009 (special_functions): Handle generating output in both functions
28011 (parse_args): Likewise.
28012 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28013 $in_func argument to parse_args.
28014 * math/libm-test.inc (struct test_f_f_data): New type.
28015 (IF_ROUND_INIT_): New macro.
28016 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28017 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28018 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28019 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28020 (ROUND_RESTORE_): Likewise.
28021 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28022 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28023 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28024 (ROUND_RESTORE_FE_UPWARD): Likewise.
28025 (RUN_TEST_LOOP_f_f): New macro.
28026 (acos_test_data): New variable.
28027 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28028 (acos_tonearest_test_data): New variable.
28029 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28031 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28033 * benchtests/bench-skeleton.c (startup): Fix coding style.
28035 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28038 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28039 negative infinity argument.
28040 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28041 negative infinity argument.
28042 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28043 negative infinity argument.
28044 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28047 2013-05-10 Florian Weimer <fweimer@redhat.com>
28049 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28050 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28051 * iconv/iconv_prog.c (main): Likewise.
28052 * locale/programs/charmap-dir.c (charmap_readdir)
28053 (fopen_uncompressed): Likewise.
28054 * locale/programs/locfile.c (siblings_uncached)
28055 (write_locale_data): Use lstat64 instead of lstat.
28056 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28059 2013-05-10 Andreas Jaeger <aj@suse.de>
28062 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28064 Include <locale.h>.
28066 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28068 * elf/dl-close.c (_dl_close_worker): Add comments.
28070 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28073 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28075 (__ieee754_rem_pio2l): Update comments.
28078 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28080 (__ieee754_rem_pio2l): Update comments.
28082 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28083 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28085 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28088 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28089 (M_PI_34_LOG10El): Likewise.
28090 (M_PI2_LOG10El): Likewise.
28091 (M_PI4_LOG10El): Likewise.
28092 (M_PI_LOG10El): Likewise.
28094 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28098 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28100 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28101 (MINUS_ZERO_INIT): Likewise.
28102 (PLUS_INFTY_INIT): Likewise.
28103 (MINUS_INFTY_INIT): Likewise.
28104 (QNAN_VALUE_INIT): Likewise.
28105 (MAX_VALUE_INIT): Likewise.
28106 (MIN_VALUE_INIT): Likewise.
28107 (MIN_SUBNORM_VALUE_INIT): Likewise.
28108 (plus_zero): Initialize with PLUS_ZERO_INIT.
28109 (minus_zero): Initialize with MINUS_ZERO_INIT.
28110 (plus_infty): Initialize with PLUS_INFTY_INIT.
28111 (minus_infty): Initialize with MINUS_INFTY_INIT.
28112 (qnan_value): Initialize with QNAN_VALUE_INIT.
28113 (max_value): Initialize with MAX_VALUE_INIT.
28114 (min_value): Initialize with MIN_VALUE_INIT.
28115 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28117 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28118 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28119 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28120 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28122 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28123 (RUN_TEST_2_f): Likewise.
28124 (RUN_TEST_ff_f): Likewise.
28125 (RUN_TEST_fi_f): Likewise.
28126 (RUN_TEST_fl_f): Likewise.
28127 (RUN_TEST_fff_f): Likewise.
28128 (RUN_TEST_c_f): Likewise.
28129 (RUN_TEST_f_f1): Likewise.
28130 (RUN_TEST_fF_f1): Likewise.
28131 (RUN_TEST_fI_f1): Likewise.
28132 (RUN_TEST_ffI_f1): Likewise.
28133 (RUN_TEST_c_c): Likewise.
28134 (RUN_TEST_cc_c): Likewise.
28135 (RUN_TEST_f_i): Likewise.
28136 (RUN_TEST_f_i_tg): Likewise.
28137 (RUN_TEST_ff_i_tg): Likewise.
28138 (RUN_TEST_f_b): Likewise.
28139 (RUN_TEST_f_b_tg): Likewise.
28140 (RUN_TEST_f_l): Likewise.
28141 (RUN_TEST_f_L): Likewise.
28142 (RUN_TEST_sincos): Likewise.
28143 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28144 whether to show exceptions. Do not include ");\n" in return
28146 (special_functions): Output call to RUN_TEST_sincos instead of
28147 check_float calls. Update calls to new_test.
28148 (parse_args): Output call to single RUN_TEST_* macro instead of
28149 check_* calls and other assignments. Update calls to new_test.
28155 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28156 input to result for tgamma overflow.
28157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28158 (gamma_coeff): New variable.
28159 (NCOEFF): New macro.
28160 (gamma_positive): New function.
28161 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28162 underflow here. Use gamma_positive instead of exp (lgamma) for
28164 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28165 (gamma_coeff): New variable.
28166 (NCOEFF): New macro.
28167 (gammaf_positive): New function.
28168 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28169 underflow here. Use gamma_positive instead of exp (lgamma) for
28171 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28172 (gamma_coeff): New variable.
28173 (NCOEFF): New macro.
28174 (gammal_positive): New function.
28175 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28176 underflow here. Use gamma_positive instead of exp (lgamma) for
28178 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28179 (gamma_coeff): New variable.
28180 (NCOEFF): New macro.
28181 (gammal_positive): New function.
28182 (__ieee754_gammal_r): Handle positive infinity, overflow and
28183 underflow here. Handle NaN the same as positive infinity. Remove
28184 check x < 0xffffffff for negative integers. Use gamma_positive
28185 instead of exp (lgamma) for other arguments.
28186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28187 (gamma_coeff): New variable.
28188 (NCOEFF): New macro.
28189 (gammal_positive): New function.
28190 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28191 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28192 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28193 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28194 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28195 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28196 * sysdeps/generic/math_private.h (__gamma_productf): New
28198 (__gamma_product): Likewise.
28199 (__gamma_productl): Likewise.
28200 * math/Makefile (libm-calls): Add gamma_product.
28201 * math/libm-test.inc (tgamma_test): Add more tests.
28202 * sysdeps/i386/fpu/libm-test-ulps: Update.
28203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28205 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
28207 * benchtests/bench-skeleton.c (main): Preheat CPU.
28209 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28211 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28213 2013-05-07 Roland McGrath <roland@hack.frob.com>
28215 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28216 and _dl_skip_args_internal.
28218 2013-05-07 Carlos O'Donell <carlos@redhat.com>
28220 * manual/message.texi (Message Translation): Talk about users.
28221 Message to key mapping impacts design.
28223 2013-05-06 Roland McGrath <roland@hack.frob.com>
28225 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28227 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28229 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28230 * sysdeps/wordsize-64/glob64.c: ... here.
28232 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28233 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28236 * debug/getlogin_r_chk.c: Moved to ...
28237 * login/getlogin_r_chk.c: ... here.
28238 * debug/Makefile (routines): Move getlogin_r_chk to ...
28239 * login/Makefile (routines): ... here.
28240 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28241 * login/Versions (libc: GLIBC_2.4): ... here.
28243 * io/poll.c (__poll): Renamed from poll.
28244 Add libc_hidden_def.
28245 (poll): Define as weak alias.
28247 * debug/ptsname_r_chk.c: Moved to ...
28248 * login/ptsname_r_chk.c: ... here.
28249 * debug/Makefile (routines): Move ptsname_r_chk to ...
28250 * login/Makefile (routines): ... here.
28251 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28252 * login/Versions (libc: GLIBC_2.4): ... here.
28254 * posix/getlogin.c: Moved to ...
28255 * login/getlogin.c: ... here.
28256 * posix/getlogin_r.c: Moved to ...
28257 * login/getlogin_r.c: ... here.
28258 * posix/getlogin_r.c: Moved to ...
28259 * login/getlogin_r.c: ... here.
28260 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28261 * login/Makefile (routines): ... here.
28262 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28263 * login/Versions (libc: GLIBC_2.0): ... here.
28265 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28266 (setrlimit): Define as weak alias.
28268 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28269 Call __ names for open, ftruncate, and close.
28270 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28271 (truncate): Define as weak alias.
28273 2013-05-06 Joseph Myers <joseph@codesourcery.com>
28275 * math/gen-libm-test.pl (parse_args): Initialize x before each
28276 test of frexp, modf and remquo.
28278 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28279 test signgam value.
28281 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28285 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28287 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28289 2013-05-06 Roland McGrath <roland@hack.frob.com>
28291 * elf/dl-writev.h: New file.
28292 * elf/dl-misc.c: Include it.
28293 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28294 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28296 2013-05-04 Joseph Myers <joseph@codesourcery.com>
28298 * math/libm-test.inc (noXFails): Remove variable.
28299 (noXPasses): Likewise.
28300 (BUILD_COMPLEX_INT): Remove macro.
28301 (print_screen): Remove xfail argument.
28302 (print_screen_max_error): Likewise.
28303 (update_stats): Likewise.
28304 (print_max_error): Likewise. Update calls to other affected
28306 (print_complex_max_error): Likewise.
28307 (test_single_exception): Update calls to print_screen.
28308 (test_single_errno): Likewise.
28309 (check_float_internal): Remove xfail argument. Update calls to
28310 other affected functions.
28311 (check_float): Likewise.
28312 (check_complex): Likewise.
28313 (check_int): Likewise.
28314 (check_long): Likewise.
28315 (check_bool): Likewise.
28316 (check_longlong): Likewise.
28317 (main): Don't print noXFails and noXPasses.
28318 * math/gen-libm-test.pl (top level): Don't mention expected
28319 failure handling in comment.
28320 (new_test): Don't handle expected failures.
28321 (parse_args): Don't mention expected failure handling in comment.
28322 (generate_testfile): Don't handle expected failures.
28323 (parse_ulps): Likewise.
28324 (print_ulps_file): Likewise.
28325 (get_failure): Remove function.
28326 (output_test): Don't handle expected failures.
28327 * make/README.libm-test: Don't mention expected failure handling.
28329 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28330 (minus_zero): Likewise.
28331 (plus_infty): Likewise.
28332 (minus_infty): Likewise.
28333 (qnan_value): Likewise.
28334 (max_value): Likewise.
28335 (min_value): Likewise.
28336 (min_subnorm_value): Likewise.
28337 (initialize): Do not initialize those variables dynamically.
28339 2013-05-03 Roland McGrath <roland@hack.frob.com>
28341 * io/open.c (__open_2): Moved to ...
28342 * io/open_2.c: ... this new file.
28343 * io/open64.c (__open64_2): Moved to ...
28344 * io/open64_2.c: ... this new file.
28345 * io/openat.c (__openat_2): Moved to ...
28346 * io/openat_2.c: ... this new file.
28347 * io/openat64.c (__openat64_2): Moved to ...
28348 * io/openat64_2.c: ... this new file.
28349 * io/Makefile (routines): Add them.
28350 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28351 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28352 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28353 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28354 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28355 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28356 (__openat64): Add hidden_ver.
28357 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28358 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28360 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28361 Separately conditionalize setting of GLRO(dl_sysinfo) so
28362 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28363 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28365 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28367 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28368 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28370 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28371 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28372 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28373 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28374 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28376 2013-05-03 Joseph Myers <joseph@codesourcery.com>
28378 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28379 test signgam value.
28381 * math/libm-test.inc (hypot_test): Do not use
28382 IGNORE_ZERO_INF_SIGN.
28384 2013-05-03 Andreas Jaeger <aj@suse.de>
28386 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28388 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28389 (PF_MAX): Adjust for VSOCK change.
28391 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28395 2013-05-02 Carlos O'Donell <carlos@redhat.com>
28398 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28399 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28400 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28402 2013-05-02 David S. Miller <davem@davemloft.net>
28404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28406 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
28408 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28410 2013-05-01 Roland McGrath <roland@hack.frob.com>
28412 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28414 2013-05-01 Richard Smith <richard@metafoo.co.uk>
28417 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28418 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28419 Use __attribute__ ((__gnu_inline__)).
28420 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28421 Don't use __attribute__ ((__gnu_inline__)).
28423 2013-05-01 Joseph Myers <joseph@codesourcery.com>
28426 * math/s_catan.c (__catan): Handle small real or imaginary part of
28427 input specially to avoid spurious underflow.
28428 * math/s_catanf.c (__catanf): Likewise.
28429 * math/s_catanh.c (__catanh): Likewise.
28430 * math/s_catanhf.c (__catanhf): Likewise.
28431 * math/s_catanhl.c (__catanhl): Likewise.
28432 * math/s_catanl.c (__catanl): Likewise.
28433 * math/libm-test.inc (catan_test): Add more tests.
28434 (catanh_test): Likewise.
28435 * sysdeps/i386/fpu/libm-test-ulps: Update.
28436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28438 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28442 2013-04-30 Joseph Myers <joseph@codesourcery.com>
28445 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28446 accurately for denominator in atan2.
28447 * math/s_catanf.c (__catanf): Likewise.
28448 * math/s_catanh.c (__catanh): Likewise.
28449 * math/s_catanhf.c (__catanhf): Likewise.
28450 * math/s_catanhl.c (__catanhl): Likewise.
28451 * math/s_catanl.c (__catanl): Likewise.
28452 * math/libm-test.inc (catan_test): Add more tests.
28453 (catanh_test): Likewise.
28454 * sysdeps/i386/fpu/libm-test-ulps: Update.
28455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28457 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28459 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28461 * benchtests/Makefile (bench): Remove slow benchmarks.
28462 * benchtests/atan-inputs: Add slow benchmark inputs.
28463 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28464 (BENCH_FUNC): Accept variant offset.
28466 * benchtests/bench-skeleton.c (main): Run benchmark for each
28468 * benchtests/cos-inputs: Add slow benchmark inputs.
28469 * benchtests/exp-inputs: Likewise.
28470 * benchtests/pow-inputs: Likewise.
28471 * benchtests/sin-inputs: Likewise.
28472 * benchtests/slowatan-inputs: Remove.
28473 * benchtests/slowatan.c: Remove.
28474 * benchtests/slowcos-inputs: Remove.
28475 * benchtests/slowcos.c: Remove.
28476 * benchtests/slowexp-inputs: Remove.
28477 * benchtests/slowexp.c: Remove.
28478 * benchtests/slowpow-inputs: Remove.
28479 * benchtests/slowpow.c: Remove.
28480 * benchtests/slowsin-inputs: Remove.
28481 * benchtests/slowsin.c: Remove.
28482 * benchtests/slowtan-inputs: Remove.
28483 * benchtests/slowtan.c: Remove.
28484 * benchtests/tan-inputs: Add slow benchmark inputs.
28485 * scripts/bench.pl: Parse comments and directives.
28487 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28489 ($(objpfx)bench-%.c): Remove *-ITER.
28490 * benchtests/bench-modf.c: Remove definition of ITER.
28491 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28492 (main): Loop for DURATION seconds instead of fixed number of
28494 * scripts/bench.pl: Don't expect iterations in parameters.
28496 2013-04-29 Roland McGrath <roland@hack.frob.com>
28498 * io/fchdir.c (__fchdir): Renamed from fchdir.
28499 (fchdir): Define as weak alias.
28501 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28503 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28504 (ERRNO_EDOM): Likewise.
28505 (ERRNO_ERANGE): Likewise.
28506 (noErrnoTests): New variable.
28507 (init_max_error): Set errno to 0.
28508 (test_single_errno): New function.
28509 (test_errno): Likewise.
28510 (check_float_internal): Call test_errno. Set errno to 0.
28511 (check_complex): Refer to errno tests in comment.
28512 (check_int): Call test_errno. Set errno to 0.
28513 (check_long): Likewise.
28514 (check_bool): Likewise.
28515 (check_longlong): Likewise.
28516 (cos_test): Use ERRNO_* flags for errno tests instead of
28518 (expm1_test): Likewise.
28519 (fmod_test): Likewise.
28520 (ilogb_test): Likewise.
28521 (lgamma_test): Likewise.
28522 (pow_test): Likewise.
28523 (remainder_test): Likewise.
28524 (sin_test): Likewise.
28525 (tan_test): Likewise.
28526 (yn_test): Likewise.
28527 (initialize): Set errno to 0.
28528 (main): Print number of errno tests.
28529 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28531 2013-04-29 Andreas Jaeger <aj@suse.de>
28534 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28538 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28539 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28543 * stdlib/random.c (__initstate): Return NULL if
28547 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28548 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28551 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28555 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28557 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28558 of individual tests.
28559 (casin_test): Likewise.
28560 (casinh_test): Likewise.
28562 2013-04-27 Joseph Myers <joseph@codesourcery.com>
28565 * math/s_catan.c (__catan): Handle arguments with large real or
28566 imaginary part separately without squaring.
28567 * math/s_catanf.c (__catanf): Likewise.
28568 * math/s_catanh.c (__catanh): Likewise.
28569 * math/s_catanhf.c (__catanhf): Likewise.
28570 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28572 (__catanhl): Handle arguments with large real or imaginary part
28573 separately without squaring.
28574 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28576 (__catanl): Handle arguments with large real or imaginary part
28577 separately without squaring.
28578 * math/libm-test.inc (catan_test): Add more tests.
28579 (catanh_test): Likewise.
28580 * sysdeps/i386/fpu/libm-test-ulps: Update.
28581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28583 2013-04-27 Andreas Jaeger <aj@suse.de>
28586 * stdlib/stdlib.h: Update guards for qecvt.
28587 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28590 2013-04-27 Allan McRae <allan@archlinux.org>
28592 * sysdeps/i386/fpu/libm-test-ulps: Update.
28594 2013-04-26 Joseph Myers <joseph@codesourcery.com>
28597 * math/s_catan.c: Include <float.h>.
28598 (__catan): Ensure underflow exception occurs for underflowed
28600 * math/s_catanf.c: Include <float.h>.
28601 (__catanf): Ensure underflow exception occurs for underflowed
28603 * math/s_catanh.c: Include <float.h>.
28604 (__catanh): Ensure underflow exception occurs for underflowed
28606 * math/s_catanhf.c: Include <float.h>.
28607 (__catanhf): Ensure underflow exception occurs for underflowed
28609 * math/s_catanhl.c: Include <float.h>.
28610 (__catanhl): Ensure underflow exception occurs for underflowed
28612 * math/s_catanl.c: Include <float.h>.
28613 (__catanl): Ensure underflow exception occurs for underflowed
28615 * math/libm-test.inc (catan_test): Add more tests.
28616 (catanh_test): Likewise.
28619 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28620 underflowed result.
28621 * math/s_ccoshf.c (__ccoshf): Likewise.
28622 * math/s_ccoshl.c (__ccoshl): Likewise.
28623 * math/s_csin.c (__csin): Likewise.
28624 * math/s_csinf.c (__csinf): Likewise.
28625 * math/s_csinh.c (__csinh): Likewise.
28626 * math/s_csinhf.c (__csinhf): Likewise.
28627 * math/s_csinhl.c (__csinhl): Likewise.
28628 * math/s_csinl.c (__csinl): Likewise.
28629 * math/libm-test.inc (ccos_test): Add more tests.
28630 (ccosh_test): Likewise.
28631 (csin_test): Likewise.
28632 (csinh_test): Likewise.
28634 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28636 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28637 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28638 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28639 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28640 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28641 powerpc/power5+/fpu folders.
28642 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28645 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28649 2013-04-25 Joseph Myers <joseph@codesourcery.com>
28651 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28652 additions to variable.
28653 [$(config-machine) = x86_64] (modules-names): Likewise.
28654 ($(objpfx)tst-audit3): Remove dependency.
28655 ($(objpfx)tst-audit3.out): Likewise.
28656 ($(objpfx)tst-audit4): Likewise.
28657 ($(objpfx)tst-audit4.out): Likewise.
28658 ($(objpfx)tst-audit5): Likewise.
28659 ($(objpfx)tst-audit5.out): Likewise.
28660 ($(objpfx)tst-audit6): Likewise.
28661 ($(objpfx)tst-audit6.out): Likewise.
28662 ($(objpfx)tst-audit7): Likewise.
28663 ($(objpfx)tst-audit7.out): Likewise.
28664 (tst-audit3-ENV): Remove variable.
28665 (tst-audit4-ENV): Likewise.
28666 (tst-audit5-ENV): Likewise.
28667 (tst-audit6-ENV): Likewise.
28668 (tst-audit7-ENV): Likewise.
28669 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28670 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28671 addition to variable.
28672 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28673 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28674 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28675 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28676 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28677 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28678 tst-audit3, tst-audit4 and tst-audit5.
28679 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28680 tst-audit6 and tst-audit7.
28681 [$(subdir) = elf] (modules-names): Add audit modules for those
28683 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28684 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28685 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28686 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28687 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28688 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28689 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28690 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28691 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28692 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28693 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28694 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28695 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28696 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28697 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28698 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28700 [$(subdir) = elf && $(config-cflags-avx) = yes]
28701 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28702 [$(subdir) = elf && $(config-cflags-avx) = yes]
28703 (CFLAGS-tst-auditmod4a.c): Likewise.
28704 [$(subdir) = elf && $(config-cflags-avx) = yes]
28705 (CFLAGS-tst-auditmod4b.c): Likewise.
28706 [$(subdir) = elf && $(config-cflags-avx) = yes]
28707 (CFLAGS-tst-auditmod6b.c): Likewise.
28708 [$(subdir) = elf && $(config-cflags-avx) = yes]
28709 (CFLAGS-tst-auditmod6c.c): Likewise.
28710 [$(subdir) = elf && $(config-cflags-avx) = yes]
28711 (CFLAGS-tst-auditmod7b.c): Likewise.
28712 * elf/tst-audit3.c: Move to ...
28713 * sysdeps/x86_64/tst-audit3.c: ... here.
28714 * elf/tst-audit4.c: Move to ...
28715 * sysdeps/x86_64/tst-audit4.c: ... here.
28716 * elf/tst-audit5.c: Move to ...
28717 * sysdeps/x86_64/tst-audit5.c: ... here.
28718 * elf/tst-audit6.c: Move to ...
28719 * sysdeps/x86_64/tst-audit6.c: ... here.
28720 * elf/tst-audit7.c: Move to ...
28721 * sysdeps/x86_64/tst-audit7.c: ... here.
28722 * elf/tst-auditmod3a.c: Move to ...
28723 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28724 * elf/tst-auditmod3b.c: Move to ...
28725 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28726 * elf/tst-auditmod4a.c: Move to ...
28727 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28728 * elf/tst-auditmod4b.c: Move to ...
28729 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28730 * elf/tst-auditmod5a.c: Move to ...
28731 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28732 * elf/tst-auditmod5b.c: Move to ...
28733 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28734 * elf/tst-auditmod6a.c: Move to ...
28735 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28736 * elf/tst-auditmod6b.c: Move to ...
28737 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28738 * elf/tst-auditmod6c.c: Move to ...
28739 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28740 * elf/tst-auditmod7a.c: Move to ...
28741 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28742 * elf/tst-auditmod7b.c: Move to ...
28743 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28745 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28748 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28749 define unconditionally.
28750 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28751 define unconditionally.
28752 (INT8_C, INT16_C, etc.): Likewise.
28754 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28756 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28757 __ehdr_start with hidden visibility.
28759 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28761 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28763 * math/libm-test.inc (cos_test): Use accurate hex constants.
28764 (sincost_test): Likewise.
28766 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28768 * math/libm-test.inc (catan_test): Add more tests.
28769 (catanh_test): Likewise.
28771 * math/s_catanf.c (__catanf): Use suffixed floating-point
28773 * math/s_catanhf.c (__catanhf): Likewise.
28774 * math/s_catanhl.c (__catanhl): Likewise.
28775 * math/s_catanl.c (__catanl): Likewise.
28778 * math/s_catan.c (__catan): Calculate imaginary part of result
28779 with log1p not log unless computing log of number close to 0.
28780 * math/s_catanf.c (__catanf): Likewise.
28781 * math/s_catanl.c (__catanl): Likewise.
28782 * math/s_catanh.c (__catanh): Calculate real part of result with
28783 log1p not log unless computing log of number close to 0.
28784 * math/s_catanhf.c (__catanhf): Likewise.
28785 * math/s_catanhl.c (__catanhl): Likewise.
28786 * math/libm-test.inc (catan_test): Add more tests.
28787 (catanh_test): Likewise.
28788 * sysdeps/i386/fpu/libm-test-ulps: Update.
28789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28791 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28793 * benchtests/Makefile: Mention files in which fast and slow
28794 paths of math functions are implemented.
28796 2013-04-23 Roland McGrath <roland@hack.frob.com>
28798 * sysdeps/posix/timespec_get.c: New file.
28800 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28802 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28804 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28806 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28807 powerpc/power5/fpu folders.
28808 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28809 * benchtests/Makefile: Add modf testcase.
28810 * benchtests/bench-modf.c: New file: Benchmark test for mo
28812 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28815 * time/Makefile (tests): Add tst-strptime-whitespace.
28816 * time/strptime_l.c (get_number): Use ISSPACE.
28817 (__strptime_internal): Likewise.
28818 * time/tst-strptime-whitespace.c: New test case.
28820 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28822 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28824 (_nss_files_init): Set it here.
28826 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28828 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28829 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28832 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28834 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28836 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28841 2013-04-21 David S. Miller <davem@davemloft.net>
28843 * po/ru.po: Update Russion translation from translation project.
28845 2013-04-17 Adam Conrad <adconrad@0c3.net>
28847 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28850 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28852 * configure.in: Remove i386 configure warning. Remove i386 case.
28853 * configure: Regenerate.
28854 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28855 Add example to error message.
28856 * sysdeps/i386/configure: Regenerate.
28858 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28860 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28862 * benchtests/cos-inputs: New file.
28863 * benchtests/slowcos-inputs: New file.
28864 * benchtests/slowcos.c: New file.
28865 * benchtests/slowtan-inputs: New file.
28866 * benchtests/slowtan.c: New file.
28867 * benchtests/tan-inputs: New file.
28869 2013-04-16 Roland McGrath <roland@hack.frob.com>
28871 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28874 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28876 * benchtests/Makefile: Include cppflags-iterator.mk to add
28877 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28879 * Makefile.in (bench-clean): New target.
28880 * benchtests/Makefile (bench-clean): Likewise.
28882 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28884 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28886 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28888 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28890 2013-04-15 Andreas Schwab <schwab@suse.de>
28892 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28894 * nscd/pwdcache.c (cache_addpw): Likewise.
28895 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28898 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28900 * benchtests/Makefile (bench): Write all output to
28901 bench-out.tmp together.
28903 2013-04-15 Andreas Schwab <schwab@suse.de>
28905 * nscd/nscd.c (main): Don't fork again after closing files.
28907 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28909 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28911 * benchtests/Rules (bench-deps): Collect dependencies into a
28912 single variable. Add Makefile to dependencies.
28913 ($(objpfx)bench-%.c): Depend on bench-deps.
28915 2013-04-12 Roland McGrath <roland@hack.frob.com>
28916 Xavier Roche <roche+kml2@exalead.com>
28919 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28920 just that it's a file descriptor.
28921 * manual/llio.texi (Synchronizing AIO Operations): Update description
28922 for EBADF error from aio_fsync.
28924 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28926 * Rules (bench): Move target definition...
28927 * benchtests/Makefile: ... here.
28929 2013-04-11 Carlos O'Donell <carlos@redhat.com>
28931 * math/libm-test.inc (cos_test): Fix PI/2 test.
28932 (sincos_test): Likewise.
28933 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28934 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28936 2013-04-11 Andreas Schwab <schwab@suse.de>
28939 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28940 accept exponent character only when digits were seen.
28941 * stdio-common/Makefile (tests): Add bug26.
28942 * stdio-common/bug26.c: New file.
28945 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28948 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28950 * Makeconfig (rtld-prefix): Define built linker prefix.
28951 * Rules (run-bench): Use it.
28952 * math/Makefile (run-regen-ulps): Likewise.
28954 * Rules (bench): Remove eval.
28956 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28957 Roland McGrath <roland@hack.frob.com>
28958 Ondrej Bilka <neleai@seznam.cz>
28961 * time/getdate.c: Include ctype.h and alloca.h.
28962 (__getdate_r): Trim leading and trailing spaces of input.
28963 * time/tst-getdate.c (tests): Add tests with leading and
28966 2013-04-08 Roland McGrath <roland@hack.frob.com>
28969 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28970 when computing value.
28972 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28974 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28975 Use testrun.sh to run libm tests.
28978 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28980 2013-04-06 Marko Myllynen <myllynen@redhat.com>
28983 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28985 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28987 * Makefile.in (regen-ulps): New target.
28988 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28989 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28990 [ifneq (no,$(PERL)] (regen-ulps): New target.
28991 [ifeq (no,$(PERL)] (regen-ulps): New target.
28992 * math/libm-test.inc (ulps_file_name): Define.
28993 (output_dir): New variable.
28994 (options): Add "output-dir" option.
28995 (parse_opt): Handle 'o' case.
28996 (main): If output_dir is non-NULL use it as a prefix
28998 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29000 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29002 [BZ #10060, #10062]
29003 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29004 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29005 fail configure if __sync_val_compare_and_swap is not inlined.
29006 * sysdeps/i386/configure: Regenerate.
29007 * configure.in: Build for i686 when configured for i386.
29008 * configure: Regenerate.
29009 * README: Remove i386 reference.
29011 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29013 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29016 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29018 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29019 (lmsnanval): New variables.
29020 (F): Add conversion tests.
29021 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29022 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29024 * stdio-common/tstdiomisc.c (F): Properly collect individual
29027 [BZ #14686, #15336]
29028 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29029 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29030 Instead, use input NaN values or generate a qNaN by arithmetic
29031 operation. Also fix bugs to comply with the standard.
29032 * math/libm-test.inc (remainder_test): Add more tests.
29034 [BZ #15335, #15342]
29035 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29037 input NaN values or generate a qNaN by arithmetic operation.
29039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29042 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29045 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29048 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29049 underflowed result.
29050 * math/s_cexpf.c (__cexpf): Likewise.
29051 * math/s_cexpl.c (__cexpl): Likewise.
29052 * math/libm-test.inc (cexp_test): Add more tests.
29054 2013-04-03 Andreas Schwab <schwab@suse.de>
29057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29058 order arrays from heap if bigger than alloca cutoff.
29060 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29062 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29063 (SNAN_TESTS_double): Refer to GCC PR56831.
29064 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29067 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29069 * Rules (bench): Move bench.out after the run is complete.
29071 * Rules (bench): Echo currently running benchmark.
29073 * benchtests/Makefile (bench): Add atan and slowatan.
29074 * benchtests/atan-inputs: New file.
29075 * benchtests/slowatan-inputs: New file.
29076 * benchtests/slowatan.c: New file.
29078 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29079 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29083 * sysdeps/unix/sysv/linux/kernel-features.h
29084 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29085 __ASSUME_XFS_RESTRICTED_CHOWN.
29086 * sysdeps/unix/sysv/linux/pathconf.c
29087 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29088 Save and restore errno.
29090 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29093 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29094 arguments using __kernel_casinh.
29095 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29096 arguments using __kernel_casinhf.
29097 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29098 arguments using __kernel_casinhl.
29099 * math/libm-test.inc (cacosh_test): Add more tests.
29100 * sysdeps/i386/fpu/libm-test-ulps: Update.
29101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29103 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29105 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29108 * bench/Makefile (bench): Add sin and slowsin.
29109 * benchtests/sin-inputs: New file.
29110 * benchtests/slowsin-inputs: New file.
29111 * benchtests/slowsin.c: New file.
29113 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29114 (bench): Add slowexp and slowpow.
29115 (exp-ITER): Increase iterations.
29116 (pow-ITER): Likewise.
29117 * benchtests/exp-inputs: Change input.
29118 * benchtests/pow-inputs: Likewise.
29119 * benchtests/slowexp-inputs: New file.
29120 * benchtests/slowexp.c: New file.
29121 * benchtests/slowpow-inputs: New file.
29122 * benchtests/slowpow.c: New file.
29124 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29126 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29128 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29129 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29130 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29131 * benchtests/Makefile: Add rint benchtest.
29132 * benchtests/rint-inputs: Input for rint benchtest.
29134 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29136 * Versions.def (libm): Add GLIBC_2.18.
29137 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29138 hidden libm prototypes.
29139 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29140 * math/Makefile (libm-calls): Add s_issignaling.
29141 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29142 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29143 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29145 * math/math.h [__USE_GNU] (issignaling): New macro.
29146 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29147 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29149 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29150 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29151 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29152 * manual/arith.texi (issignaling): New section.
29153 * manual/libm-err-tab.pl (@all_functions): Update comment.
29154 * math/gen-libm-test.pl (parse_args): Apply special handling for
29156 * math/libm-test.inc (print_float, issignaling_test): New
29158 (check_float_internal): Add issignaling checks.
29159 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29160 default definition.
29161 * sysdeps/powerpc/math-tests.h: New file.
29162 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29164 * math/test-snan.c (TEST_FUNC): Likewise.
29166 2013-03-30 David S. Miller <davem@davemloft.net>
29168 * po/de.po: Update from translation team.
29170 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29173 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29174 imaginary part less than 1.0 and real part less than 0.5
29176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29178 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29179 (cacos_test): Add more tests.
29180 (casin_test): Likewise.
29181 (casinh_test): Likewise.
29182 * sysdeps/i386/fpu/libm-test-ulps: Update.
29183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29185 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29187 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29188 ONE with its value.
29190 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29191 (__pow_mp): Replace ONE and MONE with their values.
29192 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29193 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29194 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29195 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29196 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29197 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29199 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29201 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29202 (__pow_mp): Replace ZERO and MZERO with their values.
29203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29205 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29207 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29208 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29211 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29213 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29215 2013-03-28 Roland McGrath <roland@hack.frob.com>
29217 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29218 Declare with __attribute__ ((weak)).
29219 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29220 Call __call_tls_dtors only if it's not NULL.
29222 2013-03-28 Roland McGrath <roland@hack.frob.com>
29224 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29225 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29226 magic __ehdr_start linker symbol if it's defined.
29227 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29228 them up here if it was already done.
29230 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29231 (_dl_aux_init): Use const in cast when setting it.
29232 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29233 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29234 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29236 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29238 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29239 * csu/libc-tls.c: Nor here.
29240 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29242 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29243 (__libc_message): Never call vsyslog.
29245 2013-03-28 Alan Modra <amodra@gmail.com>
29247 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29249 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29252 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29259 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29262 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29263 Don't add gid passed as argument.
29265 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29267 2013-03-27 Joseph Myers <joseph@codesourcery.com>
29270 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29271 imaginary part between 1.0 and 1.5 and real part less than 0.5
29273 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29274 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29275 * math/libm-test.inc (cacos_test): Add more tests.
29276 (casin_test): Likewise.
29277 (casinh_test): Likewise.
29278 * sysdeps/i386/fpu/libm-test-ulps: Update.
29279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29281 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29283 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29286 (denorm): Likewise.
29287 (__dbl_mp): Likewise.
29288 (add_magnitudes): Likewise.
29289 (sub_magnitudes): Likewise.
29297 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29299 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29300 (__dubcos): Likewise.
29301 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29302 (__ieee754_acos): Likewise.
29303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29304 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29305 (__exp1): Likewise.
29306 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29309 (my_log2): Likewise.
29310 (checkint): Likewise.
29311 * sysdeps/ieee754/dbl-64/e_remainder.c
29312 (__ieee754_remainder): Likewise.
29313 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29315 (bsloww): Likewise.
29316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29318 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29319 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29320 MANTISSA_STORE_T to store computations on mantissa. Use
29321 macros for rounding and division.
29322 (denorm): Likewise.
29323 (__dbl_mp): Likewise.
29324 (add_magnitudes): Likewise.
29325 (sub_magnitudes): Likewise.
29328 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29329 powers of two in terms of TWOPOW macro.
29330 (mp_no): Make type of mantissa as MANTISSA_T.
29331 [!RADIXI]: Define RADIXI.
29332 [!TWO52]: Define TWO52.
29333 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29335 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29337 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29338 llroundl symbol when building for PPC32.
29340 2013-03-24 Mark H Weaver <mhw@netris.org>
29342 * manual/arith.texi (Normalization Functions): Fix prototypes for
29343 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29345 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29349 high value to check if expl overflow.
29350 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29351 to check for underflow and overflow.
29352 * math/libm-test.inc: Add exp test.
29354 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29357 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29360 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29362 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29365 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29367 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29368 wrap blocks consisting of several statements.
29370 * sysdeps/generic/math-tests.h: New file.
29371 * sysdeps/i386/fpu/math-tests.h: Likewise.
29372 * math/test-snan.c: Include it.
29373 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29375 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29379 (__ieee754_j0l): Do not improve calculations using cos of twice
29380 input for inputs above LDBL_MAX / 2.0L.
29381 (__ieee754_y0l): Likewise.
29382 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29383 (__ieee754_j1l): Do not improve calculations using cos of twice
29384 input for inputs above LDBL_MAX / 2.0L.
29385 (__ieee754_y1l): Likewise.
29386 * math/libm-test.inc (j0_test): Add another test.
29387 (j1_test): Likewise.
29388 (y0_test): Likewise.
29389 (y1_test): Likewise.
29390 * sysdeps/i386/fpu/libm-test-ulps: Update.
29392 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29394 * Rules ($(objpfx)bench-%.c): Include code from a C source
29397 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29400 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29401 imaginary part 1.0 and real part less than 0.5 specially.
29402 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29403 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29404 * math/libm-test.inc (cacos_test): Add more tests.
29405 (casin_test): Likewise.
29406 (casinh_test): Likewise.
29407 * sysdeps/i386/fpu/libm-test-ulps: Update.
29408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29410 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29412 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29413 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29415 2013-03-20 Joseph Myers <joseph@codesourcery.com>
29417 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29418 * config.make.in (config-cflags-sse4): Remove variable.
29419 (config-cflags-avx): Likewise.
29420 (config-cflags-sse2avx): Likewise.
29421 (config-cflags-novzeroupper): Likewise.
29422 (config-asflags-i686): Likewise.
29423 (have-mfma4): Likewise.
29424 (have-as-vis3): Likewise.
29426 * configure.in (MIG): Do not AC_SUBST.
29427 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29428 (libc_cv_cc_sse4): Do not AC_SUBST.
29429 (libc_cv_cc_avx): Likewise.
29430 (libc_cv_cc_sse2avx): Likewise.
29431 (libc_cv_cc_novzeroupper): Likewise.
29432 (libc_cv_cc_fma4): Likewise.
29433 (libc_cv_as_i686): Likewise.
29434 (libc_cv_sparc_as_vis3): Likewise.
29435 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29437 (config-asflags-i686): Likewise.
29438 (config-cflags-avx): Likewise.
29439 (config-cflags-sse2avx): Likewise.
29440 (have-mfma4): Likewise.
29441 (config-cflags-novzeroupper): Likewise.
29442 * sysdeps/mach/configure.in (MIG): Likewise.
29443 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29444 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29446 (config-cflags-avx): Likewise.
29447 (config-cflags-sse2avx): Likewise.
29448 (have-mfma4): Likewise.
29449 (config-cflags-novzeroupper): Likewise.
29450 * configure: Regenerated.
29451 * sysdeps/i386/configure: Likewise.
29452 * sysdeps/mach/configure: Likewise.
29453 * sysdeps/sparc/configure: Likewise.
29454 * sysdeps/x86_64/configure: Likewise.
29456 2013-03-20 Roland McGrath <roland@hack.frob.com>
29459 * locale/programs/localedef.c (options): Put N_ translation marker
29460 on argument names, not just descriptions.
29462 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29464 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29466 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
29469 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29471 2013-03-19 Roland McGrath <roland@hack.frob.com>
29473 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29474 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29475 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29476 [!BEFORE_ABORT] (before_abort): New function.
29477 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29478 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29479 (writev_for_fatal): New function.
29480 (WRITEV_FOR_FATAL): New macro; call that.
29481 (backtrace_and_maps): New function.
29482 (BEFORE_ABORT): New macro; call that.
29483 (struct str_list): Type removed.
29484 (__libc_message, __libc_fatal): Functions removed.
29485 Include <sysdeps/posix/libc_fatal.c> instead.
29487 2013-03-19 Joseph Myers <joseph@codesourcery.com>
29489 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29491 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29494 2013-03-19 Andreas Schwab <schwab@suse.de>
29496 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29497 * sysdeps/gnu/configure: Regenerate.
29499 * configure.in: Substitute libc_cv_rtlddir.
29500 * configure: Regenerate.
29501 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29502 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29503 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29504 * elf/Makefile (install-others, CFLAGS-interp.c)
29505 (ldso_install, common-ldd-rewrite): Likewise.
29506 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29507 $(inst_slibdir)/$(rtld-installed-name).
29508 * scripts/rellns-sh: Add -p option.
29509 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29512 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29514 * manual/nptl.texi: Renamed to ...
29515 * manual/threads.texi: ... this.
29516 * manual/Makefile (chapters): Update.
29518 2013-03-18 Roland McGrath <roland@hack.frob.com>
29521 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29522 on argument names, not just descriptions.
29523 * malloc/memusagestat.c (options): Likewise.
29524 * nss/getent.c (options): Likewise.
29526 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
29529 * iconv/iconv_prog.c (options): Put N_ translation marker
29530 on argument names, not just descriptions.
29531 * iconv/iconvconfig.c (options): Likewise.
29533 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
29535 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29536 implementation which is faster on all x86_64 architectures.
29537 Tested on AMD, Intel Nehalem, SNB, IVB.
29538 * sysdeps/x86_64/strnlen.S: Likewise.
29540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29541 Remove all multiarch strlen and strnlen versions.
29542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29543 Remove strlen and strnlen related parts.
29545 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29546 Inline strlen part.
29547 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29549 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29550 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29551 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29552 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29553 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29554 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29556 2013-03-17 Carlos O'Donell <carlos@redhat.com>
29558 * manual/memory.texi (Malloc Tunable Parameters):
29559 Sort parameters alphabetically. Add comments for missing entries.
29561 2013-03-17 David S. Miller <davem@davemloft.net>
29563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29565 2013-03-16 Joseph Myers <joseph@codesourcery.com>
29568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29569 for arguments at most half maximum finite value.
29570 * math/libm-test.inc (j0_test): Add more tests.
29571 (j1_test): Likewise.
29572 (y0_test): Likewise.
29573 (y1_test): Likewise.
29574 * sysdeps/i386/fpu/libm-test-ulps: Update.
29575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29578 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29579 1 / x and functions P and Q for arguments above 0x1p256L.
29580 (__ieee754_y0l): Likewise.
29581 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29582 (__ieee754_y1l): Likewise.
29583 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29584 (j1_test): Likewise.
29585 (y0_test): Likewise.
29586 (y1_test): Likewise.
29588 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29590 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29593 2013-03-15 Roland McGrath <roland@hack.frob.com>
29595 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29596 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29597 zero since it's initialized to EXEC_PAGESIZE.
29599 * sysdeps/unix/sysv/linux/ldsodefs.h
29600 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29601 * sysdeps/generic/ldsodefs.h: ... here.
29603 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29605 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29607 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29609 * math/test-snan.c: Renamed from
29610 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29611 * math/Makefile (tests): Add test-snan.
29612 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29615 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29616 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29618 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29619 __builtin_nan family of functions.
29620 * math/libm-test.inc (initialize): Initialize qnan_value with
29621 __builtin_nan family of functions.
29622 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29624 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29626 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29627 storage class. Initialize qNaN_var and sNaN_var with
29628 __builtin_nan and __builtin_nans families of functions,
29631 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29632 (sqrt_test): Remove duplicate test with qNaN input.
29633 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29634 (round_test, signbit_test, significand_test): Note missing +/-Inf
29635 as well as qNaN tests.
29637 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29638 qNaN_var. Fix a few strings, too.
29639 * math/libm-test.inc (nan_value): Rename to qnan_value.
29640 * math/gen-libm-test.pl (%beautify): Adjust to that.
29641 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29642 * math/test-misc.c (main): Likewise.
29643 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29644 to __qnan_bytes, and __qnan_union, respectively.
29645 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29647 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29648 and lqnanval, respectively.
29649 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29650 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29651 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29652 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29654 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29655 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29658 * math/test-misc.c (main): Fix copy'n'pastos.
29659 * misc/tst-efgcvt.c (special): Likewise.
29661 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29662 Remove declarations.
29664 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29666 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29667 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29668 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29669 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29671 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29673 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29674 macro to return vdso values correctly in IFUNC implementations.
29675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29676 Optimization by using IFUNC.
29678 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29679 Richard Henderson <rth@redhat.com>
29680 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29682 * Makefile.in (bench): New target.
29683 * NEWS: Mention the benchmark framework.
29684 * Rules (bench): Likewise.
29685 (binaries-bench): Generate binaries for functions to
29687 * benchtests/Makefile: New makefile for benchmark tests.
29688 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29690 * benchtests/exp-inputs: New input file for EXP function.
29691 * benchtests/pow-inputs: New input file for POW function.
29692 * scripts/bench.pl: New script to generate source files for
29693 benchmark programs.
29695 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29697 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29698 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29699 computations on mantissa. Use macros for rounding and
29701 (denorm): Likewise.
29702 (__dbl_mp): Likewise.
29703 (add_magnitudes): Likewise.
29704 (sub_magnitudes): Likewise.
29707 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29708 powers of two in terms of TWOPOW macro.
29709 (mp_no): Make type of mantissa as MANTISSA_T.
29710 [!RADIXI]: Define RADIXI.
29711 [!TWO52]: Define TWO52.
29712 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29714 * manual/nptl.texi (cindex): Modify threads to pthreads.
29716 2013-03-15 Joseph Myers <joseph@codesourcery.com>
29718 * sysdeps/x86_64/preconfigure: Regenerated.
29720 2013-03-14 Joseph Myers <joseph@codesourcery.com>
29723 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29725 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29726 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29728 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29729 * math/libm-test.inc (j0_test): Do not allow one spurious
29730 underflow exception.
29731 (y1_test): Likewise.
29733 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29735 * manual/Makefile (chapters): Add nptl.
29736 * manual/debug.texi (Debugging Support): Add link to Threads
29738 * manual/nptl.texi: New file.
29740 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29742 2013-03-14 Petr Baudis <pasky@ucw.cz>
29744 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29745 for non-NULL pointer before the memory validity test. Pointed
29746 out by Holger Brunck <holger.brunck@keymile.com>.
29748 2013-03-13 Andreas Schwab <schwab@suse.de>
29750 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29753 2013-03-13 Joseph Myers <joseph@codesourcery.com>
29755 * timezone/zic.c: Update from tzcode 2013b.
29757 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29759 * manual/install.texi (Configuring and compiling):
29760 Mention i686 and i586.
29761 * INSTALL: Regenerate.
29763 2013-03-12 Roland McGrath <roland@hack.frob.com>
29765 * sysdeps/init_array/elf-init.c: New file.
29767 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29768 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29770 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29771 __gmon_start__ as global, but as static with a .preinit_array pointer.
29772 * sysdeps/init_array/gmon-start.c: New file. Use that.
29773 * sysdeps/init_array/crti.S: New file, empty except for comments.
29774 * sysdeps/init_array/crtn.S: Likewise.
29776 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29778 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29781 Remove Prefer_SSE_for_memop.
29782 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29783 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29784 HAS_PREFER_SSE_FOR_MEMOP.
29785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29788 Remove bzero, memset ifunc support.
29789 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29790 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29791 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29792 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29794 2013-03-11 Andreas Schwab <schwab@suse.de>
29797 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29800 (GLIBC_2.16): Remove pthread_atfork.
29802 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29804 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29805 (ptestcases.h): Likewise.
29807 2013-03-08 Roland McGrath <roland@hack.frob.com>
29809 * Makeconfig ($(common-objpfx)config.status): Depend on
29810 sysdeps/*/preconfigure{,.in} too.
29812 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29814 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29815 (__free_hook): Use void * instead of __malloc_ptr_t.
29816 (__malloc_hook): Likewise.
29817 (__realloc_hook): Likewise.
29818 (__memalign_hook): Likewise.
29819 (__after_morecore_hook): Likewise.
29820 * malloc/arena.c (save_malloc_hook): Likewise.
29821 (save_free_hook): Likewise.
29822 * malloc/hooks.c (malloc_hook_ini): Likewise.
29823 (realloc_hook_ini): Likewise.
29824 (memalign_hook_ini): Likewise.
29825 * malloc/malloc.c (malloc_hook_ini): Likewise.
29826 (realloc_hook_ini): Likewise.
29827 (memalign_hook_ini): Likewise.
29828 (__free_hook): Likewise.
29829 (__malloc_hook): Likewise.
29830 (__realloc_hook): Likewise.
29831 (__memalign_hook): Likewise.
29832 (__libc_malloc): Likewise.
29833 (__libc_free): Likewise.
29834 (__libc_realloc): Likewise.
29835 (__libc_memalign): Likewise.
29836 (__libc_valloc): Likewise.
29837 (__libc_pvalloc): Likewise.
29838 (__libc_calloc): Likewise.
29839 (__posix_memalign): Likewise.
29840 * malloc/morecore.c (__sbrk): Likewise.
29841 (__default_morecore): Likewise.
29843 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29845 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29846 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29847 __malloc_ptrdiff_t.
29849 * malloc/malloc.h (__malloc_size_t): Remove macro.
29850 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29852 (old_memalign_hook): Likewise.
29853 (old_realloc_hook): Likewise.
29854 (struct hdr): Likewise.
29856 (mallochook): Likewise.
29857 (memalignhook): Likewise.
29858 (reallochook): Likewise.
29859 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29860 (tr_old_realloc_hook): Likewise.
29861 (tr_old_memalign_hook): Likewise.
29862 (tr_mallochook): Likewise.
29863 (tr_reallochook): Likewise.
29864 (tr_memalignhook): Likewise.
29866 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29869 default_ldbl_pack and using as default implementation.
29870 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29872 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29873 redundant definition.
29874 (ldbl_insert_mantissa): Likewise.
29875 (ldbl_canonicalize): Likewise.
29876 (ldbl_nearbyint): Likewise.
29877 (ldbl_pack): Rename to ldbl_pack_ppc.
29878 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29879 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29880 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29882 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29885 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29886 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29887 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29890 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29891 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29893 2013-03-07 Andreas Jaeger <aj@suse.de>
29895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29898 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29900 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29901 Include mpa.h and declare __MPEXP.
29902 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29903 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29904 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29905 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29906 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29907 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29908 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29910 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29911 (__slowpow): Use long double EXPL and LOGL functions to
29913 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29914 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29915 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29916 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29917 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29921 intermediate variable to calculate exponent.
29923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29927 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29928 [!NO__SQR]: Define __sqr.
29929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29930 and NO__SQR. Remove all code except __mul and __sqr. Include
29931 sysdeps/ieee754/dbl-64/mpa.c.
29932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29935 * posix/Makefile (tests): Add tst-pathconf.
29936 * posix/tst-pathconf.c: New test case.
29937 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29939 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29941 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
29943 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29945 2013-03-06 Andreas Jaeger <aj@suse.de>
29947 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29948 definition via __MAP_ANONYMOUS.
29950 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29951 it's not part of Linux headers.
29953 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29954 (MAP_HUGE_MASK): Define.
29956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29958 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29959 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29961 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29962 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29964 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29965 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29967 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29969 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29970 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29971 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29972 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29973 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29974 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29976 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29979 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29980 Handle f2fs and efivarfs.
29982 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29985 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29986 (EFIVARFS_MAGIC): Add.
29987 (F2FS_LINK_MAX): Add.
29989 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29991 * stdio-common/vfprintf.c: Replace __builtin_expect with
29994 2013-03-06 Joseph Myers <joseph@codesourcery.com>
29997 * sysdeps/generic/bp-sym.h: Remove file.
29998 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29999 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30000 <bp-sym.h> and <bp-asm.h>.
30001 (__longjmp): Don't use BP_SYM.
30002 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30004 (memcpy): Don't use BP_SYM.
30005 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30006 <bp-sym.h> and <bp-asm.h>.
30007 (memcpy): Don't use BP_SYM.
30008 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30010 (memcpy): Don't use BP_SYM.
30011 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30013 (memset): Don't use BP_SYM.
30014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30016 (__bzero): Don't use BP_SYM.
30017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30019 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30020 <bp-sym.h> and <bp-asm.h>.
30021 (memcmp): Don't use BP_SYM. Remove comment about bounded
30023 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30024 <bp-sym.h> and <bp-asm.h>.
30025 (memcpy): Don't use BP_SYM.
30026 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30027 <bp-sym.h> and <bp-asm.h>.
30028 (memset): Don't use BP_SYM.
30029 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30030 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30031 (__bzero): Don't use BP_SYM.
30032 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30033 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30034 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30035 <bp-sym.h> and <bp-asm.h>.
30036 (strncmp): Don't use BP_SYM. Remove comment about bounded
30038 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30039 <bp-sym.h> and <bp-asm.h>.
30040 (memcpy): Don't use BP_SYM.
30041 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30042 <bp-sym.h> and <bp-asm.h>.
30043 (memset): Don't use BP_SYM.
30044 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30045 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30046 (__bzero): Don't use BP_SYM.
30047 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30048 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30050 <bp-sym.h> and <bp-asm.h>.
30051 (__memchr): Don't use BP_SYM.
30052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30053 <bp-sym.h> and <bp-asm.h>.
30054 (memcmp): Don't use BP_SYM. Remove comment about bounded
30056 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30057 <bp-sym.h> and <bp-asm.h>.
30058 (memcpy): Don't use BP_SYM.
30059 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30060 <bp-sym.h> and <bp-asm.h>.
30061 (__mempcpy): Don't use BP_SYM.
30062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30063 <bp-sym.h> and <bp-asm.h>.
30064 (__memrchr): Don't use BP_SYM.
30065 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30066 <bp-sym.h> and <bp-asm.h>.
30067 (memset): Don't use BP_SYM.
30068 (__bzero): Likewise.
30069 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30070 <bp-sym.h> and <bp-asm.h>.
30071 (__rawmemchr): Don't use BP_SYM.
30072 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30073 <bp-sym.h> and <bp-asm.h>.
30074 (__STRCMP): Don't use BP_SYM.
30075 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30076 <bp-sym.h> and <bp-asm.h>.
30077 (strchr): Don't use BP_SYM.
30078 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30079 <bp-sym.h> and <bp-asm.h>.
30080 (__strchrnul): Don't use BP_SYM.
30081 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30082 <bp-sym.h> and <bp-asm.h>.
30083 (strlen): Don't use BP_SYM.
30084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30085 <bp-sym.h> and <bp-asm.h>.
30086 (strncmp): Don't use BP_SYM. Remove comment about bounded
30088 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30089 <bp-sym.h> and <bp-asm.h>.
30090 (__strnlen): Don't use BP_SYM.
30091 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30092 <bp-sym.h> and <bp-asm.h>.
30093 (__GI__setjmp): Don't use BP_SYM.
30094 (_setjmp): Likewise.
30095 (__sigsetjmp): Likewise.
30096 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30097 (L(start_addresses)): Don't use BP_SYM.
30098 (_start): Likewise.
30099 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30101 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30102 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30103 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30104 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30105 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30107 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30108 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30109 about bounded pointers.
30110 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30111 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30112 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30114 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30115 about bounded pointers. Remove GKM FIXME comments.
30116 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30117 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30119 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30120 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30121 Remove GKM FIXME comments.
30122 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30123 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30124 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30126 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30127 about bounded pointers. Remove GKM FIXME comment.
30128 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30130 (strncmp): Don't use BP_SYM. Remove comment about bounded
30132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30133 <bp-sym.h> and <bp-asm.h>.
30134 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30136 <bp-sym.h> and <bp-asm.h>.
30137 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30140 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30142 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30145 2013-03-05 David S. Miller <davem@davemloft.net>
30147 * po/es.po: Update from translation team.
30149 2013-03-05 Andreas Jaeger <aj@suse.de>
30151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30152 <bits/mman-linux.h>.
30153 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30156 <bits/mman-linux.h> to end of file.
30157 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30159 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30160 <bits/mman-linux.h> to end of file.
30161 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30164 <bits/mman-linux.h> to end of file.
30166 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30167 (MCL_CURRENT, MCL_FUTURE): Define here.
30169 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30172 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30174 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30176 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30179 fourth parameter needed for rt_sigprocmask syscall.
30180 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30181 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30182 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30183 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30184 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30185 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30187 2013-03-04 Joseph Myers <joseph@codesourcery.com>
30190 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30191 comment about bounded pointers.
30192 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30193 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30195 2013-03-04 Andreas Jaeger <aj@suse.de>
30197 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30198 common definitions.
30200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30201 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30202 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30203 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30207 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30210 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30211 __ieee754_sqrl instead of __sqrl.
30213 2013-03-01 Joseph Myers <joseph@codesourcery.com>
30215 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30216 * sysdeps/powerpc/fpu_control.h: ... here.
30217 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30218 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30219 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30220 * sysdeps/powerpc/bits/mathinline.h: ... here.
30222 2013-03-01 Roland McGrath <roland@hack.frob.com>
30224 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30225 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30226 to just [NEED_DL_SYSINFO_DSO].
30227 * elf/dl-support.c: Likewise.
30228 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30229 * elf/rtld.c (dl_main): Likewise.
30230 * elf/setup-vdso.h (setup_vdso): Likewise.
30231 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30232 * sysdeps/unix/sysv/linux/dl-sysdep.c
30233 (_dl_discover_osversion): Likewise.
30235 2013-03-01 Carlos O'Donell <carlos@redhat.com>
30237 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30238 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30240 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30242 * NEWS: Mention libm performance improvements and non-x86 PI
30245 * csu/libc-start.c (__pthread_initialize_minimal): Change
30246 function arguments.
30247 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30249 2013-02-28 Joseph Myers <joseph@codesourcery.com>
30252 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30253 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30254 <bp-sym.h> and <bp-asm.h>.
30255 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30258 (memcpy): Don't use BP_SYM.
30259 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30261 (__mpn_add_n): Don't use BP_SYM.
30262 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30263 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30265 (__mpn_addmul_1): Don't use BP_SYM.
30266 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30267 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30269 (_setjmp): Don't use BP_SYM.
30270 (__novmx_setjmp): Likewise.
30271 (__GI__setjmp): Likewise.
30272 (__vmx_setjmp): Likewise.
30273 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30275 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30276 (__bzero): Don't use BP_SYM.
30277 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30278 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30279 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30280 <bp-sym.h> and <bp-asm.h>.
30281 (memcpy): Don't use BP_SYM.
30282 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30283 <bp-sym.h> and <bp-asm.h>.
30284 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30285 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30286 <bp-sym.h> and <bp-asm.h>.
30287 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30288 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30290 (__mpn_lshift): Don't use BP_SYM.
30291 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30292 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30294 (memset): Don't use BP_SYM.
30295 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30296 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30297 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30299 (__mpn_mul_1): Don't use BP_SYM.
30300 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30302 <bp-sym.h> and <bp-asm.h>.
30303 (memcmp): Don't use BP_SYM.
30304 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30305 <bp-sym.h> and <bp-asm.h>.
30306 (memcpy): Don't use BP_SYM.
30307 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30308 <bp-sym.h> and <bp-asm.h>.
30309 (memset): Don't use BP_SYM.
30310 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30311 <bp-sym.h> and <bp-asm.h>.
30312 (strncmp): Don't use BP_SYM.
30313 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30314 <bp-sym.h> and <bp-asm.h>.
30315 (memcpy): Don't use BP_SYM.
30316 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30317 <bp-sym.h> and <bp-asm.h>.
30318 (memset): Don't use BP_SYM.
30319 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30320 <bp-sym.h> and <bp-asm.h>.
30321 (__memchr): Don't use BP_SYM.
30322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30323 <bp-sym.h> and <bp-asm.h>.
30324 (memcmp): Don't use BP_SYM.
30325 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30326 <bp-sym.h> and <bp-asm.h>.
30327 (memcpy): Don't use BP_SYM.
30328 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30329 <bp-sym.h> and <bp-asm.h>.
30330 (__mempcpy): Don't use BP_SYM.
30331 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30332 <bp-sym.h> and <bp-asm.h>.
30333 (__memrchr): Don't use BP_SYM.
30334 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30335 <bp-sym.h> and <bp-asm.h>.
30336 (memset): Don't use BP_SYM.
30337 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30338 <bp-sym.h> and <bp-asm.h>.
30339 (__rawmemchr): Don't use BP_SYM.
30340 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30341 <bp-sym.h> and <bp-asm.h>.
30342 (__STRCMP): Don't use BP_SYM.
30343 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30344 <bp-sym.h> and <bp-asm.h>.
30345 (strchr): Don't use BP_SYM.
30346 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30347 <bp-sym.h> and <bp-asm.h>.
30348 (__strchrnul): Don't use BP_SYM.
30349 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30350 <bp-sym.h> and <bp-asm.h>.
30351 (strlen): Don't use BP_SYM.
30352 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30353 <bp-sym.h> and <bp-asm.h>.
30354 (strncmp): Don't use BP_SYM.
30355 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30356 <bp-sym.h> and <bp-asm.h>.
30357 (__strnlen): Don't use BP_SYM.
30358 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30360 (__mpn_rshift): Don't use BP_SYM.
30361 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30362 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30363 <bp-sym.h> and <bp-asm.h>.
30364 (__sigsetjmp): Don't use BP_SYM.
30365 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30366 (L(start_addresses)): Don't use BP_SYM.
30367 (_start): Likewise.
30368 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30370 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30371 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30372 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30373 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30375 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30376 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30377 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30378 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30380 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30382 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30383 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30385 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30387 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30388 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30389 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30391 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30393 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30395 (strncmp): Don't use BP_SYM,
30396 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30398 (__mpn_sub_n): Don't use BP_SYM.
30399 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30400 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30402 (__mpn_submul_1): Don't use BP_SYM.
30403 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30405 <bp-sym.h> and <bp-asm.h>.
30406 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30408 <bp-sym.h> and <bp-asm.h>.
30409 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30412 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30415 Use ZK to minimize writes to Z.
30416 (sub_magnitudes): Simplify code a bit.
30417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30418 Use ZK to minimize writes to Z.
30419 (sub_magnitudes): Simplify code a bit.
30421 2013-02-27 Roland McGrath <roland@hack.frob.com>
30423 * csu/gmon-start.c: Add special exception to license text.
30425 2013-02-27 Richard Henderson <rth@redhat.com>
30427 * scripts/config.guess: Update from config.git.
30428 * scripts/config.sub: Likewise.
30430 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30432 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30434 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30436 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30438 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30440 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30442 2013-02-26 Roland McGrath <roland@hack.frob.com>
30444 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30445 [$(build-shared = yes].
30447 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30449 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30450 (__mul): Reduce iterations for calculating mantissa.
30452 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30454 (__mpranred): Likewise.
30457 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30458 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30460 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30462 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30463 Define __attribute__.
30465 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30467 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30469 * posix/regex_internal.h (__attribute): Remove.
30470 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30471 (re_string_context_at): Likewise.
30472 (bitset_not): Use __attribute__ and mark function as possibly
30474 (bitset_merge): Likewise.
30475 (bitset_mask): Likewise.
30476 (re_string_char_size_at): Likewise.
30477 (re_string_wchar_at): Likewise.
30478 (re_string_elem_size_at): Likewise.
30480 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30482 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30486 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30490 (denorm): Likewise.
30491 (__dbl_mp): Likewise.
30492 (add_magnitudes): Likewise.
30493 (sub_magnitudes): Likewise.
30497 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30500 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30503 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30507 up changes with default code.
30508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30511 2013-02-24 Allan McRae <allan@archlinux.org>
30513 * manual/socket.texi (The Internet Namespace): Order menu items
30514 to match that in the file.
30516 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30517 node listing of the info page menu.
30519 2013-02-21 Joseph Myers <joseph@codesourcery.com>
30522 * sysdeps/i386/bp-asm.h: Remove file.
30523 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30524 (PARMS): Do not use macros from bp-asm.h.
30528 (__mpn_add_n): Do not use BP_SYM
30529 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30531 (PARMS): Do not use macros from bp-asm.h.
30534 (__mpn_addmul_1): Do not use BP_SYM
30535 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30537 (PARMS): Do not use macros from bp-asm.h.
30538 (SIGMSK): Likewise.
30539 (_setjmp): Likewise. Do not use BP_SYM.
30540 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30542 (PARMS): Do not use macros from bp-asm.h.
30543 (SIGMSK): Likewise.
30544 (setjmp): Likewise. Do not use BP_SYM.
30545 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30547 (PARMS): Do not use macros from bp-asm.h.
30548 (__frexp): Do not use BP_SYM.
30550 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30552 (PARMS): Do not use macros from bp-asm.h.
30553 (__frexpf): Do not use BP_SYM.
30554 (frexpf): Likewise.
30555 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30557 (PARMS): Do not use macros from bp-asm.h.
30558 (__frexpl): Do not use BP_SYM.
30559 (frexpl): Likewise.
30560 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30562 (PARMS): Do not use macros from bp-asm.h.
30563 (__remquo): Do not use BP_SYM.
30564 (remquo): Likewise.
30565 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30567 (PARMS): Do not use macros from bp-asm.h.
30568 (__remquof): Do not use BP_SYM.
30569 (remquof): Likewise.
30570 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30572 (PARMS): Do not use macros from bp-asm.h.
30573 (__remquol): Do not use BP_SYM.
30574 (remquol): Likewise.
30575 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30577 (PARMS): Do not use macros from bp-asm.h.
30580 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30581 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30583 (PARMS): Do not use macros from bp-asm.h.
30584 (strlen): Do not use BP_SYM.
30585 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30587 (PARMS): Do not use macros from bp-asm.h.
30591 (__mpn_add_n): Do not use BP_SYM.
30592 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30594 (PARMS): Do not use macros from bp-asm.h.
30597 (__mpn_addmul_1): Do not use BP_SYM.
30598 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30601 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30603 (PARMS): Do not use macros from bp-asm.h.
30606 (__mpn_lshift): Do not use BP_SYM.
30607 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30609 (PARMS): Do not use macros from bp-asm.h.
30613 (memcpy): Likewise. Do not use BP_SYM.
30614 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30615 libc_hidden_def and weak_alias.
30616 (mempcpy): Do not use BP_SYM in weak_alias.
30617 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30619 (PARMS): Do not use macros from bp-asm.h.
30622 [!BZERO_P] (CHR): Likewise.
30623 (memset): Likewise. Do not use BP_SYM.
30624 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30626 (PARMS): Do not use macros from bp-asm.h.
30629 (__mpn_mul_1): Do not use BP_SYM.
30630 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30632 (PARMS): Do not use macros from bp-asm.h.
30635 (__mpn_rshift): Do not use BP_SYM.
30636 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30638 (PARMS): Do not use macros from bp-asm.h.
30641 (strchr): Likewise. Do not use BP_SYM.
30642 (index): Do not use BP_SYM in weak_alias.
30643 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30645 (PARMS): Do not use macros from bp-asm.h.
30648 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30649 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30651 (PARMS): Do not use macros from bp-asm.h.
30652 (strlen): Do not use BP_SYM.
30653 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30655 (PARMS): Do not use macros from bp-asm.h.
30659 (__mpn_sub_n): Do not use BP_SYM.
30660 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30662 (PARMS): Do not use macros from bp-asm.h.
30665 (__mpn_submul_1): Do not use BP_SYM.
30666 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30668 (PARMS): Do not use macros from bp-asm.h.
30672 (__mpn_add_n): Do not use BP_SYM.
30673 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30676 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30678 (PARMS): Do not use macros from bp-asm.h.
30681 (memcmp): Do not use BP_SYM.
30682 (bcmp): Do not use BP_SYM in weak_alias.
30683 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30685 (PARMS): Do not use macros from bp-asm.h.
30689 (memcpy): Likewise. Do not use BP_SYM.
30690 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30692 (PARMS): Do not use macros from bp-asm.h.
30696 (memmove): Likewise. Do not use BP_SYM.
30697 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30699 (PARMS): Do not use macros from bp-asm.h.
30703 (__mempcpy): Likewise. Do not use BP_SYM.
30704 (mempcpy): Do not use BP_SYM in weak_alias.
30705 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30707 (PARMS): Do not use macros from bp-asm.h.
30710 [!BZERO_P] (CHR): Likewise.
30711 (memset): Likewise. Do not use BP_SYM.
30712 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30714 (PARMS): Do not use macros from bp-asm.h.
30716 (strcmp): Do not use BP_SYM.
30717 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30719 (PARMS): Do not use macros from bp-asm.h.
30722 [USE_AS_STRTOK_R] (SAVE): Likewise.
30723 (FUNCTION): Likewise. Do not use BP_SYM.
30724 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30726 (strtok_r): Likewise.
30727 (__GI___strtok_r): Likewise.
30728 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30729 (PARMS): Do not use macros from bp-asm.h.
30732 (__mpn_lshift): Do not use BP_SYM.
30733 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30734 (PARMS): Do not use macros from bp-asm.h.
30737 (__memchr): Do not use BP_SYM.
30738 (memchr): Do not use BP_SYM in weak_alias.
30739 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30740 (PARMS): Do not use macros from bp-asm.h.
30743 (memcmp): Do not use BP_SYM.
30744 (bcmp): Do not use BP_SYM in weak_alias.
30745 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30746 (PARMS): Do not use macros from bp-asm.h.
30749 (__mpn_mul_1): Do not use BP_SYM.
30750 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30752 (PARMS): Do not use macros from bp-asm.h.
30755 (__rawmemchr): Do not use BP_SYM.
30756 (rawmemchr): Do not use BP_SYM in weak_alias.
30757 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30758 (PARMS): Do not use macros from bp-asm.h.
30761 (__mpn_rshift): Do not use BP_SYM.
30762 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30763 (PARMS): Do not use macros from bp-asm.h.
30764 (SIGMSK): Likewise.
30765 (__sigsetjmp): Likewise. Do not use BP_SYM.
30766 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30767 (_start): Do not use BP_SYM.
30768 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30769 (PARMS): Do not use macros from bp-asm.h.
30772 (__stpcpy): Likewise. Do not use BP_SYM.
30773 (stpcpy): Do not use BP_SYM in weak_alias.
30774 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30776 (PARMS): Do not use macros from bp-asm.h.
30780 (__stpncpy): Likewise. Do not use BP_SYM.
30781 (stpncpy): Do not use BP_SYM in weak_alias.
30782 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30783 (PARMS): Do not use macros from bp-asm.h.
30786 (strchr): Likewise. Do not use BP_SYM.
30787 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30789 (PARMS): Do not use macros from bp-asm.h.
30792 (__strchrnul): Likewise. Do not use BP_SYM.
30793 (strchrnul): Do not use BP_SYM in weak_alias.
30794 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30796 (PARMS): Do not use macros from bp-asm.h.
30798 (strcspn): Do not use BP_SYM.
30799 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30801 (PARMS): Do not use macros from bp-asm.h.
30804 (strpbrk): Likewise. Do not use BP_SYM.
30805 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30807 (PARMS): Do not use macros from bp-asm.h.
30810 (strrchr): Likewise. Do not use BP_SYM.
30811 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30812 (PARMS): Do not use macros from bp-asm.h.
30814 (strspn): Do not use BP_SYM.
30815 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30816 (PARMS): Do not use macros from bp-asm.h.
30820 (FUNCTION): Likewise. Do not use BP_SYM.
30821 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30823 (strtok_r): Likewise.
30824 (__GI___strtok_r): Likewise.
30825 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30826 (PARMS): Do not use macros from bp-asm.h.
30830 (__mpn_sub_n): Do not use BP_SYM.
30831 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30833 (PARMS): Do not use macros from bp-asm.h.
30836 (__mpn_submul_1): Do not use BP_SYM.
30837 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30839 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30841 (PARMS): Do not use macros from bp-asm.h.
30846 (__clone): Do not use BP_SYM.
30847 (clone): Do not use BP_SYM in weak_alias.
30848 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30850 (PARMS): Do not use macros from bp-asm.h.
30852 (__mmap64): Do not use BP_SYM.
30853 (mmap64): Do not use BP_SYM in weak_alias.
30854 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30855 <bp-sym.h> and <bp-asm.h>.
30856 (PARMS): Do not use macros from bp-asm.h.
30857 (__posix_fadvise64_l64): Do not use BP_SYM.
30858 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30859 (PARMS): Do not use macros from bp-asm.h.
30861 (semtimedop): Do not use BP_SYM.
30862 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30865 2013-02-21 Allan McRae <allan@archlinux.org>
30867 * manual/message.texi (Charset conversion in gettext):
30868 Move @end statement to beginning of line.
30870 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30877 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30878 (denorm): Likewise.
30879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30882 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30884 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30885 tail-call to the resolved function if pltexit isn't needed.
30887 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30890 or Y being zero as being unlikely.
30891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30894 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30896 * manual/nss.texi (System Databases and Name Service Switch):
30897 Remove frobnicate @pxref.
30899 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30901 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30902 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30904 2013-02-20 Petr Machata <pmachata@redhat.com>
30906 * elf/elf.h (R_ARM_TARGET1): New macro.
30907 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30908 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30909 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30910 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30911 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30912 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30913 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30914 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30915 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30916 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30917 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30918 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30919 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30920 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30921 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30922 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30923 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30924 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30925 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30926 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30927 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30928 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30929 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30930 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30931 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30932 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30933 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30934 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30935 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30936 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30937 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30938 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30939 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30940 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30941 (R_ARM_THM_GOT_BREL12): Likewise.
30942 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30943 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30944 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30945 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30946 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30947 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30948 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30949 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30950 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30952 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30954 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30955 __attribute_used__ to __attribute__ ((unused)).
30957 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30959 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30962 comment formatting.
30963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30965 2013-02-19 Joseph Myers <joseph@codesourcery.com>
30968 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30970 (ENTER): Remove both macro definitions.
30972 (CHECK_BOUNDS_LOW): Likewise.
30973 (CHECK_BOUNDS_HIGH): Likewise.
30974 (CHECK_BOUNDS_BOTH): Likewise.
30975 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30976 (RETURN_BOUNDED_POINTER): Likewise.
30977 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30978 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30979 (POP_ERRNO_LOCATION_RETURN): Likewise.
30980 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30981 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30982 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30984 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30985 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30986 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30987 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30988 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30989 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30990 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30991 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30992 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30993 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30994 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30995 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30996 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30997 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30999 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31000 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31002 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31003 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31004 * sysdeps/i386/i586/memset.S (memset): Likewise.
31005 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31007 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31009 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31010 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31011 Change uses of L(2) to L(out).
31012 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31013 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31014 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31015 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31016 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31018 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31019 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31021 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31022 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31023 (RETURN): Do not use macro LEAVE.
31024 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31025 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31026 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31027 * sysdeps/i386/i686/memset.S (memset): Likewise.
31028 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31029 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31030 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31031 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31033 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31034 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31035 L(1_2) and L(1_3) into L(1).
31036 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31037 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31038 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31039 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31040 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31041 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31042 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31043 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31044 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31046 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31047 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31048 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31049 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31050 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31051 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31052 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31053 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31054 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31055 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31056 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31057 * sysdeps/i386/strspn.S (strspn): Likewise.
31058 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31060 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31061 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31062 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31063 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31064 L(1_3) into L(1_1).
31065 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31066 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31067 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31069 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31071 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31073 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31076 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31078 * math/atest-exp.c (exp_mpn): Remove ROUND.
31079 * math/atest-exp2.c (exp_mpn): Likewise.
31080 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31082 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31083 * stdlib/tst-tls-atexit-lib.c: Likewise.
31084 * stdlib/tst-tls-atexit.c: Likewise.
31086 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31088 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31089 and __attribute_alloc_size__.
31091 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31093 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31094 __attribute_alloc_size__.
31095 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31096 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31098 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31100 * include/programs/xmalloc.h: New file.
31101 * catgets/gencat.c: Include it.
31102 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31103 * elf/pldd.c: Likewise.
31104 * iconv/iconv_charmap.c: Likewise.
31105 * iconv/iconvconfig.c: Likewise.
31106 * iconv/strtab.c: Likewise.
31107 * locale/programs/locale.c: Likewise.
31108 * locale/programs/localedef.h: Likewise.
31109 * locale/programs/simple-hash.c: Likewise.
31110 * nscd/nscd.h: Likewise.
31111 * nss/makedb.c: Likewise.
31112 * sysdeps/generic/ldconfig.h: Likewise.
31114 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31116 * Versions.def: Add GLIBC_2.18.
31117 * include/link.h (struct link_map): New member l_tls_dtor_count.
31118 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31119 (__call_tls_dtors): Likewise.
31120 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31121 __cxa_thread_atexit_impl.
31122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31138 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31139 (tests): Add test case tst-tls-atexit.
31140 (modules-names): Add shared library for tst-tls-atexit.
31141 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31142 (GLIBC_PRIVATE): Add __call_tls_dtors.
31143 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31145 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31146 * stdlib/tst-tls-atexit.c: New test case.
31147 * stdlib/tst-tls-atexit-lib.c: New test case.
31149 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31151 * elf/Versions (ld): Add _dl_find_dso_for_object.
31152 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31153 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31154 (dl_open_worker): Use _dl_find_dso_for_object.
31155 * elf/dl-sym.c (do_sym): Likewise.
31156 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31158 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31160 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31161 Syntactic changes only.
31162 (_dl_runtime_profile): Do a tail-call to the resolved function.
31164 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31167 * sysdeps/x86_64/bp-asm.h: Remove file.
31168 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31169 <bp-sym.h> and <bp-asm.h>.
31170 (__clone): Do not use BP_SYM.
31171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31172 <bp-sym.h> and <bp-asm.h>.
31173 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31174 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31176 (_setjmp): Do not use BP_SYM.
31177 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31179 (setjmp): Do not use BP_SYM.
31180 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31182 (mempcpy): Do not use BP_SYM in weak_alias.
31183 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31185 (strchr): Do not use BP_SYM.
31186 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31188 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31189 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31190 (_start): Do not use BP_SYM.
31191 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31193 (strcat): Do not use BP_SYM.
31194 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31196 (STRCMP): Do not use BP_SYM.
31197 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31199 (STRCPY): Do not use BP_SYM.
31200 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31202 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31204 (FUNCTION): Do not use BP_SYM.
31205 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31207 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31209 2013-02-17 Andreas Jaeger <aj@suse.de>
31211 * time/Versions: Sort entries.
31212 * string/Versions: Likewise.
31213 * resolv/Versions: Likewise.
31214 * posix/Versions: Likewise.
31215 * iconv/Versions: Likewise.
31216 * elf/Versions: Likewise.
31217 * wcsmbs/Versions: Likewise.
31219 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31221 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31222 loop termination condition.
31224 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31225 variable to calculate EZ.
31228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31229 the lower precision input.
31231 2013-02-15 Joseph Myers <joseph@codesourcery.com>
31234 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31235 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31236 (run-via-rtld-prefix): Do not handle %-bp tests.
31237 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31238 (all-object-suffixes): Remove .ob.
31239 (bppfx): Remove variable.
31240 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31241 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31242 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31243 [$(build-bounded) = yes] (libtype.ob): Likewise.
31244 * Makerules (elide-routines.ob): Remove variable.
31245 (do-tests-clean): Do not handle *-bp.out.
31246 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31247 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31248 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31249 (tests): Do not include $(tests-bp.out).
31250 (xtests): Do not include $(xtests-bp.out).
31251 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31252 [$(build-bounded) = yes] ($(addprefix
31253 $(objpfx),$(binaries-bounded))): Remove rule.
31254 ($(objpfx)%-bp.out): Remove rule.
31255 * config.make.in (build-bounded): Remove variable.
31256 * crypt/Makefile [$(build-bounded) = yes]
31257 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31258 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31259 append to variable.
31260 [$(build-bounded) = yes] (install-lib): Likewise.
31261 [$(build-bounded) = yes] (generated): Likewise.
31262 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31264 * intl/Makefile [$(build-bounded) = yes]
31265 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31266 * math/Makefile [$(build-bounded) = yes]
31267 ($(tests:%=$(objpfx)%-bp): Likewise.
31268 * misc/Makefile [$(build-bounded) = yes]
31269 ($(objpfx)tst-tsearch-bp): Likewise.
31270 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31271 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31273 * string/Makefile (o-objects.ob): Remove variable.
31274 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31275 (CFLAGS-.ob): Remove variable.
31276 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31277 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31278 both definitions of variable.
31279 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31280 (ASFLAGS-.ob): Remove variable.
31282 2013-02-14 Joseph Myers <joseph@codesourcery.com>
31285 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31286 Remove __BOUNDED_POINTERS__ from condition.
31287 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31288 * string/bits/string2.h [!__NO_STRING_INLINES &&
31289 !__BOUNDED_POINTERS__]: Likewise.
31290 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31292 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31293 Remove conditional code.
31294 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31295 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31296 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31300 * csu/libc-start.c: Do not include <bp-sym.h>.
31301 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31302 * elf/dl-open.c: Do not include <bp-sym.h>.
31303 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31304 * math/fegetenv.c: Do not include <bp-sym.h>.
31305 (fegetenv): Do not use BP_SYM in versioned symbols.
31306 * nptl/sysdeps/pthread/bits/libc-lockP.h
31307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31310 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31312 (__pthread_mutex_destroy): Likewise.
31313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31314 (__pthread_mutex_lock): Likewise.
31315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31316 (__pthread_mutex_trylock): Likewise.
31317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31318 (__pthread_mutex_unlock): Likewise.
31319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31320 (__pthread_mutexattr_init): Likewise.
31321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31322 (__pthread_mutexattr_destroy): Likewise.
31323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31324 (__pthread_mutexattr_settype): Likewise.
31325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31326 (__pthread_rwlock_init): Likewise.
31327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31328 (__pthread_rwlock_destroy): Likewise.
31329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31330 (__pthread_rwlock_rdlock): Likewise.
31331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31332 (__pthread_rwlock_tryrdlock): Likewise.
31333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31334 (__pthread_rwlock_wrlock): Likewise.
31335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31336 (__pthread_rwlock_trywrlock): Likewise.
31337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31338 (__pthread_rwlock_unlock): Likewise.
31339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31340 (__pthread_key_create): Likewise.
31341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31342 (__pthread_setspecific): Likewise.
31343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31344 (__pthread_getspecific): Likewise.
31345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31348 (_pthread_cleanup_push_defer): Likewise.
31349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31350 (_pthread_cleanup_pop_restore): Likewise.
31351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31352 (pthread_setcancelstate): Likewise.
31353 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31355 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31356 (memchr): Do not use BP_SYM in weak_alias.
31357 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31358 (fegetenv): Do not use BP_SYM in versioned symbols.
31359 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31360 (fesetenv): Do not use BP_SYM in versioned symbols.
31361 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31362 (feupdateenv): Do not use BP_SYM in versioned symbols.
31363 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31364 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31365 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31366 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31367 (open64): Do not use BP_SYM in weak_alias.
31368 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31369 (fegetenv): Do not use BP_SYM in versioned symbols.
31370 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31371 (fesetenv): Do not use BP_SYM in versioned symbols.
31372 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31373 (feupdateenv): Do not use BP_SYM in versioned symbols.
31374 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31375 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31376 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31377 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31378 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31379 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31382 (__libc_start_main): Do not use BP_SYM.
31384 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31387 redundant return line.
31389 (denorm): Likewise.
31390 (dbl_mp): Likewise.
31391 (sub_magnitudes): Likewise.
31397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31399 (denorm): Likewise.
31400 (dbl_mp): Likewise.
31401 (sub_magnitudes): Likewise.
31408 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31410 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31411 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31414 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31415 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31417 of __mul for squares.
31418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31422 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31423 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31425 2013-02-13 Joseph Myers <joseph@codesourcery.com>
31428 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31430 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31431 prototype or function definition. Rename ubp_* variables and
31432 parameters. Remove argv definitions conditional on
31433 [__BOUNDED_POINTERS__].
31434 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31435 * elf/dl-runtime.c (_dl_fixup): Likewise.
31436 * include/set-hooks.h (RUN_HOOK): Likewise.
31437 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31439 * string/strcpy.c (strcpy): Do not use __unbounded.
31440 * sysdeps/generic/frame.h (struct layout): Likewise.
31441 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31442 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31443 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31444 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31445 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31446 (__backtrace): Likewise.
31447 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31449 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31450 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31451 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31453 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31454 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31455 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31456 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31457 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31458 Do not use __unbounded.
31459 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31460 Rename __unboundedrlimits parameter to rlimits in prototype.
31461 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31462 Do not use __unbounded.
31463 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31464 not use __ptrvalue.
31465 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31466 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31467 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31468 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31469 __ptrvalue or __unbounded.
31470 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31471 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31473 (__new_msgctl): Do not use __ptrvalue.
31474 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31476 (__libc_msgrcv): Do not use __ptrvalue.
31477 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31478 startup_info): Do not use __unbounded.
31479 (__libc_start_main): Likewise. Rename ubp_* variables and
31480 parameters. Remove argv definitions conditional on
31481 [__BOUNDED_POINTERS__].
31482 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31484 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31486 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31488 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31490 (__new_shmctl): Do not use __ptrvalue.
31491 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31492 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31494 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31495 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31496 (__libc_sigaction): Likewise.
31497 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31498 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31500 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31502 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
31504 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31506 * string/mempcpy.c: Implement by calling memcpy.
31508 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31515 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31516 values in the mantissa.
31518 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31519 minimize writes to Z.
31520 (sub_magnitudes): Simplify code a bit.
31522 2013-02-12 Roland McGrath <roland@hack.frob.com>
31524 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31525 from the message. The linker prefixes all warnings with that already.
31527 2013-02-12 Andreas Schwab <schwab@suse.de>
31530 * posix/regexec.c (extend_buffers): Add parameter min_len.
31531 (check_matching): Pass minimum needed length.
31532 (clean_state_log_if_needed): Likewise.
31533 (get_subexp): Likewise.
31534 * posix/Makefile (tests): Add bug-regex34.
31535 (bug-regex34-ENV): Define.
31536 * posix/bug-regex34.c: New file.
31539 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31540 elements compare against the byte sequence of it, not its name.
31541 * posix/Makefile (tests): Add bug-regex35.
31542 (bug-regex35-ENV): Define.
31543 * posix/bug-regex35.c: New file.
31545 2013-02-11 Tom de Vries <tom@codesourcery.com>
31547 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31549 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31550 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31551 (CHECK_EOL): Add undef.
31553 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
31555 * bits/stdlib-bsearch.h: New file.
31556 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31557 * stdlib/stdlib.h: Likewise.
31559 2013-02-11 Roland McGrath <roland@hack.frob.com>
31561 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31562 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31564 * manual/search.texi (Array Search Function): Add missing const in
31566 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31567 declaration to use rlim_t.
31568 (Basic Scheduling Functions): Remove erroneous const from
31569 sched_getparam prototype. Remove erroneous * from
31570 sched_get_priority_max and sched_get_priority_min prototypes.
31571 (Resource Usage): Fix summary @comment on vtimes to refer to
31572 sys/vtimes.h rather than vtimes.h.
31573 Add missing *s in vtimes prototype.
31574 (Limits on Resources): Fix ulimit prototype to return long int.
31575 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31576 prototypes to use long int rather than double.
31577 (BSD Random): Fix initstate and setstate to use char *, not void *.
31578 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31579 prototype to make second argument 'struct aiocb64 *const[]'.
31580 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31581 (Status of AIO Operations): Remove erroneous const in aio_return and
31582 aio_return64 prototypes.
31583 (Synchronizing I/O): Fix sync prototype to return void.
31584 * manual/startup.texi (Suboptions): Remove an erroneous const in
31585 getsubopt prototype.
31586 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31587 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31588 use size_t rather than int.
31589 (Scanning All Users): Likewise for getpwent_r.
31590 (Setting Groups): Add missing const to setgroups prototype.
31591 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31592 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31593 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31594 'const void *' rather than 'const char *'.
31595 (Host Address Functions): Likewise for inet_ntop.
31596 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31597 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31598 ssize_t for return value.
31599 (Sending Data): Likewise for send, sendto, sendmsg.
31600 (Socket Option Functions): Add a missing const in setsockopt prototype.
31601 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31602 use wchar_t for the argument.
31603 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31604 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31606 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31607 double/float/long double for second argument.
31608 Fix return types of significand, significandf, significandl.
31609 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31610 argument in fchmod prototype.
31611 (File Owner): Use uid_t and gid_t in fchown prototype.
31612 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31613 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31614 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31615 use 'const struct dirent **' as argument types to CMP function pointer
31617 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31618 (File Times): Fix summary magic @comment for struct utimbuf and utime
31619 to refer to utime.h, not time.h.
31620 * manual/string.texi (Argz Functions): Add missing const in
31621 argz_extract and argz_next prototypes.
31622 (Finding Tokens in a String): Likewise for basename.
31623 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31624 (Copying and Concatenation): Fix typo in wmemmove prototype.
31625 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31626 (Signal Stack): Remove erroneous const in sigstack prototype.
31627 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31629 (Simple Calendar Time): Likewise for stime.
31630 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31632 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31633 say sys/sysctl.h instead.
31634 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31635 and vsyslog prototypes.
31637 2013-02-11 Tom de Vries <tom@codesourcery.com>
31639 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31642 2013-02-11 Roland McGrath <roland@hack.frob.com>
31644 * misc/sys/mman.h: Fix typo in mremap comment.
31646 2013-02-08 Roland McGrath <roland@hack.frob.com>
31648 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31649 the '\0' terminator.
31651 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31654 * debug/segfault.c: Don't include <bp-checks.h>.
31655 * sysdeps/generic/bp-checks.h: Remove file.
31656 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31657 (__GETDENTS): Don't use CHECK_N.
31658 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31659 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31660 (__getgroups): Don't use CHECK_N.
31661 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31662 (setgroups): Don't use CHECK_N.
31663 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31664 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31665 (__libc_msgrcv): Don't use CHECK_N.
31666 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31667 (__libc_msgsnd): Don't use CHECK_N.
31668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31670 (__libc_pread): Don't use CHECK_N.
31671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31672 include <bp-checks.h>.
31673 (__libc_pread64): Don't use CHECK_N.
31674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31675 include <bp-checks.h>.
31676 (__libc_pwrite): Don't use CHECK_N.
31677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31678 include <bp-checks.h>.
31679 (__libc_pwrite64): Don't use CHECK_N.
31680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31682 (__libc_pread): Don't use CHECK_N.
31683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31684 include <bp-checks.h>.
31685 (__libc_pread64): Don't use CHECK_N.
31686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31687 include <bp-checks.h>.
31688 (__libc_pwrite): Don't use CHECK_N.
31689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31690 include <bp-checks.h>.
31691 (__libc_pwrite64): Don't use CHECK_N.
31692 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31693 (do_pread): Don't use CHECK_N.
31694 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31695 (do_pread64): Don't use CHECK_N.
31696 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31697 (do_pwrite): Don't use CHECK_N.
31698 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31699 (do_pwrite64): Don't use CHECK_N.
31700 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31701 (__libc_readv): Don't use CHECK_N.
31702 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31703 (semop): Don't use CHECK_N.
31704 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31706 (semtimedop): Don't use CHECK_N.
31707 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31708 (__libc_pread): Don't use CHECK_N.
31709 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31711 (__libc_pread64): Don't use CHECK_N.
31712 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31714 (__libc_pwrite): Don't use CHECK_N.
31715 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31717 (__libc_pwrite64): Don't use CHECK_N.
31718 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31720 (__libc_msgrcv): Don't use CHECK_N.
31721 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31722 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31723 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31724 (__libc_writev): Don't use CHECK_N.
31726 2013-02-08 Roland McGrath <roland@hack.frob.com>
31728 * string/strcpy.c: Removed unused variable.
31730 * Makeconfig (+sysdep-includes): Define with := rather than =.
31731 Use an existing include/ subdir of each sysdeps dir before it.
31733 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31735 * nscd/connection.c (register_traced_file): Comment function.
31736 [HAVE_INOTIFY] (union __inev): Define.
31737 [HAVE_INOTIFY] (inotify_check_files): New function.
31738 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31739 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31741 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31743 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31745 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31746 loaded if not already and that a failure is permanent.
31748 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31751 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31752 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31754 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31757 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31758 (CHECK_1_NULL_OK): Likewise.
31759 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31760 (__fxstat): Do not use CHECK_1.
31761 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31763 (___fxstat64): Do not use CHECK_1.
31764 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31766 (__fxstatat): Do not use CHECK_1.
31767 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31769 (__fxstatat64): Do not use CHECK_1.
31770 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31772 (__fxstat): Do not use CHECK_1.
31773 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31775 (__fxstatat): Do not use CHECK_1.
31776 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31778 (__getresgid): Do not use CHECK_1.
31779 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31781 (__getresuid): Do not use CHECK_1.
31782 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31784 (__lxstat): Do not use CHECK_1.
31785 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31787 (__old_msgctl): Do not use CHECK_1.
31788 (__new_msgctl): Likewise.
31789 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31791 (__new_setrlimit): Do not use CHECK_1.
31792 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31794 (__old_shmctl): Do not use CHECK_1.
31795 (__new_shmctl): Likewise.
31796 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31798 (__xstat): Do not use CHECK_1.
31799 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31800 (__lxstat): Do not use CHECK_1.
31801 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31803 (___lxstat64): Do not use CHECK_1.
31804 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31805 (__old_msgctl): Do not use CHECK_1.
31806 (__new_msgctl): Likewise.
31807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31809 (__gettimeofday): Do not use CHECK_1.
31810 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31811 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31812 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31814 (__gettimeofday): Do not use CHECK_1.
31815 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31816 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31817 (__new_shmctl): Do not use CHECK_1.
31818 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31820 (do_sigtimedwait): Do not use CHECK_1.
31821 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31823 (do_sigwaitinfo): Do not use CHECK_1.
31824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31826 (msgctl): Do not use CHECK_1.
31827 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31829 (shmctl): Do not use CHECK_1.
31830 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31831 (ustat): Do not use CHECK_1.
31832 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31834 (__fxstat): Do not use CHECK_1.
31835 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31837 (__fxstatat): Do not use CHECK_1.
31838 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31840 (__lxstat): Do not use CHECK_1.
31841 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31843 (__xstat): Do not use CHECK_1.
31844 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31845 (__xstat): Do not use CHECK_1.
31846 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31847 (___xstat64): Do not use CHECK_1.
31850 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31852 (CHECK_BOUNDS_HIGH): Likewise.
31853 * string/strcpy.c: Do not include <bp-checks.h>.
31854 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31856 2013-02-07 Roland McGrath <roland@hack.frob.com>
31858 * nscd/nscd-client.h (__nscd_drop_map_ref):
31859 Add __attribute__ ((unused)).
31860 * nis/nss-nisplus.h (niserr2nss): Likewise.
31862 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31863 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31865 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31866 Remove inline keyword.
31867 * include/rounding-mode.h (round_away): Likewise.
31868 * libio/wfileops.c (adjust_wide_data): Likewise.
31869 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31870 (__m128i_strloadu_tolower): Likewise.
31871 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31872 (__m128i_strloadu_tolower): Likewise.
31873 * time/mktime.c (ydhms_diff): Likewise.
31874 * locale/elem-hash.h (elem_hash): Likewise.
31875 * locale/setlocale.c (setdata): Likewise.
31876 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31877 (re_string_wchar_at): Likewise.
31878 (bitset_not, bitset_merge, bitset_mask): Likewise.
31879 [!(__GNUC__ > 3)] (inline): Remove macro.
31880 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31881 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31882 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31883 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31884 * string/memcmp.c (memcmp_bytes): Likewise.
31885 * locale/programs/locarchive.c (compute_hashval): Likewise.
31886 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31887 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31888 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31889 * nss/getent.c (print_rpc, print_protocols): Likewise.
31890 (print_passwd, print_group, print_aliases): Likewise.
31891 * nis/nss-nisplus.h (niserr2nss): Likewise.
31892 * nscd/connections.c (restart_p): Likewise.
31893 Change return type to bool.
31895 2013-02-05 Roland McGrath <roland@hack.frob.com>
31897 * Makeconfig (all-Depend-files): Add existing
31898 $(sorted-subdirs:=/Depend) files.
31899 (all-subdirs): Remove nss.
31900 * sysdeps/unix/inet/Subdirs: Add it here instead.
31901 * hesiod/Depend: New file.
31903 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31904 instead of calling alloca.
31906 * io/lseek.c (__lseek): Rename to __libc_lseek.
31907 Define __lseek as an alias.
31909 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31911 2013-02-04 Carlos O'Donell <carlos@redhat.com>
31913 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31914 else clause and remove check for non-standard endianness.
31916 2013-02-04 David S. Miller <davem@davemloft.net>
31918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31920 2013-02-04 Joseph Myers <joseph@codesourcery.com>
31923 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31924 (__ubp_memchr): Remove prototype.
31925 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31926 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31927 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31928 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31929 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31931 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31932 (__ubp_memchr): Likewise.
31933 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31934 (__ubp_memchr): Likewise.
31935 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31936 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31937 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31938 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31940 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31941 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31942 (__getcwd): Do not use CHECK_STRING.
31943 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31945 (__real_chown): Do not use CHECK_STRING.
31946 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31948 (fchownat): Do not use CHECK_STRING.
31949 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31951 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31953 (__lchown): Do not use CHECK_STRING.
31954 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31955 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31956 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31957 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31959 include <bp-checks.h>.
31960 (truncate64): Do not use CHECK_STRING.
31961 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31963 (__real_chown): Do not use CHECK_STRING.
31964 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31966 (__lchown): Do not use CHECK_STRING.
31967 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31969 (__chown): Do not use CHECK_STRING.
31970 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31972 (truncate64): Do not use CHECK_STRING.
31973 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31975 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31976 (__xmknod): Do not use CHECK_STRING.
31977 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31979 (__xmknodat): Do not use CHECK_STRING.
31980 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31981 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31983 2013-02-04 Andreas Schwab <schwab@suse.de>
31986 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31987 * include/netdb.h: Likewise for h_errno.
31988 * elf/tst-stackguard1.c: Include <tls.h>.
31990 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31992 * elf/link.h (struct link_map): Extend the l_addr comment.
31993 * include/link.h (struct link_map): Likewise.
31995 2013-02-01 Joseph Myers <joseph@codesourcery.com>
31998 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31999 (BOUNDED_1): Remove macro.
32000 * debug/backtrace.c: Don't include <bp-checks.h>.
32001 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32002 (__backtrace): Likewise.
32003 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32005 (__backtrace): Don't use BOUNDED_1.
32006 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32008 (__backtrace): Don't use BOUNDED_1.
32009 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32010 (__backtrace): Don't use BOUNDED_1.
32011 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32012 (shmat): Don't use BOUNDED_N.
32014 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32017 * sysdeps/generic/bp-start.h: Remove file.
32018 * csu/libc-start.c: Don't include <bp-start.h>.
32019 (LIBC_START_MAIN): Set up __environ directly instead of using
32020 INIT_ARGV_and_ENVIRON.
32021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32025 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32027 (CHECK_FCNTL): Likewise.
32028 (CHECK_N_PAGES): Likewise.
32031 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32033 (CHECK_SIGSET_NULL_OK): Likewise.
32034 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32036 (sigpending): Don't use CHECK_SIGSET.
32037 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32040 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32042 (do_sigsuspend): Don't use CHECK_SIGSET.
32043 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32045 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32046 (do_sigwait): Don't use CHECK_SIGSET.
32047 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32049 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32050 include <bp-checks.h>.
32051 (sigpending): Don't use CHECK_SIGSET.
32052 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32053 include <bp-checks.h>.
32054 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32055 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32057 (sigpending): Don't use CHECK_SIGSET.
32058 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32060 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32063 * sysdeps/generic/bp-semctl.h: Remove file.
32064 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32065 <bp-checks.h> and <bp-semctl.h>.
32066 (__old_semctl): Don't use CHECK_SEMCTL.
32067 (__new_semctl): Likewise.
32068 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32070 (__old_semctl): Don't use CHECK_SEMCTL.
32071 (__new_semctl): Likewise.
32072 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32073 <bp-checks.h> and <bp-semctl.h>.
32074 (__old_semctl): Don't use CHECK_SEMCTL.
32075 (__new_semctl): Likewise.
32076 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32077 <bp-checks.h> and <bp-semctl.h>.
32078 (semctl): Don't use CHECK_SEMCTL.
32081 * Makerules (elide-bp-thunks): Remove variable.
32082 (elide-routines.oS): Don't use $(elide-bp-thunks).
32083 (elide-routines.os): Likewise.
32084 (elide-routines.o): Likewise.
32085 (elide-routines.op): Likewise.
32086 (elide-routines.og): Likewise.
32087 (objects): Don't use $(bp-thunks).
32088 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32090 (common-generated): Do not add s-proto-bp.d.
32091 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32094 Do not generate makefile rules for bounded-pointer thunks.
32095 * sysdeps/generic/bp-thunks.h: Remove file.
32096 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32097 * sysdeps/unix/s-proto-bp.S: Likewise.
32100 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32101 parts of result separately when argument is not close to line from
32102 -i to i and one part of argument is small.
32103 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32104 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32105 * math/libm-test.inc (cacos_test): Add more tests.
32106 (casin_test): Likewise.
32107 (casinh_test): Likewise.
32108 * sysdeps/i386/fpu/libm-test-ulps: Update.
32109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32111 2013-01-31 David S. Miller <davem@davemloft.net>
32113 * po/de.po: Update from translation team.
32115 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32117 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32119 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32121 * configure.in (_AC_PROG_CC_C89): New definition.
32122 * configure: Regenerate.
32124 * configure.in (AC_PROG_CPP): New definition.
32125 * configure: Regenerate.
32127 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32129 * debug/tst-backtrace.h: New file.
32130 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32131 (ret): Remove variable.
32133 (FAIL): Remove macro.
32134 (NO_INLINE): Likewise.
32135 (fn1): Use match function instead of strstr.
32136 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32137 (ret): Remove variable.
32139 (FAIL): Remove macro.
32140 (NO_INLINE): Likewise.
32141 (fn): Use match function instead of strstr.
32142 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32143 (ret): Remove variable.
32145 (FAIL): Remove macro.
32146 (NO_INLINE): Likewise.
32147 (handle_signal): Use match function instead of strstr.
32148 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32149 (ret): Remove variable.
32151 (FAIL): Remove macro.
32152 (NO_INLINE): Likewise.
32153 (handle_signal): Use match function instead of strstr.
32155 2013-01-23 Roland McGrath <roland@hack.frob.com>
32157 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32159 2013-01-23 David S. Miller <davem@davemloft.net>
32161 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32162 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32163 argument of CAS if possible.
32164 * sysdeps/sparc/sparc64/bits/atomic.h
32165 (__arch_compare_and_exchange_val_32_acq): Likewise.
32166 (__arch_compare_and_exchange_val_64_acq): Likewise.
32168 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32170 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32171 * sysdeps/posix/ulimit.c: ... this.
32172 Include <limits.h>.
32173 * sysdeps/unix/bsd/ulimit.c: Remove file.
32175 2013-01-23 Adam Conrad <adconrad@0c3.net>
32177 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32178 (LDFLAGS-tst-array5): Likewise.
32180 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32183 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32184 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32185 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32186 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32188 2013-01-21 David S. Miller <davem@davemloft.net>
32190 * sysdeps/sparc/backtrace.c: New file.
32191 * sysdeps/sparc/sparc32/backtrace.h: New file.
32192 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32193 * sysdeps/sparc/sparc64/backtrace.h: New file.
32194 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32195 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32198 2013-01-21 Andreas Schwab <schwab@suse.de>
32201 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32204 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32210 2013-01-18 Joseph Myers <joseph@codesourcery.com>
32211 Mark Mitchell <mark@codesourcery.com>
32212 Tom de Vries <tom@codesourcery.com>
32213 Paul Pluzhnikov <ppluzhnikov@google.com>
32215 * debug/tst-backtrace2.c: New file.
32216 * debug/tst-backtrace3.c: Likewise.
32217 * debug/tst-backtrace4.c: Likewise.
32218 * debug/tst-backtrace5.c: Likewise.
32219 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32220 (CFLAGS-tst-backtrace3.c): Likewise.
32221 (CFLAGS-tst-backtrace4.c): Likewise.
32222 (CFLAGS-tst-backtrace5.c): Likewise.
32223 (LDFLAGS-tst-backtrace2): Likewise.
32224 (LDFLAGS-tst-backtrace3): Likewise.
32225 (LDFLAGS-tst-backtrace4): Likewise.
32226 (LDFLAGS-tst-backtrace5): Likewise.
32227 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32228 tst-backtrace4 and tst-backtrace5.
32230 2013-01-18 Anton Blanchard <anton@samba.org>
32231 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32233 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32234 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32236 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32238 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32239 "+r" and remove output regs list as redundant. Add explicit inline
32240 asm to specify register of return val to work around compiler codegen
32241 bug. Remove (int) cast on return value. Add return type parameter to
32242 use in macro so that this macro does not truncate return value for
32244 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32245 pass to INTERNAL_VSYSCALL_NCS.
32246 (INLINE_VSYSCALL): Add 'long int' as return type to
32247 INTERNAL_VSYSCALL_NCS macro invocation.
32248 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32249 INTERNAL_VSYSCALL_NCS macro invocation.
32250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32252 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32255 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32256 Fix application of SIMD FP exception mask.
32258 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32259 mp_no from a power of two.
32260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32261 __mpexp_twomm1. Use __pow_mp.
32263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32266 2013-01-17 David S. Miller <davem@davemloft.net>
32268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32270 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32273 * include/complex.h: Condition contents on [!_COMPLEX_H].
32274 (__kernel_casinhf): New prototype.
32275 (__kernel_casinh): Likewise.
32276 (__kernel_casinhl): Likewise.
32277 * math/Makefile (libm_calls): Add k_casinh.
32278 * math/k_casinh.c: New file.
32279 * math/k_casinhf.c: Likewise.
32280 * math/k_casinhl.c: Likewise.
32281 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32282 finite nonzero arguments.
32283 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32284 finite nonzero arguments.
32285 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32286 finite nonzero arguments.
32287 * math/s_casinh.c: Do not include <float.h>.
32288 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32289 * math/s_casinhf.c: Do not include <float.h>.
32290 (__casinhf): Move code for finite nonzero arguments to
32292 * math/s_casinhl.c: Do not include <float.h>.
32293 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32295 (__casinhl): Move code for finite nonzero arguments to
32297 * math/libm-test.inc (cacos_test): Add more tests.
32298 * sysdeps/i386/fpu/libm-test-ulps: Update.
32299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32301 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32303 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32304 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32305 [!HAVE_MREMAP]: Remove [defined linux] case.
32306 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32308 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32310 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32312 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32314 * elf/elf.h (R_386_SIZE32): New relocation.
32315 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32317 (elf_machine_rela): Likewise.
32318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32319 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32321 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32323 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32324 (FP_FAST_FMA): Do not define.
32325 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32326 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32327 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32328 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32329 !_SOFT_FLOAT]: Likewise.
32330 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32331 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32333 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32334 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32335 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32336 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32337 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32338 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32341 2013-01-16 Andreas Schwab <schwab@suse.de>
32344 * include/stdlib.h (__mktemp): Add declaration.
32345 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32346 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32348 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32350 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32352 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32353 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32354 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32356 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32357 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32359 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32361 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32362 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32363 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32365 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32366 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32368 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32370 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32372 2013-01-15 David S. Miller <davem@davemloft.net>
32374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32375 trunc{,f} to libm-sysdep_routes.
32376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32386 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32387 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32388 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32389 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32390 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32391 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32394 nearbyint{,f} to libm-sysdep_routes.
32395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32406 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32408 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32409 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32411 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32412 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32413 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32415 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32416 libc_feholdexcept and libc_fesetenv.
32418 2013-01-15 Mike Frysinger <vapier@gentoo.org>
32420 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32422 2013-01-14 David S. Miller <davem@davemloft.net>
32424 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32425 (SPARC_ASM_VIS2_IFUNC): Likewise.
32426 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32428 use of 'siam' instruction.
32429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32462 routines to libm-sysdep_routines.
32463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32466 fdim/fdimf to libm-sysdep_routines.
32467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32475 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32476 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32477 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32478 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32480 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32482 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32483 to optimize copies.
32485 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32490 local variable MPTWO.
32491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32494 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32496 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32499 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32501 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32503 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32505 * manual/pattern.texi (glob_t): Document gl_flags.
32506 (glob64_t): Likewise.
32508 2013-01-11 David S. Miller <davem@davemloft.net>
32510 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32511 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32512 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32513 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32514 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32515 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32516 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32517 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32518 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32519 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32520 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32521 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32522 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32524 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32525 sparc V9 rather than using V8 code.
32526 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32527 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32529 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32531 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32534 2013-01-11 Roland McGrath <roland@hack.frob.com>
32536 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32537 not in the main loop.
32538 * configure: Regenerated.
32540 2013-01-11 Joseph Myers <joseph@codesourcery.com>
32542 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32543 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32545 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32546 [!__GLIBC_HAVE_LONG_LONG] case.
32547 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32548 condition to just #else.
32549 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32550 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32551 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32552 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32554 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32555 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32556 #elif condition to just #else.
32557 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32558 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32559 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32560 #elif condition to just #else.
32562 2013-01-11 Steve Ellcey <sellcey@mips.com>
32564 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32565 (EF_MIPS_ARCH_64): Fix value.
32566 (EF_MIPS_ARCH_32R2): New.
32567 (EF_MIPS_ARCH_64R2): New.
32569 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32571 * Makeconfig (+link-pie-before-libc): New.
32572 (+link-pie-after-libc): Likewise.
32573 (+link-pie-tests): Likewise.
32574 (+link-pie): Rewritten.
32575 (link-before-libc): Remove $(config-LDFLAGS).
32576 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32577 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32578 (config-LDFLAGS): Renamed to ...
32579 (rtld-LDFLAGS): This.
32580 (rtld-tests-LDFLAGS): New macro.
32581 (link-libc-rpath-link): Likewise.
32582 (link-libc-tests-rpath-link): Likewise.
32583 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32584 (link-libc): Prepand $(link-libc-rpath-link).
32585 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32586 (test-program-prefix): New macro.
32587 (test-via-rtld-prefix): Likewise.
32588 (test-program-cmd): Likewise.
32589 (host-test-program-cmd): Likewise.
32590 * Makefile ($(common-objpfx)testrun.sh): Replace
32591 $(run-program-prefix) with $(test-program-prefix).
32592 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32594 ($(common-objpfx)shlib.lds): Likewise.
32595 (build-module-helper): Likewise.
32596 ($(common-objpfx)format.lds): Likewise.
32597 * Rules (binaries-pie-tests): New.
32598 (binaries-pie-notests): Likewise.
32599 (binaries-pie): Rewritten.
32600 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32601 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32602 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32603 (make-test-out): Replace $(host-built-program-cmd) with
32604 $(host-test-program-cmd).
32605 * config.make.in (build-hardcoded-path-in-tests): New variable.
32606 * configure.in (--enable-hardcoded-path-in-tests): New configure
32608 (hardcoded_path_in_tests): New AC_SUBST.
32609 * configure: Regenerated.
32610 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32611 $(built-program-cmd) with $(test-program-cmd).
32612 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32613 (test_program_cmd): This.
32614 * elf/Makefile ($(objpfx)order.out): Run test with
32615 $(test-program-prefix).
32616 ($(objpfx)order2.out): Likewise.
32617 ($(objpfx)tst-initorder.out): Likewise.
32618 ($(objpfx)tst-initorder2.out): Likewise.
32619 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32620 $(test-program-cmd).
32621 ($(objpfx)tst-array1-static.out): Likewise.
32622 ($(objpfx)tst-array2.out): Likewise.
32623 ($(objpfx)tst-array3.out): Likewise.
32624 ($(objpfx)tst-array4.out): Likewise.
32625 ($(objpfx)tst-array5.out): Likewise.
32626 ($(objpfx)tst-array5-static.out): Likewise.
32627 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32628 $(test-program-cmd).
32629 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32630 $(run-program-prefix) with $(test-program-prefix).
32631 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32632 (test_program_prefix): This.
32633 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32634 $(run-program-prefix) with $(test-program-prefix).
32635 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32636 (test_program_prefix): This.
32637 * iconvdata/tst-tables.sh: Likewise.
32638 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32639 $(run-program-prefix) with $(test-program-prefix).
32640 ($(objpfx)tst-translit.out): Likewise.
32641 ($(objpfx)tst-gettext2.out): Likewise.
32642 ($(objpfx)tst-gettext4.out): Likewise.
32643 ($(objpfx)tst-gettext6.out): Likewise.
32644 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32645 (test_program_prefix): This.
32646 * intl/tst-gettext2.sh: Likewise.
32647 * intl/tst-gettext4.sh Likewise.
32648 * intl/tst-gettext6.sh: Likewise.
32649 * intl/tst-translit.sh: Likewise.
32650 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32651 with $(test-program-cmd).
32652 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32653 $(run-program-prefix) with $(test-program-prefix).
32654 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32655 (test_program_prefix): This.
32656 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32657 $(run-program-prefix) with $(test-program-prefix).
32658 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32659 (test_program_prefix): This.
32660 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32661 * posix/Makefile ($(objpfx)globtest.out): Replace
32662 $(run-via-rtld-prefix) and $(test-wrapper) with
32663 $(test-program-prefix) and $(test-via-rtld-prefix).
32664 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32665 $(test-program-prefix).
32666 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32667 $(host-test-program-cmd).
32668 (tst-spawn-ARGS): Likewise.
32669 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32670 $(test-program-prefix).
32671 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32672 (test_via_rtld_prefix): This.
32673 (test_wrapper): Renamed to ...
32674 (test_program_prefix): This.
32675 (run_program_prefix): Replaced by test_program_prefix.
32676 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32677 (test_program_prefix): This.
32678 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32679 with $(host-test-program-cmd).
32680 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32681 $(run-program-prefix) with $(test-program-prefix).
32682 ($(objpfx)tst-printf.out): Likewise.
32683 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32684 $(test-program-cmd).
32685 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32686 (test_program_prefix): This.
32687 * stdio-common/tst-unbputc.sh: Likewise.
32688 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32689 $(run-program-prefix) with $(test-program-prefix).
32690 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32691 (test_program_prefix): This.
32692 * string/Makefile ($(objpfx)tst-svc.out): Replace
32693 $(built-program-cmd) with $(test-program-cmd).
32695 2013-01-11 Andreas Jaeger <aj@suse.de>
32698 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32699 value. Sync with Linux 3.7.
32701 2013-01-10 David S. Miller <davem@davemloft.net>
32703 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32704 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32705 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32707 2013-01-10 Roland McGrath <roland@hack.frob.com>
32709 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32711 * configure: Regenerated.
32713 2013-01-10 David S. Miller <davem@davemloft.net>
32715 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32716 sparc V9 rather than using V8 code.
32717 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32718 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32720 2013-01-10 Roland McGrath <roland@hack.frob.com>
32722 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32723 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32724 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32725 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32726 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32727 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32728 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32729 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32730 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32731 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32732 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32733 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32734 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32735 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32736 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32737 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32738 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32739 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32740 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32741 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32742 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32743 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32744 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32745 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32746 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32747 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32748 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32750 2013-01-10 David S. Miller <davem@davemloft.net>
32752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32754 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32756 * posix/Makefile (tests-static): New variable.
32757 (tests): Add $(tests-static).
32758 (tst-exec-static-ARGS): New variable.
32759 (tst-spawn-static-ARGS): Likewise.
32760 * posix/tst-exec-static.c: New file.
32761 * posix/tst-spawn-static.c: Likewise.
32762 * posix/tst-exec.c: Support run directly.
32763 * posix/tst-spawn.c: Likewise.
32765 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32767 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32769 * math/bits/mathcalls.h (llrint): Likewise.
32770 (llround): Likewise.
32771 * stdlib/stdlib.h (struct drand48_data): Likewise.
32772 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32773 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32774 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32776 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32778 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32779 (elf_greg_t): Likewise.
32780 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32781 (__jmp_buf): Likewise.
32782 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32784 (llrint): Likewise, for all definitions.
32785 (llrintl): Likewise.
32787 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32788 Remove [__GNUC__] condition.
32789 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32790 condition to just [__USE_ISOC99].
32791 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32793 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32796 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32797 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32799 (_POSIX_V6_ILP32_OFF32): Likewise.
32800 (_XBS5_ILP32_OFF32): Likewise.
32801 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32802 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32804 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32806 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32809 doubles __mpexp_twomm1. Adjust usage.
32810 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32813 2013-01-10 Andreas Schwab <schwab@suse.de>
32816 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32817 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32819 2013-01-09 David S. Miller <davem@davemloft.net>
32822 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32823 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32824 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32825 (TCP_FASTOPEN): Define.
32826 (tcp_repair_opt): New structure.
32827 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32829 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32830 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32831 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32832 (tcp_cookie_transactions): New structure.
32834 2013-01-09 Anton Blanchard <anton@samba.org>
32836 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32837 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32838 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32839 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32841 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32843 * include/features.h (__USE_ANSI): Remove.
32845 2013-01-09 Roland McGrath <roland@hack.frob.com>
32847 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32849 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32851 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32853 * sysdeps/s390/fpu/libm-test-ulps: Update.
32855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32857 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32861 (denorm): Likewise.
32862 (__mp_dbl): Likewise.
32863 (__dbl_mp): Likewise.
32864 (add_magnitudes): Likewise.
32865 (sub_magnitudes): Likewise.
32871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32875 (denorm): Likewise.
32876 (__mp_dbl): Likewise.
32877 (__dbl_mp): Likewise.
32878 (add_magnitudes): Likewise.
32879 (sub_magnitudes): Likewise.
32885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32889 (denorm): Likewise.
32890 (__mp_dbl): Likewise.
32891 (__dbl_mp): Likewise.
32892 (add_magnitudes): Likewise.
32893 (sub_magnitudes): Likewise.
32900 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32902 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32903 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32904 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32905 2 && __USE_EXTERN_INLINES]: Likewise.
32907 2013-01-08 Andreas Jaeger <aj@suse.de>
32910 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32912 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32913 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32915 2013-01-07 Anton Blanchard <anton@samba.org>
32917 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32918 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32919 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32920 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32921 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32923 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32924 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32926 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32927 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32929 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32930 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32931 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32932 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32933 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32934 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32935 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32936 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32937 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32938 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32939 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32940 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32941 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32942 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32943 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32944 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32945 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32946 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32947 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32949 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32950 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32951 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32952 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32953 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32954 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32955 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32956 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32957 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32959 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32961 2013-01-07 Joseph Myers <joseph@codesourcery.com>
32963 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32964 (__MALLOC_PMT): Likewise.
32965 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32966 [__GNUC__], only on [_LIBC].
32967 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32968 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32969 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32970 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32971 forward declaration.
32972 (realloc_hook_ini): Likewise.
32973 (memalign_hook_ini): Likewise.
32974 (__libc_memalign): Do not use __MALLOC_PMT in variable
32976 (__libc_valloc): Likewise.
32977 (__libc_pvalloc): Likewise.
32978 (__libc_calloc): Likewise.
32979 (__posix_memalign): Likewise.
32982 * math/s_casinh.c: Include <float.h>.
32983 (__casinh): Do not do computation with squaring and square root
32984 for large arguments.
32985 * math/s_casinhf.c: Include <float.h>.
32986 (__casinhf): Do not do computation with squaring and square root
32987 for large arguments.
32988 * math/s_casinhl.c: Include <float.h>.
32989 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32990 (__casinhl): Do not do computation with squaring and square root
32991 for large arguments.
32992 * math/libm-test.inc (casin_test): Add more tests.
32993 (casinh_test): Likewise.
32994 * sysdeps/i386/fpu/libm-test-ulps: Update.
32995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32997 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33000 (__x86_64_raw_data_cache_size): Likewise.
33001 (__x86_64_data_cache_size_half): Likewise.
33002 (__x86_64_raw_data_cache_size_half): Likewise.
33003 (__x86_64_shared_cache_size): Likewise.
33004 (__x86_64_raw_shared_cache_size): Likewise.
33005 (__x86_64_shared_cache_size_half): Likewise.
33006 (__x86_64_raw_shared_cache_size_half): Likewise.
33007 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33009 (__x86_data_cache_size): This.
33010 (__x86_64_raw_data_cache_size): Renamed to ...
33011 (__x86_raw_data_cache_size): This.
33012 (__x86_64_data_cache_size_half): Renamed to ...
33013 (__x86_data_cache_size_half): This.
33014 (__x86_64_raw_data_cache_size_half): Renamed to ...
33015 (__x86_raw_data_cache_size_half): This.
33016 (__x86_64_shared_cache_size): Renamed to ...
33017 (__x86_shared_cache_size): This.
33018 (__x86_64_raw_shared_cache_size): Renamed to ...
33019 (__x86_raw_shared_cache_size): This.
33020 (__x86_64_shared_cache_size_half): Renamed to ...
33021 (__x86_shared_cache_size_half): This.
33022 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33023 (__x86_raw_shared_cache_size_half): This.
33024 * sysdeps/x86_64/memcpy.S: Updated.
33025 * sysdeps/x86_64/memset.S: Likewise.
33026 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33030 2013-01-04 David S. Miller <davem@davemloft.net>
33032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33034 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33036 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33037 1 to avoid redefinition warning.
33038 (__USE_GNU): Don't define.
33039 (init_signaling_nan): Protoize.
33041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33043 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33045 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33047 (__cpymn): Likewise.
33048 (norm): Remove commented code.
33049 (denorm): Likewise.
33050 (__mp_dbl): Likewise.
33052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33053 (__cpymn): Likewise.
33054 (norm): Remove commented code.
33055 (denorm): Likewise.
33056 (__mp_dbl): Likewise.
33059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33060 mp_no value for 1.0 and 2.0.
33061 (norm): Use RADIXI instead of radixi.d.
33062 (denorm): Likewise.
33063 (__mul): Use 0.0 instead of zero.d.
33064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33065 mp_no value for 1.0 and 2.0.
33066 (norm): Use RADIXI instead of radixi.d.
33067 (denorm): Likewise.
33068 (__mul): Use 0.0 instead of zero.d.
33070 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33073 * math/s_casinh.c (__casinh): Reduce finite argument to first
33074 quadrant then set signs of results at the end.
33075 * math/s_casinhf.c (__casinhf): Likewise.
33076 * math/s_casinhl.c (__casinhl): Likewise.
33077 * math/libm-test.inc (casin_test): Add more tests.
33078 (casinh_test): Likewise.
33079 * sysdeps/i386/fpu/libm-test-ulps: Update.
33080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33082 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33084 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33086 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33088 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33090 (denorm): Likewise.
33091 (__mp_dbl): Likewise.
33094 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33095 and adjust the header comment.
33097 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33098 variable name from declaration.
33100 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33103 Initialize COMMON_CPUID_INDEX_7 element.
33104 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33105 (CPUID_RTM): Likewise.
33106 (HAS_RTM): Likewise.
33107 (COMMON_CPUID_INDEX_7): New enum.
33109 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33112 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33113 size is zero, record memory as freed.
33115 2013-01-03 Andreas Jaeger <aj@suse.de>
33117 * po/ia.po: Add new Interlingua translation.
33119 2012-01-03 Allan McRae <allan@archlinux.org>
33121 * locale/programs/localedef.c: Fix description of '--posix' flag.
33123 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33125 * NEWS: Update dates in second copyright notice.
33126 * README: Update copyright dates in example.
33127 * manual/libc.texinfo: Update copyright dates.
33128 * scripts/test-installation.pl: Update copyright date in --version
33131 * hurd/ctty-input.c: Fix copyright notice formatting.
33132 * hurd/ctty-output.c: Likewise.
33133 * hurd/dtable.c: Likewise.
33134 * hurd/hurd-raise.c: Likewise.
33135 * hurd/hurdprio.c: Likewise.
33136 * hurd/msgportdemux.c: Likewise.
33137 * misc/sys/file.h: Likewise.
33138 * misc/sys/ioctl.h: Likewise.
33139 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33140 * sysdeps/mach/hurd/chdir.c: Likewise.
33141 * sysdeps/mach/hurd/fchdir.c: Likewise.
33142 * sysdeps/mach/hurd/rename.c: Likewise.
33143 * sysdeps/mach/hurd/rmdir.c: Likewise.
33144 * sysdeps/mach/hurd/seekdir.c: Likewise.
33145 * sysdeps/mach/hurd/setsid.c: Likewise.
33146 * sysdeps/posix/wait3.c: Likewise.
33148 * All files with FSF copyright notices: Update copyright dates
33149 using scripts/update-copyrights.
33150 * intl/plural.c: Regenerated.
33151 * locale/programs/charmap-kw.h: Likewise.
33152 * locale/programs/locfile-kw.h: Likewise.
33154 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33156 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33159 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33160 calculation loop and add branch prediction.
33162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33163 check access beyond bounds of m1np.
33165 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33167 (__inv): Remove local variable MPTWO to use the global
33169 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33172 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33173 MP3HALFS static const.
33175 2013-01-01 David S. Miller <davem@davemloft.net>
33177 * po/ca.po: Update from translation team.
33179 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33181 * scripts/update-copyrights: New file.
33182 * Makeconfig: Reformat copyright notice.
33183 * ctype/ctype.h: Likewise.
33184 * debug/swprintf_chk.c: Likewise.
33185 * elf/dl-cache.c: Likewise.
33186 * elf/dl-debug.c: Likewise.
33187 * elf/dl-object.c: Likewise.
33188 * grp/initgroups.c: Likewise.
33189 * hurd/Makefile: Likewise.
33190 * hurd/hurd/signal.h: Likewise.
33191 * hurd/hurdfault.c: Likewise.
33192 * hurd/hurdioctl.c: Likewise.
33193 * hurd/hurdlookup.c: Likewise.
33194 * hurd/intr-msg.c: Likewise.
33195 * iconv/gconv_open.c: Likewise.
33196 * libio/swprintf.c: Likewise.
33197 * locale/lc-ctype.c: Likewise.
33198 * locale/nl_langinfo.c: Likewise.
33199 * mach/Machrules: Likewise.
33200 * mach/Makefile: Likewise.
33201 * malloc/obstack.h: Likewise.
33202 * manual/Makefile: Likewise.
33203 * manual/tsort.awk: Likewise.
33204 * misc/bits/stab.def: Likewise.
33205 * nis/nis_print_group_entry.c: Likewise.
33206 * nis/nis_table.c: Likewise.
33207 * nis/nss_compat/compat-pwd.c: Likewise.
33208 * nis/nss_compat/compat-spwd.c: Likewise.
33209 * po/Makefile: Likewise.
33210 * posix/fnmatch.c: Likewise.
33211 * posix/regex.h: Likewise.
33212 * resolv/Makefile: Likewise.
33213 * resolv/nss_dns/dns-network.c: Likewise.
33214 * resolv/res_hconf.c: Likewise.
33215 * scripts/gen-sorted.awk: Likewise.
33216 * soft-fp/soft-fp.h: Likewise.
33217 * stdio-common/printf.h: Likewise.
33218 * stdlib/monetary.h: Likewise.
33219 * stdlib/random.c: Likewise.
33220 * stdlib/random_r.c: Likewise.
33221 * sysdeps/generic/Makefile: Likewise.
33222 * sysdeps/gnu/Makefile: Likewise.
33223 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33227 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33230 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33233 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33234 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33235 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33236 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33237 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33238 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33239 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33240 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33241 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33243 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33244 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33245 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33246 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33247 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33251 * sysdeps/mach/hurd/errnos.awk: Likewise.
33252 * sysdeps/mach/hurd/fork.c: Likewise.
33253 * sysdeps/mach/hurd/getcwd.c: Likewise.
33254 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33255 * sysdeps/mach/hurd/mmap.c: Likewise.
33256 * sysdeps/mach/hurd/utimes.c: Likewise.
33257 * sysdeps/mach/hurd/xmknod.c: Likewise.
33258 * sysdeps/posix/profil.c: Likewise.
33259 * sysdeps/posix/readdir_r.c: Likewise.
33260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33261 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33262 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33263 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33265 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33266 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33267 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33269 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33270 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33271 * sysdeps/pthread/lio_listio.c: Likewise.
33272 * sysdeps/sparc/dl-procinfo.h: Likewise.
33273 * sysdeps/unix/i386/sysdep.S: Likewise.
33274 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33275 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33276 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33277 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33279 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33280 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33281 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33282 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33283 * sysdeps/wordsize-32/divdi3.c: Likewise.
33284 * time/sys/time.h: Likewise.
33285 * wcsmbs/Makefile: Likewise.
33287 2013-01-01 David S. Miller <davem@davemloft.net>
33289 * po/fr.po: Update from translation team.
33291 * catgets/gencat.c: Update copyright year.
33292 * csu/version.c: Likewise.
33293 * debug/catchsegv.sh: Likewise.
33294 * debug/pcprofiledump.c: Likewise.
33295 * debug/xtrace.sh: Likewise.
33296 * elf/ldconfig.c: Likewise.
33297 * elf/ldd.bash.in: Likewise.
33298 * elf/pldd.c: Likewise.
33299 * elf/sotruss.ksh: Likewise.
33300 * elf/sprof.c: Likewise.
33301 * iconv/iconv_prog.c: Likewise.
33302 * iconv/iconvconfig.c: Likewise.
33303 * locale/programs/locale.c: Likewise.
33304 * locale/programs/localedef.c: Likewise.
33305 * login/programs/pt_chown.c: Likewise.
33306 * malloc/memusage.sh: Likewise.
33307 * malloc/memusagestat.c: Likewise.
33308 * malloc/mtrace.pl: Likewise.
33309 * nscd/nscd.c: Likewise.
33310 * nss/getent.c: Likewise.
33311 * nss/makedb.c: Likewise.
33312 * posix/getconf.c: Likewise.
33314 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33316 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33319 2012-12-30 Mike Frysinger <vapier@gentoo.org>
33321 * math/bits/mathcalls.h (modf): Use __nonnull.
33323 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33325 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33326 (split): Use macro CN instead of the bare value.
33327 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33329 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33330 instead of the bare value.
33331 (power1): Likewise.
33333 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33337 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33339 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33341 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33342 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33343 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33344 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33346 2012-12-28 Andreas Jaeger <aj@suse.de>
33348 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33349 values are from Linux 3.7.
33351 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33352 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33354 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33356 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33359 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33361 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33362 variables with preprocessor constants.
33363 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33364 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33365 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33367 2012-12-27 Bruno Haible <bruno@clisp.org>
33370 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33373 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33376 and use variable directly.
33377 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33379 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33381 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33382 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33384 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33386 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33387 include directive. Remove local variable MPONE.
33388 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33390 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33392 2012-12-25 David S. Miller <davem@davemloft.net>
33394 * version.h (RELEASE): Set to "development".
33395 (VERSION): Set to "2.17.90".
33396 * NEWS: Add 2.18 section.
33398 2012-12-21 David S. Miller <davem@davemloft.net>
33400 * po/hr.po: Update from translation team.
33402 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33404 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33406 2012-12-19 Steve Ellcey <sellcey@mips.com>
33408 * NEWS: Mention new memcpy for MIPS.
33410 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33412 * manual/contrib.texi (Contributors): Spelling correction.
33414 2012-12-15 David S. Miller <davem@davemloft.net>
33416 * po/ru.po: Update from translation team.
33418 2012-12-13 David S. Miller <davem@davemloft.net>
33420 * NEWS: Mention IFUNC testsuite enhancements.
33422 * po/pl.po: Update from translation team.
33423 * po/bg.po: Likewise.
33425 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33426 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33428 2012-12-11 David S. Miller <davem@davemloft.net>
33430 * po/sv.po: Update from translation team.
33432 * po/vi.po: Update from translation team.
33434 * po/cs.po: Update from translation team.
33436 * po/de.po: Update from translation team.
33437 * po/eo.po: Likewise.
33438 * po/nl.po: Likewise.
33440 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33443 * manual/argp.texi (Argp Helper Functions): Move node to follow
33444 Argp Parsing State.
33447 * manual/conf.texi (Limits on File System Capacity): Mention if
33448 terminating null is included in the max size.
33450 2012-12-10 Andreas Jaeger <aj@suse.de>
33452 * po/cs.po: Update from translation team.
33454 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33456 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33457 void pointer and cast to uintptr_t.
33458 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33460 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33461 * sysdeps/s390/s390-64/memset.S: Likewise.
33463 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
33466 * menual/message.texi (Message Translation): Fix typos.
33467 (Helper programs for gettext): Likewise.
33469 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33472 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33475 2012-12-07 David S. Miller <davem@davemloft.net>
33477 * po/libc.pot: Update.
33479 2012-12-07 Richard Henderson <rth@redhat.com>
33482 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33483 normal/normal case to before the switch.
33484 (_FP_DIV): Likewise.
33486 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33487 Mike Frysinger <vapier@gentoo.org>
33489 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33490 check for __NR_fadvise64_64.
33492 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33494 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33495 0, not just to plain "0" as a statement.
33496 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33499 2012-12-06 Joseph Myers <joseph@codesourcery.com>
33501 * NEWS: Use sourceware.org in Bugzilla URL.
33503 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33506 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33508 * stdio-common/tst-put-error.c (do_test): Add newline to the
33509 padded test to ensure flush.
33511 2012-12-05 Jeff Law <law@redhat.com>
33513 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33515 2012-12-05 Joseph Myers <joseph@codesourcery.com>
33517 * README: Don't refer to ports add-on as distributed separately.
33518 Mention AArch64 in list of systems supported in the ports add-on.
33520 * LICENSES: Add more non-FSF copyright and license notices.
33522 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33525 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33527 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33528 10000 as width of padded output.
33530 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33532 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33535 variable LX with __attribute__ ((unused)).
33536 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33538 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33540 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33541 with __attribute__ ((unused)).
33543 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
33545 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33547 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33549 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33550 (CFLAGS-nldbl-acos.c): New variable.
33551 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33552 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33553 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33554 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33555 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33556 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33557 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33558 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33559 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33560 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33561 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33562 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33563 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33564 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33565 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33566 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33567 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33568 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33569 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33570 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33571 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33572 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33573 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33574 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33575 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33576 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33577 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33578 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33579 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33580 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33581 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33582 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33583 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33584 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33585 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33586 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33587 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33588 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33589 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33590 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33591 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33592 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33593 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33594 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33595 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33596 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33597 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33598 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33599 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33600 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33601 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33602 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33603 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33604 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33605 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33606 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33607 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33608 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33609 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33610 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33611 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33612 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33613 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33614 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33615 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33616 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33617 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33618 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33619 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33620 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33621 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33622 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33623 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33624 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33625 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33626 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33627 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33628 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33629 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33630 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33631 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33632 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33633 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33634 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33635 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33636 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33637 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33638 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33639 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33640 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33641 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33642 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33643 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33644 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33645 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33646 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33647 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33650 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33654 whole low double instead of just low 47 bits when splitting values
33657 2012-12-03 Allan McRae <allan@archlinux.org>
33659 * manual/stdio.texi (Predefined Printf Handlers): Remove
33660 @hsep and @vsep usage.
33662 2012-12-03 Mike Frysinger <vapier@gentoo.org>
33664 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33665 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33667 2012-12-03 Jeff Law <law@redhat.com>
33669 * time/sys/time.h (settimeofday): Do not mark TV argument
33672 2012-12-01 Mike Frysinger <vapier@gentoo.org>
33674 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33675 when currently writing and seek to current position when not.
33676 * libio/Makefile (tests): Remove bug-fclose1.
33677 * libio/bug-fclose1.c: Delete.
33679 2012-12-01 Joseph Myers <joseph@codesourcery.com>
33681 * manual/arith.texi (feenableexcept): Fix typo.
33682 (fedisableexcept): Likewise.
33684 2012-11-30 Roland McGrath <roland@hack.frob.com>
33686 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33687 second, differently-typed declaration, rather than a cast.
33689 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33691 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33692 * include/rpc/svc.h: ... here.
33694 2012-11-30 Aurelien Jarno <aurel32@debian.org>
33697 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33698 depending n and resplen2 to catch cases where answer
33701 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33703 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33704 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33706 2012-11-29 Mike Frysinger <vapier@gentoo.org>
33708 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33710 2012-11-29 Roland McGrath <roland@hack.frob.com>
33712 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33714 2012-11-28 Jeff Law <law@redhat.com>
33717 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33718 dataset_temporary. Track alloca usage into alloca_used.
33719 If dataset is large allocate and release it via malloc/free.
33721 2012-06-04 Florian Weimer <fweimer@redhat.com>
33724 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33726 2012-11-28 David S. Miller <davem@davemloft.net>
33728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33730 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33733 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33734 of pi/2 rounded to nearest to 64 bits.
33735 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33736 nearest to 64 bits.
33737 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33740 2012-11-28 Jeff Law <law@redhat.com>
33741 Martin Osvald <mosvald@redhat.com>
33744 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33745 * sunrpc/svc.c: Include time.h.
33746 (__svc_accept_failed): New function.
33747 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33748 any reason other than EINTR, call __svc_accept_failed.
33749 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33750 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33752 2012-11-28 Andreas Schwab <schwab@suse.de>
33754 * scripts/abilist.awk: Also handle indirect functions in .opd
33757 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33760 * sysdeps/x86/fpu/powl_helper.c: New file.
33761 * sysdeps/x86/fpu/Makefile: Likewise.
33762 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33764 (__ieee754_powl): Use __powl_helper for finite arguments except
33765 integer exponents below 8.
33766 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33768 (__ieee754_powl): Use __powl_helper for finite arguments except
33769 integer exponents below 8.
33770 * math/libm-test.inc (pow_test): Add more tests and enable some
33771 previously disabled tests.
33772 * sysdeps/i386/fpu/libm-test-ulps: Update.
33773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33775 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33776 Carlos O'Donell <carlos_odonell@mentor.com>
33778 * nss/makedb.c (is_prime): Assert that input is odd and greater
33779 than 4. Note that fact in a comment too.
33780 (next_prime): Add 4 to input.
33782 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33785 * libio/Makefile (tests): Add test case tst-fwrite-error.
33786 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33787 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33788 * libio/tst-fwrite-error.c: New test case.
33790 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33792 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33793 before casting to void *.
33794 * include/libc-internal.h (__pointer_type): New macro.
33795 (__integer_if_pointer_type_sub): Likewise.
33796 (__integer_if_pointer_type): Likewise.
33797 (cast_to_integer): Likewise.
33798 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33799 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33800 before casting to atomic64_t.
33801 (atomic_exchange_acq): Likewise.
33802 (__arch_exchange_and_add_body): Likewise.
33803 (__arch_add_body): Likewise.
33804 (atomic_add_negative): Likewise.
33805 (atomic_add_zero): Likewise.
33807 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33809 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33810 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33811 (add_fdes): Likewise.
33812 (linear_search_fdes): Likewise.
33813 (binary_search_unencoded_fdes): Likewise.
33815 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33817 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33819 2012-11-24 Adam Conrad <adconrad@0c3.net>
33821 * configure.in: Autodetect C++ header directories.
33822 * configure: Regenerated.
33824 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33826 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33828 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33832 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33834 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33835 LDBL_MANT_DIG == 106]: Disable some tests.
33836 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33838 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33842 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33843 input for small inputs. Return +/- pi/2 for large inputs.
33844 * math/libm-test.inc (atan_test): Add more tests.
33846 * sysdeps/generic/unwind-dw2-fde-glibc.c
33847 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33848 __attribute__ ((unused)).
33851 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33852 x * y if x and y are nonzero and z is zero.
33855 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33856 nonzero exponents with absolute value below 0x1p-117 to +/-
33860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33861 up arguments below 2**-450, not just those below 2**-500.
33862 * math/libm-test.inc (hypot_test): Add another test.
33865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33866 Return a+b for ratio over 2**120, not 2**60.
33867 * math/libm-test.inc (hypot_test): Add another test.
33869 * math/libm-test.inc (clog_test): Use
33870 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33871 (clog10_test): Likewise.
33874 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33876 2012-11-22 Andreas Schwab <schwab@suse.de>
33878 * sysdeps/i386/fpu/libm-test-ulps: Update.
33880 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33882 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33883 printf output with newline.
33885 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33888 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33889 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33890 -z nodlopen, -z initfirst and -z execstack support.
33891 * configure: Regenerated.
33893 * elf/elf.h (DF_1_NODIRECT): New macro.
33894 (DF_1_IGNMULDEF): Likewise.
33895 (DF_1_NOKSYMS): Likewise.
33896 (DF_1_NOHDR): Likewise.
33897 (DF_1_EDITED): Likewise.
33898 (DF_1_NORELOC): Likewise.
33899 (DF_1_SYMINTPOSE): Likewise.
33900 (DF_1_GLOBAUDIT): Likewise.
33901 (DF_1_SINGLETON): Likewise.
33902 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33903 DT_1_SUPPORTED_MASK bits.
33904 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33906 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33908 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33910 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33912 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33915 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33916 (sendmmsg): Move declarations...
33917 * socket/sys/socket.h: ... here.
33918 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33919 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33921 * socket/recvmmsg.c: ... this new file.
33922 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33923 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33924 definition of __sendmmsg hidden.
33925 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33926 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33927 Move ENOSYS stub into and include it from...
33928 * socket/sendmmsg.c: ... this new file.
33929 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33930 (sysdep_routines): Move recvmmsg and sendmmsg...
33931 * socket/Makefile (routines): ... here.
33932 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33933 (GLIBC_PRIVATE): Add __sendmmsg.
33934 * include/sys/socket.h (__sendmmsg): Add declarations.
33935 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33938 2012-11-20 Joseph Myers <joseph@codesourcery.com>
33940 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33941 variable I1 with __attribute__ ((unused)).
33942 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33944 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33946 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33947 DUMMY variables with __attribute__ ((unused)).
33949 * bits/byteswap.h: Include <bits/types.h>.
33950 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33952 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33954 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33955 string_t. Do not manually set errno.
33956 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33957 length with __strnlen. Make sure to both set errno and return it on
33960 2012-11-19 David S. Miller <davem@davemloft.net>
33962 With help from Joseph Myers.
33963 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33964 very large arguments properly.
33965 * math/libm-test.inc (atan_test): New tests.
33966 (atan2_test): New tests.
33967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33970 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33973 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33976 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33977 [POSIX] (EADDRNOTAVAIL): Likewise.
33978 [POSIX] (EAFNOSUPPORT): Likewise.
33979 [POSIX] (EALREADY): Likewise.
33980 [POSIX] (ECONNABORTED): Likewise.
33981 [POSIX] (ECONNREFUSED): Likewise.
33982 [POSIX] (ECONNRESET): Likewise.
33983 [POSIX] (EDESTADDRREQ): Likewise.
33984 [POSIX] (EDQUOT): Likewise.
33985 [POSIX] (EHOSTUNREACH): Likewise.
33986 [POSIX] (EIDRM): Likewise.
33987 [POSIX] (EISCONN): Likewise.
33988 [POSIX] (ELOOP): Likewise.
33989 [POSIX] (EMULTIHOP): Likewise.
33990 [POSIX] (ENETDOWN): Likewise.
33991 [POSIX] (ENETUNREACH): Likewise.
33992 [POSIX] (ENOBUFS): Likewise.
33993 [POSIX] (ENODATA): Likewise.
33994 [POSIX] (ENOLINK): Likewise.
33995 [POSIX] (ENOMSG): Likewise.
33996 [POSIX] (ENOPROTOOPT): Likewise.
33997 [POSIX] (ENOSR): Likewise.
33998 [POSIX] (ENOSTR): Likewise.
33999 [POSIX] (ENOTCONN): Likewise.
34000 [POSIX] (ENOTSOCK): Likewise.
34001 [POSIX] (EOPNOTSUPP): Likewise.
34002 [POSIX] (EOVERFLOW): Likewise.
34003 [POSIX] (EPROTO): Likewise.
34004 [POSIX] (EPROTONOSUPPORT): Likewise.
34005 [POSIX] (EPROTOTYPE): Likewise.
34006 [POSIX] (ESTALE): Likewise.
34007 [POSIX] (ETIME): Likewise.
34008 [POSIX] (ETXTBSY): Likewise.
34009 [POSIX] (EWOULDBLOCK): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34011 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34012 [POSIX] (SEEK_CUR): Likewise.
34013 [POSIX] (SEEK_END): Likewise.
34014 [POSIX || UNIX98] (mode_t): Do not require.
34015 [POSIX] (off_t): Likewise.
34016 [POSIX] (pid_t): Likewise.
34017 [POSIX] (sys/stat.h): Do not allow header.
34018 [POSIX] (unistd.h): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34020 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34022 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34024 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34025 sigevent): Specify elements.
34026 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34028 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34029 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34031 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34032 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34033 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34034 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34035 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34036 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34037 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34038 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34039 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34040 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34041 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34042 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34043 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34044 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34046 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34048 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34052 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34053 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34054 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34055 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34056 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34057 Specify lower bound on value.
34058 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34059 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34060 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34061 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34062 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34063 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34064 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34065 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34067 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34069 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34070 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34071 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34072 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34073 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34074 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34075 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34076 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34077 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34078 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34079 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34080 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34081 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34082 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34083 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34084 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34086 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34088 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34089 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34090 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34091 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34092 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34093 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34095 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34096 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34097 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34098 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34099 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34100 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34101 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34103 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34104 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34106 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34107 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34108 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34109 specify as optional.
34110 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34111 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34112 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34113 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34114 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34115 [XPG3] (NL_LANGMAX): Likewise.
34116 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34117 [POSIX || XPG3] (NL_NMAX): Likewise.
34118 [POSIX || XPG3] (NL_SETMAX): Likewise.
34119 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34120 [XPG3] (NZERO): Likewise.
34121 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34122 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34123 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34124 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34125 (REG_ERANGE): Expect.
34126 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34128 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34129 Use (void) in prototype.
34130 [POSIX] (*_t): Allow.
34131 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34132 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34133 (WRDE_BADVAL): Expect.
34135 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34137 [XPG3 || XPG4] (O_RSYNC): Likewise.
34138 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34140 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34141 [XPG3 || XPG4] (sigqueue): Likewise.
34142 [XPG3 || XPG4] (sigtimedwait): Likewise.
34143 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34144 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34145 [XPG3 || XPG4] (vsnprintf): Likewise.
34146 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34148 [XPG3 || XPG4] (blksize_t): Likewise.
34149 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34151 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34152 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34153 [XPG3 || XPG4] (struct itimerspec): Likewise.
34154 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34155 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34156 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34157 [XPG3 || XPG4] (clockid_t): Likewise.
34158 [XPG3 || XPG4] (timer_t): Likewise.
34159 [XPG3 || XPG4] (clock_getres): Likewise.
34160 [XPG3 || XPG4] (clock_gettime): Likewise.
34161 [XPG3 || XPG4] (clock_settime): Likewise.
34162 [XPG3 || XPG4] (nanosleep): Likewise.
34163 [XPG3 || XPG4] (timer_create): Likewise.
34164 [XPG3 || XPG4] (timer_delete): Likewise.
34165 [XPG3 || XPG4] (timer_gettime): Likewise.
34166 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34167 [XPG3 || XPG4] (timer_settime): Likewise.
34168 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34169 [XPG3 || XPG4] (getlogin_r): Likewise.
34170 [XPG3 || XPG4] (pread): Likewise.
34171 [XPG3 || XPG4] (pthread_atfork): Likewise.
34172 [XPG3 || XPG4] (pwrite): Likewise.
34175 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34178 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34180 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34181 finalizing MALLSTREAM.
34183 * sysdeps/mach/hurd/syncfs.c: New file.
34185 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34188 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34189 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34190 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34191 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34192 (_nss_dns_gethostbyname4_r): Likewise.
34193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34194 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34196 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34199 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34201 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34203 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34204 * elf/cache.c (print_entry): Print ",AArch64" for
34207 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34208 * elf/cache.c (print_entry): Print ",hard-float" for
34211 2012-11-18 David S. Miller <davem@davemloft.net>
34213 With help from Joseph Myers.
34214 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34216 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34218 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34219 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34221 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34222 * math/libm-test.inc (y0_test): New tests.
34223 (y1_test): New tests.
34224 * sysdeps/i386/fpu/libm-test-ulps: Update.
34225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34228 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34230 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34232 * configure: Regenerated.
34234 2012-11-17 David S. Miller <davem@davemloft.net>
34237 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34238 nonzero exponents with absolute value below 0x1p-128 to +/-
34241 2012-11-17 Joseph Myers <joseph@codesourcery.com>
34243 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34245 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34247 * posix/getconf-speclist.c: New file.
34248 * posix/posix-envs.def: Likewise.
34249 * posix/confstr.c (START_ENV_GROUP): New macro.
34250 (END_ENV_GROUP): Likewise.
34251 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34252 (KNOWN_PRESENT_ENV_STRING): Likewise.
34253 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34254 (UNKNOWN_ENVIRONMENT): Likewise.
34255 (confstr): Include posix-envs.def instead of handling
34256 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34257 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34258 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34259 (END_ENV_GROUP): Likewise.
34260 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34261 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34262 (UNKNOWN_ENVIRONMENT): Likewise.
34263 (__sysconf): Include posix-envs.def instead of handling associated
34264 cases directly here.
34265 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34266 preprocessing getconf-speclist.c rather than running getconf or
34267 generating empty file.
34269 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34271 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34273 2012-11-16 Andrej Lajovic <natrij@gmail.com>
34276 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34278 2012-11-16 David S. Miller <davem@davemloft.net>
34280 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34281 smaller than LDBL_EPSILON/2.0L, just return xm1.
34283 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34285 * elf/tst-array1.c (init): Set constructor priority to 1000.
34286 (fini): Set destructor priority to 1000.
34287 * elf/tst-array2dep.c: Likewise.
34289 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34292 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34293 (_IO_new_file_xsputn): Also return EOF if none of the input
34294 data was written when overflow failed.
34295 * libio/iopadn.c (_IO_padn): Likewise.
34296 * libio/iowpadn.c (_IO_wpadn): Likewise.
34297 * stdio-common/tst-put-error.c: Add copyright notice.
34298 (do_test): Add case for printing padded string.
34299 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34300 _IO_padn returned error.
34301 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34302 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34305 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34307 * libio/libioP.h: Add comment note that the references to C++
34308 bits are now obsolete.
34310 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34312 * math/libm-test.inc (check_complex): Use asprintf.
34314 2012-11-14 Joseph Myers <joseph@codesourcery.com>
34316 * debug/pcprofiledump.c (print_version): Update copyright year.
34317 * malloc/memusagestat.c (print_version): Likewise.
34319 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34322 * elf/Makefile (tests): Add tst-audit8.
34323 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34324 ($(objpfx)tst-audit8.out): New target.
34325 (tst-audit8-ENV): New variable.
34326 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34327 audit if l_reloc_result is NULL.
34328 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34329 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34330 * elf/tst-audit8.c: New file.
34332 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34334 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34335 * misc/Makefile (CFLAGS-select.c): Define.
34336 * posix/Makefile (CFLAGS-pause.c): Define.
34338 2012-11-13 David S. Miller <davem@davemloft.net>
34340 * crypt/Makefile: Move test targets after toplevel Rules
34341 inclusion. Grab any necessary sysdep routines when linking.
34342 * crypt/md5.c (md5_process_block): Remove define, we will always
34343 name it __md5_process_block.
34344 (md5_finish_ctx): Update md5_process_block call.
34345 (md5_stream): Likewise.
34346 (md5_process_bytes): Likewise.
34347 (md5_process_block): Rename to __md5_process_block and move to ...
34348 * crypt/md5-block.c: ... here.
34349 * crypt/sha256.c (sha256_process_block): Move to ...
34350 * crypt/sha256-block.c: ... here.
34351 * crypt/sha512.c (sha512_process_block): Move to ...
34352 * crypt/sha512-block.c: ... here.
34353 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34355 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34356 * sysdeps/sparc/sparc64/multiarch/Makefile
34357 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34359 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34360 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34362 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34363 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34364 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34365 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34366 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34367 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34368 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34369 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34370 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34372 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34373 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34375 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34377 2012-11-13 Joseph Myers <joseph@codesourcery.com>
34379 * timezone/tzselect.ksh: Update from tzcode git revision
34380 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34381 * timezone/zdump.c: Likewise.
34382 * timezone/zic.c: Likewise.
34383 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34384 in TZVERSION setting, not $(PKGVERSION).
34385 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34386 REPORT_BUGS_TO settings.
34389 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34392 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34394 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34395 detection to immediately after _FP_ROUND().
34396 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34399 2012-11-11 David S. Miller <davem@davemloft.net>
34401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34403 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34404 __close rather than their public counterparts.
34406 2012-11-10 Joseph Myers <joseph@codesourcery.com>
34408 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34410 [UNIX98] (sem_timedwait): Do not expect.
34411 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34412 [XPG4 || UNIX98] (sockatmark): Do not expect.
34413 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34414 (clock_getcpuclockid): Do not expect.
34415 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34416 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34418 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34419 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34420 [UNIX98] (vwscanf): Likewise.
34421 [UNIX98] (vswscanf): Likewise.
34423 2012-11-09 Joseph Myers <joseph@codesourcery.com>
34425 * timezone/version.h: Remove file.
34426 * timezone/README: Do not refer to version.h.
34427 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34428 $(objpfx)version.h.
34429 ($(objpfx)zdump.o): Likewise.
34430 ($(objpfx)version.h): New target.
34432 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34434 * timezone/README: Don't mention modification to tzselect.ksh.
34435 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34436 work on unmodified tzselect.ksh. Substitute version numbers in
34439 * Makefile (format-me): Remove.
34440 (INSTALL): Adjust indentation. Use commands directly instead of
34441 using $(format-me).
34443 * aclocal.m4 (ACX_PKGVERSION): New macro.
34444 (ACX_BUGURL): Likewise.
34445 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34446 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34447 (REPORT_BUGS_TO): Likewise.
34448 * configure: Regenerated.
34449 * config.h.in (PKGVERSION): New macro.
34450 (REPORT_BUGS_TO): Likewise.
34451 * config.make.in (PKGVERSION): New variable.
34452 (PKGVERSION_TEXI): Likewise.
34453 (REPORT_BUGS_TO): Likewise.
34454 (REPORT_BUGS_TEXI): Likewise.
34455 * Makefile (format-me): Use -I$(common-objpfx)manual.
34456 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34457 ($(common-objpfx)manual/%): New target.
34458 (manual/%): Remove target.
34459 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34460 (print_version): Use PKGVERSION.
34461 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34462 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34463 and REPORT_BUGS_TO.
34464 ($(objpfx)xtrace): Likewise.
34465 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34466 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34467 (print_version): Use PKGVERSION.
34468 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34469 (do_version): Use PKGVERSION.
34470 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34472 (common-ldd-rewrite): Likewise.
34473 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34474 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34475 (print_version): Use PKGVERSION.
34476 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34477 * elf/pldd.c (argp_program_bug_address): Remove variable.
34478 (more_help): New function.
34479 (argp): Use more_help.
34480 (print_version): Use PKGVERSION.
34481 * elf/sln.c (main): Use PKGVERSION.
34482 (usage): Use REPORT_BUGS_TO.
34483 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34484 (top level): Use PKGVERSION.
34485 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34486 (print_version): Use PKGVERSION.
34487 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34488 (print_version): Use PKGVERSION.
34489 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34490 (print_version): Use PKGVERSION.
34491 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34492 (print_version): Use PKGVERSION.
34493 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34494 (print_version): Use PKGVERSION.
34495 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34496 (print_version): Use PKGVERSION.
34497 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34499 ($(objpfx)memusage): Likewise.
34500 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34501 (do_version): Use PKGVERSION.
34502 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34503 (print_version): Use PKGVERSION.
34504 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34505 ($PKGVERSION): New variable.
34506 ($REPORT_BUGS_TO): Likewise.
34507 (usage): Use $REPORT_BUGS_TO.
34508 (top level): Use $PKGVERSION.
34509 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34510 ($(objpfx)pkgvers.texi): New rule.
34511 ($(objpfx)stamp-pkgvers): Likewise.
34512 * manual/install.texi: Include pkgvers.texi.
34513 (--with-pkgversion): Document new configure option.
34514 (--with-bugurl): Likewise.
34515 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34516 than necessarily for this particular distribution. Use
34517 REPORT_BUGS_TO for where to report bugs.
34518 * INSTALL: Regenerated.
34519 * manual/libc.texinfo: Include pkgvers.texi.
34520 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34521 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34522 (print_version): Use PKGVERSION.
34523 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34524 (print_version): Use PKGVERSION.
34525 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34526 (print_version): Use PKGVERSION.
34527 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34528 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34530 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34531 (print_version): Use PKGVERSION.
34532 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34533 (print_version): Use PKGVERSION.
34534 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34537 * timezone/checktab.awk: Update from tzcode 2012i.
34538 * timezone/ialloc.c: Likewise.
34539 * timezone/private.h: Likewise.
34540 * timezone/scheck.c: Likewise.
34541 * timezone/tzfile.h: Likewise.
34542 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34543 (TZVERSION): Hardcode tzcode version number.
34544 * timezone/zdump.c: Update from tzcode 2012i.
34545 * timezone/zic.c: Likewise.
34546 * timezone/version.h: New file.
34547 * timezone/README: Describe version.h. Update upstream location.
34550 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34551 (mktemp): Enable declaration.
34552 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34555 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34569 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34570 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34571 for copies of such integer values.
34572 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34573 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34575 2012-11-09 Andreas Jaeger <aj@suse.de>
34577 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34578 definitions and declarations that are provided by
34579 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34581 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34583 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34584 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34585 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34588 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34590 * elf/elf.h: Update comment before AArch64 relocations.
34592 2012-11-07 David S. Miller <davem@davemloft.net>
34594 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34595 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34596 (__start_context): Declare.
34597 (__makecontext_ret): Delete.
34598 (__makecontext): Hook up __start_context instead of
34600 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34601 (sysdep_routines): Add __start_context when in stdlib.
34603 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34605 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34606 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34607 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34609 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34610 (READELF): New variable. Use it instead of hardcoded "readelf".
34612 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34614 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34615 * sysdeps/x86/Makefile: Here.
34616 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34617 * sysdeps/x86/tst-xmmymm.sh: This.
34619 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34621 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34623 [UNIX98] (pthread_barrier_t): Do not expect.
34624 [UNIX98] (pthread_barrierattr_t): Likewise.
34625 [UNIX98] (pthread_spinlock_t): Likewise.
34626 [UNIX98] (pthread_barrier_destroy): Likewise.
34627 [UNIX98] (pthread_barrier_init): Likewise.
34628 [UNIX98] (pthread_barrier_wait): Likewise.
34629 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34630 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34631 [UNIX98] (pthread_barrierattr_init): Likewise.
34632 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34633 [UNIX98] (pthread_getcpuclockid): Likewise.
34634 [UNIX98] (pthread_mutex_timedlock): Likewise.
34635 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34636 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34637 [UNIX98] (pthread_sigmask): Likewise.
34638 [UNIX98] (pthread_spin_destroy): Likewise.
34639 [UNIX98] (pthread_spin_init): Likewise.
34640 [UNIX98] (pthread_spin_lock): Likewise.
34641 [UNIX98] (pthread_spin_trylock): Likewise.
34642 [UNIX98] (pthread_spin_unlock): Likewise.
34643 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34645 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34646 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34647 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34648 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34649 [XPG3 || XPG4] (pthread_key_t): Likewise.
34650 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34651 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34652 [XPG3 || XPG4] (pthread_once_t): Likewise.
34653 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34654 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34655 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34656 [XPG3 || XPG4] (pthread_t): Likewise.
34658 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34660 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34662 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34663 Change function return type to int.
34665 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34666 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34667 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34668 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34669 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34670 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34671 [!POSIX] (posix_madvise): Likewise.
34672 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34674 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34675 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34676 (mode_t): Likewise.
34677 (posix_mem_offset): Likewise.
34678 (posix_typed_mem_get_info): Likewise.
34679 (posix_typed_mem_open): Likewise.
34681 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34682 Change condition to [XOPEN2K8].
34684 * conform/conformtest.pl: Preprocess allow-header data with -x c
34685 instead of from stdin.
34686 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34687 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34688 [C99-based standards] (cerfc): Likewise.
34689 [C99-based standards] (cexp2): Likewise.
34690 [C99-based standards] (cexpm1): Likewise.
34691 [C99-based standards] (clog10): Likewise.
34692 [C99-based standards] (clog1p): Likewise.
34693 [C99-based standards] (clog2): Likewise.
34694 [C99-based standards] (clgamma): Likewise.
34695 [C99-based standards] (ctgamma): Likewise.
34696 [C99-based standards] (cerff): Likewise.
34697 [C99-based standards] (cerfcf): Likewise.
34698 [C99-based standards] (cexp2f): Likewise.
34699 [C99-based standards] (cexpm1f): Likewise.
34700 [C99-based standards] (clog10f): Likewise.
34701 [C99-based standards] (clog1pf): Likewise.
34702 [C99-based standards] (clog2f): Likewise.
34703 [C99-based standards] (clgammaf): Likewise.
34704 [C99-based standards] (ctgammaf): Likewise.
34705 [C99-based standards] (cerfl): Likewise.
34706 [C99-based standards] (cerfcl): Likewise.
34707 [C99-based standards] (cexp2l): Likewise.
34708 [C99-based standards] (cexpm1l): Likewise.
34709 [C99-based standards] (clog10l): Likewise.
34710 [C99-based standards] (clog1pl): Likewise.
34711 [C99-based standards] (clog2l): Likewise.
34712 [C99-based standards] (clgammal): Likewise.
34713 [C99-based standards] (ctgammal): Likewise.
34714 * conform/data/inttypes.h-data [C99-based standards]: Include
34715 stdint.h-data. Remove all expectations for stdint.h contents.
34716 [C99-based standards] (PRI*): Do not allow.
34717 [C99-based standards] (SCN*): Likewise.
34718 [C99-based standards] (*_t): Likewise.
34719 [C99-based-standards] (PRId8): Expect macro.
34720 [C99-based-standards] (PRIi8): Likewise.
34721 [C99-based-standards] (PRIo8): Likewise.
34722 [C99-based-standards] (PRIu8): Likewise.
34723 [C99-based-standards] (PRIx8): Likewise.
34724 [C99-based-standards] (PRIX8): Likewise.
34725 [C99-based-standards] (SCNd8): Likewise.
34726 [C99-based-standards] (SCNi8): Likewise.
34727 [C99-based-standards] (SCNo8): Likewise.
34728 [C99-based-standards] (SCNu8): Likewise.
34729 [C99-based-standards] (SCNx8): Likewise.
34730 [C99-based-standards] (PRIdLEAST8): Likewise.
34731 [C99-based-standards] (PRIiLEAST8): Likewise.
34732 [C99-based-standards] (PRIoLEAST8): Likewise.
34733 [C99-based-standards] (PRIuLEAST8): Likewise.
34734 [C99-based-standards] (PRIxLEAST8): Likewise.
34735 [C99-based-standards] (PRIXLEAST8): Likewise.
34736 [C99-based-standards] (SCNdLEAST8): Likewise.
34737 [C99-based-standards] (SCNiLEAST8): Likewise.
34738 [C99-based-standards] (SCNoLEAST8): Likewise.
34739 [C99-based-standards] (SCNuLEAST8): Likewise.
34740 [C99-based-standards] (SCNxLEAST8): Likewise.
34741 [C99-based-standards] (PRIdFAST8): Likewise.
34742 [C99-based-standards] (PRIiFAST8): Likewise.
34743 [C99-based-standards] (PRIoFAST8): Likewise.
34744 [C99-based-standards] (PRIuFAST8): Likewise.
34745 [C99-based-standards] (PRIxFAST8): Likewise.
34746 [C99-based-standards] (PRIXFAST8): Likewise.
34747 [C99-based-standards] (SCNdFAST8): Likewise.
34748 [C99-based-standards] (SCNiFAST8): Likewise.
34749 [C99-based-standards] (SCNoFAST8): Likewise.
34750 [C99-based-standards] (SCNuFAST8): Likewise.
34751 [C99-based-standards] (SCNxFAST8): Likewise.
34752 [C99-based-standards] (PRId16): Likewise.
34753 [C99-based-standards] (PRIi16): Likewise.
34754 [C99-based-standards] (PRIo16): Likewise.
34755 [C99-based-standards] (PRIu16): Likewise.
34756 [C99-based-standards] (PRIx16): Likewise.
34757 [C99-based-standards] (PRIX16): Likewise.
34758 [C99-based-standards] (SCNd16): Likewise.
34759 [C99-based-standards] (SCNi16): Likewise.
34760 [C99-based-standards] (SCNo16): Likewise.
34761 [C99-based-standards] (SCNu16): Likewise.
34762 [C99-based-standards] (SCNx16): Likewise.
34763 [C99-based-standards] (PRIdLEAST16): Likewise.
34764 [C99-based-standards] (PRIiLEAST16): Likewise.
34765 [C99-based-standards] (PRIoLEAST16): Likewise.
34766 [C99-based-standards] (PRIuLEAST16): Likewise.
34767 [C99-based-standards] (PRIxLEAST16): Likewise.
34768 [C99-based-standards] (PRIXLEAST16): Likewise.
34769 [C99-based-standards] (SCNdLEAST16): Likewise.
34770 [C99-based-standards] (SCNiLEAST16): Likewise.
34771 [C99-based-standards] (SCNoLEAST16): Likewise.
34772 [C99-based-standards] (SCNuLEAST16): Likewise.
34773 [C99-based-standards] (SCNxLEAST16): Likewise.
34774 [C99-based-standards] (PRIdFAST16): Likewise.
34775 [C99-based-standards] (PRIiFAST16): Likewise.
34776 [C99-based-standards] (PRIoFAST16): Likewise.
34777 [C99-based-standards] (PRIuFAST16): Likewise.
34778 [C99-based-standards] (PRIxFAST16): Likewise.
34779 [C99-based-standards] (PRIXFAST16): Likewise.
34780 [C99-based-standards] (SCNdFAST16): Likewise.
34781 [C99-based-standards] (SCNiFAST16): Likewise.
34782 [C99-based-standards] (SCNoFAST16): Likewise.
34783 [C99-based-standards] (SCNuFAST16): Likewise.
34784 [C99-based-standards] (SCNxFAST16): Likewise.
34785 [C99-based-standards] (PRId32): Likewise.
34786 [C99-based-standards] (PRIi32): Likewise.
34787 [C99-based-standards] (PRIo32): Likewise.
34788 [C99-based-standards] (PRIu32): Likewise.
34789 [C99-based-standards] (PRIx32): Likewise.
34790 [C99-based-standards] (PRIX32): Likewise.
34791 [C99-based-standards] (SCNd32): Likewise.
34792 [C99-based-standards] (SCNi32): Likewise.
34793 [C99-based-standards] (SCNo32): Likewise.
34794 [C99-based-standards] (SCNu32): Likewise.
34795 [C99-based-standards] (SCNx32): Likewise.
34796 [C99-based-standards] (PRIdLEAST32): Likewise.
34797 [C99-based-standards] (PRIiLEAST32): Likewise.
34798 [C99-based-standards] (PRIoLEAST32): Likewise.
34799 [C99-based-standards] (PRIuLEAST32): Likewise.
34800 [C99-based-standards] (PRIxLEAST32): Likewise.
34801 [C99-based-standards] (PRIXLEAST32): Likewise.
34802 [C99-based-standards] (SCNdLEAST32): Likewise.
34803 [C99-based-standards] (SCNiLEAST32): Likewise.
34804 [C99-based-standards] (SCNoLEAST32): Likewise.
34805 [C99-based-standards] (SCNuLEAST32): Likewise.
34806 [C99-based-standards] (SCNxLEAST32): Likewise.
34807 [C99-based-standards] (PRIdFAST32): Likewise.
34808 [C99-based-standards] (PRIiFAST32): Likewise.
34809 [C99-based-standards] (PRIoFAST32): Likewise.
34810 [C99-based-standards] (PRIuFAST32): Likewise.
34811 [C99-based-standards] (PRIxFAST32): Likewise.
34812 [C99-based-standards] (PRIXFAST32): Likewise.
34813 [C99-based-standards] (SCNdFAST32): Likewise.
34814 [C99-based-standards] (SCNiFAST32): Likewise.
34815 [C99-based-standards] (SCNoFAST32): Likewise.
34816 [C99-based-standards] (SCNuFAST32): Likewise.
34817 [C99-based-standards] (SCNxFAST32): Likewise.
34818 [C99-based-standards] (PRId64): Likewise.
34819 [C99-based-standards] (PRIi64): Likewise.
34820 [C99-based-standards] (PRIo64): Likewise.
34821 [C99-based-standards] (PRIu64): Likewise.
34822 [C99-based-standards] (PRIx64): Likewise.
34823 [C99-based-standards] (PRIX64): Likewise.
34824 [C99-based-standards] (SCNd64): Likewise.
34825 [C99-based-standards] (SCNi64): Likewise.
34826 [C99-based-standards] (SCNo64): Likewise.
34827 [C99-based-standards] (SCNu64): Likewise.
34828 [C99-based-standards] (SCNx64): Likewise.
34829 [C99-based-standards] (PRIdLEAST64): Likewise.
34830 [C99-based-standards] (PRIiLEAST64): Likewise.
34831 [C99-based-standards] (PRIoLEAST64): Likewise.
34832 [C99-based-standards] (PRIuLEAST64): Likewise.
34833 [C99-based-standards] (PRIxLEAST64): Likewise.
34834 [C99-based-standards] (PRIXLEAST64): Likewise.
34835 [C99-based-standards] (SCNdLEAST64): Likewise.
34836 [C99-based-standards] (SCNiLEAST64): Likewise.
34837 [C99-based-standards] (SCNoLEAST64): Likewise.
34838 [C99-based-standards] (SCNuLEAST64): Likewise.
34839 [C99-based-standards] (SCNxLEAST64): Likewise.
34840 [C99-based-standards] (PRIdFAST64): Likewise.
34841 [C99-based-standards] (PRIiFAST64): Likewise.
34842 [C99-based-standards] (PRIoFAST64): Likewise.
34843 [C99-based-standards] (PRIuFAST64): Likewise.
34844 [C99-based-standards] (PRIxFAST64): Likewise.
34845 [C99-based-standards] (PRIXFAST64): Likewise.
34846 [C99-based-standards] (SCNdFAST64): Likewise.
34847 [C99-based-standards] (SCNiFAST64): Likewise.
34848 [C99-based-standards] (SCNoFAST64): Likewise.
34849 [C99-based-standards] (SCNuFAST64): Likewise.
34850 [C99-based-standards] (SCNxFAST64): Likewise.
34851 [C99-based-standards] (PRIdMAX): Likewise.
34852 [C99-based-standards] (PRIiMAX): Likewise.
34853 [C99-based-standards] (PRIoMAX): Likewise.
34854 [C99-based-standards] (PRIuMAX): Likewise.
34855 [C99-based-standards] (PRIxMAX): Likewise.
34856 [C99-based-standards] (PRIXMAX): Likewise.
34857 [C99-based-standards] (SCNdMAX): Likewise.
34858 [C99-based-standards] (SCNiMAX): Likewise.
34859 [C99-based-standards] (SCNoMAX): Likewise.
34860 [C99-based-standards] (SCNuMAX): Likewise.
34861 [C99-based-standards] (SCNxMAX): Likewise.
34862 [C99-based-standards] (PRIdPTR): Likewise.
34863 [C99-based-standards] (PRIiPTR): Likewise.
34864 [C99-based-standards] (PRIoPTR): Likewise.
34865 [C99-based-standards] (PRIuPTR): Likewise.
34866 [C99-based-standards] (PRIxPTR): Likewise.
34867 [C99-based-standards] (PRIXPTR): Likewise.
34868 [C99-based-standards] (SCNdPTR): Likewise.
34869 [C99-based-standards] (SCNiPTR): Likewise.
34870 [C99-based-standards] (SCNoPTR): Likewise.
34871 [C99-based-standards] (SCNuPTR): Likewise.
34872 [C99-based-standards] (SCNxPTR): Likewise.
34873 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34875 * conform/data/stdint.h-data: Update comments to clarify
34877 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34879 [C99-based standards] (INT8_MAX): Likewise.
34880 [C99-based standards] (INT16_MIN): Likewise.
34881 [C99-based standards] (INT16_MAX): Likewise.
34882 [C99-based standards] (INT32_MIN): Likewise.
34883 [C99-based standards] (INT32_MAX): Likewise.
34884 [C99-based standards] (INT64_MIN): Likewise.
34885 [C99-based standards] (INT64_MAX): Likewise.
34886 [C99-based standards] (UINT8_MAX): Likewise.
34887 [C99-based standards] (UINT16_MAX): Likewise.
34888 [C99-based standards] (UINT32_MAX): Likewise.
34889 [C99-based standards] (UINT64_MAX): Likewise.
34890 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34891 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34892 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34893 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34894 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34895 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34896 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34897 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34898 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34899 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34900 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34901 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34902 [C99-based standards] (INT_FAST8_MIN): Likewise.
34903 [C99-based standards] (INT_FAST8_MAX): Likewise.
34904 [C99-based standards] (INT_FAST16_MIN): Likewise.
34905 [C99-based standards] (INT_FAST16_MAX): Likewise.
34906 [C99-based standards] (INT_FAST32_MIN): Likewise.
34907 [C99-based standards] (INT_FAST32_MAX): Likewise.
34908 [C99-based standards] (INT_FAST64_MIN): Likewise.
34909 [C99-based standards] (INT_FAST64_MAX): Likewise.
34910 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34911 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34912 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34913 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34914 [C99-based standards] (INTPTR_MIN): Likewise.
34915 [C99-based standards] (INTPTR_MAX): Likewise.
34916 [C99-based standards] (UINTPTR_MAX): Likewise.
34917 [C99-based standards] (INTMAX_MIN): Likewise.
34918 [C99-based standards] (INTMAX_MAX): Likewise.
34919 [C99-based standards] (UINTMAX_MAX): Likewise.
34920 [C99-based standards] (PTRDIFF_MIN): Likewise.
34921 [C99-based standards] (PTRDIFF_MAX): Likewise.
34922 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34923 [C99-based standards] (SIZE_MAX): Likewise.
34924 [C99-based standards] (WCHAR_MAX): Likewise.
34925 [C99-based standards] (WINT_MAX): Likewise.
34926 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34927 constraint on value.
34928 [C99-based standards] (WCHAR_MIN): Likewise.
34929 [C99-based standards] (WINT_MIN): Likewise.
34930 [C99-based standards] (*_t): Allow.
34931 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34932 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34933 Include math.h-data and complex.h-data. Remove all expectations
34934 of math.h and complex.h contents.
34935 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34937 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34938 (struct tm): Expect tag.
34939 [C99-based-standards] (wcstof): Expect function.
34940 [C99-based-standards] (wcstold): Likewise.
34941 [C99-based-standards] (wcstoll): Likewise.
34942 [C99-based-standards] (wcstoull): Likewise.
34943 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34944 macro-int-constant. Specify type.
34945 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34946 constraint on value.
34947 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34949 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34951 [ISO C standards]: Do not allow headers.
34952 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34953 wcs[abcdefghijklmnopqrstuvwxyz]*.
34954 [ISO C standards] (*_t): Do not allow.
34955 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34957 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34958 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34960 [ISO C standards]: Do not allow headers.
34961 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34962 is[abcdefghijklmnopqrstuvwxyz]*.
34963 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34964 to[abcdefghijklmnopqrstuvwxyz]*.
34965 [ISO C standards] (*_t): Do not allow.
34966 * conform/data/stdalign.h-data: New file.
34967 * conform/data/stdbool.h-data: Likewise.
34968 * conform/data/stdnoreturn.h-data: Likewise.
34970 2012-11-07 Roland McGrath <roland@hack.frob.com>
34973 * manual/filesys.texi (Directory Entries): Typo fix.
34974 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34976 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34978 * elf/elf.h (EM_AARCH64): New macro.
34979 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34980 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34981 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34982 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34983 (R_AARCH64_TLSDESC): Likewise.
34984 (NT_ARM_TLS): Likewise.
34985 (NT_ARM_HW_BREAK): Likewise.
34986 (NT_ARM_HW_WATCH): Likewise.
34988 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34991 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34992 (__ieee754_powl): Saturate nonzero exponents with absolute value
34993 below 0x1p-79 to +/- 0x1p-79.
34994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34995 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34996 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34997 nonzero exponents with absolute value below 0x1p-32 to +/-
34999 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35000 (__ieee754_powl): Saturate nonzero exponents with absolute value
35001 below 0x1p-79 to +/- 0x1p-79.
35002 * math/libm-test.inc (pow_test): Add more tests.
35004 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35006 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35007 _dl_s390_cap_flags with kernel. Increase string length.
35008 (_dl_s390_platforms): Add z196 and zEC12.
35010 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35012 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35013 Change XOPEN21K to XOPEN2K.
35015 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35017 * string/memmove.c: Use memcpy when possible.
35019 2012-11-06 Andreas Jaeger <aj@suse.de>
35021 * po/eo.po: Update from translation team.
35023 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35027 exponent and small x and y exponents, scale x or y up. Increase
35028 by 2 the exponent used in scaling up.
35029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35031 * math/libm-test.inc (fma_test): Add more tests.
35032 (fma_test_towardzero): Likewise.
35033 (fma_test_downward): Likewise.
35034 (fma_test_upward): Likewise.
35036 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35039 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35043 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35044 namespace for names of struct fields.
35045 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35047 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35048 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35050 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35053 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35055 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35057 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35061 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35064 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35068 definitely overflow as x * y not x * y + z.
35069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35071 * math/libm-test.inc (fma_test): Add more tests.
35072 (fma_test_towardzero): Likewise.
35073 (fma_test_downward): Likewise.
35074 (fma_test_upward): Likewise.
35076 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35080 * include/stub-tag.h: Remove file.
35081 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35083 * manual/maint.texi (Porting): Don't reference it.
35084 * Makerules ($(objpfx)stubs): Likewise.
35085 * dirent/closedir.c: Don't include <stub-tag.h>.
35086 * dirent/dirfd.c: Likewise.
35087 * dirent/fdopendir.c: Likewise.
35088 * dirent/getdents.c: Likewise.
35089 * dirent/getdents64.c: Likewise.
35090 * dirent/opendir.c: Likewise.
35091 * dirent/readdir.c: Likewise.
35092 * dirent/readdir64.c: Likewise.
35093 * dirent/readdir64_r.c: Likewise.
35094 * dirent/readdir_r.c: Likewise.
35095 * dirent/rewinddir.c: Likewise.
35096 * dirent/seekdir.c: Likewise.
35097 * dirent/telldir.c: Likewise.
35098 * gmon/profil.c: Likewise.
35099 * grp/setgroups.c: Likewise.
35100 * inet/if_index.c: Likewise.
35101 * io/access.c: Likewise.
35102 * io/chdir.c: Likewise.
35103 * io/chmod.c: Likewise.
35104 * io/chown.c: Likewise.
35105 * io/close.c: Likewise.
35106 * io/dup.c: Likewise.
35107 * io/dup2.c: Likewise.
35108 * io/dup3.c: Likewise.
35109 * io/euidaccess.c: Likewise.
35110 * io/faccessat.c: Likewise.
35111 * io/fchdir.c: Likewise.
35112 * io/fchmod.c: Likewise.
35113 * io/fchmodat.c: Likewise.
35114 * io/fchown.c: Likewise.
35115 * io/fchownat.c: Likewise.
35116 * io/fcntl.c: Likewise.
35117 * io/flock.c: Likewise.
35118 * io/fstatfs.c: Likewise.
35119 * io/fstatfs64.c: Likewise.
35120 * io/fstatvfs.c: Likewise.
35121 * io/fstatvfs64.c: Likewise.
35122 * io/futimens.c: Likewise.
35123 * io/fxstat.c: Likewise.
35124 * io/fxstat64.c: Likewise.
35125 * io/fxstatat.c: Likewise.
35126 * io/fxstatat64.c: Likewise.
35127 * io/getcwd.c: Likewise.
35128 * io/isatty.c: Likewise.
35129 * io/lchmod.c: Likewise.
35130 * io/lchown.c: Likewise.
35131 * io/link.c: Likewise.
35132 * io/linkat.c: Likewise.
35133 * io/lseek.c: Likewise.
35134 * io/lseek64.c: Likewise.
35135 * io/lxstat64.c: Likewise.
35136 * io/mkdir.c: Likewise.
35137 * io/mkdirat.c: Likewise.
35138 * io/mkfifo.c: Likewise.
35139 * io/mkfifoat.c: Likewise.
35140 * io/open.c: Likewise.
35141 * io/open64.c: Likewise.
35142 * io/openat.c: Likewise.
35143 * io/openat64.c: Likewise.
35144 * io/pipe.c: Likewise.
35145 * io/pipe2.c: Likewise.
35146 * io/poll.c: Likewise.
35147 * io/posix_fadvise.c: Likewise.
35148 * io/posix_fadvise64.c: Likewise.
35149 * io/posix_fallocate.c: Likewise.
35150 * io/posix_fallocate64.c: Likewise.
35151 * io/read.c: Likewise.
35152 * io/readlink.c: Likewise.
35153 * io/readlinkat.c: Likewise.
35154 * io/rmdir.c: Likewise.
35155 * io/sendfile.c: Likewise.
35156 * io/sendfile64.c: Likewise.
35157 * io/statfs.c: Likewise.
35158 * io/statfs64.c: Likewise.
35159 * io/statvfs.c: Likewise.
35160 * io/statvfs64.c: Likewise.
35161 * io/symlink.c: Likewise.
35162 * io/symlinkat.c: Likewise.
35163 * io/ttyname.c: Likewise.
35164 * io/ttyname_r.c: Likewise.
35165 * io/umask.c: Likewise.
35166 * io/unlink.c: Likewise.
35167 * io/unlinkat.c: Likewise.
35168 * io/utime.c: Likewise.
35169 * io/utimensat.c: Likewise.
35170 * io/write.c: Likewise.
35171 * io/xmknod.c: Likewise.
35172 * io/xmknodat.c: Likewise.
35173 * io/xstat.c: Likewise.
35174 * io/xstat64.c: Likewise.
35175 * login/getpt.c: Likewise.
35176 * login/grantpt.c: Likewise.
35177 * login/unlockpt.c: Likewise.
35178 * math/e_acoshl.c: Likewise.
35179 * math/e_acosl.c: Likewise.
35180 * math/e_asinl.c: Likewise.
35181 * math/e_atan2l.c: Likewise.
35182 * math/e_atanhl.c: Likewise.
35183 * math/e_coshl.c: Likewise.
35184 * math/e_expl.c: Likewise.
35185 * math/e_fmodl.c: Likewise.
35186 * math/e_gammal_r.c: Likewise.
35187 * math/e_hypotl.c: Likewise.
35188 * math/e_j0l.c: Likewise.
35189 * math/e_j1l.c: Likewise.
35190 * math/e_jnl.c: Likewise.
35191 * math/e_lgammal_r.c: Likewise.
35192 * math/e_log10l.c: Likewise.
35193 * math/e_log2l.c: Likewise.
35194 * math/e_logl.c: Likewise.
35195 * math/e_powl.c: Likewise.
35196 * math/e_rem_pio2l.c: Likewise.
35197 * math/e_sinhl.c: Likewise.
35198 * math/e_sqrtl.c: Likewise.
35199 * math/fclrexcpt.c: Likewise.
35200 * math/fedisblxcpt.c: Likewise.
35201 * math/feenablxcpt.c: Likewise.
35202 * math/fegetenv.c: Likewise.
35203 * math/fegetexcept.c: Likewise.
35204 * math/fegetround.c: Likewise.
35205 * math/feholdexcpt.c: Likewise.
35206 * math/fesetenv.c: Likewise.
35207 * math/fesetround.c: Likewise.
35208 * math/feupdateenv.c: Likewise.
35209 * math/fgetexcptflg.c: Likewise.
35210 * math/fraiseexcpt.c: Likewise.
35211 * math/fsetexcptflg.c: Likewise.
35212 * math/ftestexcept.c: Likewise.
35213 * math/k_cosl.c: Likewise.
35214 * math/k_rem_pio2l.c: Likewise.
35215 * math/k_sinl.c: Likewise.
35216 * math/k_tanl.c: Likewise.
35217 * math/s_asinhl.c: Likewise.
35218 * math/s_atanl.c: Likewise.
35219 * math/s_cbrtl.c: Likewise.
35220 * math/s_erfl.c: Likewise.
35221 * math/s_expm1l.c: Likewise.
35222 * math/s_log1pl.c: Likewise.
35223 * math/s_tanhl.c: Likewise.
35224 * misc/acct.c: Likewise.
35225 * misc/brk.c: Likewise.
35226 * misc/chflags.c: Likewise.
35227 * misc/chroot.c: Likewise.
35228 * misc/fchflags.c: Likewise.
35229 * misc/fgetxattr.c: Likewise.
35230 * misc/flistxattr.c: Likewise.
35231 * misc/fremovexattr.c: Likewise.
35232 * misc/fsetxattr.c: Likewise.
35233 * misc/fsync.c: Likewise.
35234 * misc/ftruncate.c: Likewise.
35235 * misc/futimes.c: Likewise.
35236 * misc/futimesat.c: Likewise.
35237 * misc/getdomain.c: Likewise.
35238 * misc/getdtsz.c: Likewise.
35239 * misc/gethostid.c: Likewise.
35240 * misc/gethostname.c: Likewise.
35241 * misc/getloadavg.c: Likewise.
35242 * misc/getpagesize.c: Likewise.
35243 * misc/getsysstats.c: Likewise.
35244 * misc/getxattr.c: Likewise.
35245 * misc/gtty.c: Likewise.
35246 * misc/ioctl.c: Likewise.
35247 * misc/lgetxattr.c: Likewise.
35248 * misc/listxattr.c: Likewise.
35249 * misc/llistxattr.c: Likewise.
35250 * misc/lremovexattr.c: Likewise.
35251 * misc/lsetxattr.c: Likewise.
35252 * misc/lutimes.c: Likewise.
35253 * misc/madvise.c: Likewise.
35254 * misc/mincore.c: Likewise.
35255 * misc/mlock.c: Likewise.
35256 * misc/mlockall.c: Likewise.
35257 * misc/mmap.c: Likewise.
35258 * misc/mprotect.c: Likewise.
35259 * misc/msync.c: Likewise.
35260 * misc/munlock.c: Likewise.
35261 * misc/munlockall.c: Likewise.
35262 * misc/munmap.c: Likewise.
35263 * misc/preadv.c: Likewise.
35264 * misc/preadv64.c: Likewise.
35265 * misc/ptrace.c: Likewise.
35266 * misc/pwritev.c: Likewise.
35267 * misc/pwritev64.c: Likewise.
35268 * misc/readv.c: Likewise.
35269 * misc/reboot.c: Likewise.
35270 * misc/remap_file_pages.c: Likewise.
35271 * misc/removexattr.c: Likewise.
35272 * misc/revoke.c: Likewise.
35273 * misc/select.c: Likewise.
35274 * misc/setdomain.c: Likewise.
35275 * misc/setegid.c: Likewise.
35276 * misc/seteuid.c: Likewise.
35277 * misc/sethostid.c: Likewise.
35278 * misc/sethostname.c: Likewise.
35279 * misc/setregid.c: Likewise.
35280 * misc/setreuid.c: Likewise.
35281 * misc/setxattr.c: Likewise.
35282 * misc/sstk.c: Likewise.
35283 * misc/stty.c: Likewise.
35284 * misc/swapoff.c: Likewise.
35285 * misc/swapon.c: Likewise.
35286 * misc/sync.c: Likewise.
35287 * misc/syncfs.c: Likewise.
35288 * misc/syscall.c: Likewise.
35289 * misc/truncate.c: Likewise.
35290 * misc/ualarm.c: Likewise.
35291 * misc/usleep.c: Likewise.
35292 * misc/ustat.c: Likewise.
35293 * misc/utimes.c: Likewise.
35294 * misc/vhangup.c: Likewise.
35295 * misc/writev.c: Likewise.
35296 * posix/_exit.c: Likewise.
35297 * posix/alarm.c: Likewise.
35298 * posix/execve.c: Likewise.
35299 * posix/fexecve.c: Likewise.
35300 * posix/fork.c: Likewise.
35301 * posix/fpathconf.c: Likewise.
35302 * posix/getaddrinfo.c: Likewise.
35303 * posix/getegid.c: Likewise.
35304 * posix/geteuid.c: Likewise.
35305 * posix/getgid.c: Likewise.
35306 * posix/getgroups.c: Likewise.
35307 * posix/getlogin.c: Likewise.
35308 * posix/getlogin_r.c: Likewise.
35309 * posix/getpgid.c: Likewise.
35310 * posix/getpid.c: Likewise.
35311 * posix/getppid.c: Likewise.
35312 * posix/getresgid.c: Likewise.
35313 * posix/getresuid.c: Likewise.
35314 * posix/getsid.c: Likewise.
35315 * posix/getuid.c: Likewise.
35316 * posix/glob64.c: Likewise.
35317 * posix/nanosleep.c: Likewise.
35318 * posix/pathconf.c: Likewise.
35319 * posix/pause.c: Likewise.
35320 * posix/posix_madvise.c: Likewise.
35321 * posix/pread.c: Likewise.
35322 * posix/pread64.c: Likewise.
35323 * posix/pwrite.c: Likewise.
35324 * posix/pwrite64.c: Likewise.
35325 * posix/sched_getaffinity.c: Likewise.
35326 * posix/sched_getp.c: Likewise.
35327 * posix/sched_gets.c: Likewise.
35328 * posix/sched_primax.c: Likewise.
35329 * posix/sched_primin.c: Likewise.
35330 * posix/sched_rr_gi.c: Likewise.
35331 * posix/sched_setaffinity.c: Likewise.
35332 * posix/sched_setp.c: Likewise.
35333 * posix/sched_sets.c: Likewise.
35334 * posix/sched_yield.c: Likewise.
35335 * posix/setgid.c: Likewise.
35336 * posix/setlogin.c: Likewise.
35337 * posix/setpgid.c: Likewise.
35338 * posix/setresgid.c: Likewise.
35339 * posix/setresuid.c: Likewise.
35340 * posix/setsid.c: Likewise.
35341 * posix/setuid.c: Likewise.
35342 * posix/sleep.c: Likewise.
35343 * posix/spawni.c: Likewise.
35344 * posix/sysconf.c: Likewise.
35345 * posix/times.c: Likewise.
35346 * posix/wait.c: Likewise.
35347 * posix/wait3.c: Likewise.
35348 * posix/wait4.c: Likewise.
35349 * posix/waitpid.c: Likewise.
35350 * resolv/gai_sigqueue.c: Likewise.
35351 * resource/getpriority.c: Likewise.
35352 * resource/getrlimit.c: Likewise.
35353 * resource/getrusage.c: Likewise.
35354 * resource/nice.c: Likewise.
35355 * resource/setpriority.c: Likewise.
35356 * resource/setrlimit.c: Likewise.
35357 * resource/ulimit.c: Likewise.
35358 * rt/aio_cancel.c: Likewise.
35359 * rt/aio_fsync.c: Likewise.
35360 * rt/aio_read.c: Likewise.
35361 * rt/aio_sigqueue.c: Likewise.
35362 * rt/aio_suspend.c: Likewise.
35363 * rt/aio_write.c: Likewise.
35364 * rt/clock_getres.c: Likewise.
35365 * rt/clock_gettime.c: Likewise.
35366 * rt/clock_nanosleep.c: Likewise.
35367 * rt/clock_settime.c: Likewise.
35368 * rt/lio_listio.c: Likewise.
35369 * rt/mq_close.c: Likewise.
35370 * rt/mq_getattr.c: Likewise.
35371 * rt/mq_notify.c: Likewise.
35372 * rt/mq_open.c: Likewise.
35373 * rt/mq_receive.c: Likewise.
35374 * rt/mq_send.c: Likewise.
35375 * rt/mq_setattr.c: Likewise.
35376 * rt/mq_timedreceive.c: Likewise.
35377 * rt/mq_timedsend.c: Likewise.
35378 * rt/mq_unlink.c: Likewise.
35379 * rt/shm_open.c: Likewise.
35380 * rt/shm_unlink.c: Likewise.
35381 * rt/timer_create.c: Likewise.
35382 * rt/timer_delete.c: Likewise.
35383 * rt/timer_getoverr.c: Likewise.
35384 * rt/timer_gettime.c: Likewise.
35385 * rt/timer_settime.c: Likewise.
35386 * setjmp/__longjmp.c: Likewise.
35387 * setjmp/setjmp.c: Likewise.
35388 * signal/kill.c: Likewise.
35389 * signal/killpg.c: Likewise.
35390 * signal/raise.c: Likewise.
35391 * signal/sigaction.c: Likewise.
35392 * signal/sigaltstack.c: Likewise.
35393 * signal/sigblock.c: Likewise.
35394 * signal/sigignore.c: Likewise.
35395 * signal/sigintr.c: Likewise.
35396 * signal/signal.c: Likewise.
35397 * signal/sigpause.c: Likewise.
35398 * signal/sigpending.c: Likewise.
35399 * signal/sigqueue.c: Likewise.
35400 * signal/sigreturn.c: Likewise.
35401 * signal/sigset.c: Likewise.
35402 * signal/sigsetmask.c: Likewise.
35403 * signal/sigstack.c: Likewise.
35404 * signal/sigsuspend.c: Likewise.
35405 * signal/sigtimedwait.c: Likewise.
35406 * signal/sigvec.c: Likewise.
35407 * signal/sigwait.c: Likewise.
35408 * signal/sigwaitinfo.c: Likewise.
35409 * signal/sysv_signal.c: Likewise.
35410 * socket/accept.c: Likewise.
35411 * socket/accept4.c: Likewise.
35412 * socket/bind.c: Likewise.
35413 * socket/connect.c: Likewise.
35414 * socket/getpeername.c: Likewise.
35415 * socket/getsockname.c: Likewise.
35416 * socket/getsockopt.c: Likewise.
35417 * socket/isfdtype.c: Likewise.
35418 * socket/listen.c: Likewise.
35419 * socket/recv.c: Likewise.
35420 * socket/recvfrom.c: Likewise.
35421 * socket/recvmsg.c: Likewise.
35422 * socket/send.c: Likewise.
35423 * socket/sendmsg.c: Likewise.
35424 * socket/sendto.c: Likewise.
35425 * socket/setsockopt.c: Likewise.
35426 * socket/shutdown.c: Likewise.
35427 * socket/sockatmark.c: Likewise.
35428 * socket/socket.c: Likewise.
35429 * socket/socketpair.c: Likewise.
35430 * stdio-common/ctermid.c: Likewise.
35431 * stdio-common/cuserid.c: Likewise.
35432 * stdio-common/remove.c: Likewise.
35433 * stdio-common/rename.c: Likewise.
35434 * stdio-common/renameat.c: Likewise.
35435 * stdio-common/tempname.c: Likewise.
35436 * stdlib/getcontext.c: Likewise.
35437 * stdlib/makecontext.c: Likewise.
35438 * stdlib/setcontext.c: Likewise.
35439 * stdlib/swapcontext.c: Likewise.
35440 * stdlib/system.c: Likewise.
35441 * streams/fattach.c: Likewise.
35442 * streams/fdetach.c: Likewise.
35443 * streams/getmsg.c: Likewise.
35444 * streams/getpmsg.c: Likewise.
35445 * streams/putmsg.c: Likewise.
35446 * streams/putpmsg.c: Likewise.
35447 * sysdeps/unix/bsd/getpt.c: Likewise.
35448 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35449 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35450 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35453 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35454 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35455 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35456 * sysvipc/msgctl.c: Likewise.
35457 * sysvipc/msgget.c: Likewise.
35458 * sysvipc/msgrcv.c: Likewise.
35459 * sysvipc/msgsnd.c: Likewise.
35460 * sysvipc/semctl.c: Likewise.
35461 * sysvipc/semget.c: Likewise.
35462 * sysvipc/semop.c: Likewise.
35463 * sysvipc/semtimedop.c: Likewise.
35464 * sysvipc/shmat.c: Likewise.
35465 * sysvipc/shmctl.c: Likewise.
35466 * sysvipc/shmdt.c: Likewise.
35467 * sysvipc/shmget.c: Likewise.
35468 * termios/tcdrain.c: Likewise.
35469 * termios/tcflow.c: Likewise.
35470 * termios/tcflush.c: Likewise.
35471 * termios/tcgetattr.c: Likewise.
35472 * termios/tcgetpgrp.c: Likewise.
35473 * termios/tcsendbrk.c: Likewise.
35474 * termios/tcsetattr.c: Likewise.
35475 * termios/tcsetpgrp.c: Likewise.
35476 * time/adjtime.c: Likewise.
35477 * time/clock.c: Likewise.
35478 * time/getitimer.c: Likewise.
35479 * time/gettimeofday.c: Likewise.
35480 * time/setitimer.c: Likewise.
35481 * time/settimeofday.c: Likewise.
35482 * time/stime.c: Likewise.
35483 * time/time.c: Likewise.
35485 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35487 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35490 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35492 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35494 2012-11-03 Joseph Myers <joseph@codesourcery.com>
35497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35498 FE_TONEAREST before applying Dekker multiplication and Knuth
35499 addition. Clear inexact exceptions and check for exact zero
35500 results afterwards.
35501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35502 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35504 * math/libm-test.inc (fma_test): Add more tests.
35505 (fma_test_towardzero): Likewise.
35506 (fma_test_downward): Likewise.
35507 (fma_test_upward): Likewise.
35508 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35510 (libc_fesetround): New macro.
35511 (libc_fesetroundf): Likewise.
35512 (libc_fesetroundl): Likewise.
35513 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35515 (libc_fesetround_387): Likewise.
35516 (libc_fesetroundf): New macro.
35517 (libc_fesetround): Likewise.
35518 (libc_fesetroundl): Likewise.
35519 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35521 (libc_fesetroundf): New macro.
35522 (libc_fesetround): Likewise.
35523 (libc_fesetroundl): Likewise.
35524 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35525 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35526 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35528 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35529 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35531 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35532 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35534 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35538 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35539 integer constant usable in #if and use that to give value to enum
35541 (FE_DIVBYZERO): Likewise.
35542 (FE_UNDERFLOW): Likewise.
35543 (FE_OVERFLOW): Likewise.
35544 (FE_INVALID): Likewise.
35545 (FE_INVALID_SNAN): Likewise.
35546 (FE_INVALID_ISI): Likewise.
35547 (FE_INVALID_IDI): Likewise.
35548 (FE_INVALID_ZDZ): Likewise.
35549 (FE_INVALID_IMZ): Likewise.
35550 (FE_INVALID_COMPARE): Likewise.
35551 (FE_INVALID_SOFTWARE): Likewise.
35552 (FE_INVALID_SQRT): Likewise.
35553 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35554 (FE_TONEAREST): Likewise.
35555 (FE_TOWARDZERO): Likewise.
35556 (FE_UPWARD): Likewise.
35557 (FE_DOWNWARD): Likewise.
35558 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35559 (FE_DIVBYZERO): Likewise.
35560 (FE_OVERFLOW): Likewise.
35561 (FE_UNDERFLOW): Likewise.
35562 (FE_INEXACT): Likewise.
35563 (FE_TONEAREST): Likewise.
35564 (FE_DOWNWARD): Likewise.
35565 (FE_UPWARD): Likewise.
35566 (FE_TOWARDZERO): Likewise.
35567 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35568 (FE_UNDERFLOW): Likewise.
35569 (FE_OVERFLOW): Likewise.
35570 (FE_DIVBYZERO): Likewise.
35571 (FE_INVALID): Likewise.
35572 (FE_TONEAREST): Likewise.
35573 (FE_TOWARDZERO): Likewise.
35574 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35575 (FE_OVERFLOW): Likewise.
35576 (FE_UNDERFLOW): Likewise.
35577 (FE_DIVBYZERO): Likewise.
35578 (FE_INEXACT): Likewise.
35579 (FE_TONEAREST): Likewise.
35580 (FE_TOWARDZERO): Likewise.
35581 (FE_UPWARD): Likewise.
35582 (FE_DOWNWARD): Likewise.
35583 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35584 (FE_DIVBYZERO): Likewise.
35585 (FE_OVERFLOW): Likewise.
35586 (FE_UNDERFLOW): Likewise.
35587 (FE_INEXACT): Likewise.
35588 (FE_TONEAREST): Likewise.
35589 (FE_DOWNWARD): Likewise.
35590 (FE_UPWARD): Likewise.
35591 (FE_TOWARDZERO): Likewise.
35593 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35595 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35597 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35599 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35600 commands. Quote $PWD.
35601 (blacklist_exports): Don't use remove_newlines. Replace "declare
35603 (remove_newlines): Remove.
35605 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35607 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35608 * stdlib/stdlib.h (atof): Moved to ...
35609 * include/bits/stdlib-float.h: Here. New file.
35610 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35611 * stdlib/bits/stdlib-float.h: New file.
35612 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35617 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35619 * conform/conformtest.pl (@headers): Add fenv.h.
35620 * conform/data/fenv.h-data: New file.
35621 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35622 include of <math/fenv.h>.
35624 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35625 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35626 && !UNIX98]. Enables tests for XOPEN2K8.
35627 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35628 POSIX2008]: Likewise.
35630 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35631 (struct rusage): Do not expect type or its members.
35634 * math/math.h (FP_NAN): Define macro to integer constant usable in
35635 #if and use that to give value to enum constant.
35636 (FP_INFINITE): Likewise.
35637 (FP_ZERO): Likewise.
35638 (FP_SUBNORMAL): Likewise.
35639 (FP_NORMAL): Likewise.
35641 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35643 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35644 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35647 2012-11-02 Roland McGrath <roland@hack.frob.com>
35649 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35650 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35651 autoconf-time if not.
35652 * configure.in: Remove AC_PREREQ.
35654 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35656 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35657 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35658 of the internal implementation.
35660 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35662 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35663 except include of <misc/sys/syslog.h>.
35665 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35668 function returns with a NULL context exit with zero.
35670 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35672 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35674 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35676 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35677 (run_program_cmd): This.
35678 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35679 (tst_langinfo): New variable. Use it.
35681 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35683 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35684 floating point opcodes.
35686 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35688 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35691 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35693 * sysdeps/mach/hurd/powerpc: Remove directory.
35694 * sysdeps/mach/powerpc: Likewise.
35696 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35698 * scripts/check-local-headers.sh: Ignore c++ headers.
35700 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35702 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35703 __libc_cleanup_region_start argument.
35705 2012-11-01 Joseph Myers <joseph@codesourcery.com>
35709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35710 x * y using scaling, not as x * y + z.
35711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35713 * math/libm-test.inc (fma_test): Add more tests.
35714 (fma_test_towardzero): Likewise.
35715 (fma_test_downward): Likewise.
35716 (fma_test_upward): Likewise.
35718 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35720 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35722 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35724 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35727 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35729 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35731 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35738 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35741 Fix the order of the list for glibc 2.17.
35742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35745 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35749 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35753 for low part of x being zero before using __atanl (y).
35754 * math/libm-test.inc (atan2_test): Add another test.
35756 * manual/install.texi (Configuring and compiling): Document
35757 general use of test-wrapper and test-wrapper-env.
35758 * INSTALL: Regenerated.
35760 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35761 (__fma): Do not extract and scale down low bits on after-rounding
35762 systems when result rounded to normal precision would have normal
35764 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35765 (__fmal): Do not extract and scale down low bits on after-rounding
35766 systems when result rounded to normal precision would have normal
35768 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35769 (__fmal): Do not extract and scale down low bits on after-rounding
35770 systems when result rounded to normal precision would have normal
35772 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35774 (fma_test): Add more tests.
35775 (fma_test_towardzero): Likewise.
35776 (fma_test_downward): Likewise.
35777 (fma_test_upward): Likewise.
35779 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35781 * sysdeps/i386/tininess.h: Renamed to ...
35782 * sysdeps/x86/tininess.h: This.
35783 * sysdeps/x86_64/tininess.h: Removed.
35785 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35787 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35788 input. Use $(build-program-cmd).
35789 ($(objpfx)tst-array1-static.out): Likewise.
35790 ($(objpfx)tst-array2.out): Likewise.
35791 ($(objpfx)tst-array3.out): Likewise.
35792 ($(objpfx)tst-array4.out): Likewise.
35793 ($(objpfx)tst-array5.out): Likewise.
35794 ($(objpfx)tst-array5-static.out): Likewise.
35796 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35798 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35801 * nss/nsswitch.h (nss_interface_function): Provide new
35802 macro for use with NSS functions.
35803 * grp/initgroups.c: Use new macro.
35804 * nss/getXXbyYY.c: Likewise.
35805 * nss/getXXbyYY_r.c: Likewise.
35806 * nss/getXXent.c: Likewise.
35807 * nss/getXXent_r.c: Likewise.
35808 * sysdeps/posix/getaddrinfo.c: Likewise.
35810 2012-10-30 Andreas Jaeger <aj@suse.de>
35812 * po/ru.po: Update Russion translation from translation project.
35814 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35819 result and shift together with sticky bit instead of replicating
35820 round-to-nearest rounding.
35821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35823 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35824 missing underflow exceptions.
35825 (fma_test_towardzero): Add more tests.
35826 (fma_test_downward): Likewise.
35827 (fma_test_upward): Likewise.
35830 * sysdeps/generic/tininess.h: New file.
35831 * sysdeps/i386/tininess.h: Likewise.
35832 * sysdeps/sh/tininess.h: Likewise.
35833 * sysdeps/x86_64/tininess.h: Likewise.
35834 * stdlib/tst-strtod-underflow.c: Likewise.
35835 * stdlib/tst-tininess.c: Likewise.
35836 * stdlib/strtod_l.c: Include <tininess.h>.
35837 (round_and_return): Do not set errno for exact underflow cases.
35838 Force an underflow exception when setting errno for underflow.
35839 Determine underflow based on rounding to normal precision if
35840 TININESS_AFTER_ROUNDING.
35841 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35842 ERANGE for exact underflow cases.
35843 * stdlib/Makefile (tests): Add tst-tininess and
35844 tst-strtod-underflow.
35845 ($(objpfx)tst-tininess): Use $(link-libm).
35846 ($(objpfx)tst-strtod-underflow): Likewise.
35848 2012-10-30 Andreas Jaeger <aj@suse.de>
35851 * elf/Makefile (tests): Remove conditional for have-initfini-array
35852 since this is now always required and the variable does not exist
35854 (tests-static): Likewise.
35855 (modules-names): Likewise.
35857 * po/eo.po: Add Esperanto translation from translation project.
35859 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35860 merged with constructor/destructor.
35861 (init_array): Likewise.
35862 * elf/tst-array2dep.c (fini_array): Likewise.
35863 (init_array): Likewise.
35865 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35867 * manual/message.texi: Delete @cartouche tags.
35869 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35871 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35873 * sysdeps/mach/hurd/fsync.c: Likewise.
35875 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35876 [_POSIX_REALTIME_SIGNALS]: Change condition to
35877 [_POSIX_REALTIME_SIGNALS > 0].
35879 2012-10-27 Andreas Jaeger <aj@suse.de>
35881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35882 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35884 [__WORDSIZE != 64]: Likewise.
35886 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35888 * iconvdata/tst-table.sh: Remove ${SHELL}.
35889 * iconvdata/tst-tables.sh: Likewise.
35891 2012-10-25 David S. Miller <davem@davemloft.net>
35893 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35894 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35900 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35901 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35904 2012-10-25 Roland McGrath <roland@hack.frob.com>
35906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35907 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35910 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35911 Jim Blandy <jimb@codesourcery.com>
35913 * scripts/cross-test-ssh.sh: New file.
35914 * manual/install.texi (Configuring and compiling): Document use of
35916 * INSTALL: Regenerated.
35918 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35920 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35923 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35925 * Makeconfig (run-program-prefix): Fix comment.
35927 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35928 Jim Blandy <jimb@codesourcery.com>
35930 * Makeconfig (test-wrapper): New variable,
35931 (test-wrapper-env): Likewise.
35932 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35933 (run-built-tests): Define to yes.
35934 (run-program-prefix): Use $(test-wrapper).
35935 (built-program-cmd): Likewise.
35936 * Rules (make-test-out): Use $(test-wrapper-env) and
35937 $(host-built-program-cmd).
35938 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35939 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35941 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35942 $(test-wrapper-env) to tst-rtld-load-self.sh.
35943 ($(objpfx)order2.out): Use $(test-wrapper).
35944 ($(objpfx)tst-initorder.out): Likewise.
35945 ($(objpfx)tst-initorder2.out): Likewise.
35946 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35947 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35948 (test_wrapper_env): New variable. Use it to run ld.so.
35949 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35950 Use it to run ld.so.
35951 (test_wrapper_env): Likewise.
35952 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35953 $(test-wrapper) to run-iconv-test.sh.
35954 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35955 (ICONV): Use $test_wrapper.
35956 * posix/Makefile ($(objpfx)globtest.out): Pass
35957 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35958 globtest.sh, not $(run-program-prefix).
35959 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35960 (test_wrapper): Likewise.
35961 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35962 set together with run_via_rtld_prefix.
35963 (run_program_prefix): Define in terms of test_wrapper and
35964 run_via_rtld_prefix.
35966 2012-10-24 Roland McGrath <roland@hack.frob.com>
35968 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35969 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35973 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35974 Declare __clock_getres, __clock_gettime, __clock_settime,
35975 __clock_nanosleep, and __clock_getcpuclockid.
35976 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35977 Remove librt_hidden_def (clock_gettime).
35978 * sysdeps/unix/clock_gettime.c: Likewise.
35979 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35981 * rt/clock_getres.c: Define __clock_getres as an alias.
35982 * sysdeps/posix/clock_getres.c: Likewise.
35983 * rt/clock_settime.c: Define __clock_settime as an alias.
35984 * sysdeps/unix/clock_settime.c: Likewise.
35985 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35986 * sysdeps/unix/clock_nanosleep.c: Likewise.
35987 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35988 * rt/clock-compat.c: New file.
35989 * rt/Makefile (librt-routines): Add clock-compat and move
35990 $(clock-routines) to ...
35991 (routines): ... here, new variable.
35992 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35993 Don't add get_clockfreq here.
35994 * rt/Versions (libc: GLIBC_2.17): New version set.
35995 Add clock_* symbols here.
35996 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35998 (GLIBC_2.17): Add clock_* symbols.
35999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36010 * NEWS: Mention the move.
36012 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36013 Use __open, __read, __close rather than their public counterparts.
36014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36015 (__get_clockfreq_via_cpuinfo): Likewise.
36016 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36017 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36019 * config.h.in (HAVE_IFUNC): New #undef.
36020 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36022 * configure: Regenerated.
36024 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36026 * configure.in: Move READELF check to start of file.
36027 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36028 libc_cv_asm_gnu_indirect_function in the process.
36029 * configure: Regenerated.
36031 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36033 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36034 send the output to /dev/null.
36035 (libc_cv_cc_with_libunwind): Likewise.
36036 (libc_cv_as_noexecstack): Likewise.
36037 * configure: Regenerate.
36039 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36041 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36043 * posix/globtest.sh (TMPDIR): Do not set.
36044 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36045 (testout): Likewise.
36047 2012-10-24 Andreas Jaeger <aj@suse.de>
36049 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36050 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36051 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36052 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36053 posix_fadvise64, posix_fallocate64.
36055 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36056 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36057 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36059 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36061 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36064 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36065 <bits/fcntl-linux.h>.
36066 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36069 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36070 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36071 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36072 [__WORDSIZE != 64]: Likewise.
36074 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36076 * Makeconfig (run-built-tests): New variable.
36077 * Rules [$(cross-compiling) = yes]: Change condition to
36078 [$(run-built-tests) = no].
36079 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36080 to [$(run-built-tests) = yes].
36081 * elf/Makefile [$(cross-compiling) = no]: Likewise
36082 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36083 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36084 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36085 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36086 * io/Makefile [$(cross-compiling) = no]: Likewise.
36087 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36088 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36089 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36090 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36091 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36092 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36093 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36094 * string/Makefile [$(cross-compiling) = no]: Likewise.
36096 * posix/Makefile ($(objpfx)globtest.out): Pass
36097 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36098 $(rtld-installed-name).
36099 * posix/globtest.sh (elf_objpfx): Remove variable.
36100 (rtld_installed_name): Likewise.
36101 (library_path): Likewise.
36102 (run_program_prefix): New variable. Use for running globtest
36105 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36106 Joseph Myers <joseph@codesourcery.com>
36108 * Makeconfig (host-built-program-cmd): New variable.
36109 * elf/Makefile (tst-stackguard1-ARGS): Use
36110 $(host-built-program-cmd).
36111 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36112 (tst-spawn-ARGS): Likewise.
36113 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36115 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36116 Jim Blandy <jimb@codesourcery.com>
36118 * Makeconfig (run-via-rtld-prefix): New variable.
36119 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36120 (built-program-cmd): Likewise.
36122 2012-10-22 Andreas Jaeger <aj@suse.de>
36124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36125 __O_RSYNC if it exists, otherwise to O_SYNC.
36127 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36128 Joseph Myers <joseph@codesourcery.com>
36130 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36132 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36134 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36137 2012-10-22 Andreas Jaeger <aj@suse.de>
36139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36144 bits/fcntl-linux.h.
36146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36147 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36154 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36155 Joseph Myers <joseph@codesourcery.com>
36157 * config.make.in (NM): New variable.
36159 2012-10-21 Andreas Jaeger <aj@suse.de>
36161 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36162 definitions and declarations that are provided by
36163 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36165 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36168 * elf/Makefile (tests-static): Add tst-leaks1-static.
36169 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36170 ($(objpfx)tst-leaks1-static): New rule.
36171 ($(objpfx)tst-leaks1-static-mem): Likewise.
36172 (tst-leaks1-static-ENV): New macro.
36173 * elf/dl-open.c (dl_open_worker): Check the main application
36174 only if SHARED is defined.
36175 * elf/tst-leaks1-static.c: New file.
36177 2012-10-20 Andreas Jaeger <aj@suse.de>
36179 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36180 generic values for Linux.
36181 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36182 and declarations that are provided by <bits/fcntl-linux.h> and
36183 include <bits/fcntl-linux.h>.
36184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36187 2012-10-20 Roland McGrath <roland@hack.frob.com>
36189 * io/fcntl.h: Move include of <bits/types.h> to the top and
36190 include it unconditionally.
36192 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36194 * wcsmbs/Makefile (tests-ifunc): New variable.
36195 (tests): Add $(tests-ifunc).
36196 * wcsmbs/test-wcschr-ifunc.c: New file.
36197 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36198 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36199 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36200 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36201 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36203 * string/Makefile (tests-ifunc): New variable.
36204 (tests): Add $(tests-ifunc).
36205 * string/test-memccpy.c (TEST_NAME): New macro.
36206 * string/test-memchr.c (TEST_NAME): Likewise.
36207 * string/test-memcmp.c (TEST_NAME): Likewise.
36208 * string/test-memcpy.c (TEST_NAME): Likewise.
36209 * string/test-memmem.c (TEST_NAME): Likewise.
36210 * string/test-memmove.c (TEST_NAME): Likewise.
36211 * string/test-memset.c (TEST_NAME): Likewise.
36212 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36213 * string/test-stpcpy.c (TEST_NAME): Likewise.
36214 * string/test-stpncpy.c (TEST_NAME): Likewise.
36215 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36216 * string/test-strcasestr.c (TEST_NAME): Likewise.
36217 * string/test-strcat.c (TEST_NAME): Likewise.
36218 * string/test-strchr.c (TEST_NAME): Likewise.
36219 * string/test-strcmp.c(TEST_NAME): Likewise.
36220 * string/test-strcpy.c (TEST_NAME): Likewise.
36221 * string/test-strcspn.c (TEST_NAME): Likewise.
36222 * string/test-strlen.c (TEST_NAME): Likewise.
36223 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36224 * string/test-strncmp.c (TEST_NAME): Likewise.
36225 * string/test-strncpy.c (TEST_NAME): Likewise.
36226 * string/test-strnlen.c (TEST_NAME): Likewise.
36227 * string/test-strpbrk.c (TEST_NAME): Likewise.
36228 * string/test-strrchr.c (TEST_NAME): Likewise.
36229 * string/test-strspn.c (TEST_NAME): Likewise.
36230 * string/test-strstr.c (TEST_NAME): Likewise.
36231 * string/test-bcopy-ifunc.c: New file.
36232 * string/test-bzero-ifunc.c: Likewise.
36233 * string/test-memccpy-ifunc.c: Likewise.
36234 * string/test-memchr-ifunc.c: Likewise.
36235 * string/test-memcmp-ifunc.c: Likewise.
36236 * string/test-memcpy-ifunc.c: Likewise.
36237 * string/test-memmem-ifunc.c: Likewise.
36238 * string/test-memmove-ifunc.c: Likewise.
36239 * string/test-mempcpy-ifunc.c: Likewise.
36240 * string/test-memset-ifunc.c: Likewise.
36241 * string/test-rawmemchr-ifunc.c: Likewise.
36242 * string/test-stpcpy-ifunc.c: Likewise.
36243 * string/test-stpncpy-ifunc.c: Likewise.
36244 * string/test-strcasecmp-ifunc.c: Likewise.
36245 * string/test-strcasestr-ifunc.c: Likewise.
36246 * string/test-strcat-ifunc.c: Likewise.
36247 * string/test-strchr-ifunc.c: Likewise.
36248 * string/test-strchrnul-ifunc.c: Likewise.
36249 * string/test-strcmp-ifunc.c: Likewise.
36250 * string/test-strcpy-ifunc.c: Likewise.
36251 * string/test-strcspn-ifunc.c: Likewise.
36252 * string/test-strlen-ifunc.c: Likewise.
36253 * string/test-strncasecmp-ifunc.c: Likewise.
36254 * string/test-strncat-ifunc.c: Likewise.
36255 * string/test-strncmp-ifunc.c: Likewise.
36256 * string/test-strncpy-ifunc.c: Likewise.
36257 * string/test-strnlen-ifunc.c: Likewise.
36258 * string/test-strpbrk-ifunc.c: Likewise.
36259 * string/test-strrchr-ifunc.c: Likewise.
36260 * string/test-strspn-ifunc.c: Likewise.
36261 * string/test-strstr-ifunc.c: Likewise.
36263 * debug/Makefile (tests-ifunc): New variable.
36264 (tests): Add $(tests-ifunc).
36265 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36266 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36267 * debug/test-stpcpy_chk-ifunc.c: New file.
36268 * debug/test-strcpy_chk-ifunc.c: Likewise.
36270 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36273 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36274 header is not read in.
36276 2012-10-19 Joseph Myers <joseph@codesourcery.com>
36278 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36279 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36280 directly. Pass built executable to script as
36281 $(built-program-cmd).
36282 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36283 $testprogram without using LD_LIBRARY_PATH and $ldso.
36285 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36286 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36287 $(rtld-installed-name).
36288 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36289 (rtld_installed_name): Likewise.
36290 (library_path): Likewise.
36291 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36292 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36293 $(run-program-prefix) to tst-tables.sh.
36294 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36295 it to run tst-table-from and tst-table-to.
36296 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36297 Pass it to tst-table.sh.
36298 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36299 $(run-program-prefix) to tst-gettext.sh.
36300 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36302 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36304 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36305 to run tst-gettext.
36306 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36307 to run tst-gettext2.
36308 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36309 to run tst-translit.
36310 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36311 $(run-program-prefix) to tst-mtrace.sh.
36312 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36314 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36315 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36316 $(rtld-installed-name).
36317 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36318 (rtld_installed_name): Likewise.
36319 (run_program_prefix): New variable. Use it to run wordexp-test.
36321 * Makeconfig (ARCH): Remove all definitions.
36322 (machine): Likewise.
36323 [ARCH]: Remove conditional code.
36324 [!objdir]: Give error.
36325 [!objdir] (objpfx): Remove.
36326 [!objdir] (common-objpfx): Likewise.
36327 [!objdir] (common-objdir): Likewise.
36328 * configure.in (config_makefile): Remove. Hardcode Makefile in
36329 AC_CONFIG_FILES call.
36330 * configure: Regenerated.
36333 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36335 (testout): Likewise.
36337 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36338 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36339 $(rtld-installed-name).
36340 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36341 (rtld_installed_name): Likwise.
36342 (runit): Remove function.
36343 (run_getconf): New variable, Use it for running getconf binary.
36345 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36348 * string/test-memmem.c (check_result): New function.
36349 (do_one_test): Use it.
36350 (check1): New function.
36351 (test_main): Use it.
36353 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36355 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36357 2012-10-18 Joseph Myers <joseph@codesourcery.com>
36359 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36360 (_G_LSEEK64): Likewise.
36361 (_G_MMAP64): Likewise.
36362 (_G_FSTAT64): Likewise.
36363 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36364 (_G_LSEEK64): Likewise.
36365 (_G_MMAP64): Likewise.
36366 (_G_FSTAT64): Likewise.
36367 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36368 unconditional. Call __mmap64 directly.
36369 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36370 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36371 __lseek64 directly.
36372 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36373 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36375 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36376 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36377 __lseek64 directly.
36378 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36379 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36380 __lseek64 directly.
36381 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36382 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36383 __lseek64 directly.
36384 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36385 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36386 __fxstat64 directly.
36387 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36388 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36390 (freopen64) [!_G_OPEN64]: Remove conditional code.
36391 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36393 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36394 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36396 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36397 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36399 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36400 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36402 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36403 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36405 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36406 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36408 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36409 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36411 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36413 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36416 * manual/memory.texi (Malloc Tunable Parameters): Add note
36417 about free list pointers overwriting some perturb bytes.
36418 Wording suggested by Roland McGrath.
36420 2012-10-17 Joseph Myers <joseph@codesourcery.com>
36422 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36423 (lgamma_test): Likewise.
36424 (tgamma_test): Likewise.
36426 2012-10-16 Florian Weimer <fweimer@redhat.com>
36429 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36430 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36432 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36434 * NEWS: Mention BZ #14716.
36435 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36436 when removing AVAILABLE1_USES_J macro.
36438 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36440 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36441 (__bswap_64): __uint64_t for unsigned 64-bit int.
36443 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36445 * include/string.h (memmem): Declare libc hidden alias.
36446 * string/memmem.c (memmem): Define libc hidden alias.
36447 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36448 __read, __close instead of open, read, close.
36450 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36452 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36453 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36455 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36456 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36457 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36459 (__rawmemchr_sse2): Likewise.
36460 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36461 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36462 (__strchr_sse2): Likewise.
36463 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36464 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36465 (__strcasecmp_sse2): Likewise.
36466 (__strncasecmp_sse2): Likewise.
36467 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36468 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36469 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36470 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36471 (__strrchr_sse2): Likewise.
36472 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36474 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36475 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36476 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36477 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36478 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36479 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36480 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36481 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36482 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36483 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36484 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36485 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36486 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36487 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36488 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36489 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36490 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36491 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36492 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36493 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36494 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36495 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36496 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36497 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36498 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36499 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36500 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36501 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36502 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36503 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36505 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36507 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36508 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36509 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36510 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36512 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36514 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36515 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36516 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36517 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36519 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36520 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36521 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36522 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36523 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36524 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36525 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36526 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36527 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36528 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36529 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36530 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36531 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36532 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36533 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36534 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36535 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36536 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36537 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36538 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36540 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36541 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36542 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36543 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36544 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36545 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36546 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36547 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36548 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36549 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36550 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36551 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36552 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36553 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36554 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36555 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36556 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36557 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36558 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36559 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36561 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36562 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36563 * include/ifunc-impl-list.h: New file.
36564 * misc/ifunc-impl-list.c: Likewise.
36565 * misc/Makefile (routines): Add ifunc-impl-list.
36566 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36567 * string/test-string.h: Include <ifunc-impl-list.h>.
36568 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36569 TEST_NAME]: New variables.
36570 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36572 (test_init): Call __libc_ifunc_impl_list to initialize
36573 func_list if TEST_IFUNC and TEST_NAME are defined.
36575 * string/Makefile (strop-tests): Add bcopy and bzero.
36576 * string/test-bcopy.c: New file.
36577 * string/test-bzero.c: Likewise.
36578 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36580 * string/test-memset.c: Support bzero test if TEST_BZERO is
36582 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36584 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36586 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36589 2012-10-10 Joseph Myers <joseph@codesourcery.com>
36591 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36592 * configure: Regenerated.
36594 * Makeconfig (+link-static-before-libc): Don't include
36595 $(link-static-libc).
36597 * libio/libio.h (_IO_pos_t): Remove.
36599 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36601 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36604 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36606 * crypt/crypt-entry.c: Include fips-private.h.
36607 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36608 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36609 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36610 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36612 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36614 * crypt/crypt-private.h: Include stdbool.h.
36615 (_ufc_setup_salt_r): Return bool.
36616 * crypt/crypt-entry.c: Include errno.h.
36617 (__crypt_r): Return NULL with EINVAL for bad salt.
36618 * crypt/crypt_util.c (bad_for_salt): New.
36619 (_ufc_setup_salt_r): Check that salt is long enough and within
36620 the specified alphabet.
36621 * crypt/badsalttest.c: New file.
36622 * crypt/Makefile (tests): Add it.
36623 ($(objpfx)badsalttest): New.
36625 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36627 * NEWS: Add entry for BZ #14602.
36629 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36631 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36633 * math/libm-test.inc: Update comment listing what functions and
36635 (isgreater_test): New function.
36636 (isgreaterequal_test): Likewise.
36637 (isless_test): Likewise.
36638 (islessequal_test): Likewise.
36639 (islessgreater_test): Likewise.
36640 (isunordered_test): Likewise.
36641 (main): Call the new functions.
36643 2012-10-09 Roland McGrath <roland@hack.frob.com>
36645 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36646 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36647 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36648 * sysdeps/i386/configure: Regenerated.
36649 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36650 * sysdeps/mach/configure: Regenerated.
36651 * sysdeps/mach/hurd/configure: Regenerated.
36652 * sysdeps/powerpc/configure: Regenerated.
36653 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36654 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36655 * sysdeps/s390/s390-32/configure: Regenerated.
36656 * sysdeps/s390/s390-64/configure: Regenerated.
36657 * sysdeps/sh/configure: Regenerated.
36658 * sysdeps/sparc/configure: Regenerated.
36659 * sysdeps/unix/sysv/linux/configure: Regenerated.
36660 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36661 * sysdeps/x86_64/configure: Regenerated.
36663 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36664 defined. Don't check if MAP is NULL.
36666 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36668 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36669 (_G_stat64): Likewise.
36670 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36671 (_G_stat64): Likewise.
36672 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36673 instead of struct _G_stat64.
36674 * libio/fileops.c (mmap_remap_check): Likewise.
36675 (decide_maybe_mmap): Likewise.
36676 (_IO_new_file_seekoff): Likewise.
36677 (_IO_file_stat): Likewise.
36678 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36680 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36681 instead of struct _G_stat64.
36682 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36684 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36687 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36689 (CHECK_EOL): New macro.
36690 (two_way_short_needle): Check beginning of haystack for EOL. Use
36692 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36693 Replace with CHECK_EOL.
36694 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36695 Replace with CHECK_EOL.
36697 2012-10-08 Joseph Myers <joseph@codesourcery.com>
36699 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36701 * math/libm-test.inc: Update comment listing what functions and
36703 (finite_test): New function.
36704 (isinf_test): Likewise.
36705 (isnan_test): Likewise.
36706 (fpclassify_test): Test subnormal input.
36707 (isfinite_test): Likewise.
36708 (isnormal_test): Likewise.
36709 (main): Call the new functions.
36711 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36714 * Makerules (%.dynsym): Force C locale when running
36715 $(OBJDUMP) --dynamic-syms.
36717 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36719 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36722 2012-10-06 David S. Miller <davem@davemloft.net>
36724 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36725 upper 32-bits of the length value in %o2 since we use branch-on-register
36726 tests which consider the entire 64-bit register.
36728 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36730 * string/test-strstr.c (check2): Add a test for page boundary.
36732 2012-10-05 David S. Miller <davem@davemloft.net>
36734 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36735 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36737 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36739 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36740 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36741 and bzero when HWCAP_SPARC_CRYPTO is present.
36743 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36746 * string/test-strstr.c (check2): New function.
36747 (test_main): Call check2.
36749 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36751 * string/bug-strcasestr1.c (do_test): Moved to ...
36752 * string/test-strcasestr.c (check1): Here. New function.
36753 (do_one_test): Break out result checking code into ...
36754 (check_result): This. New function.
36755 (do_one_test): Call check_result.
36756 (test_main): Call check1.
36757 * string/bug-strchr1.c (do_test): Moved to ...
36758 * string/test-strchr.c (check1): Here. New function.
36759 (do_one_test): Break out result checking code into ...
36760 (check_result): This. New function.
36761 (do_one_test): Call check_result.
36762 (test_main): Call check1.
36763 * string/bug-strstr1.c (main): Moved to ...
36764 * string/test-strstr.c (check1): Here. New function.
36765 (do_one_test): Break out result checking code into ...
36766 (check_result): This. New function.
36767 (do_one_test): Call check_result.
36768 (test_main): Call check1.
36769 * string/bug-strcasestr1.c: Removed.
36770 * string/bug-strchr1.c: Likewise.
36771 * string/bug-strstr1.c: Likewise.
36773 * elf/Makefile (dl-routines): Add hwcaps.
36774 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36775 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36776 (_dl_important_hwcaps): Moved to ...
36777 * elf/dl-hwcaps.c: Here. New file.
36778 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36781 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36782 if IS_IN_rtld isn't defined.
36784 * elf/dl-support.c (_dl_sysinfo_map): New.
36785 Include "get-dynamic-info.h" and "setup-vdso.h".
36786 (_dl_non_dynamic_init): Call setup_vdso.
36787 * elf/dynamic-link.h: Don't include <assert.h>.
36788 (elf_get_dynamic_info): Moved to ...
36789 * elf/get-dynamic-info.h: Here. New file.
36790 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36791 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36792 * elf/setup-vdso.h: Here. New file.
36793 * elf/rtld.c: Include "setup-vdso.h".
36794 (dl_main): Call setup_vdso.
36796 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36798 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36799 creal in comment listing functions tested. List finite, isinf,
36800 isnan, isless, islessequal, isgreater, isgreaterequal,
36801 islessgreater, isunordered, lgamma_r and pow10 as functions and
36802 macros not tested. Mention which functions not tested are aliases
36803 for other functions. Fix typo. Note that signs of NaNs are not
36806 * scripts/config.guess: Update from config.git.
36807 * scripts/config.sub: Likewise.
36809 2012-10-04 Roland McGrath <roland@hack.frob.com>
36811 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36812 * misc/madvise.c (madvise): Renamed to __madvise.
36813 Make madvise a weak alias.
36814 * include/sys/mman.h: Declare __madvise.
36815 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36816 * sysdeps/unix/syscalls.list
36817 (madvise): Make __madvise the strong name, and madvise a weak alias.
36818 * sysdeps/unix/sysv/linux/syscalls.list
36819 (madvise, mmap): Remove redundant entries.
36820 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36821 * malloc/malloc.c (mtrim): Likewise.
36822 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36824 2012-10-03 Roland McGrath <roland@hack.frob.com>
36826 * sysdeps/mach/hurd/dl-cache.c: File removed.
36827 * config.h.in (USE_LDCONFIG): New #undef.
36828 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36829 * configure: Regenerated.
36830 * elf/Makefile (dl-routines): Add dl-cache only under
36831 [$(use-ldconfig) = yes].
36832 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36833 cache on [USE_LDCONFIG].
36834 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36836 * elf/rtld.c (dl_main): Likewise.
36838 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36840 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36841 _SC_LEVEL4_CACHE_LINESIZE.
36843 2012-10-03 Roland McGrath <roland@hack.frob.com>
36845 * sysdeps/unix/bsd/confstr.h: File removed.
36847 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36849 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36852 2012-10-02 Roland McGrath <roland@hack.frob.com>
36854 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36855 Make 'mapoff' field ElfW(Off) rather than off_t.
36857 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36859 * nscd/Makefile: Remove nscd-cflags and all its users.
36860 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36861 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36864 * malloc.c (malloc_printerr): Clarify error message.
36866 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36870 Set bit_FMA_Usable if FMA is supported.
36871 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36873 (bit_FMA4_Usable): Updated.
36874 (index_FMA_Usable): New macro.
36875 (CPUID_FMA): Likewise
36876 (HAS_FMA): Defined with bit_FMA_Usable.
36878 2012-10-01 Roland McGrath <roland@hack.frob.com>
36880 * bits/types.h (__swblk_t): Type removed.
36881 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36882 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36883 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36884 (__SWBLK_T_TYPE): Likewise.
36885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36886 (__SWBLK_T_TYPE): Likewise.
36887 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36888 (__SWBLK_T_TYPE): Likewise.
36889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36890 (__SWBLK_T_TYPE): Likewise.
36892 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36893 Honza Horak <hhorak@redhat.com>
36895 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36896 (xdr_mapname): Use YPMAXMAP as maxsize.
36897 (xdr_peername): Use YPMAXPEER as maxsize.
36898 (xdr_keydat): Use YPAXRECORD as maxsize.
36899 (xdr_valdat): Use YPMAXRECORD as maxsize.
36901 2012-10-01 Roland McGrath <roland@hack.frob.com>
36903 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36905 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36906 * csu/init-first.c: ... here.
36907 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36908 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36909 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36910 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36911 * sysdeps/i386/init-first.c: File removed.
36912 * sysdeps/sh/init-first.c: File removed.
36914 2012-10-01 Joseph Myers <joseph@codesourcery.com>
36917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36918 if x * y might underflow to zero and z is zero.
36919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36921 * math/libm-test.inc (min_subnorm_value): New variable.
36922 (fma_test): Add more tests.
36923 (fma_test_towardzero): Likewise.
36924 (fma_test_downward): Likewise
36925 (fma_test_upward): Likewise.
36926 (initialize): Set min_subnorm_value.
36928 2012-09-29 Joseph Myers <joseph@codesourcery.com>
36931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36933 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36934 mode for addition resulting in exact zero.
36935 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36938 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36939 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36940 * math/libm-test.inc (fma_test): Add more tests.
36941 (fma_test_towardzero): New function.
36942 (fma_test_downward): Likewise.
36943 (fma_test_upward): Likewise.
36944 (main): Call the new functions.
36946 2012-09-28 David S. Miller <davem@davemloft.net>
36948 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36950 2012-09-28 Roland McGrath <roland@hack.frob.com>
36952 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36953 instead of SIGALRM.
36955 * sysdeps/gnu/_G_config.h: Moved to ...
36956 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36957 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36958 * sysdeps/generic/_G_config.h: ... here.
36960 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36962 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36964 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36965 Conditionalize target on [libnss_test1.so-version].
36967 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36969 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36970 (elfobjdir): Move out of conditionals.
36972 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36973 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36974 (__nss_lookup_function): Conditionalize label remove_from_tree on
36975 [!DO_STATIC_NSS || SHARED], matching its only use.
36977 2012-09-28 David S. Miller <davem@davemloft.net>
36979 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36980 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36982 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36984 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36986 when HWCAP_SPARC_CRYPTO is present.
36988 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36990 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36992 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36995 * stdio-common/vfprintf.c (process_string_arg): Revert
36998 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37000 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37002 * stdio-common/tst-sprintf.c: Include <locale.h>
37003 (main): Test sprintf's handling of incomplete multibyte
37006 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37008 * elf/dl-runtime.c (VERSYMIDX): Removed.
37009 * elf/dl-version.c (VERSYMIDX): Likewise.
37010 * elf/do-rel.h (VERSYMIDX): Likewise.
37011 (VALIDX): Likewise.
37012 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37013 * elf/rtld.c (VALIDX): Likewise.
37014 (ADDRIDX): Likewise.
37015 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37016 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37017 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37018 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37019 (VALIDX): Likewise.
37020 (ADDRIDX): Likewise.
37022 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37024 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37026 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37029 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37031 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37032 addresses are in the same scope as 192.0.2/24.
37033 * posix/gai.conf: Document new scope table defaults.
37035 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37038 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37039 for ftell. Compute offsets from write pointers instead.
37040 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37042 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37045 * libio/Makefile (tests): New test case tst-fseek.
37046 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37047 combination works in wide mode.
37048 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37049 state when the external buffer state changes.
37051 2012-09-27 David S. Miller <davem@davemloft.net>
37054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37055 pass reloc->r_addend in as the 'high' argument to
37056 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37060 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37062 * rt/tst-aio2.c: Include <pthread.h>.
37063 * rt/tst-aio3.c: Likewise.
37065 2012-09-27 Steve Ellcey <sellcey@mips.com>
37067 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37069 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37071 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37072 contents on [SHARED].
37074 2012-09-26 Marek Polacek <polacek@redhat.com>
37078 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37079 for C++ and GCC <4.3 as well as for non GCC compilers.
37081 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37085 2012-09-25 Roland McGrath <roland@hack.frob.com>
37087 * Makefile.in (all, install): Declare with .PHONY.
37088 Reported by Michael Hope <michael.hope@linaro.org>.
37090 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37092 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37093 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37095 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37097 (sydep_routines): Add the new and the internal functions.
37098 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37099 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37101 (GLIBC_2.17): Add the new function.
37102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37103 (GLIBC_2.17): Likewise.
37104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37105 (GLIBC_2.17): Likewise.
37106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37107 (GLIBC_2.17): Likewise.
37108 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37110 2012-09-25 Alan Modra <amodra@gmail.com>
37112 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37113 Add release barrier before setting once_control to say
37114 initialisation is done. Add hints on lwarx. Use macro in
37116 (clear_once_control): Add release barrier.
37118 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37121 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37123 * math/s_clog10.c (__clog10): Likewise.
37124 * math/s_clog10f.c (__clog10f): Likewise.
37125 * math/s_clog10l.c (__clog10l): Likewise.
37126 * math/s_clogf.c (__clogf): Likewise.
37127 * math/s_clogl.c (__clogl): Likewise.
37128 * math/Makefile (libm-calls): Add x2y2m1.
37129 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37130 (__x2y2m1): Likewise.
37131 (__x2y2m1l): Likewise.
37132 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37133 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37134 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37135 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37136 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37137 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37138 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37139 * sysdeps/i386/fpu/libm-test-ulps: Update.
37140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37143 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37144 int as type of variable DEPTH.
37145 (glob): Use size_t instead of int as type of variables NEWCOUNT
37148 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37150 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37151 Add s_sincosf-sse2.
37152 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37153 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37154 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37155 macros for using routine as __sincosf_ia32.
37156 Use macro for function declaration and weak_alias.
37157 * sysdeps/i386/fpu/libm-test-ulps: Update.
37159 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37162 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37163 subnormal argument.
37164 * math/s_cexpf.c (__cexpf): Likewise.
37165 * math/s_csinf.c (__csinf): Likewise.
37166 * math/s_csinhf.c (__csinhf): Likewise.
37167 * math/s_ctanf.c (__ctanf): Likewise.
37168 * math/s_ctanhf.c (__ctanhf): Likewise.
37169 * math/s_ccosh.c (__ccoshf): Likewise.
37170 * math/s_cexp.c (__cexpl): Likewise.
37171 * math/s_csin.c (__csin): Likewise.
37172 * math/s_csinh.c (__csinh): Likewise.
37173 * math/s_ctan.c (__ctan): Likewise.
37174 * math/s_ctanh.c (ctanh): Likewise.
37175 * math/s_ccoshl.c (__ccoshl): Likewise.
37176 * math/s_cexpl.c (__cexpl): Likewise.
37177 * math/s_csinl.c (__csinl): Likewise.
37178 * math/s_csinhl.c (__csinhl): Likewise.
37179 * math/s_ctanl.c (__ctanl): Likewise.
37180 * math/s_ctanhl.c (__ctanhl): Likewise.
37182 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37184 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37185 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37186 (_IO_off_t): Define to __off_t, not _G_off_t.
37187 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37188 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37189 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37190 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37191 type of __dummy and __dummy2 fields.
37192 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37193 (_G_ssize_t): Likewise.
37194 (_G_off_t): Likewise.
37195 (_G_pid_t): Likewise.
37196 (_G_uid_t): Likewise.
37197 (_G_wchar_t): Likewise.
37198 (_G_wint_t): Likewise.
37199 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37200 (_G_ssize_t): Likewise.
37201 (_G_off_t): Likewise.
37202 (_G_pid_t): Likewise.
37203 (_G_uid_t): Likewise.
37204 (_G_wchar_t): Likewise.
37205 (_G_wint_t): Likewise.
37206 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37207 (_G_ssize_t): Likewise.
37208 (_G_off_t): Likewise.
37209 (_G_pid_t): Likewise.
37210 (_G_uid_t): Likewise.
37211 (_G_wchar_t): Likewise.
37212 (_G_wint_t): Likewise.
37214 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37216 * malloc/arena.c: Include malloc-sysdep.h.
37217 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37218 is sufficient to shrink the heap or an unmap is needed.
37219 * sysdeps/generic/malloc-sysdep.h: New file. Define
37220 new function check_may_shrink_heap.
37221 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37222 new function check_may_shrink_heap.
37224 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37226 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37229 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37231 * catgets/test-gencat.sh: Add "set -e".
37232 * elf/tst-pathopt.sh: Likewise.
37233 * grp/tst_fgetgrent.sh: Likewise.
37234 * iconvdata/run-iconv-test.sh: Likewise.
37235 * intl/tst-gettext.sh: Likewise.
37236 * intl/tst-gettext2.sh: Likewise.
37237 * intl/tst-gettext4.sh: Likewise.
37238 * intl/tst-gettext6.sh: Likewise.
37239 * intl/tst-translit.sh: Likewise.
37240 * io/ftwtest-sh: Likewise.
37241 * libio/test-freopen.sh: Likewise.
37242 * malloc/tst-mtrace.sh: Likewise.
37243 * posix/globtest.sh: Likewise.
37244 * posix/tst-getconf.sh: Likewise.
37245 * posix/wordexp-tst.sh: Likewise.
37246 * stdio-common/tst-printf.sh: Likewise.
37247 * stdio-common/tst-unbputc.sh: Likewise.
37248 * stdlib/tst-fmtmsg.sh: Likewise.
37249 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37250 * catgets/Makefile: Do not specify -e option when running
37251 testsuite shell scripts.
37252 * elf/Makefile: Likewise.
37253 * grp/Makefile: Likewise.
37254 * iconvdata/Makefile: Likewise.
37255 * intl/Makefile: Likewise.
37256 * io/Makefile: Likewise.
37257 * libio/Makefile: Likewise.
37258 * malloc/Makefile: Likewise.
37259 * posix/Makefile: Likewise.
37260 * stdio-common/Makefile: Likewise.
37261 * stdlib/Makefile: Likewise.
37262 * sysdeps/x86_64/Makefile: Likewise.
37264 * io/ftwtest-sh: Add copyright header.
37265 * posix/globtest.sh: Likewise.
37266 * posix/tst-getconf.sh: Likewise.
37267 * posix/wordexp-tst.sh: Likewise.
37268 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37270 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37273 * Makeconfig (+link): Defined as $(+link-static) if
37274 $(build-shared) isn't yes.
37275 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37277 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37279 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37282 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37283 new chunk size with MALLOC_ALIGN_MASK.
37285 2012-09-24 Joseph Myers <joseph@codesourcery.com>
37288 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37290 (__printf_fphex): Determine rounding using get_rounding_mode and
37292 * stdio-common/tst-printf-round.c (struct hex_test): New
37294 (hex_tests): New variable.
37295 (test_hex_in_one_mode): New function.
37296 (do_test): Also run tests for hex float output.
37298 2012-09-21 Joseph Myers <joseph@codesourcery.com>
37300 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37301 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37302 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37303 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37304 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37305 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37306 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37307 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37309 2012-09-20 Joseph Myers <joseph@codesourcery.com>
37311 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37312 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37313 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37314 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37316 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37319 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37321 * elf/tst-rtld-load-self.sh: New test.
37322 * elf/Makefile: Run it.
37324 2012-09-18 Joseph Myers <joseph@codesourcery.com>
37326 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37327 (tst-writev-ENV): Remove.
37328 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37330 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37332 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37334 2012-09-17 Joseph Myers <joseph@codesourcery.com>
37336 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37338 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37340 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37341 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37342 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37345 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37348 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37349 * config.make.in (have-cpp-asm-debuginfo): Removed.
37350 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37351 * configure: Regenerated.
37353 2012-09-14 Joseph Myers <joseph@codesourcery.com>
37356 * stdio-common/printf_fp.c: Include <stdbool.h> and
37358 (___printf_fp): Determine rounding using get_rounding_mode and
37360 * stdio-common/tst-printf-round.c: New file.
37361 * stdio-common/Makefile (tests): Add tst-printf-round.
37362 (link-libm): New variable.
37363 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37365 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37368 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37369 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37371 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37374 2012-09-13 Joseph Myers <joseph@codesourcery.com>
37376 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37377 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37378 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37379 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37381 2012-09-12 Joseph Myers <joseph@codesourcery.com>
37384 * include/rounding-mode.h: New file.
37385 * sysdeps/generic/get-rounding-mode.h: Likewise.
37386 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37387 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37388 (MAX_VALUE): New macro.
37389 (MIN_VALUE): Likewise.
37390 (overflow_value): New function.
37391 (underflow_value): Likewise.
37392 (round_and_return): Use overflow_value and underflow_value to
37393 determine return values in overflow and underflow cases. Use
37394 round_away to determine rounding depending on rounding mode.
37395 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37396 determine return values in overflow and underflow cases.
37397 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37398 (struct test_results): New structure.
37399 (struct test): Use struct test_results to store expected results
37400 for all rounding modes.
37401 (TEST): Include expected results for all rounding modes.
37402 (test_in_one_mode): New function.
37403 (do_test): Use test_in_one_mode to compute and check results.
37404 Check results for all rounding modes.
37405 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37408 2012-12-09 Allan McRae <allan@archlinux.org>
37410 * sysdeps/i386/fpu/libm-test-ulps: Update
37412 2012-09-11 Joseph Myers <joseph@codesourcery.com>
37414 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37415 (_G_int32_t): Likewise.
37416 (_G_uint16_t): Likewise.
37417 (_G_uint32_t): Likewise.
37418 (_G_HAVE_BOOL): Likewise.
37419 (_G_HAVE_ATEXIT): Likewise.
37420 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37421 (_G_HAVE_IO_FILE_OPEN): Likewise.
37422 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37423 (_G_int32_t): Likewise.
37424 (_G_uint16_t): Likewise.
37425 (_G_uint32_t): Likewise.
37426 (_G_HAVE_BOOL): Likewise.
37427 (_G_HAVE_ATEXIT): Likewise.
37428 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37429 (_G_HAVE_IO_FILE_OPEN): Likewise.
37430 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37431 (_G_int32_t): Likewise.
37432 (_G_uint16_t): Likewise.
37433 (_G_uint32_t): Likewise.
37434 (_G_HAVE_BOOL): Likewise.
37435 (_G_HAVE_ATEXIT): Likewise.
37436 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37437 (_G_HAVE_IO_FILE_OPEN): Likewise.
37439 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37441 * csu/libc-tls.c: Update copyright years.
37443 2012-09-10 Joseph Myers <joseph@codesourcery.com>
37445 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37446 [!_G_USING_THUNKS]: Remove conditional code.
37447 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37448 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37450 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37451 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37452 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37453 (_G_VTABLE_LABEL_PREFIX): Likewise.
37454 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37455 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37456 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37457 (_G_VTABLE_LABEL_PREFIX): Likewise.
37458 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37459 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37460 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37461 (_G_VTABLE_LABEL_PREFIX): Likewise.
37462 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37464 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37466 * libio/Makefile: Include ../Makeconfig before tests.
37467 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37468 only if $(build-shared) is yes.
37470 * iconv/gconv_db.c: Update copyright years.
37472 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37474 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37475 unwind info if defined PIC. Fix special cases description.
37476 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37478 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37480 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37482 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37484 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37486 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37489 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37490 (LDLIBS-tst-chk4): This.
37491 (LDFLAGS-tst-chk5): Renamed to ...
37492 (LDLIBS-tst-chk5): This.
37493 (LDFLAGS-tst-chk6): Renamed to ...
37494 (LDLIBS-tst-chk6): This.
37495 (LDFLAGS-tst-lfschk4): Renamed to ...
37496 (LDLIBS-tst-lfschk4): This.
37497 (LDFLAGS-tst-lfschk5): Renamed to ...
37498 (LDLIBS-tst-lfschk5): This.
37499 (LDFLAGS-tst-lfschk6): Renamed to ...
37500 (LDLIBS-tst-lfschk6): This.
37502 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37503 on $(common-objpfx)soversions.mk.
37505 2012-09-07 Joseph Myers <joseph@codesourcery.com>
37508 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37511 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37513 * malloc/arena.c (arena_get_retry): New function that gets
37514 another arena for the caller to try its request on.
37515 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37516 current arena cannot fulfill the request.
37517 (__libc_memalign): Likewise.
37518 (__libc_memalign): Likewise.
37519 (__libc_pvalloc): Likewise.
37520 (__libc_calloc): Likewise.
37522 2012-09-05 John Tobey <john.tobey@gmail.com>
37525 * manual/arith.texi (Operations on Complex): Fix description
37526 of carg branch cut.
37528 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37531 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37535 * manual/memory.texi (Memory): Make order of menu items match
37538 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37540 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37541 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37542 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37544 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37546 * csu/libc-tls.c (static_dtv): Renamed to ...
37547 (_dl_static_dtv): This. Make it global.
37548 (_dl_initial_dtv): Removed.
37549 (__libc_setup_tls): Updated.
37550 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37551 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37554 2012-09-06 Petr Machata <pmachata@redhat.com>
37556 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37557 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37558 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37559 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37561 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37564 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37565 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37568 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37571 * Makeconfig (link-static-before-libc): Replace $(+prector)
37573 (link-static-after-libc): Replace $(+postctor) with
37575 (link-bounded): Replace $(+prector)/$(+postctor) with
37576 $(+prectorT)/$(+postctorT).
37577 (+prectorT): New macro.
37578 (+postctorT): Likewise.
37580 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37582 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37583 (round_str): Handle values above the maximum for IBM long double
37585 * stdlib/tst-strtod-round.c (tests): Regenerated.
37587 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37589 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37591 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37592 zarch_nohighgprs around the zarch optimized routines.
37593 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37594 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37595 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37598 2012-09-05 David S. Miller <davem@davemloft.net>
37600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37602 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37603 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37604 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37605 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37608 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37610 * malloc/arena.c: Fold copyright years.
37611 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37613 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37615 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37617 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37619 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37621 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37623 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37624 change internal state upon failure.
37626 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37628 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37629 * malloc/memusage.c (mmap): Likewise.
37630 (mmap64, mremap): Likewise. Adjust name in comment.
37632 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37634 * libio/fileops.c: Fix typos in comments.
37635 * libio/oldfileops.c: Likewise.
37636 * libio/wfileops.c: Likewise.
37638 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37641 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37642 (tst-malloc-usable-ENV): Set environment for test case.
37643 * malloc/hooks.c (malloc_check_get_size): New function to get
37645 * malloc/malloc.c (musable): Use malloc_check_get_size.
37646 * malloc/tst-malloc-usable.c: New test case.
37648 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37650 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37652 2012-09-05 Allan McRae <allan@archlinux.org>
37655 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37656 determine header location.
37657 * configure: Regenerated.
37659 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37661 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37663 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37664 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37666 (test): Regenerate.
37668 2012-09-04 David S. Miller <davem@davemloft.net>
37670 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37671 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37674 2012-09-04 Florian Weimer <fweimer@redhat.com>
37676 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37679 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37681 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37684 * libio/iogetdelim.c: Include <limits.h>.
37685 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37686 + len + 1 would overflow.
37688 2012-09-03 Andreas Jaeger <aj@suse.de>
37690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37691 * sysdeps/i386/fpu/libm-test-ulps: Update.
37693 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37695 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37696 Add s_sinf-sse2, s_conf-sse2.
37698 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37699 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37700 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37701 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37703 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37704 for using routine as __sinf_ia32.
37705 Use macro for function declaration and weak_alias.
37706 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37707 for using routine as __cosf_ia32.
37708 Use macro for function declaration and weak_alias.
37710 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37711 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37713 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37714 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37717 * math/libm-test.inc (cos_test): Add more test cases.
37718 (sin_test): Likewise.
37719 (sincos_test): Likewise.
37721 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37723 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37724 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37726 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37728 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37731 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37732 first element of the GOT.
37733 (elf_machine_load_address): Return the difference between
37734 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37736 2012-09-01 Allan McRae <allan@archlinux.org>
37739 * configure.in (AWK): Require gawk version 3.0 or later.
37740 * configure: Regenerated.
37742 2012-09-01 Joseph Myers <joseph@codesourcery.com>
37744 * sysdeps/unix/sysv/linux/kernel-features.h
37745 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37747 [__NR_clock_getres]: Make code unconditional.
37748 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37749 (clock_getcpuclockid): Remove code left unreachable by removal of
37751 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37752 code unconditional.
37753 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37754 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37755 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37756 Make code unconditional.
37757 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37758 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37759 * sysdeps/unix/sysv/linux/clock_settime.c
37760 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37762 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37763 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37765 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37768 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37769 scripts/test-installation.pl.
37771 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37772 and $ld_so_version if it is set.
37774 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37777 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37778 failure if reading from procfs failed.
37779 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37781 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37783 * sysdeps/unix/sysv/linux/kernel-features.h
37784 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37785 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37786 Remove conditional code.
37787 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37788 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37789 Remove conditional code.
37790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37791 * sysdeps/unix/sysv/linux/i386/fxstat.c
37792 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37793 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37794 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37795 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37797 * sysdeps/unix/sysv/linux/i386/lxstat.c
37798 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37800 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37801 Remove conditional code.
37802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37803 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37804 Remove conditional code.
37805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37806 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37807 <kernel-features.h>.
37808 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37810 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37811 Remove conditional code.
37812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37813 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37814 Remove conditional.
37816 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37819 * NEWS: Add fixed bug number.
37821 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37824 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37825 underflowing exponent in case of negative sign.
37826 * stdlib/tst-strtod-round-data: Add more tests.
37827 * stdlib/tst-strtod-round.c (tests): Regenerated.
37830 * stdlib/strtod_l.c (NDIG): Remove.
37831 (HEXNDIG): Likewise.
37832 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37833 smallest representable value.
37834 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37835 lie within an exact representation of 1/2 ulp of the result.
37836 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37838 (TENS_P9_IDX): Define unconditionally.
37839 (TENS_P9_SIZE): Likewise.
37840 (TENS_P10_IDX): Likewise.
37841 (TENS_P10_SIZE): Likewise.
37842 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37843 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37844 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37845 entries for 10^2^13 and 10^2^14.
37846 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37847 (TENS_P13_IDX): Define.
37848 (TENS_P13_SIZE): Likewise.
37849 (TENS_P14_IDX): Likewise.
37850 (TENS_P14_SIZE): Likewise.
37851 (_fpioconst_pow10): Change array size to
37852 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37854 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37855 1024]: Add entries for 10^2^13 and 10^2^14.
37856 [LAST_POW10 > _LAST_POW10]: Remove #error.
37857 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37858 (_fpioconst_pow10): Change array size to
37859 FPIOCONST_POW10_ARRAY_SIZE.
37860 * stdlib/gen-fpioconst.c: New file.
37861 * stdlib/gen-tst-strtod-round.c: Likewise.
37862 * stdlib/tst-strtod-round-data: Likewise.
37863 * stdlib/tst-strtod-round.c: Likewise.
37864 * stdlib/Makefile (tests): Add tst-strtod-round.
37867 * stdlib/strtod_l.c: Include <stdint.h>.
37868 (NDEBUG): Do not define.
37869 (round_and_return): Change EXPONENT parameter to type intmax_t.
37870 Rearrange calculations to avoid internal overflow possibilities.
37871 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37872 Rearrange calculations to avoid internal overflow possibilities.
37873 Assert that number fits inside MPNSIZE limbs.
37874 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37875 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37876 calculations and add assertions to avoid internal overflow
37877 possibilities. Add casts to avoid signed/unsigned operations.
37878 * stdlib/tst-strtod-overflow.c: New file.
37879 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37881 2012-08-25 Marek Polacek <polacek@redhat.com>
37883 * time/time.h: Fix some typos in comments.
37885 2012-08-23 Roland McGrath <roland@hack.frob.com>
37887 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37888 * posix/tst-rfc3484-2.c: Likewise.
37889 * posix/tst-rfc3484-3.c: Likewise.
37891 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37893 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37894 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37896 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37898 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37899 #include of fxstatat64.c.
37901 2012-08-22 Roland McGrath <roland@hack.frob.com>
37903 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37904 * shadow/getspent_r.c: Likewise.
37905 * shadow/getspnam.c: Likewise.
37906 * shadow/getspnam_r.c: Likewise.
37907 * gshadow/getsgent.c: Likewise.
37908 * gshadow/getsgent_r.c: Likewise.
37909 * gshadow/getsgnam.c: Likewise.
37910 * gshadow/getsgnam_r.c: Likewise.
37911 * inet/getnetbyad.c: Likewise.
37912 * inet/getnetbyad_r.c: Likewise.
37913 * inet/getnetbynm.c: Likewise.
37914 * inet/getnetbynm_r.c: Likewise.
37915 * inet/getnetent.c: Likewise.
37916 * inet/getnetent_r.c: Likewise.
37917 * inet/getproto.c: Likewise.
37918 * inet/getproto_r.c: Likewise.
37919 * inet/getprtent.c: Likewise.
37920 * inet/getprtent_r.c: Likewise.
37921 * inet/getprtname.c: Likewise.
37922 * inet/getprtname_r.c: Likewise.
37923 * inet/getrpcbyname.c: Likewise.
37924 * inet/getrpcbyname_r.c: Likewise.
37925 * inet/getrpcbynumber.c: Likewise.
37926 * inet/getrpcbynumber_r.c: Likewise.
37927 * inet/getrpcent.c: Likewise.
37928 * inet/getrpcent_r.c: Likewise.
37929 * inet/getaliasent.c: Likewise.
37930 * inet/getaliasent_r.c: Likewise.
37931 * inet/getaliasname.c: Likewise.
37932 * inet/getaliasname_r.c: Likewise.
37933 * nscd/getgrgid_r.c: Likewise.
37934 * nscd/getgrnam_r.c: Likewise.
37935 * nscd/gethstbyad_r.c: Likewise.
37936 * nscd/gethstbynm3_r.c: Likewise.
37937 * nscd/getpwnam_r.c: Likewise.
37938 * nscd/getpwuid_r.c: Likewise.
37939 * nscd/getsrvbynm_r.c: Likewise.
37940 * nscd/getsrvbypt_r.c: Likewise.
37941 * nscd/gai.c: Likewise.
37943 * configure.in (build_nscd): New substituted variable, set
37944 by --disable-build-nscd and defaults to $use_nscd.
37945 * configure: Regenerated.
37946 * config.make.in (build-nscd): New substituted variable.
37947 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37948 Change conditional to require [$(build-nscd) = yes] as well.
37949 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37952 * configure.in (use_nscd): New substituted variable, set by
37953 --disable-nscd. If enabled, define USE_NSCD.
37954 * configure: Regenerated.
37955 * config.h.in: Add USE_NSCD.
37956 * config.make.in (use-nscd): New substituted variable.
37957 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37958 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37959 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37960 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37961 (CFLAGS-getgrnam_r.c): Likewise.
37962 (CFLAGS-initgroups.c): Likewise.
37963 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37964 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37966 * inet/getnetgrent_r.c
37967 (nscd_setnetgrent): New function, broken out of ...
37968 (setnetgrent): ... here. Call it.
37969 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37970 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37971 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37972 * nscd/Makefile (routines, aux): Move definitions after include of
37973 Makeconfig. Conditionalize on [$(use-nscd) != no].
37974 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37975 Conditionalize on [USE_NSCD].
37976 (is_nscd, nscd_init_cb): Likewise.
37977 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37978 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37979 * nss/nss_db/db-init.c: Likewise.
37980 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37982 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37983 (make_request): Use it.
37984 (cache_valid_p): New function.
37985 (__check_pf): Use it.
37986 * NEWS: Add item for --disable-nscd.
37988 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37990 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37991 to support sed >= 4.2.1-20-ga9bf076.
37992 * configure: Regenerated.
37994 2012-08-22 Roland McGrath <roland@hack.frob.com>
37996 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37997 Conditionalize whole body on [IREL].
37999 2012-08-22 Jeff Law <law@redhat.com>
38002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38003 if the family is PF_UNSPEC.
38005 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38007 * Makerules (lib-version): Rename from V.
38008 (install-lib-nosubdir): Change V to lib-version.
38010 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38013 * powerpc32/power6/wcschr.c: New file.
38014 * powerpc32/power6/wcscpy.c: New file.
38015 * powerpc32/power6/wcsrchr.c: New file.
38016 * powerpc64/power6/wcschr.c: New file.
38017 * powerpc64/power6/wcscpy.c: New file.
38018 * powerpc64/power6/wcsrchr.c: New file.
38020 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38022 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38023 (two_way_short_needle): Use it.
38024 * string/strstr.c (AVAILABLE1_USES_J): Define.
38025 * string/strcasestr.c: Likewise.
38027 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38029 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38032 * NEWS: Add an entry.
38033 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38034 define their defaults.
38035 (two_way_short_needle): Detect end-of-string on-the-fly.
38036 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38037 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38038 * string/bug-strcasestr1.c: New test.
38039 * string/Makefile: Run it.
38041 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38044 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38045 the first character.
38047 2012-08-21 Roland McGrath <roland@hack.frob.com>
38049 * csu/elf-init.c (__libc_csu_irel): Function removed.
38050 * csu/libc-start.c (apply_irel): New function.
38051 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38053 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38055 * sysdeps/unix/sysv/linux/kernel-features.h
38056 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38057 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38058 <kernel-features.h>.
38059 [__NR_fadvise64_64]: Make code unconditional.
38060 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38061 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38062 !__NR_fadvise64_64)]: Likewise.
38063 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38064 !__NR_fadvise64_64))]: Likewise.
38065 [__NR_fadvise64]: Make code unconditional.
38066 [!__NR_fadvise64]: Remove conditional code.
38067 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38068 <kernel-features.h>.
38069 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38071 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38074 not include <kernel-features.h>.
38075 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38077 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38079 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38080 include <kernel-features.h>.
38081 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38083 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38086 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38088 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38089 slight instruction rearrangements per scrollpipe analysis.
38090 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38092 2012-08-20 Roland McGrath <roland@hack.frob.com>
38094 * manual/syslog.texi (syslog; vsyslog, closelog):
38095 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38096 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38098 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38099 DSOCAPS to match condition on defining it.
38101 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38103 * sysdeps/unix/sysv/linux/kernel-features.h
38104 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38106 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38107 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38109 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38110 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38112 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38113 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38115 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38116 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38118 * sysdeps/unix/sysv/linux/kernel-features.h
38119 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38120 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38122 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38123 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38124 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38125 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38126 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38127 Make code unconditional.
38128 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38129 (__mmap64) [!__NR_mmap2]: Likewise.
38130 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38131 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38132 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38133 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38134 [__NR_mmap2]: Make code unconditional.
38135 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38136 (__mmap64) [!__NR_mmap2]: Likewise.
38138 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38140 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38142 2012-08-18 Andreas Jaeger <aj@suse.de>
38144 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38146 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38148 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38149 * include/unistd.h (__have_sock_cloexec): Likewise.
38150 (__have_pipe2): Likewise.
38151 (__have_dup3): Likewise.
38153 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38156 * include/unistd.h (__have_pipe2): Change define into an extern int.
38157 (__have_dup3): Likewise.
38158 * socket/have_sock_cloexec.c: Include fcntl.h.
38159 (__have_pipe2): New variable.
38160 (__have_dup3): Likewise.
38162 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38164 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38166 2012-08-17 Marek Polacek <polacek@redhat.com>
38168 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38169 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38171 2012-08-17 Roland McGrath <roland@hack.frob.com>
38173 * configure.in: Add AC_SUBST for sysheaders.
38174 * configure: Regenerated.
38175 * config.make.in (sysheaders): New substituted variable.
38177 * sysdeps/unix/mkfifo.c: Moved ...
38178 * sysdeps/posix/mkfifo.c: ... here.
38179 * sysdeps/unix/mkfifoat.c: Moved ...
38180 * sysdeps/posix/mkfifoat.c: ... here.
38182 * sysdeps/unix/utime.c: Moved ...
38183 * sysdeps/posix/utime.c: ... here.
38185 * sysdeps/unix/time.c: Moved ...
38186 * sysdeps/posix/time.c: ... here.
38187 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38188 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38190 * sysdeps/unix/nice.c: Moved ...
38191 * sysdeps/posix/nice.c: ... here.
38193 * sysdeps/unix/alarm.c: Moved ...
38194 * sysdeps/posix/alarm.c: ... here.
38196 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38198 2012-08-17 Jeff Law <law@redhat.com>
38200 * intl/Makefile (codeset_mo): New variable.
38201 ($(codeset_mo)): New target.
38202 (tst-codeset.out): Depend on that. Remove explicit rule.
38203 (tst-gettext3.out, tst-gettext5.out): Likewise.
38204 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38205 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38206 * intl/tst-codeset.sh: Remove.
38207 * intl/tst-gettext3.sh: Likewise.
38208 * intl/tst-gettext5.sh: Likewise.
38210 2012-08-17 Roland McGrath <roland@hack.frob.com>
38212 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38213 * sysdeps/unix/syscalls.list: ... here.
38215 * sysdeps/posix/getaddrinfo.c
38216 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38217 (gaiconf_init, gaiconf_reload): Use them.
38218 [!_STATBUF_ST_NSEC]
38219 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38220 Define using time_t rather than struct timespec.
38222 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38223 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38225 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38227 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38228 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38231 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38232 __libc_cleanup_push argument.
38234 * bits/param.h: New file.
38235 * misc/sys/param.h: New file.
38236 * include/sys/param.h: New file.
38237 * misc/Makefile (headers): Add bits/param.h.
38238 * sysdeps/generic/sys/param.h: File removed.
38239 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38240 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38241 * sysdeps/mach/hurd/bits/param.h: New file.
38242 * sysdeps/mach/hurd/sys/param.h: File removed.
38244 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38247 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38249 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38250 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38253 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38254 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38255 rather than -D_IO_MTSAFE_IO conditionally.
38256 * stdio-common/Makefile (CPPFLAGS): Likewise.
38257 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38258 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38259 Use $(libio-mtsafe).
38260 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38261 of -D_IO_MTSAFE_IO.
38262 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38263 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38264 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38265 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38266 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38267 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38268 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38269 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38270 (CFLAGS-fread_u_chk.c): Likewise.
38271 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38272 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38273 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38274 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38275 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38276 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38277 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38278 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38279 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38281 * libio/Makefile: Test [$(libc-reentrant) = yes]
38282 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38285 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38286 * sysdeps/pthread/configure: File removed.
38287 * sysdeps/pthread/Makeconfig: New file.
38288 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38289 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38291 2012-08-16 Gary Benson <gbenson@redhat.com>
38293 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38294 unmapping the first object in a namespace.
38296 2012-08-16 Roland McGrath <roland@hack.frob.com>
38298 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38299 (__internal_setnetgrent): ... this. Add internal_function to
38300 definition. Add libc_hidden_def.
38301 (setnetgrent): Update caller.
38302 (internal_endnetgrent): Renamed to ...
38303 (__internal_endnetgrent): ... this. Add internal_function to
38304 definition. Add libc_hidden_def.
38305 (endnetgrent): Update caller.
38306 (internal_getnetgrent_r): Renamed to ...
38307 (__internal_getnetgrent_r): ... this. Add internal_function to
38308 definition. Add libc_hidden_def.
38309 (__getnetgrent_r): Update caller.
38310 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38312 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38314 * stdlib/longlong.h: Update from GCC.
38316 2012-08-16 Roland McGrath <roland@hack.frob.com>
38318 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38319 on _QL, which is set by umul_ppmm but never used.
38320 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38321 variables, which are set by GMP macros but never used.
38322 * stdio-common/_itowa.c (_itowa): Likewise.
38323 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38324 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38326 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38328 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38329 struct La_sh_regs is not constant.
38330 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38331 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38332 and struct La_sparc64_regs are not constant.
38334 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38336 * sysdeps/unix/sysv/linux/kernel-features.h
38337 (__ASSUME_POSIX_TIMERS): Remove.
38338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38339 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38340 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38341 Make code unconditional.
38342 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38343 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38344 Make code unconditional.
38345 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38346 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38347 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38349 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38350 Make code unconditional.
38351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38352 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38353 (__libc_missing_posix_timers): Remove.
38355 2012-08-15 Roland McGrath <roland@hack.frob.com>
38357 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38358 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38360 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38362 * elf/dl-sym.c: Include <stdlib.h>.
38364 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38365 constants, which avoids warnings in 32-bit builds.
38367 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38368 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38370 * misc/lseek.c: File moved to ...
38371 * io/lseek.c: ... here.
38373 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38375 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38376 shifting LEN more than 31 bits at once.
38378 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38381 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38382 segmentation fault for a case of two empty input strings.
38383 * string/test-strncasecmp.c (check1): Renamed to...
38384 (bz12205): ...this.
38385 (bz14195): Add new testcase for two empty input strings and N > 0.
38386 (test_main): Call new testcase, adapt for renamed function.
38388 2012-08-15 Andreas Jaeger <aj@suse.de>
38391 * crypt/md5test2.c: New test, based on test supplied by Serge
38392 Belyshev <belyshev@depni.sinp.msu.ru>.
38393 * crypt/Makefile (xtests): Add md5test-giant..
38394 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38396 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38399 * crypt/md5.c (md5_process_block): Don't assume the buffer
38400 length is less than 2**32.
38401 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38402 length is less than 2**64.
38404 2012-08-15 Roland McGrath <roland@hack.frob.com>
38406 * string/str-two-way.h: Include <sys/param.h>.
38407 (MAX): Macro removed.
38409 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38410 Move #define and #undef of memmove to just before and after
38411 including <string.h>.
38413 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38414 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38415 and after including <string.h>. Move declarations of
38416 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38417 to before #include "string/memmove.c".
38419 * include/dirent.h: Declare __getdirentries.
38421 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38422 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38424 2012-08-14 Mike Frysinger <vapier@gentoo.org>
38426 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38427 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38428 * sysdeps/i386/configure: Regenerated.
38429 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38430 STABS_CURRENT_FILE, and STABS_FUN.
38431 (END): Remove call to STABS_FUN_END.
38432 (STABS_CURRENT_FILE1): Delete.
38433 (STABS_CURRENT_FILE): Likewise.
38434 (STABS_FUN): Likewise.
38435 (STABS_FUN_END): Likewise.
38436 (STABS_FUN2): Likewise.
38437 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38438 * sysdeps/x86_64/configure: Regenerated.
38440 2012-08-14 Roland McGrath <roland@hack.frob.com>
38442 * elf/dl-open.c: Include <atomic.h>.
38443 * elf/dl-lookup.c: Likewise.
38445 2012-08-14 Joseph Myers <joseph@codesourcery.com>
38447 * sysdeps/unix/sysv/linux/kernel-features.h
38448 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38449 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38451 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38453 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38454 condition on __ASSUME_CLONE_THREAD_FLAGS.
38456 2012-08-14 Andreas Jaeger <aj@suse.de>
38458 * sysdeps/i386/fpu/libm-test-ulps: Update.
38460 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38462 * include/atomic.h (atomic_exchange_and_add): Split into ...
38463 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38466 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38470 2012-08-13 Jeff Law <law@redhat.com>
38472 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38473 null byte in the output string.
38475 2012-08-10 Joseph Myers <joseph@codesourcery.com>
38477 * sysdeps/unix/sysv/linux/kernel-features.h
38478 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38479 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38480 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38481 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38482 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38483 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38484 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38486 2012-08-09 Jeff Law <law@redhat.com>
38489 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38490 When avoid_arena is set, don't retry in the that arena. Pick the
38491 next one, whatever it might be.
38492 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38493 (arena_lock): Pass in new parameter to arena_get2.
38494 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38496 (__libc_malloc): Unify retrying after main arena failure with
38497 __libc_memalign version.
38498 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38500 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38503 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38504 to __redirect_strstr.
38505 (__strstr_sse42): Use typeof __redirect_strstr.
38506 (__strstr_ia32): Likewise.
38507 (__libc_strstr): New prototype.
38508 (strstr): Renamed to ...
38509 (__libc_strstr): This.
38510 (strstr): New strong alias of __libc_strstr.
38511 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38512 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38515 (__libc_time): New prototype.
38516 (time_ifunc): Replace time with __libc_time.
38517 (time): New strong alias and hidden definition of __libc_time.
38518 (__GI_time): Remove strong alias.
38519 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38520 Include <stddef.h>.
38521 (memmove): Redefined to __redirect_memmove.
38522 (__memmove_sse2): Use typeof __redirect_memmove.
38523 (__memmove_ssse3): Likewise.
38524 (__memmove_ssse3_back): Likewise.
38525 (__libc_memmove): New prototype.
38526 (memmove): Renamed to ...
38527 (__libc_memmove): This.
38528 (memmove): New strong alias of __libc_memmove.
38530 2012-08-08 Mark Salter <msalter@redhat.com>
38533 (R_MN10300_TLS_GD): Define.
38534 (R_MN10300_TLS_LD): Likewise.
38535 (R_MN10300_TLS_LDO): Likewise.
38536 (R_MN10300_TLS_GOTIE): Likewise.
38537 (R_MN10300_TLS_IE): Likewise.
38538 (R_MN10300_TLS_LE): Likewise.
38539 (R_MN10300_TLS_DTPMOD): Likewise.
38540 (R_MN10300_TLS_DTPOFF): Likewise.
38541 (R_MN10300_TLS_TPOFF): Likewise.
38542 (R_MN10300_SYM_DIFF): Likewise.
38543 (R_MN10300_ALIGN): Likewise.
38544 (R_MN10300_NUM): Update.
38546 2012-08-08 Joseph Myers <joseph@codesourcery.com>
38548 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38551 2012-08-08 Roland McGrath <roland@hack.frob.com>
38553 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38555 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38556 sysdeps/unix -> sysdeps/posix move.
38557 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38559 2012-08-07 Allan McRae <allan@archlinux.org>
38562 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38563 (SUNOS_CPP): Likewise.
38564 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38566 (open_input): Call CPP using execvp.
38568 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38570 * sysdeps/unix/sysv/linux/kernel-features.h
38571 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38572 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38573 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38574 (__ASSUME_WAITID_SYSCALL): Likewise.
38575 * sysdeps/unix/sysv/linux/dl-execstack.c
38576 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38577 code unconditional.
38578 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38581 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38582 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38584 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38586 [__ASSUME_WAITID_SYSCALL]: Likewise.
38587 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38589 2012-08-07 Roland McGrath <roland@hack.frob.com>
38591 * sysdeps/unix/closedir.c: Renamed to ...
38592 * sysdeps/posix/closedir.c: ... here.
38593 * sysdeps/unix/dirfd.c: Renamed to ...
38594 * sysdeps/posix/dirfd.c: ... here.
38595 * sysdeps/unix/dirstream.h: Renamed to ...
38596 * sysdeps/posix/dirstream.h: ... here.
38597 * sysdeps/unix/fdopendir.c: Renamed to ...
38598 * sysdeps/posix/fdopendir.c: ... here.
38599 * sysdeps/unix/opendir.c: Renamed to ...
38600 * sysdeps/posix/opendir.c: ... here.
38601 * sysdeps/unix/readdir.c: Renamed to ...
38602 * sysdeps/posix/readdir.c: ... here.
38603 * sysdeps/unix/readdir_r.c: Renamed to ...
38604 * sysdeps/posix/readdir_r.c: ... here.
38605 * sysdeps/unix/rewinddir.c: Renamed to ...
38606 * sysdeps/posix/rewinddir.c: ... here.
38607 * sysdeps/unix/seekdir.c: Renamed to ...
38608 * sysdeps/posix/seekdir.c: ... here.
38609 * sysdeps/unix/telldir.c: Renamed to ...
38610 * sysdeps/posix/telldir.c: ... here.
38611 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38612 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38613 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38614 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38616 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38617 * bits/fcntl.h: ... here.
38619 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38621 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38622 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38623 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38624 (struct flock): Move l_start, l_len to the beginning.
38625 Use __pid_t for l_pid.
38626 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38627 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38628 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38629 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38630 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38631 [__USE_LARGEFILE64] (struct flock64): New type.
38632 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38634 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38635 * bits/dirent.h: ... here.
38637 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38638 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38640 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38642 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38643 Change from 2.6.0 to 2.6.16.
38644 * sysdeps/unix/sysv/linux/configure: Regenerated.
38645 * sysdeps/unix/sysv/linux/kernel-features.h
38646 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38647 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38649 (__ASSUME_UTIMES): Likewise.
38650 (__ASSUME_CLONE_STOPPED): Remove.
38651 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38652 architectures, not kernel version.
38653 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38654 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38655 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38656 (__ASSUME_WAITID_SYSCALL): Likewise.
38657 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38658 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38659 * README: State 2.6.16 as minimum Linux kernel version. Do not
38660 refer to older versions.
38662 2012-08-06 Roland McGrath <roland@hack.frob.com>
38664 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38665 Define alphasort64 as an alias.
38666 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38667 Define versionsort64 as an alias.
38668 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38669 Define scandir64 as an alias.
38670 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38671 Define scandirat64 as an alias.
38672 * dirent/alphasort64.c (alphasort64):
38673 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38674 * dirent/versionsort64.c: Likewise.
38675 * dirent/scandir64.c: Likewise.
38676 * dirent/scandirat64.c: Likewise.
38677 * sysdeps/wordsize-64/alphasort.c: File removed.
38678 * sysdeps/wordsize-64/alphasort64.c: File removed.
38679 * sysdeps/wordsize-64/scandir.c: File removed.
38680 * sysdeps/wordsize-64/scandir64.c: File removed.
38681 * sysdeps/wordsize-64/scandirat.c: File removed.
38682 * sysdeps/wordsize-64/scandirat64.c: File removed.
38683 * sysdeps/wordsize-64/versionsort.c: File removed.
38684 * sysdeps/wordsize-64/versionsort64.c: File removed.
38685 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38686 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38687 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38688 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38689 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38690 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38692 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38694 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38696 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38697 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38698 [defined __arch64__ || defined __sparcv9]
38699 (__INO_T_MATCHES_INO64_T): New macro.
38700 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38701 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38702 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38703 * sysdeps/unix/sysv/linux/bits/dirent.h
38704 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38705 (_DIRENT_MATCHES_DIRENT64): New macro.
38707 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38708 Define lockf64 as an alias.
38709 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38710 Define fseeko64 as an alias.
38711 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38712 Define ftello64 as an alias.
38713 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38714 Define _IO_fgetpos64 and fgetpos64 as aliases.
38715 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38716 Define _IO_fsetpos64 and fsetpos64 as aliases.
38717 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38718 Conditionalize body on this.
38719 * libio/fseeko64.c: Likewise.
38720 * libio/ftello64.c: Likewise.
38721 * libio/iofgetpos64.c: Likewise.
38722 * libio/iofsetpos64.c: Likewise.
38723 * sysdeps/wordsize-64/lockf.c: File removed.
38724 * sysdeps/wordsize-64/lockf64.c: File removed.
38725 * sysdeps/wordsize-64/fseeko.c: File removed.
38726 * sysdeps/wordsize-64/fseeko64.c: File removed.
38727 * sysdeps/wordsize-64/ftello.c: File removed.
38728 * sysdeps/wordsize-64/ftello64.c: File removed.
38729 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38730 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38731 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38732 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38733 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38735 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38736 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38737 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38738 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38739 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38741 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38742 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38744 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38746 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38748 [defined __arch64__ || defined __sparcv9]
38749 (__OFF_T_MATCHES_OFF64_T): New macro.
38750 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38751 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38753 (__OFF_T_MATCHES_OFF64_T): New macro.
38755 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38757 * stdlib/secure-getenv.c (__secure_getenv): Replace
38758 GLIBC_2_16 with GLIBC_2_17.
38760 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38765 2012-08-03 David S. Miller <davem@davemloft.net>
38767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38769 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38773 (__ASSUME_CORRECT_SI_PID): Likewise.
38774 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38775 (__ASSUME_TMPFS_NAME): Likewise.
38776 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38777 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38778 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38779 (HAVE_AUX_SECURE): Make definition unconditional.
38780 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38781 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38783 2012-08-03 Roland McGrath <roland@hack.frob.com>
38785 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38786 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38787 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38788 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38789 __eloop_threshold instead of SYMLOOP_MAX.
38791 * sysdeps/generic/eloop-threshold.h: New file.
38792 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38794 * elf/chroot_canon.c (chroot_canon): Likewise.
38796 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38799 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38800 Change to 2.6.0 everywhere.
38801 * sysdeps/unix/sysv/linux/configure: Regenerated.
38802 * sysdeps/unix/sysv/linux/kernel-features.h
38803 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38804 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38806 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38807 (__ASSUME_FUTEX_REQUEUE): Remove.
38808 (__ASSUME_STATFS64): Define unconditionally.
38809 (__ASSUME_AT_SECURE): Likewise.
38810 (__ASSUME_CORRECT_SI_PID): Likewise.
38811 (__ASSUME_TGKILL): Define without depending on kernel version for
38813 (__ASSUME_UTIMES): Likewise.
38814 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38816 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38817 (__ASSUME_TMPFS_NAME): Likewise.
38818 * README: Update reference to Linux kernel versions.
38820 2012-08-02 Marek Polacek <polacek@redhat.com>
38823 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38824 libc_cv_asm_type_prefix with %.
38825 * configure: Regenerated.
38826 * include/libc-symbols.h: Remove comment about
38827 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38828 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38829 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38830 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38831 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38832 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38833 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38834 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38835 * elf/tst-unique2mod1.c: Likewise.
38836 * elf/tst-unique1mod2.c: Likewise.
38837 * elf/tst-unique1mod1.c: Likewise.
38838 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38839 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38840 Replace ASM_TYPE_DIRECTIVE with .type.
38841 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38842 * sysdeps/i386/sysdep.h: Likewise.
38843 * sysdeps/x86_64/sysdep.h: Likewise.
38844 * sysdeps/sh/sysdep.h: Likewise.
38845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38846 Do not define ASM_TYPE_DIRECTIVE.
38847 * sysdeps/powerpc/sysdep.h: Likewise.
38848 * sysdeps/powerpc/powerpc32/sysdep.h:
38849 Replace ASM_TYPE_DIRECTIVE with .type.
38850 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38851 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38852 * sysdeps/i386/fpu/e_powf.S: Likewise.
38853 * sysdeps/i386/fpu/e_expl.S: Likewise.
38854 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38855 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38856 * sysdeps/i386/fpu/e_pow.S: Likewise.
38857 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38859 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38860 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38861 * sysdeps/i386/fpu/e_log2.S: Likewise.
38862 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38864 * sysdeps/i386/fpu/e_powl.S: Likewise.
38865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38866 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38867 * sysdeps/i386/fpu/e_logl.S: Likewise.
38868 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38869 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38870 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38871 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38872 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38873 * sysdeps/i386/fpu/e_log.S: Likewise.
38874 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38875 * sysdeps/i386/fpu/e_logf.S: Likewise.
38876 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38877 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38878 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38879 * sysdeps/i386/fpu/e_log10.S: Likewise.
38880 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38881 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38882 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38883 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38884 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38885 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38886 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38887 * sysdeps/i386/i686/strtok.S: Likewise.
38888 * sysdeps/i386/i386-mcount.S: Likewise.
38889 * sysdeps/i386/strtok.S: Likewise.
38890 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38891 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38892 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38893 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38894 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38895 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38896 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38897 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38898 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38899 * sysdeps/x86_64/_mcount.S: Likewise.
38900 * sysdeps/x86_64/strtok.S: Likewise.
38901 * sysdeps/sh/_mcount.S: Likewise.
38903 2012-08-01 Roland McGrath <roland@hack.frob.com>
38905 * libio/iofopen.c: Include <fcntl.h>.
38906 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38907 (_IO_fopen64, fopen64): Define as aliases.
38908 * libio/iofopen64.c: Include <fcntl.h>.
38909 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38910 Conditionalize body on this.
38911 * sysdeps/wordsize-64/iofopen.c: File removed.
38912 * sysdeps/wordsize-64/iofopen64.c: File removed.
38914 2012-08-01 Marek Polacek <polacek@redhat.com>
38916 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38917 Use dlfcn directly instead of a variable.
38918 (binfmt-subdir): Do not define.
38921 2012-08-01 Joseph Myers <joseph@codesourcery.com>
38923 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38924 Remove all definitions.
38925 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38926 <kernel-features.h>.
38927 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38928 (miss_F_GETOWN_EX): Remove all definitions.
38929 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38931 [!__ASSUME_FCNTL64]: Remove conditional code.
38932 [__ASSUME_FCNTL64]: Make code unconditional.
38933 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38934 <kernel-features.h>.
38935 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38936 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38937 (lockf64) [__NR_fcntl64]: Make code unconditional.
38938 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38940 * sysdeps/unix/sysv/linux/kernel-features.h
38941 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38942 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38943 Make code unconditional.
38944 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38945 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38947 [__NR_vfork]: Make code unconditional.
38948 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38949 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38951 [__NR_vfork]: Make code unconditional.
38952 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38953 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38955 2012-08-01 Roland McGrath <roland@hack.frob.com>
38957 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38958 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38960 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38961 Define mkstemp64 as an alias.
38962 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38963 Define mkstemps64 as an alias.
38964 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38965 Define mkostemp64 as an alias.
38966 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38967 Define mkostemps64 as an alias.
38968 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38969 Conditionalize body on this.
38970 * misc/mkostemp64.c: Likewise.
38971 * misc/mkostemps64.c: Likewise.
38972 * misc/mkstemps64.c: Likewise.
38973 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38974 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38975 * sysdeps/wordsize-64/mkostemp.c: File removed.
38976 * sysdeps/wordsize-64/mkstemp.c: File removed.
38977 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38978 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38979 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38980 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38983 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38984 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38985 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38986 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38988 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38989 compat_symbol macros from <shlib-compat.h> rather than the underlying
38990 default_symbol_version and symbol_version macros, so that DEFAULT
38991 lines in shlib-versions are respected.
38992 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38994 2012-08-01 Florian Weimer <fweimer@redhat.com>
38996 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38997 Declare with warn_unused_result.
38998 (setgid, setregid, setegid, setresgid): Likewise.
38999 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39001 * WUR-REPORT: Remove set*id functions.
39003 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39005 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39007 2012-07-31 Roland McGrath <roland@hack.frob.com>
39010 * include/sys/socket.h (__libc_accept, __libc_accept4):
39011 Add attribute_hidden.
39012 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39016 * inet/getnetgrent_r.c (setup): Likewise.
39018 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39020 2012-07-31 David S. Miller <davem@davemloft.net>
39022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39024 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39027 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39028 value between 1.0 and 2.0 and smaller part has absolute value less
39030 * math/s_clog10.c (__clog10): Likewise.
39031 * math/s_clog10f.c (__clog10f): Likewise.
39032 * math/s_clog10l.c (__clog10l): Likewise.
39033 * math/s_clogf.c (__clogf): Likewise.
39034 * math/s_clogl.c (__clogl): Likewise.
39035 * math/libm-test.inc (clog_test): Add more tests.
39036 (clog10_test): Likewise.
39037 * sysdeps/i386/fpu/libm-test-ulps: Update.
39038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39040 2012-07-31 Florian Weimer <fweimer@redhat.com>
39042 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39043 Exit with zero in case no suitable GID is found, and write a
39044 message to standard error.
39046 2012-07-30 Roland McGrath <roland@hack.frob.com>
39048 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39050 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39051 (MAXPATHLEN): Removed.
39052 (NOGROUP, NODEV): New macros.
39053 (setbit, clrbit, isset, isclr): New macros.
39054 (howmany, roundup, powerof2): New macros.
39055 (DEV_BSIZE): New macro.
39057 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39058 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39060 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39061 definition on [!__NO_LONG_DOUBLE_MATH].
39063 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39064 PTR_MANGLE and PTR_DEMANGLE.
39066 * socket/accept4.c (accept4): Rename to __libc_accept4.
39067 Define accept4 as a weak alias.
39069 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39070 on [_DIRENT_HAVE_D_TYPE].
39071 * io/ftw.c (ftw_dir): Likewise.
39073 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39075 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39077 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39078 Use the BSD numbers rather than the arbitrary ones we had.
39079 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39080 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39081 (SIGXCPU, SIGXFSZ): New macros.
39084 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39085 initializer on [_LIBC_REENTRANT].
39087 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39088 definitions inside [_POSIX_MAPPED_FILES].
39090 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39092 * dirent/opendir.c: Include <fcntl.h>.
39094 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39095 (__libc_getspecific): Likewise.
39096 (__libc_key_create): Likewise.
39098 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39099 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39100 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39101 (tmpfile64): Define as alias.
39102 * sysdeps/wordsize-64/tmpfile.c: File removed.
39103 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39105 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39107 * stdio-common/vfscanf.c: Include <stdbool.h>.
39108 * nss/makedb.c: Likewise.
39109 * stdio-common/_i18n_number.h: Likewise.
39110 * argp/argp-help.c: Likewise.
39111 * posix/wordexp.c: Likewise.
39112 * sysdeps/posix/spawni.c: Likewise.
39113 * nss/nss_files/files-initgroups.c: Likewise.
39114 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39115 * nss/nss_files/files-initgroups.c: Likewise.
39116 * nss/nss_db/db-netgrp.c: Likewise.
39117 * nss/nss_db/db-initgroups.c: Likewise.
39118 * io/fchmodat.c: Include <sys/stat.h>.
39120 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39121 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39123 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39126 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39127 Add multiple inclusion protection.
39129 2012-07-27 David S. Miller <davem@davemloft.net>
39131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39133 2012-07-27 Gary Benson <gbenson@redhat.com>
39136 * elf/rtld.c: Include <stap-probe.h>.
39137 (dl_main): Added static probes "init_start" and "init_complete".
39138 * elf/dl-load.c: Include <stap-probe.h>.
39139 (lose): Take new parameter "nsid".
39140 Added static probe "map_failed".
39141 (_dl_map_object_from_fd): Pass namespace id to lose.
39142 Added static probe "map_start".
39143 (open_verify): Pass namespace id to lose.
39144 * elf/dl-open.c: Include <stap-probe.h>.
39145 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39146 and "reloc_complete".
39147 * elf/dl-close.c: Include <stap-probe.h>.
39148 (_dl_close_worker): Added static probes "unmap_start" and
39150 * elf/rtld-debugger-interface.txt: New file documenting the above.
39152 2012-07-26 Roland McGrath <roland@hack.frob.com>
39154 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39155 rather than a string variable.
39156 * sunrpc/rpc_main.c (h_output): Likewise.
39157 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39159 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39161 * inet/check_native.c: New file.
39163 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39166 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39167 if larger part has absolute value 1.0.
39168 * math/s_clog10.c (__clog10): Likewise.
39169 * math/s_clog10f.c (__clog10f): Likewise.
39170 * math/s_clog10l.c (__clog10l): Likewise.
39171 * math/s_clogf.c (__clogf): Likewise.
39172 * math/s_clogl.c (__clogl): Likewise.
39173 * math/libm-test.inc (clog_test): Add more tests.
39174 (clog10_test): Likewise.
39175 * sysdeps/i386/fpu/libm-test-ulps: Update.
39176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39178 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39179 (pltexit): Likewise.
39180 (La_regs): Likewise.
39181 (La_retval): Likewise.
39182 (int_retval): Likewise.
39183 Update #error for removed macros to refer only to definitions in
39185 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39187 (pltexit): Likewise.
39188 (La_regs): Likewise.
39189 (La_retval): Likewise.
39190 (int_retval): Likewise.
39191 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39193 (pltexit): Likewise.
39194 (La_regs): Likewise.
39195 (La_retval): Likewise.
39196 (int_retval): Likewise.
39197 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39199 (pltexit): Likewise.
39200 (La_regs): Likewise.
39201 (La_retval): Likewise.
39202 (int_retval): Likewise.
39203 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39205 (pltexit): Likewise.
39206 (La_regs): Likewise.
39207 (La_retval): Likewise.
39208 (int_retval): Likewise.
39209 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39211 (pltexit): Likewise.
39212 (La_regs): Likewise.
39213 (La_retval): Likewise.
39214 (int_retval): Likewise.
39215 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39217 (pltexit): Likewise.
39218 (La_regs): Likewise.
39219 (La_retval): Likewise.
39220 (int_retval): Likewise.
39221 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39222 macro definitions in tst-audit.h.
39223 * sysdeps/i386/tst-audit.h: New file.
39224 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39225 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39226 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39227 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39228 * sysdeps/sh/tst-audit.h: Likewise.
39229 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39230 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39231 * sysdeps/x86_64/tst-audit.h: Likewise.
39233 2012-07-26 Andreas Jaeger <aj@suse.de>
39235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39238 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39239 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39240 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39242 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39243 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39244 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39246 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39249 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39251 (si_call_addr, si_syscall, si_arch): Define new macro.
39252 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39254 (si_call_addr, si_syscall, si_arch): Define new marcro.
39255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39257 (si_call_addr, si_syscall, si_arch): Define new macro.
39258 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39260 (si_call_addr, si_syscall, si_arch): Define new macro.
39262 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39266 Change to 2.4.21 where previously 2.4.1.
39267 * sysdeps/unix/sysv/linux/configure: Regenerated.
39268 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39269 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39270 Linux kernel version.
39271 (__ASSUME_STD_AUXV): Remove.
39272 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39274 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39275 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39276 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39277 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39278 (__ASSUME_NETLINK_SUPPORT): Likewise.
39279 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39280 (__no_netlink_support): Remove conditional definition.
39281 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39283 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39284 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39285 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39286 (if_nameindex_ioctl): Remove.
39287 (if_nameindex_netlink): Do not handle __no_netlink_support.
39288 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39290 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39291 Remove conditional code.
39292 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39294 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39296 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39297 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39298 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39300 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39301 [!__ASSUME_STD_AUXV]: Remove conditional code.
39302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39303 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39304 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39306 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39307 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39309 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39311 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39312 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39314 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39316 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39319 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39322 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39323 code unconditional.
39324 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39326 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39328 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39331 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39333 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39336 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39337 code unconditional.
39338 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39340 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39342 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39345 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39346 code unconditional.
39347 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39349 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39351 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39354 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39356 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39357 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39358 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39359 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39360 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39361 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39362 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39363 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39364 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39365 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39366 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39367 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39368 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39369 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39370 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39371 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39372 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39373 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39374 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39376 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39377 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39378 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39380 2012-07-25 Florian Weimer <fweimer@redhat.com>
39382 * Versions.def: Add GLIBC_2.17.
39383 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39384 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39385 Introduce __libc_secure_getenv.
39386 * stdlib/Versions (2.17): Add secure_getenv
39387 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39388 * stdlib/secure-getenv.c: Rename __secure_getenv to
39389 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39390 symbol __secure_getenv for GLIBC_2.0.
39391 * stdlib/tst-secure-getenv.c: New.
39392 * stdlib/Makefile (tests): Add testcase.
39393 * manual/startup.texi (Environment Access): Document
39395 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39396 __libc_secure_getenv.
39397 * inet/ruserpass.c (ruserpass): Likewise.
39398 * malloc/mtrace.c (mtrace): Likewise.
39399 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39400 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39401 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39402 * sysdeps/posix/tempname.c: Likewise. Evaluate
39403 HAVE_SECURE_GETENV.
39404 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39405 __secure_getenv to __libc_secure_getenv.
39406 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39419 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39421 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39422 (struct La_i86_retval): Likewise.
39423 (struct La_x86_64_regs): Likewise.
39424 (struct La_x86_64_retval): Likewise.
39425 (struct La_x32_regs): Likewise.
39426 (struct La_x32_retval): Likewise.
39427 (struct La_ppc32_regs): Likewise.
39428 (struct La_ppc32_retval): Likewise.
39429 (struct La_ppc64_regs): Likewise.
39430 (struct La_ppc64_retval): Likewise.
39431 (struct La_sh_regs): Likewise.
39432 (struct La_sh_retval): Likewise.
39433 (struct La_s390_32_regs): Likewise.
39434 (struct La_s390_32_retval): Likewise.
39435 (struct La_s390_64_regs): Likewise.
39436 (struct La_s390_64_retval): Likewise.
39437 (struct La_sparc32_regs): Likewise.
39438 (struct La_sparc32_retval): Likewise.
39439 (struct La_sparc64_regs): Likewise.
39440 (struct La_sparc64_retval): Likewise.
39441 (struct audit_ifaces): Remove architecture-specific pltenter and
39443 * sysdeps/i386/ldsodefs.h: New file.
39444 * sysdeps/powerpc/ldsodefs.h: Likewise.
39445 * sysdeps/s390/ldsodefs.h: Likewise.
39446 * sysdeps/sh/ldsodefs.h: Likewise.
39447 * sysdeps/sparc/ldsodefs.h: Likewise.
39448 * sysdeps/x86_64/ldsodefs.h: Likewise.
39450 2012-07-25 Marek Polacek <polacek@redhat.com>
39453 * math/libm-test.inc (yn_test): Add another test.
39454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39455 to ERANGE when the result is +-Inf.
39456 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39457 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39458 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39459 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39461 2012-07-24 Joseph Myers <joseph@codesourcery.com>
39463 * conform/data/time.h-data (NULL): Use macro-constant. Require
39465 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39467 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39469 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39471 * configure.in <sysdeps resolving>: Correct printing
39473 * configure: Regenerate.
39475 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39477 * math/w_ilogb.c: Include <limits.h>.
39478 * math/w_ilogbl.c: Likewise.
39480 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39482 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39483 va_copy. Document allowing for unavailable va_copy only as
39484 pre-C99 compatibility.
39485 * manual/string.texi (Copying and Concatenation): Use va_copy
39486 instead of __va_copy in concat example.
39488 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39490 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39491 (__sendto): Use create_address_port. Initialize APORT and deallocate
39494 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39495 with O_NOLINK passed to __file_name_lookup.
39497 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39498 with O_NOLINK passed to __file_name_lookup.
39500 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39501 negative N or less than NGIDS.
39503 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39504 type to string_t. Set ERANGE as errno and return it if NAME is not big
39505 enough. Use memcpy instead of strncpy.
39507 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39509 * elf/Makefile (check-data): Remove.
39510 (localplt.data): New vpath directive.
39511 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39512 instead of $(check-data).
39513 * scripts/data/localplt-generic.data: Move to ...
39514 * sysdeps/generic/localplt.data: ... here.
39515 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39516 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39517 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39520 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39523 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39526 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39529 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39532 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39536 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39538 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39539 PPC32 and PPC64 files.
39540 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39541 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39543 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39545 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39546 __makecontext_ret to ...
39547 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39548 ... here and call exit if uc_link is NULL. New file.
39549 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39550 __makecontext_ret.S.
39551 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39552 __makecontext_ret to ...
39553 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39554 ... here and call exit if uc_link is NULL. New file.
39555 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39556 __makecontext_ret.S.
39558 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39560 * elf/elf.h (R_390_IRELATIVE): New definition.
39561 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39562 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39563 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39564 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39565 (elf_machine_lazy_rel): Likewise.
39566 * sysdeps/s390/dl-irel.h: New file.
39567 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39568 * sysdeps/s390/s390-64/memset.S: New asm code.
39569 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39570 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39571 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39572 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39573 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39574 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39575 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39576 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39577 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39578 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39579 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39580 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39581 * sysdeps/s390/s390-32/memset.S: New asm code.
39582 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39584 2012-07-17 Marek Polacek <polacek@redhat.com>
39587 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39588 * sysdeps/s390/s390-64/configure.in: Likewise.
39589 * sysdeps/sparc/configure.in: Likewise.
39590 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39591 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39592 * sysdeps/i386/configure.in: Likewise.
39593 * sysdeps/x86_64/configure.in: Likewise.
39594 * sysdeps/sh/configure.in: Likewise.
39595 * sysdeps/s390/s390-32/configure: Regenerated.
39596 * sysdeps/s390/s390-64/configure: Likewise.
39597 * sysdeps/x86_64/configure: Likewise.
39598 * sysdeps/sh/configure: Likewise.
39599 * sysdeps/powerpc/powerpc64/configure: Likewise.
39600 * sysdeps/powerpc/powerpc32/configure: Likewise.
39601 * sysdeps/sparc/configure: Likwise.
39602 * sysdeps/i386/configure: Likewise.
39604 * elf/dl-open.c: Comment fixes.
39606 2012-07-17 Joseph Myers <joseph@codesourcery.com>
39608 * Makefile [CXX] (check-data): Remove.
39609 [CXX] (c++-types.data): New vpath directive.
39610 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39611 vpath. Do not allow for C++ type data being missing.
39612 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39613 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39614 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39615 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39616 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39617 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39618 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39621 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39624 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39627 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39630 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39633 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39636 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39639 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39642 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39643 definitions to architecture-specific files.
39644 (TLS_IE): Likewise.
39645 (TLS_LD): Likewise.
39646 (TLS_GD): Likewise.
39647 * sysdeps/i386/tls-macros.h: New file.
39648 * sysdeps/powerpc/tls-macros.h: Likewise.
39649 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39650 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39651 * sysdeps/sh/tls-macros.h: Likewise.
39652 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39653 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39654 * sysdeps/x86_64/tls-macros.h: Likewise.
39656 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39659 zero value for regular exit case.
39661 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39662 (__start_context): Preserve zero value for regular exit case.
39664 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39665 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39667 * manual/setjmp.texi (setcontext): Clarify normal process
39668 termination when uc_link is the null pointer.
39669 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39672 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39674 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39675 preprocessor. Test for each exception mask separately.
39677 2012-07-16 Andreas Jaeger <aj@suse.de>
39679 * po/ru.po: Update from translation team.
39681 2012-07-15 Joseph Myers <joseph@codesourcery.com>
39683 * conform/data/string.h-data (NULL): Use macro-constant. Require
39685 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39686 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39687 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39688 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39691 2012-07-13 Andreas Jaeger <aj@suse.de>
39693 * po/fr.po: Update from translation team.
39695 2012-07-12 Marek Polacek <polacek@redhat.com>
39698 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39699 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39702 2012-07-12 Joseph Myers <joseph@codesourcery.com>
39705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39706 Change to 2.4.1 where previously 2.4.0.
39707 * sysdeps/unix/sysv/linux/configure: Regenerated.
39708 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39709 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39711 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39712 (__ASSUME_AT_CLKTCK): Remove.
39713 (__ASSUME_AT_PAGESIZE): Likewise.
39714 (__ASSUME_AT_XID): Likewise.
39715 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39716 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39717 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39719 (HAVE_AUX_PAGESIZE): Likewise.
39720 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39721 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39722 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39724 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39728 the temporary buffer used to invoke __gethostbyname2_r,
39729 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39730 host_data / struct gaih_addrtuple.
39731 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39732 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39733 header file nss/nsswitch.h.
39734 * nss/nsswitch.h (global scope): Add definition of implementation
39735 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39736 resolv/nss_dns/dns-host.c).
39738 2012-07-11 Andreas Jaeger <aj@suse.de>
39740 * po/fr.po: Update from translation team.
39742 * po/sv.po: Update from translation team
39743 * po/fr.po: Another update from translation team.
39745 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39747 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39748 for subnormals or multiply small sinh result by itself.
39749 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39752 2012-07-11 David S. Miller <davem@davemloft.net>
39754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39756 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39759 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39760 (INTERNAL_MARK): Shift it here.
39762 2012-07-10 Marek Polacek <polacek@redhat.com>
39765 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39766 libc_cv_asm_global_directive with .globl.
39767 * configure: Regenerated.
39768 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39770 * sysdeps/i386/configure: Regenerated.
39771 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39773 * sysdeps/x86_64/configure: Regenerated.
39774 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39775 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39776 * elf/tst-unique2mod2.c: Likewise.
39777 * elf/tst-unique2mod1.c: Likewise.
39778 * elf/tst-unique1mod2.c: Likewise.
39779 * elf/tst-unique1mod1.c: Likewise.
39780 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39781 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39782 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39783 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39784 * sysdeps/mach/sysdep.h: Likewise.
39785 * sysdeps/i386/sysdep.h: Likewise.
39786 * sysdeps/i386/i386-mcount.S: Likewise.
39787 * sysdeps/x86_64/_mcount.S: Likewise.
39788 * sysdeps/x86_64/sysdep.h: Likewise.
39789 * sysdeps/sh/_mcount.S: Likewise.
39790 * sysdeps/sh/sysdep.h: Likewise.
39791 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39792 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39793 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39794 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39795 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39796 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39797 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39798 * locale/localeinfo.h: Likewise.
39799 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39800 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39802 2012-07-09 Roland McGrath <roland@hack.frob.com>
39805 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39807 * manual/message.texi (The Uniforum approach): Likewise.
39808 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39809 (glibc iconv Implementation): Likewise.
39811 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39814 * math/s_clog.c (__clog): Avoid scaling a value down where that
39815 could result in underflow.
39816 * math/s_clog10.c (__clog10): Likewise.
39817 * math/s_clog10f.c (__clog10f): Likewise.
39818 * math/s_clog10l.c (__clog10l): Likewise.
39819 * math/s_clogf.c (__clogf): Likewise.
39820 * math/s_clogl.c (__clogl): Likewise.
39821 * math/libm-test.inc (clog_test): Add more tests.
39822 (clog10_test): Likewise.
39823 * sysdeps/i386/fpu/libm-test-ulps: Update.
39824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39826 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39829 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39830 by 7 not 8 to examine high bit of fractional part.
39833 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39834 for call to __mcount_internal.
39835 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39836 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39837 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39839 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39842 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39843 approximation for values within 0x1p-13f of an odd multiple of
39845 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39846 exception. Add more tests.
39847 * sysdeps/i386/fpu/libm-test-ulps: Update.
39850 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39851 inputs and return -1 for them. Do not check for +Inf in case not
39852 reachable for +Inf.
39853 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39854 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39855 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39856 and return -1 for them. Do not check for +Inf in case not
39857 reachable for +Inf.
39858 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39861 and return -1 for them. Do not check for +Inf in case not
39862 reachable for +Inf.
39863 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39864 spurious underflow.
39865 * sysdeps/i386/fpu/libm-test-ulps: Update.
39866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39868 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39870 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39872 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39876 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39877 could result in spurious underflow. Scale down values above
39878 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39879 * math/s_csqrtf.c (__csqrtf): Likewise.
39880 * math/s_csqrtl.c (__csqrtl): Likewise.
39881 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39882 spurious underflow.
39883 * sysdeps/i386/fpu/libm-test-ulps: Update.
39884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39886 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39888 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39890 * catgets/xopen-msg.awk: New file.
39891 * catgets/xopen-msg.sed: Removed.
39893 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39895 * intl/po2test.awk: New file.
39896 * intl/po2test.sed: Removed.
39898 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39901 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39902 or multiply small sinh result by itself.
39903 * math/s_ctanf.c (__ctanf): Likewise.
39904 * math/s_ctanh.c (__ctanh): Likewise.
39905 * math/s_ctanhf.c (__ctanhf): Likewise.
39906 * math/s_ctanhl.c (__ctanhl): Likewise.
39907 * math/s_ctanl.c (__ctanl): Likewise.
39908 * math/libm-test.inc (ctan_test_tonearest): New function.
39909 (ctan_test_towardzero): Likewise.
39910 (ctan_test_downward): Likewise.
39911 (ctan_test_upward): Likewise.
39912 (ctanh_test_tonearest): Likewise.
39913 (ctanh_test_towardzero): Likewise.
39914 (ctanh_test_downward): Likewise.
39915 (ctanh_test_upward): Likewise.
39916 (main): Call these new functions.
39917 * sysdeps/i386/fpu/libm-test-ulps: Update.
39918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39920 2012-07-03 Mike Frysinger <vapier@gentoo.org>
39922 * .gitignore: Delete /ports entry.
39924 2012-07-03 Andreas Jaeger <aj@suse.de>
39926 * po/bg.po: Update from translation team.
39927 * po/cs.po: Likewise.
39928 * po/de.po: Likewise.
39929 * po/hr.po: Likewise.
39930 * po/nl.pl: Likewise.
39931 * po/pl.po: Likewise.
39932 * po/vi.po: Likewise.
39934 2012-07-03 Joseph Myers <joseph@codesourcery.com>
39936 * Makeconfig [!+link] (+link-before-libc): New variable.
39937 [!+link] (+link-after-libc): Likewise.
39938 [!+link] (+link-tests): Likewise.
39939 [!+link] (+link): Define in terms of $(+link-before-libc) and
39940 $(+link-after-libc).
39941 [!+link-static] (+link-static-before-libc): New variable.
39942 [!+link-static] (+link-static-after-libc): Likewise.
39943 [!+link-static] (+link-static-tests): Likewise.
39944 [!+link-static] (+link-static): Define in terms of
39945 $(+link-static-before-libc) and $(+link-static-after-libc).
39946 [build-shared] (link-libc-before-gnulib): New variable.
39947 [build-shared] (link-libc-tests): Likewise.
39948 [build-shared] (link-libc): Define in terms of
39949 $(link-libc-before-gnulib).
39950 [!build-shared] (link-libc-tests): New variable.
39951 (link-libc-static-tests): New variable.
39952 [!gnulib] (gnulib-arch): New variable.
39953 [!gnulib] (gnulib-tests): Likewise.
39954 [!gnulib] (static-gnulib-arch): Likewise.
39955 [!gnulib] (static-gnulib-tests): Likewise.
39956 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39957 Define with "=" instead of ":=".
39958 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39959 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39960 * Rules (binaries-all-notests): New variable.
39961 (binaries-all-tests): Likewise.
39962 (binaries-static-notests): Likewise.
39963 (binaries-static-tests): Likewise.
39964 (binaries-all): Define using $(binaries-all-notests) and
39965 $(binaries-all-tests).
39966 (binaries-static): Define using $(binaries-static-notests) and
39967 $(binaries-static-tests).
39968 (binaries-shared-tests): New variable.
39969 (binaries-shared-notests): Likewise.
39970 (binaries-shared): Remove variable.
39971 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39972 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39973 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39974 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39975 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39976 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39977 * elf/Makefile (sln-modules): New variable.
39978 (extra-objs): Add $(sln-modules:=.o).
39979 (ldconfig-modules): Add static-stubs.
39980 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39981 * elf/static-stubs.c: New file.
39984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39985 by 7 not 8 to examine high bit of fractional part. Use volatile
39986 variables when splitting into final array of floats if
39987 __FLT_EVAL_METHOD__ != 0.
39988 * math/libm-test.inc (cos_test): Add another test.
39989 (sin_test): Likewise.
39990 * sysdeps/i386/fpu/libm-test-ulps: Update.
39993 * math/libm-test.inc (cosh_test): Add more tests.
39995 * version.h (RELEASE): Set to "development".
39996 (VERSION): Set to "2.16.90".
39998 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40000 * NEWS: Update copyright. Remove last-updated date.
40001 Mention math library bug fixes and timezone data changes.
40002 * README: Mention GNU/Hurd, x32, and HPPA support status.
40004 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40006 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40008 2012-06-27 Andreas Jaeger <aj@suse.de>
40010 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40012 2012-06-25 Andreas Jaeger <aj@suse.de>
40014 * sysdeps/s390/fpu/libm-test-ulps: Update.
40016 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40017 Thomas Schwinge <thomas@codesourcery.com>
40019 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40020 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40024 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40026 * sysdeps/mach/start.c: Remove file.
40027 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40028 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40029 * sysdeps/sh/init-first.c: Likewise.
40031 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40032 registers for frame unwinding purposes, add CFI directives.
40033 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40034 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40035 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40038 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40039 __fortify_fail returning.
40040 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40042 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40043 sysdeps/sh/____longjmp_chk.S.
40044 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40045 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40046 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40047 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40049 * sysdeps/sh/abort-instr.h: New file.
40050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40051 process in case exit returns.
40053 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40054 initialize the GOT register before use.
40056 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40057 calculation of ARGC > 4.
40059 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40060 meaningful names to some local labels.
40062 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40063 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40065 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40066 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40067 (__arch_compare_and_exchange_val_16_acq): Likewise.
40068 (__arch_compare_and_exchange_val_32_acq): Likewise.
40069 (atomic_exchange_and_add): Fix gUSA sequence.
40070 (atomic_add): Likewise.
40071 (atomic_add_negative): Likewise.
40072 (atomic_add_zero): Likewise.
40073 (atomic_bit_test_set): Likewise.
40075 2012-06-22 Andreas Schwab <schwab@redhat.com>
40078 * include/link.h (struct link_map): Add l_free_initfini.
40079 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40081 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40082 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40083 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40086 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40088 * configure.in: Use AC_LANG_SOURCE.
40089 * configure: Regenerate.
40091 2012-06-22 Roland McGrath <roland@hack.frob.com>
40093 * configure.in (libc_cv_localstatedir): New substituted variable.
40094 * configure: Regenerated.
40095 * config.make.in (localstatedir): New variable, substituted from
40096 libc_cv_localstatedir.
40097 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40098 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40099 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40100 * sysdeps/gnu/configure: Regenerated.
40102 2012-06-21 Jeff Law <law@redhat.com>
40105 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40106 free. Simplify list management for _LIBC case.
40108 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40111 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40112 Clear sign bit of 64-bit integer value before comparing against
40115 * sysdeps/mach/configure: Regenerated.
40117 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40120 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40122 2012-06-21 Jeff Law <law@redhat.com>
40125 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40126 uint16_t for elements in the "seen" array to avoid char overflows.
40127 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40128 * elf/dl-open.c (dl_open_worker): Likewise.
40130 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40132 * scripts/list-sources.sh: Scan PORTS for translations.
40133 * po/libc.pot: Regenerated.
40135 2012-06-21 Andreas Jaeger <aj@suse.de>
40138 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40140 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40141 * bits/byteswap-16.h (__bswap_16): Likewise.
40142 * bits/byteswap.h (__bswap_constant_16): Likewise.
40144 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40147 * sysdeps/i386/fpu_control.h: Removed.
40148 * sysdeps/x86_64/fpu_control.h: Moved to ...
40149 * sysdeps/x86/fpu_control.h: Here.
40151 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40152 (_FPU_SETCW): Likewise.
40154 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40157 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40158 * sysdeps/x86/fpu/bits/mathinline.h: This.
40159 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40163 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40164 functions if __x86_64__ is defined.
40166 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40168 * string/endian.h: Add !__ASSEMBLER__ condition for including
40169 conversion interfaces.
40171 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40175 of ABS(x) in calculating zero to negative powers other than odd
40177 * math/libm-test.inc (pow_test): Add more tests.
40179 2012-06-15 Andreas Jaeger <aj@suse.de>
40181 * manual/contrib.texi (Contributors): Update entry of Liubov
40182 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40185 2012-06-15 Cyril Hrubis <metan@ucw.cz>
40187 * string/string.h: Add __wur to GNU version of strerror_r.
40189 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40192 * string/Makefile (tests): Add tst-strtok_r.
40193 * string/tst-strtok_r.c: New file.
40194 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40195 RAX_LP/RDX_LP on SAVE_PTR.
40197 2012-06-14 Roland McGrath <roland@hack.frob.com>
40199 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40201 2012-06-14 Joseph Myers <joseph@codesourcery.com>
40203 * libm_test.inc (csqrt_test): Allow more spurious underflow
40205 (j0_test): Likewise.
40206 (j1_test): Likewise.
40207 (y0_test): Likewise.
40208 (y1_test): Likewise.
40210 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40212 * po/Makefile (libc.pot): Use UTF-8 charset.
40214 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40217 Suppress sign-conversion warning from FD_SET.
40218 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40219 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40220 not unsigned long int.
40221 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40223 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40227 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40228 __extern_always_inline instead of __extern_inline.
40229 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40230 (__signbit): Likewise.
40231 (__signbitl): Support C++ namespace.
40232 (lrintf): New inline function.
40234 (llrintf): Likewise.
40235 (llrint): Likewise.
40245 (floorf): Likewise.
40246 (nearbyint): Likewise.
40247 (nearbyintf): Likewise.
40249 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40251 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40252 non-default versions.
40254 2012-06-11 Roland McGrath <roland@hack.frob.com>
40257 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40259 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40261 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40262 (FE_UPWARD, FE_DOWNWARD): Don't define.
40263 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40264 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40266 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40268 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40271 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40273 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40275 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40276 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40278 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40281 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40282 * sysdeps/i386/fpu/Implies: New file.
40283 * sysdeps/x86_64/fpu/Implies: Likewise.
40284 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40285 * sysdeps/x86/fpu/bits/fenv.h: This.
40287 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40290 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40293 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40294 character 0xffff that matches the last element of the
40297 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40302 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40304 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40305 values higher than 25.6283.
40307 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40309 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40310 subnormal exponent extraction and add some __builtin_expect.
40311 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40312 Fix for subnormal mantissa calculation.
40314 2012-06-04 Mike Frysinger <vapier@gentoo.org>
40316 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40317 cpu2 is -1 and errno is not ENOSYS.
40319 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40322 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40323 * sysdeps/x86/bits/string.h: This.
40324 * sysdeps/x86_64/bits/string.h: Removed.
40326 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40327 if not compiling for x86-64, but compiling for >= i486.
40329 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40330 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40332 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40333 New macro from Linux kernel 3.4.0.
40334 (FP_XSTATE_MAGIC2): Likewise.
40335 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40336 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40337 (struct _fpx_sw_bytes): New struct.
40338 (struct _xsave_hdr): Likewise.
40339 (struct _ymmh_state): Likewise.
40340 (struct _xstate): Likewise.
40342 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40343 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40344 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40345 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40346 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40347 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40349 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40350 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40351 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40352 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40353 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40354 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40356 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40359 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40360 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40361 (sysdep_headers): Include sys/platform/ppc.h.
40362 * sysdeps/powerpc/test-gettimebase.c: Test for
40363 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40364 * manual/Makefile (appendices): Include platform.texi.
40365 * manual/contrib.texi (Contributors): Update @node pointers.
40366 * manual/maint.texi (Maintenance): Likewise.
40367 (Platform): New node.
40368 * manual/platform.texi: New file. Document the new features.
40370 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40371 Jakub Jelinek <jakub@redhat.com>
40374 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40375 where __builtin_expect is unavailable.
40377 2012-06-03 David S. Miller <davem@davemloft.net>
40379 * stdlib/longlong.h: Updated from GCC.
40381 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40384 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40385 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40388 (GLIBC_2.16): Likewise.
40390 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40392 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40394 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40397 (default-abi): New variable.
40398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40399 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40401 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40403 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40405 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40408 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40409 definition. Document in comment.
40411 2012-06-01 David S. Miller <davem@davemloft.net>
40413 * stdlib/longlong.h: Updated from GCC.
40415 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40418 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40419 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40420 sys/debugreg.h sys/io.h here.
40421 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40422 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40424 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40425 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40426 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40427 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40428 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40429 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40431 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40432 Define only if __x86_64__ is defined.
40434 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40437 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40438 Use int64_t for variable i.
40439 * math/libm-test.inc (fmod_test): Add more tests.
40441 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40442 z computation is not scheduled after fetestexcept.
40443 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40444 Use math_force_eval instead of asm to ensure calculation scheduled
40445 before exception test.
40446 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40447 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40449 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40452 computation is not scheduled after fetestexcept.
40454 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40457 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40458 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40460 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40462 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40463 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40465 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40468 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40470 (__WCHAR_MIN): Support __WORDSIZE == 64.
40471 (__WCHAR_MAX): Likewise.
40473 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40478 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40481 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40482 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40484 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40485 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40487 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40488 Defined to 1 if __x86_64__ isn't defined.
40489 (_STAT_VER_LINUX_OLD): New.
40490 (st_atime): Remove duplicate.
40491 (st_mtime): Likewise.
40492 (st_ctime): Likewise.
40494 2012-05-31 David S. Miller <davem@davemloft.net>
40496 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40499 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40501 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40505 * elf/dl-reloc.c: Include <_itoa.h>.
40506 (_dl_reloc_bad_type): Remove use of INTUSE.
40507 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40508 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40509 * stdio-common/psiginfo.c (psiginfo): Likewise.
40510 * stdio-common/psignal.c (psignal): Likewise.
40511 * string/strsignal.c (strsignal): Likewise.
40512 * include/signal.h (_sys_siglist): Declare hidden proto.
40513 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40514 INTVARDEF with libc_hidden_data_def.
40515 * stdio-common/itoa-udigits.c: Likewise.
40516 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40517 (_itoa_lower_digits_internal): Remove declaration.
40518 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40519 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40520 (_sys_sigabbrev_internal): Remove aliases.
40521 (_sys_siglist): Define hidden alias.
40523 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40528 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40531 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40532 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40534 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40535 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40536 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40537 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40538 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40539 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40541 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40542 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40543 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40545 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40555 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40557 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40558 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40559 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40560 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40561 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40562 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40564 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40565 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40567 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40568 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40571 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40572 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40574 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40575 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40577 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40579 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40580 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40581 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40583 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40585 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40587 2012-05-31 Joseph Myers <joseph@codesourcery.com>
40589 * math/math.h (M_El): Use two more decimal places.
40590 (M_LOG2El): Likewise.
40591 (M_LOG10El): Likewise.
40592 (M_LN2l): Likewise.
40593 (M_LN10l): Likewise.
40595 (M_PI_2l): Likewise.
40596 (M_PI_4l): Likewise.
40597 (M_1_PIl): Likewise.
40598 (M_2_PIl): Likewise.
40599 (M_2_SQRTPIl): Likewise.
40600 (M_SQRT2l): Likewise.
40601 (M_SQRT1_2l): Likewise.
40603 2012-05-31 David S. Miller <davem@davemloft.net>
40605 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40606 values between float registers.
40607 * sysdeps/sparc/sparc64/memset.S: Likewise.
40608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40610 2012-05-31 Mike Frysinger <vapier@gentoo.org>
40612 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40613 -D_FORTIFY_SOURCE=1.
40614 (CPPFLAGS-tst-longjmp_chk.c): Define.
40615 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40616 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40617 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40618 CFLAGS-tst-wchar-h.c.
40620 2012-05-31 Marek Polacek <polacek@redhat.com>
40623 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40624 __endmntent_internal): Remove declaration.
40625 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40626 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40627 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40629 2012-05-30 David S. Miller <davem@davemloft.net>
40631 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40632 (___Q_simulate_exceptions): Use real FP ops rather than writing
40634 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40637 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40640 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40641 * sysdeps/x86/bits/xtitypes.h: This.
40643 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40644 * sysdeps/x86/bits/wordsize.h: This.
40646 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40647 * sysdeps/x86/bits/huge_vall.h: This.
40649 * sysdeps/i386/bits/select.h: Removed.
40650 * sysdeps/x86_64/bits/select.h: Renamed to ...
40651 * sysdeps/x86/bits/select.h: This.
40653 * sysdeps/i386/bits/setjmp.h: Removed.
40654 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40655 * sysdeps/x86/bits/setjmp.h: This.
40657 * sysdeps/i386/bits/mathdef.h: Removed.
40658 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40659 * sysdeps/x86/bits/mathdef.h: This.
40661 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40664 * include/sys/socket.h (__connect_internal)
40665 (__libc_sa_len_internal): Remove declaration.
40666 (__connect, __libc_sa_len): Declare hidden_proto.
40667 (SA_LEN): Remove use of INTUSE.
40668 * socket/connect.c: Add libc_hidden_def.
40669 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40670 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40671 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40673 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40674 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40675 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40676 of adding _internal alias.
40678 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40681 * sysdeps/i386/bits/link.h: Removed.
40682 * sysdeps/i386/bits/linkmap.h: Likewise.
40683 * sysdeps/x86_64/bits/link.h: Renamed to ...
40684 * sysdeps/x86/bits/link.h: This.
40685 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40686 * sysdeps/x86/bits/linkmap.h: This.
40688 * sysdeps/i386/bits/endian.h: Removed.
40689 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40690 * sysdeps/x86/bits/endian.h: This.
40692 * sysdeps/i386/bits/byteswap.h: Removed.
40693 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40694 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40695 * sysdeps/x86/bits/byteswap.h: This.
40696 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40697 * sysdeps/x86/bits/byteswap-16.h: This.
40698 * sysdeps/i386/Implies: Add x86.
40699 * sysdeps/x86_64/Implies: Likewise.
40701 2012-05-30 David S. Miller <davem@davemloft.net>
40703 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40704 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40705 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40706 (FP_TRAPPING_EXCEPTIONS): Define.
40707 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40708 (FP_TRAPPING_EXCEPTIONS): Define.
40709 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40710 subnormals only when inexact has been signalled or underflow
40711 exceptions are enabled.
40712 (_FP_PACK_CANONICAL): Likewise.
40714 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40718 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40720 2012-05-30 Richard Henderson <rth@twiddle.net>
40722 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40723 with #ifndef NOT_IN_libc.
40725 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40726 marked to avoid plt entry.
40728 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40731 * Makeconfig (default-abi): New macro.
40732 (abi-includes): Likewise.
40733 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40734 $(abi-$(default-abi)-lib-soname) for soname if defined.
40735 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40737 * Makefile (installed-stubs): Likewise.
40738 * include/stubs-biarch.h: Removed.
40739 * scripts/lib-names.awk: Only handle one library at a time.
40740 * scripts/soversions.awk: Remove WORDSIZE support.
40741 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40743 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40745 (syscall-list-default-condition): Likewise.
40746 (syscall-list-default-condition): Likewise.
40747 (syscall-list-includes): Likewise.
40748 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40749 syscall-list-* with abi-*. Handle undefined abi-variants.
40750 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40751 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40752 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40753 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40754 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40755 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40757 (syscall-list-32-options): Likewise.
40758 (syscall-list-32-condition): Likewise.
40759 (syscall-list-64-options): Likewise.
40760 (syscall-list-64-condition): Likewise.
40761 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40763 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40766 (abi-64-ld-soname): New macro.
40767 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40768 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40771 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40772 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40774 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40776 * sysdeps/unix/sysv/linux/kernel-features.h
40777 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40778 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40779 include <kernel-features.h>.
40780 [!__NR_ftruncate64]: Remove conditional code.
40781 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40782 [__NR_ftruncate64]: Make code unconditional.
40783 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40784 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40785 include <kernel-features.h>.
40786 [!__NR_ftruncate64]: Remove conditional code.
40787 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40788 [__NR_ftruncate64]: Make code unconditional.
40789 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40791 include <kernel-features.h>.
40792 [!__NR_ftruncate64]: Remove conditional code.
40793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40794 [__NR_ftruncate64]: Make code unconditional.
40795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40797 include <kernel-features.h>.
40798 [!__NR_ftruncate64]: Remove conditional code.
40799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40800 [__NR_ftruncate64]: Make code unconditional.
40801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40803 * configure.in (libc_cv_fpie): Weaken to a compile test using
40804 LIBC_TRY_CC_OPTION.
40805 * configure: Regenerated.
40807 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40822 2012-05-27 David S. Miller <davem@davemloft.net>
40824 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40826 (__Q_simulate_exceptions): Return void. Change to simulate
40827 exceptions by writing into the %fsr.
40828 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40829 (__Qp_handle_exceptions): Likewise.
40831 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40832 __Qp_handle_exceptions.
40833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40834 __Qp_handle_exceptions.
40835 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40836 as unused and give dummy FP_RND_NEAREST initializer.
40837 (FP_INHIBIT_RESULTS): Define.
40838 (___Q_simulate_exceptions): Update declaration.
40839 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40841 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40842 as unused and give dummy FP_RND_NEAREST initializer.
40843 (__Qp_handle_exceptions): Update declaration.
40844 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40847 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40849 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40850 the temporary FPU control word.
40851 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40852 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40853 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40854 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40855 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40856 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40857 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40858 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40859 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40860 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40861 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40863 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40865 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40868 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40870 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40871 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40872 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40873 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40875 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40876 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40879 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40881 * po/h.po: Update from translation team.
40883 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40885 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40887 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40888 handling of denormals.
40889 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40890 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40891 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40892 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40893 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40898 2012-05-26 Marek Polacek <polacek@redhat.com>
40901 * math/libm-test.inc (fma_test): Don't always expect underflow
40904 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40907 * elf/tst-execstack.c: Include stackinfo.h.
40908 (do_test): Adjust test case to ensure that pthread_getattr_np
40909 behaviour remains the same after marking stack executable.
40911 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40913 * sysdeps/unix/sysv/linux/kernel-features.h
40914 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40915 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40917 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40918 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40919 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40921 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40922 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40924 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40926 * configure.in: Define the default includes to being none.
40927 * configure: Regenerated.
40929 2012-05-25 Roland McGrath <roland@hack.frob.com>
40931 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40932 * sysdeps/x86_64/setjmp.S: Likewise.
40933 * sysdeps/i386/bsd-setjmp.S: Likewise.
40934 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40935 * sysdeps/i386/setjmp.S: Likewise.
40936 * sysdeps/i386/__longjmp.S: Likewise.
40937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40938 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40940 * include/stap-probe.h: New file.
40941 * configure.in: Handle --enable-systemtap.
40942 * configure: Regenerated.
40943 * config.h.in (USE_STAP_PROBE): New #undef.
40944 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40945 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40946 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40948 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40952 to 2.4.0 where earlier.
40953 * sysdeps/unix/sysv/linux/configure: Regenerated.
40954 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
40963 [__ASSUME_32BITUIDS]: Make code unconditional.
40964 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40965 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40966 <kernel-features.h>.
40967 [__ASSUME_32BITUIDS]: Make code unconditional.
40968 [!__ASSUME_32BITUIDS]: Remove conditional code.
40969 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40970 <kernel-features.h>.
40971 [__ASSUME_32BITUIDS]: Make code unconditional.
40972 [!__ASSUME_32BITUIDS]: Remove conditional code.
40973 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40974 <kernel-features.h>.
40975 [__ASSUME_32BITUIDS]: Make code unconditional.
40976 [!__ASSUME_32BITUIDS]: Remove conditional code.
40977 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40978 <kernel-features.h>.
40979 [__ASSUME_32BITUIDS]: Make code unconditional.
40980 [!__ASSUME_32BITUIDS]: Remove conditional code.
40981 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40982 <kernel-features.h>.
40983 [__ASSUME_32BITUIDS]: Make code unconditional.
40984 [!__ASSUME_32BITUIDS]: Remove conditional code.
40985 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40986 <kernel-features.h>.
40987 [__ASSUME_32BITUIDS]: Make code unconditional.
40988 [!__ASSUME_32BITUIDS]: Remove conditional code.
40989 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40990 <kernel-features.h>.
40991 [__ASSUME_32BITUIDS]: Make code unconditional.
40992 [!__ASSUME_32BITUIDS]: Remove conditional code.
40993 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40994 <kernel-features.h>.
40995 [__ASSUME_32BITUIDS]: Make code unconditional.
40996 [!__ASSUME_32BITUIDS]: Remove conditional code.
40997 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40998 <kernel-features.h>.
40999 [__ASSUME_32BITUIDS]: Make code unconditional.
41000 [!__ASSUME_32BITUIDS]: Remove conditional code.
41001 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41002 <kernel-features.h>.
41003 [__ASSUME_32BITUIDS]: Make code unconditional.
41004 [!__ASSUME_32BITUIDS]: Remove conditional code.
41005 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41006 <kernel-features.h>.
41007 [__NR_setresgid] (__setresgid): Do not declare.
41008 [__ASSUME_32BITUIDS]: Make code unconditional.
41009 [!__ASSUME_32BITUIDS]: Remove conditional code.
41010 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41011 <kernel-features.h>.
41012 [__NR_setresuid] (__setresuid): Do not declare.
41013 [__ASSUME_32BITUIDS]: Make code unconditional.
41014 [!__ASSUME_32BITUIDS]: Remove conditional code.
41015 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41016 <kernel-features.h>.
41017 [__ASSUME_32BITUIDS]: Make code unconditional.
41018 [!__ASSUME_32BITUIDS]: Remove conditional code.
41019 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41020 <kernel-features.h>.
41021 [__ASSUME_32BITUIDS]: Make code unconditional.
41022 [!__ASSUME_32BITUIDS]: Remove conditional code.
41023 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41024 <kernel-features.h>.
41025 [__ASSUME_32BITUIDS]: Make code unconditional.
41026 [!__ASSUME_32BITUIDS]: Remove conditional code.
41027 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41028 <kernel-features.h>.
41029 [__ASSUME_32BITUIDS]: Make code unconditional.
41030 [!__ASSUME_32BITUIDS]: Remove conditional code.
41031 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41032 <kernel-features.h>.
41033 [__ASSUME_32BITUIDS]: Make code unconditional.
41034 [!__ASSUME_32BITUIDS]: Remove conditional code.
41035 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41036 <kernel-features.h>.
41037 [__ASSUME_32BITUIDS]: Make code unconditional.
41038 [!__ASSUME_32BITUIDS]: Remove conditional code.
41039 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41040 <kernel-features.h>.
41041 [__ASSUME_32BITUIDS]: Make code unconditional.
41042 [!__ASSUME_32BITUIDS]: Remove conditional code.
41043 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41044 <kernel-features.h>.
41045 [__ASSUME_32BITUIDS]: Make code unconditional.
41046 [!__ASSUME_32BITUIDS]: Remove conditional code.
41047 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41048 <kernel-features.h>.
41049 [__ASSUME_32BITUIDS]: Make code unconditional.
41050 [!__ASSUME_32BITUIDS]: Remove conditional code.
41051 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41052 <kernel-features.h>.
41053 [__ASSUME_32BITUIDS]: Make code unconditional.
41054 [!__ASSUME_32BITUIDS]: Remove conditional code.
41055 * sysdeps/unix/sysv/linux/kernel-features.h
41056 (__ASSUME_SETRESUID_SYSCALL): Remove.
41057 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41058 (__ASSUME_32BITUIDS): Likewise.
41059 (__ASSUME_LDT_WORKS): Likewise.
41060 (__ASSUME_O_DIRECTORY): Likewise.
41061 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41062 architecture but not kernel version.
41063 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41064 (__ASSUME_MMAP2_SYSCALL): Likewise.
41065 (__ASSUME_STAT64_SYSCALL): Likewise.
41066 (__ASSUME_IPC64): Likewise.
41067 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41068 <kernel-features.h>.
41069 [__ASSUME_32BITUIDS]: Make code unconditional.
41070 [!__ASSUME_32BITUIDS]: Remove conditional code.
41071 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41072 <kernel-features.h>.
41073 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41074 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41075 132096]: Remove conditional code.
41076 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41077 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41078 <kernel-features.h>.
41079 [__ASSUME_32BITUIDS]: Make code unconditional.
41080 [!__ASSUME_32BITUIDS]: Remove conditional code.
41081 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41082 <kernel-features.h>.
41083 [__ASSUME_32BITUIDS]: Make code unconditional.
41084 [!__ASSUME_32BITUIDS]: Remove conditional code.
41085 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41086 <kernel-features.h>.
41087 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41089 (__setresgid): Do not declare.
41090 [__ASSUME_32BITUIDS]: Make code unconditional.
41091 [!__ASSUME_32BITUIDS]: Remove conditional code.
41092 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41093 <kernel-features.h>.
41094 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41096 (__setresuid): Do not declare.
41097 [__ASSUME_32BITUIDS]: Make code unconditional.
41098 [!__ASSUME_32BITUIDS]: Remove conditional code.
41099 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41100 <kernel-features.h>.
41101 [__ASSUME_32BITUIDS]: Make code unconditional.
41102 [!__ASSUME_32BITUIDS]: Remove conditional code.
41103 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41104 <kernel-features.h>.
41105 [__ASSUME_32BITUIDS]: Make code unconditional.
41106 [!__ASSUME_32BITUIDS]: Remove conditional code.
41108 2012-05-25 Richard Henderson <rth@twiddle.net>
41110 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41111 dl_hwcap to ifunc resolver.
41112 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41114 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41115 dl_hwcap to ifunc resolver.
41116 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41118 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41121 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41122 for |x| <= 2**-26, not 2**-57.
41123 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41126 2012-05-24 Jeff Law <law@redhat.com>
41128 * stdio-common/Makefile (tests): Add bug25.
41129 * stdio-common/bug25.c: New test.
41131 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41134 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41135 multiple of MALLOC_ALIGNMENT in size.
41136 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41138 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41140 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41142 (FILENAME_MAX): Use macro-int-constant.
41143 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41144 (_IOFBF): Use macro-int-constant.
41145 (_IOLBF): Likewise.
41146 (_IONBF): Likewise.
41147 (SEEK_CUR): Likewise.
41148 (SEEK_END): Likewise.
41149 (SEEK_SET): Likewise.
41150 (TMP_MAX): Likewise.
41151 (EOF): Use macro-int-constant. Require < 0.
41152 (NULL): Use macro-constant. Require == 0.
41153 (stdin): Require type to be FILE *.
41154 (stdout): Likewise.
41155 (stderr): Likewise.
41156 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41157 macro-int-constant.
41158 (EXIT_SUCCESS): Likewise.
41159 (NULL): Use macro-constant. Require == 0.
41160 (RAND_MAX): Use macro-int-constant.
41161 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41162 [C99-based standards] (strtof): Require function.
41163 [C99-based standards] (strtold): Likewise.
41164 [C99-based standards] (strtoll): Likewise.
41165 [C99-based standards] (strtoull): Likewise.
41166 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41167 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41168 [ISO || ISO99 || ISO11] (math.h): Likewise.
41169 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41170 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41173 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41176 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41177 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41178 * intl/dgettext.c (DCGETTEXT): Likewise.
41179 * intl/gettext.c (DCGETTEXT): Likewise.
41180 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41181 * posix/regex_internal.h (gettext): Likewise.
41182 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41183 Remove declaration.
41184 * include/argz.h (__argz_count_internal)
41185 (__argz_stringify_internal): Remove declaration.
41186 (__argz_count, __argz_stringify): Declare hidden proto.
41187 * intl/dcgettext.c: Remove use of INTDEF.
41188 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41189 * string/argz-stringify.c: Likewise.
41190 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41191 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41192 Declare hidden proto.
41193 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41194 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41195 Declare hidden proto.
41196 * include/stdio.h (__asprintf_internal): Don't declare.
41197 (__asprintf): Don't define as macro. Declare hidden proto.
41198 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41199 (__fsetlocking): Declare hidden proto.
41200 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41201 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41203 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41204 (_IO_setlinebuf): Remove use of INTUSE.
41205 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41206 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41207 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41208 Remove declaration.
41209 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41210 (_IO_do_flush): Remove use of INTUSE.
41211 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41212 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41213 (_IO_adjust_column, _IO_least_wmarker)
41214 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41215 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41216 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41217 (_IO_default_doallocate, _IO_wdefault_doallocate)
41218 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41219 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41220 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41221 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41222 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41223 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41224 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41225 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41226 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41227 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41228 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41229 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41230 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41232 (_IO_flush_all_internal, _IO_adjust_column_internal)
41233 (_IO_default_uflow_internal, _IO_default_finish_internal)
41234 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41235 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41236 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41237 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41238 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41239 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41240 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41241 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41242 (_IO_file_close_internal, _IO_file_close_it_internal)
41243 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41244 (_IO_file_init_internal, _IO_file_attach_internal)
41245 (_IO_file_fopen_internal, _IO_file_read_internal)
41246 (_IO_file_sync_internal, _IO_file_seek_internal)
41247 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41248 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41249 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41250 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41251 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41252 (_IO_list_all_internal, _IO_link_in_internal)
41253 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41254 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41255 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41256 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41257 (_IO_do_write_internal, _IO_padn_internal)
41258 (_IO_getline_info_internal, _IO_getline_internal)
41259 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41260 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41261 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41262 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41263 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41264 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41265 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41266 with libc_hidden_ver, remove use of INTUSE.
41267 * libio/genops.c: Likewise.
41268 * libio/freopen.c: Likewise.
41269 * libio/freopen64.c: Likewise.
41270 * libio/iofclose.c: Likewise.
41271 * libio/iofdopen.c: Likewise.
41272 * libio/iofflush.c: Likewise.
41273 * libio/iofflush_u.c: Likewise.
41274 * libio/iofgets.c: Likewise.
41275 * libio/iofgets_u.c: Likewise.
41276 * libio/iofopen.c: Likewise.
41277 * libio/iofopncook.c: Likewise.
41278 * libio/iofread.c: Likewise.
41279 * libio/iofread_u.c: Likewise.
41280 * libio/ioftell.c: Likewise.
41281 * libio/iofwrite.c: Likewise.
41282 * libio/iogetline.c: Likewise.
41283 * libio/iogets.c: Likewise.
41284 * libio/iogetwline.c: Likewise.
41285 * libio/iopadn.c: Likewise.
41286 * libio/iopopen.c: Likewise.
41287 * libio/ioseekoff.c: Likewise.
41288 * libio/ioseekpos.c: Likewise.
41289 * libio/iosetbuffer.c: Likewise.
41290 * libio/iosetvbuf.c: Likewise.
41291 * libio/ioungetc.c: Likewise.
41292 * libio/ioungetwc.c: Likewise.
41293 * libio/iovdprintf.c: Likewise.
41294 * libio/iovsprintf.c: Likewise.
41295 * libio/iovsscanf.c: Likewise.
41296 * libio/memstream.c: Likewise.
41297 * libio/obprintf.c: Likewise.
41298 * libio/oldfileops.c: Likewise.
41299 * libio/oldiofclose.c: Likewise.
41300 * libio/oldiofdopen.c: Likewise.
41301 * libio/oldiofopen.c: Likewise.
41302 * libio/oldiopopen.c: Likewise.
41303 * libio/oldstdfiles.c: Likewise.
41304 * libio/putc.c: Likewise.
41305 * libio/setbuf.c: Likewise.
41306 * libio/setlinebuf.c: Likewise.
41307 * libio/stdfiles.c: Likewise.
41308 * libio/strops.c: Likewise.
41309 * libio/vasprintf.c: Likewise.
41310 * libio/vscanf.c: Likewise.
41311 * libio/vsnprintf.c: Likewise.
41312 * libio/vswprintf.c: Likewise.
41313 * libio/wfiledoalloc.c: Likewise.
41314 * libio/wfileops.c: Likewise.
41315 * libio/wgenops.c: Likewise.
41316 * libio/wmemstream.c: Likewise.
41317 * libio/wstrops.c: Likewise.
41318 * libio/__fpurge.c: Likewise.
41319 * libio/__fsetlocking.c: Likewise.
41320 * assert/assert.c: Likewise.
41321 * debug/fgets_chk.c: Likewise.
41322 * debug/fgets_u_chk.c: Likewise.
41323 * debug/fread_chk.c: Likewise.
41324 * debug/fread_u_chk.c: Likewise.
41325 * debug/gets_chk.c: Likewise.
41326 * debug/obprintf_chk.c: Likewise.
41327 * debug/vasprintf_chk.c: Likewise.
41328 * debug/vdprintf_chk.c: Likewise.
41329 * debug/vsnprintf_chk.c: Likewise.
41330 * debug/vsprintf_chk.c: Likewise.
41331 * malloc/mtrace.c: Likewise.
41332 * misc/error.c: Likewise.
41333 * misc/syslog.c: Likewise.
41334 * stdio-common/asprintf.c: Likewise.
41335 * stdio-common/fxprintf.c: Likewise.
41336 * stdio-common/getw.c: Likewise.
41337 * stdio-common/isoc99_fscanf.c: Likewise.
41338 * stdio-common/isoc99_scanf.c: Likewise.
41339 * stdio-common/isoc99_vfscanf.c: Likewise.
41340 * stdio-common/isoc99_vscanf.c: Likewise.
41341 * stdio-common/isoc99_vsscanf.c: Likewise.
41342 * stdio-common/printf-prs.c: Likewise.
41343 * stdio-common/printf_fp.c: Likewise.
41344 * stdio-common/printf_fphex.c: Likewise.
41345 * stdio-common/printf_size.c: Likewise.
41346 * stdio-common/putw.c: Likewise.
41347 * stdio-common/scanf.c: Likewise.
41348 * stdio-common/sprintf.c: Likewise.
41349 * stdio-common/tmpfile.c: Likewise.
41350 * stdio-common/vfprintf.c: Likewise.
41351 * stdio-common/vfscanf.c: Likewise.
41352 * stdlib/strfmon_l.c: Likewise.
41353 * sunrpc/openchild.c: Likewise.
41354 * sunrpc/xdr_stdio.c: Likewise.
41355 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41356 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41358 2012-05-24 Roland McGrath <roland@hack.frob.com>
41360 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41362 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41363 in the third column, to generate for the shared library an IFUNC
41364 that uses _dl_vdso_vsym.
41365 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41366 * Makeconfig (object-suffixes-noshared): New variable.
41368 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41369 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41370 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41371 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41374 * include/sys/time.h (__gettimeofday): Remove macro.
41375 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41376 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41378 (__gettimeofday): Add libc_hidden_def.
41379 (gettimeofday): Add libc_hidden_weak.
41380 * sysdeps/mach/gettimeofday.c: Likewise.
41381 * sysdeps/posix/gettimeofday.c: Likewise.
41382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41383 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41385 (__gettimeofday_internal): Remove strong_alias.
41386 (__gettimeofday): Add libc_hidden_def.
41387 (gettimeofday): Add libc_hidden_weak.
41388 * sysdeps/unix/syscalls.list (gettimeofday):
41389 Remove __gettimeofday_internal alias.
41391 2012-05-24 Daniel Jacobowitz <drow@false.org>
41392 H.J. Lu <hongjiu.lu@intel.com>
41395 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41396 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41397 (largebin_index_32_big): New.
41398 (largebin_index): Use it for 16-byte alignment.
41399 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41400 correction with front_misalign.
41402 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41430 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41431 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41433 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41437 * math/libm-test.inc (exp_test): Add test from bug 14036.
41438 (pow_test): Add test from bug 10846.
41440 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41442 (special_function): Do not include flags in test name.
41443 (parse_args): Likewise.
41444 * sysdeps/i386/fpu/libm-test-ulps: Update.
41445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41446 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41447 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41450 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41452 * math/libm-test.inc ("Philosophy"): Update comment about
41454 (UNDERFLOW_EXCEPTION): New macro.
41455 (UNDERFLOW_EXCEPTION_OK): Likewise.
41456 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41457 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41458 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41459 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41460 (INVALID_EXCEPTION_OK): Update value.
41461 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41462 (OVERFLOW_EXCEPTION_OK): Likewise.
41463 (IGNORE_ZERO_INF_SIGN): Likewise.
41464 (test_exceptions): Handle underflow exceptions.
41465 (acos_test): Update for underflow exception expectations.
41466 (cexp_test): Likewise.
41467 (clog_test): Likewise.
41468 (clog10_test): Likewise.
41469 (csqrt_test): Likewise.
41470 (ctan_test): Likewise.
41471 (ctanh_test): Likewise.
41472 (exp_test): Likewise.
41473 (exp10_test): Likewise.
41474 (exp2_test): Likewise.
41475 (expm1_test): Likewise.
41476 (fma_test): Likewise.
41477 (j0_test): Likewise.
41478 (jn_test): Likewise.
41479 (nexttoward_test): Likewise.
41480 (pow_test): Likewise.
41481 (scalbn_test): Likewise.
41482 (scalbln_test): Likewise.
41483 (tan_test): Likewise.
41484 (y1_test): Likewise.
41485 * sysdeps/i386/fpu/libm-test-ulps: Update.
41486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41488 2012-05-23 David S. Miller <davem@davemloft.net>
41490 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41491 (__libc_sigaction): Remove unused local variables.
41493 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41495 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41497 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41499 mktime: avoid signed integer overflow
41500 * time/mktime.c (__mktime_internal): Do not mishandle the case
41501 where diff == INT_MIN.
41503 mktime: simplify computation of average
41504 * time/mktime.c (ranged_convert): Use new time_t_avg function
41505 instead of rolling our own (probably-slower) code.
41507 mktime: do not assume signed right shift propagates sign bit
41508 * time/mktime.c (isdst_differ): New static function.
41509 (__mktime_internal): No need to normalize tm_isdst now.
41510 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41513 mktime: merge another wrapv change from gnulib
41514 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41515 from some compilers.
41517 mktime: remove incorrect attempt at unusual arithmetics
41518 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41519 The code didn't really work on such machines anyway.
41520 (TYPE_MINIMUM): Assume two's complement.
41521 (twos_complement_arithmetic): Verify that long_int and time_t
41522 are two's complement (or unsigned, in the latter case).
41524 mktime: check signed shifts on long_int and time_t, too
41525 * time/mktime.c (SHR): Check that shifts work as desired
41526 on the types long_int and time_t too, as SHR is used on
41529 mktime: do not assume 'long' is wide enough
41530 * time/mktime.c (verify): Move decl up.
41531 (long_int): New type.
41532 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41533 to remove assumption in the code that 'long' is wide enough to
41534 store year values. This assumption is not true on x32 and on
41535 some non-glibc platforms.
41537 mktime: merge wrapv change from gnulib
41538 * time/mktime.c (WRAPV): New macro.
41539 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41540 (guess_time_tm, __mktime_internal): Do not assume that signed
41541 integer overflow wraps around; modern compilers generate code
41542 where this assumption is no longer valid.
41544 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41546 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41547 Replace "jmp L(pseudo_end)" with "ret".
41548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41551 2012-05-23 Andreas Jaeger <aj@suse.de>
41553 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41554 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41556 2012-05-23 Andreas Jaeger <aj@suse.de>
41557 Maximilian Attems <max@stro.at>
41559 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41562 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41564 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41565 code so that pseudo_end is just ret and the stack pointer is
41566 correct also for static library in error case.
41568 2012-05-23 Joseph Myers <joseph@codesourcery.com>
41570 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41571 move to syscalls.list.
41572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41577 * manual/install.texi (Running make install): Do not mention Linux
41578 kernel version for which pt_chown is not needed.
41579 (Linux): Do not mention problems with nscd with 2.0 kernels.
41580 * INSTALL: Regenerated.
41582 2012-05-23 Andreas Jaeger <aj@suse.de>
41584 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41585 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41587 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41588 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41589 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41590 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41591 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41592 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41593 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41594 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41595 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41597 * sysdeps/unix/sysv/linux/bits/in.h
41598 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41600 2012-05-22 Roland McGrath <roland@hack.frob.com>
41602 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41603 (PREPARE_VERSION): Just use assert instead, it will be elided
41604 under [NDEBUG] anyway.
41606 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41608 * sysdeps/unix/sysv/linux/Makefile: Include
41609 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41610 (sysdep_routines): Remove sysctl.
41611 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41612 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41613 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41614 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41615 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41617 2012-05-22 Andreas Jaeger <aj@suse.de>
41619 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41620 that pseudo_end is just ret and the stack pointer is correct also
41621 for static library in error case.
41623 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41626 * nss/nsswitch.c (defconfig_entries): New variable.
41627 (__nss_database_lookup): Don't leak defconfig entries.
41628 (nss_parse_service_list): Don't leak on error paths.
41629 (free_database_entries): New function.
41630 (free_defconfig): New function.
41631 (free_mem): Move common code to free_database_entries.
41633 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41635 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41637 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41639 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41640 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41643 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41644 (INTERNAL_SYSCALL_TYPES): Likewise.
41645 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41646 (LOAD_REGS_TYPES_[1-6]): Likewise.
41647 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41648 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41650 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41652 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41653 copysignl for GLIBC_2_0.
41654 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41655 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41656 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41657 logbl for GLIBC_2_0.
41658 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41659 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41661 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41663 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41664 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41666 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41669 * time/mktime.c: Update copyright years.
41671 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41673 mktime: merge comment-quoting-style change from gnulib
41674 * time/mktime.c: Quote 'like this' in comments.
41675 The GNU coding standards suggest that we no longer quote `like this',
41676 as "`" and "'" are typically rendered asymmetrically nowadays.
41677 The typical gnulib style is to quote 'like this' when quoting
41678 code, and "like this" when quoting English.
41680 * time/mktime.c (compile-command): Add "-I.".
41682 mktime: merge mktime-internal.h change from gnulib
41683 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41685 mktime: merge time_r change from gnulib
41686 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41688 mktime: merge DEBUG change from gnulib
41689 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41690 case system <time.h> has a #define.
41692 mktime: merge <sys/types.h> change from gnulib
41693 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41694 since <time.t> is now guaranteed to define time_t.
41696 mktime: merge HAVE_CONFIG_H change from gnulib
41697 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41699 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41704 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41706 (struct rusage): Use anonymous union to pad each field to
41709 2012-05-21 David S. Miller <davem@davemloft.net>
41711 * Makefules (o-iterator): Remove .s cases.
41712 (compile-command.s): Delete.
41713 (COMPILE.s): Delete.
41714 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41716 2012-05-21 Joseph Myers <joseph@codesourcery.com>
41718 * configure.in (libc_cv_predef_stack_protector): Only consider
41719 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41720 * configure: Regenerated.
41722 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41725 New macro. Use R*LP on int and pointer.
41726 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41727 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41728 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41729 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41731 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41732 [__WORDSIZE_TIME64_COMPAT32] instead of
41733 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41734 (struct utmp): Likewise.
41735 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41736 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41738 (__WORDSIZE_TIME64_COMPAT32): This.
41739 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41740 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41741 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41742 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41743 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41744 (__WORDSIZE_TIME64_COMPAT32): New macro.
41746 2012-05-21 Andreas Jaeger <aj@suse.de>
41748 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41749 only if [SHARED]. Add prototype for __wcschr_ia32.
41751 2012-05-21 Roland McGrath <roland@hack.frob.com>
41753 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41754 of %rbp unmolested in the jmp_buf while mangling the low bits.
41755 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41756 unmolested high bits of %rbp while demangling the low bits.
41757 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41759 2012-05-21 Andreas Jaeger <aj@suse.de>
41761 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41762 * sunrpc/svc_simple.c: Use it for registerrpc.
41763 * sunrpc/xcrypt.c: Use it for passwd2des.
41765 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41767 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41769 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41770 Don't define if [__SYSCALL_WORDSIZE != 32].
41771 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41774 2012-05-21 Bruno Haible <bruno@clisp.org>
41775 Andreas Jaeger <aj@suse.de>
41777 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41778 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41779 inptr and inend for must_buffer_ch.
41780 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41781 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41782 * stdio-common/Makefile (tests): Remove bug15.
41783 (bug15-ENV): Remove macro.
41784 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41787 2012-05-19 Andreas Jaeger <aj@suse.de>
41788 Roland McGrath <roland@hack.frob.com>
41790 * manual/contrib.texi: Completely rewritten. It contains now an
41791 alphabetical list of contributors and their contributions.
41793 2012-05-21 Richard Henderson <rth@twiddle.net>
41795 * misc/getauxval.c (__getauxval): Use unsigned long int.
41796 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41797 (getauxval): Use unsigned long int.
41799 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41801 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41803 2012-05-21 Roland McGrath <roland@hack.frob.com>
41805 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41806 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41807 __alignof__ (long double).
41809 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41813 2012-05-20 Richard Henderson <rth@twiddle.net>
41815 * misc/getauxval.c: New file.
41816 * misc/sys/auxv.h: New file.
41817 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41818 (routines): Add getauxval.
41819 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41820 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41821 * elf/dl-sysdep.c (_dl_auxv): Remove.
41822 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41823 * elf/dl-support.c (_dl_auxv): New variable.
41824 (_dl_aux_init): Initialize it.
41825 * manual/startup.texi (Auxiliary Vector): New node.
41826 * sysdeps/generic/bits/hwcap.h: New file.
41827 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41828 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41829 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41830 * sysdeps/sparc/sysdep.h: ... here. Include it.
41831 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41832 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41844 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41848 2012-05-19 David S. Miller <davem@davemloft.net>
41850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41852 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41855 * math/s_ccosh.c: Include <float.h>
41856 (__ccosh): Avoid internal overflow calculating sinh and cosh
41857 values before multiplying by sin and cos values.
41858 * math/s_ccoshf.c: Likewise.
41859 * math/s_ccoshl.c: Likewise.
41860 * math/s_csin.c: Likewise.
41861 * math/s_csinf.c: Likewise.
41862 * math/s_csinl.c: Likewise.
41863 * math/s_csinh.c: Likewise.
41864 * math/s_csinhf.c: Likewise.
41865 * math/s_csinhl.c: Likewise.
41866 * math/libm-test.inc (ccos_test): Add more tests.
41867 (ccosh_test): Likewise.
41868 (csin_test): Likewise.
41869 (csinh_test): Likewise.
41870 * sysdeps/i386/fpu/libm-test-ulps: Update.
41871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41873 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41875 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41876 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41878 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41880 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41882 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41883 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41884 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41885 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41886 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41887 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41888 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41889 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41890 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41891 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41892 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41893 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41894 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41895 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41896 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41897 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41898 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41899 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41900 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41901 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41902 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41903 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41904 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41905 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41906 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41907 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41908 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41909 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41910 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41911 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41912 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41914 2012-05-18 Andreas Jaeger <aj@suse.de>
41916 * csu/.gitignore: Delete.
41918 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41920 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41921 (timex): Use __syscall_slong_t.
41923 2012-05-18 Andreas Jaeger <aj@suse.de>
41924 Carlos O'Donell <carlos_odonell@mentor.com>
41926 * manual/install.texi (Configuring and compiling): Update
41927 description about files modified in the source directory.
41928 * INSTALL: Regenerated.
41930 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41932 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41933 value. Use "or" to set return value to -1.
41934 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41935 negate return value.
41937 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41939 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41940 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41941 failure if the compiler has Graphite support disabled.
41942 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41944 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41945 (CFLAGS-memmove.c): Likewise.
41946 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41949 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41951 * sysdeps/x86_64/x32/_itoa.h: New file.
41953 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41954 getdents system call only if kernel and user dirents have the
41955 same d_ino and d_off.
41957 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41958 LLONG_MAX != LONG_MAX.
41959 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41960 (_fitoa_word): Likewise.
41962 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41964 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41965 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41966 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41968 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41969 include <bits/wordsize.h>. Check __x86_64__ instead of
41971 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41972 if __x86_64__ is defined. Use anonymous union on fpstate.
41974 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41977 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41979 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41980 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41981 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41982 Refer to _rtld_local_ro instead of _rtld_global_ro.
41983 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41985 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41987 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41989 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41990 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41991 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41993 * sysdeps/powerpc/powerpc32/dl-machine.c
41994 (__elf_machine_runtime_setup) [PROF]: Don't reference
41997 2012-05-18 Andreas Jaeger <aj@suse.de>
41999 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42000 function only available for GCCs before 3.4 since GCC 3.4
42001 introduced a builtin.
42003 (llrintf): Likewise.
42004 (llrint): Likewise.
42011 (nearbyint): Likewise.
42012 (nearbyintf): Likewise.
42016 (floorf): Likewise.
42018 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42020 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42021 on both fields and cast pointer to __syscall_ulong_t.
42023 * bits/types.h (__fsword_t): New type.
42024 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42025 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42027 (__FSWORD_T_TYPE): Likewise.
42028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42029 (__FSWORD_T_TYPE): Likewise.
42030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42031 (__FSWORD_T_TYPE): Likewise.
42032 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42033 (__FSWORD_T_TYPE): Likewise.
42034 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42035 __SWORD_TYPE with __fsword_t.
42036 (statfs64): Likewise.
42038 2012-05-17 David S. Miller <davem@davemloft.net>
42040 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42042 2012-05-17 Andreas Jaeger <aj@suse.de>
42044 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42047 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42049 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42051 2012-05-17 Andreas Jaeger <aj@suse.de>
42053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42056 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42058 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42060 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42062 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42063 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42065 2012-05-17 Andreas Jaeger <aj@suse.de>
42066 Carlos O'Donell <carlos_odonell@mentor.com>
42069 * sysdeps/x86_64/multiarch/init-arch.h
42070 (bit_YMM_Usable): Rename to...
42071 (bit_AVX_Usable): ... this.
42072 (bit_FMA4_Usable): New macro.
42073 (bit_XMM_state): New macro.
42074 (bit_YMM_state): New macro.
42075 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42076 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42077 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42078 (CPUID_OSXSAVE): New macro.
42079 (CPUID_AVX): New macro.
42080 (CPUID_FMA4): New macro.
42081 (index_YMM_Usable): Rename to...
42082 (index_AVX_Usable): ... this.
42083 (HAS_AVX): Use HAS_ARCH_FEATURE.
42084 (HAS_FMA4): Likewise.
42085 (HAS_YMM_USABLE): Remove.
42086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42087 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42089 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42090 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42091 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42092 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42093 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42095 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42097 * math/libm-test.c: Support platforms without multiple rounding modes.
42098 * math/bug-nextafter.c: Support platforms without FP exceptions.
42099 * math/bug-nexttoward.c: Likewise.
42100 * math/test-fenv.c: Likewise.
42101 * math/test-misc.c: Likewise.
42102 * stdlib/bug-getcontext.c: Likewise.
42104 2012-05-17 Andreas Jaeger <aj@suse.de>
42106 * manual/examples/search.c (critter_cmp): Change signature to
42108 * manual/string.texi (Collation Functions): Likewise.
42110 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42112 * bits/types.h: Fold copyright years.
42113 * bits/typesizes.h: Likewise.
42114 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42118 * time/time.h: Likewise.
42120 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42123 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42124 in instead of returning them. Return void.
42125 (__libc_mallinfo): Accumulate over all arenas.
42126 (__malloc_stats): Adjust for change in int_mallinfo interface.
42128 2012-05-16 Roland McGrath <roland@hack.frob.com>
42131 * configure.in (NM): Add AC_CHECK_TOOL for it.
42132 (libc_extra_cflags): New substituted variable.
42133 Check for -fstack-protector being used implicitly.
42134 * configure: Regenerated.
42135 * config.make.in (config-extra-cflags): New variable,
42136 gets @libc_extra_cflags@.
42137 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42140 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42141 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42142 * configure: Regenerated.
42143 * config.make.in (CPPUNDEFS): New substituted variable.
42144 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42145 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42146 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42148 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42150 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42151 (mq_attr): Use __syscall_slong_t.
42153 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42155 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42156 Check __x86_64__ instead of __WORDSIZE.
42157 (_STAT_VER_LINUX): Likewise.
42158 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42159 __syscall_ulong_t and __syscall_slong_t.
42160 (stat64): Likewise.
42162 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42166 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42168 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42170 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42172 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42175 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42176 include <bits/wordsize.h>. Check __x86_64__ instead of
42178 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42180 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42183 include <bits/wordsize.h>. Check __x86_64__ instead of
42185 (user_regs_struct): Use "__extension__ unsigned long long"
42186 instead of "unsigned long" if __x86_64__ is defined.
42187 (user): Likewise. Pad after pointer field if __ILP32__ is
42190 2012-05-16 Joseph Myers <joseph@codesourcery.com>
42192 * configure.in (makeinfo): Require version 4.5 or later. Allow
42194 * configure: Regenerated.
42195 * manual/install.texi (texinfo): Increase version requirement to
42197 * INSTALL: Regenerated.
42199 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42201 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42203 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42205 * sysdeps/x86_64/x32/ffs.c: New file.
42207 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42209 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42210 defined. Use __syscall_ulong_t.
42211 (shminfo): Use __syscall_ulong_t.
42212 (shm_info): Likewise.
42214 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42217 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42219 (msgqnum_t): Use __syscall_ulong_t.
42220 (msglen_t): Likewise.
42221 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42224 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42225 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42227 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42229 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42230 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42232 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42235 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42236 include <bits/wordsize.h>. Check __x86_64__ instead of
42239 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42240 "unsigned long long int" if __x86_64__ is defined.
42241 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42244 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42245 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42247 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42249 (GET_PC): Cast to uintptr_t first.
42250 (GET_FRAME): Likewise.
42251 (GET_STACK): Likewise.
42253 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42255 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42256 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42257 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42258 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42259 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42260 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42261 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42262 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42263 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42264 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42266 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42267 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42268 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42270 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42271 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42272 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42273 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42274 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42275 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42276 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42277 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42278 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42279 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42280 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42281 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42283 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42285 * Makerules (+depfiles): Also collect depfiles from .oS in
42287 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42288 .oS, $(libnldbl-routines)).
42290 * Makerules (native-compile-mkdep-flags): Define.
42291 * sunrpc/Makefile (extra-objs): Add $(addprefix
42292 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42293 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42294 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42295 calling $(make-target-directory).
42297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42299 * bits/types.h (__snseconds_t): Removed.
42300 * time/time.h (struct timespec): Replace __snseconds_t with
42302 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42303 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42306 (__SNSECONDS_T_TYPE): Likewise.
42307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42308 (__SNSECONDS_T_TYPE): Likewise.
42309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42310 (__SNSECONDS_T_TYPE): Likewise.
42312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42314 * sysdeps/mach/hurd/bits/typesizes.h
42315 (__SYSCALL_SLONG_TYPE): New macro.
42316 (__SYSCALL_ULONG_TYPE): Likewise.
42318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42320 * bits/types.h (__syscall_slong_t): New type.
42321 (__syscall_ulong_t): Likewise.
42323 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42324 (__SYSCALL_ULONG_TYPE): Likewise.
42325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42326 (__SYSCALL_SLONG_TYPE): Likewise.
42327 (__SYSCALL_ULONG_TYPE): Likewise.
42328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42329 (__SYSCALL_SLONG_TYPE): Likewise.
42330 (__SYSCALL_ULONG_TYPE): Likewise.
42331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42332 (__SYSCALL_SLONG_TYPE): Likewise.
42333 (__SYSCALL_ULONG_TYPE): Likewise.
42335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42337 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42338 Add sigaltstack-offsets.sym.
42339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42340 <sigaltstack-offsets.h>.
42341 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42342 longjmp_msg pointer.
42343 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42344 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42346 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42348 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42350 * elf/stackguard-macros.h: Remove file.
42351 * sysdeps/generic/stackguard-macros.h: New file.
42352 * sysdeps/i386/stackguard-macros.h: Likewise.
42353 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42354 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42355 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42356 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42357 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42358 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42359 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42360 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42361 <elf/stackguard-macros.h>.
42364 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42365 __aligned__ in attribute.
42366 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42367 (gregset_t): Likewise.
42369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42371 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42372 * sysdeps/x86_64/64/Implies-after: Here. New file.
42373 * sysdeps/x86_64/x32/Implies-after: New file.
42375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42377 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42378 and access return value for _dl_profile_fixup. Use R10_LP to
42381 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42383 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42387 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42388 * sysdeps/x86_64/x32/sysdep.h: New file.
42390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42392 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42393 * sysdeps/x86_64/setjmp.S: Likewise.
42395 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42397 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42398 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42399 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42400 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42401 remove unused global constant.
42403 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42405 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42406 include of <not-cancel.h>.
42408 2012-05-15 Roland McGrath <roland@hack.frob.com>
42410 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42412 2012-05-15 Jeff Law <law@redhat.com>
42413 Andreas Jaeger <aj@suse.de>
42416 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42418 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42419 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42420 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42421 code changing __hst_map_handle.map.
42423 2012-05-15 Roland McGrath <roland@hack.frob.com>
42425 * configure.in (sysnames): Look for Implies-before and Implies-after
42427 * configure: Regenerated.
42429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42432 8-byte data alignment with LP_SIZE alignment.
42434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42436 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42441 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42445 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42446 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42447 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42449 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42453 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42454 (stackinfo_sub_sp): Likewise.
42456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42458 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42461 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42463 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42468 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42473 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42477 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42478 into R11_LP and load __x86_64_shared_cache_size_half into
42481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42483 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42486 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42494 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42495 powerpc32/power7/fpu/s_logb.c via #include.
42496 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42497 powerpc32/power7/fpu/s_logbf.c via #include.
42498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42499 powerpc32/power7/fpu/s_logbl.c via #include.
42501 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42503 * README.libm: Remove file.
42505 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42507 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42508 count for x32. Use R*_LP and omit operand-size suffix.
42510 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42512 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42513 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42514 * sysdeps/x86_64/x32/shlib-versions: New file.
42516 2012-05-14 Roland McGrath <roland@hack.frob.com>
42518 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42519 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42520 Use _dl_fatal_printf instead.
42522 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42524 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42525 set if not set by the user. Do not allow for being unset.
42526 * sysdeps/unix/sysv/linux/configure: Regenerated.
42528 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42530 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42531 the `q' suffix from lea and replace .quad with ASM_ADDR.
42533 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42536 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42538 (PTR_DEMANGLE): Likewise.
42540 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42542 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42544 (ASM_ADDR): Likewise.
42545 (RAX_LP): Likewise.
42546 (RBP_LP): Likewise.
42547 (RBX_LP): Likewise.
42548 (RCX_LP): Likewise.
42549 (RDI_LP): Likewise.
42550 (RSI_LP): Likewise.
42551 (RSP_LP): Likewise.
42554 (R10_LP): Likewise.
42555 (R10_LP): Likewise.
42556 (R11_LP): Likewise.
42557 (R12_LP): Likewise.
42558 (R13_LP): Likewise.
42559 (R14_LP): Likewise.
42560 (R15_LP): Likewise.
42562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42564 * sysdeps/x86_64/x32/dl-machine.h: New file.
42566 2012-05-14 Andreas Jaeger <aj@suse.de>
42568 * manual/Makefile (subdir): Remove export of subdir.
42569 (all): Remove target.
42570 (.PHONY): Remove all from list.
42571 (mkinstalldirs): Remove.
42572 (.PHONY): Remove installdirs from list.
42573 ($(inst_infodir)/libc.info): Use make-target-directory.
42574 (installdirs): Remove.
42575 (subdir_%): Remove.
42576 (glibc-targets): Remove.
42579 ($(objpfx)stubs ../po/manual.pot): Remove.
42580 ($(objpfx)stamp%): Remove.
42581 (make-target-directory): Remove.
42582 (subdir_install): Remove.
42583 (routines): Remove.
42590 * manual/.gitignore: Remove, it's not needed anymore.
42591 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42593 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42595 (texis): Renamed to $(objpfx)texis.
42596 (texis-path): New, contains path to generated files.
42597 (chapters.%): Use texis-path for complete path, add extra argument
42599 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42600 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42601 (summary,texi, stamp-summary): Use complete path of
42602 files. Generate files in build dir.
42603 (dir-add.texi): Build in build dir.
42604 (libm-err.texi,stamp-libm-err): Likewise.
42605 (version.texi, stamp-version): Likewise.
42606 (.%c.texi): Likewise.
42607 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42608 (mostlyclean): Remove target.
42609 (realclean): Remove target.
42610 (generated): Add new variable with contents from mostlyclean and
42611 realclean, remove entries duplicated in common-mostlyclean, add
42612 stamp-libm-err and stamp-version.
42613 (generated-dirs): Add libc directory.
42614 ($(inst_infodir)/libc.info): Install files from build dir.
42616 * manual/install.texi (Configuring and compiling): Adjust since
42617 the info files are not part of the tar ball anymore.
42619 2012-05-14 Andreas Jaeger <aj@suse.de>
42621 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42624 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42628 to 2.2.0 where earlier.
42629 * sysdeps/unix/sysv/linux/configure: Regenerated.
42630 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42631 Remove conditional code.
42632 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42633 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42634 Remove conditional code.
42635 [!__NR_lchown]: Likewise.
42636 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42637 [__NR_lchown]: Likewise.
42638 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42639 comment referencing __ASSUME_LCHOWN_SYSCALL.
42640 * sysdeps/unix/sysv/linux/i386/sigaction.c
42641 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42642 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42643 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42644 Remove conditional code.
42645 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42646 (__protocol_available): Remove #if 0 code.
42647 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42649 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42650 * sysdeps/unix/sysv/linux/kernel-features.h
42651 (__ASSUME_GETCWD_SYSCALL): Don't define.
42652 (__ASSUME_REALTIME_SIGNALS): Likewise.
42653 (__ASSUME_PREAD_SYSCALL): Likewise.
42654 (__ASSUME_PWRITE_SYSCALL): Likewise.
42655 (__ASSUME_POLL_SYSCALL): Likewise.
42656 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42657 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42659 (__ASSUME_SIOCGIFNAME): Don't define.
42660 (__ASSUME_MSG_NOSIGNAL): Likewise.
42661 (__ASSUME_SENDFILE): Define unconditionally.
42662 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42663 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42665 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42666 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42667 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42668 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42669 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42670 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42671 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42676 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42682 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42696 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42697 Remove conditional code.
42698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42699 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42700 Remove conditional code.
42701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42702 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42703 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42704 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42705 Remove conditional code.
42706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42707 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42708 Remove conditional code.
42709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42710 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42711 Remove conditional code.
42712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42713 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42714 Remove conditional code.
42715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42716 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42717 Remove conditional code.
42718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42719 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42722 * sysdeps/unix/sysv/linux/sigaction.c
42723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42725 * sysdeps/unix/sysv/linux/sigpending.c
42726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42728 * sysdeps/unix/sysv/linux/sigprocmask.c
42729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42731 * sysdeps/unix/sysv/linux/sigsuspend.c
42732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42735 (__libc_missing_rt_sigs): Remove.
42736 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42737 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42738 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42739 Remove conditional code.
42740 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42741 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42743 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42744 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42745 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42746 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42748 2012-05-14 Andreas Jaeger <aj@suse.de>
42750 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42751 it's not used in glibc.
42752 (__coshm1): Likewise.
42753 (__acosh1p): Likewise.
42756 * manual/string.texi (Copying and Concatenation): Add missing
42757 variable in concat example.
42758 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42760 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42764 __builtin_clzl with __builtin_clzll.
42766 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42769 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42772 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42774 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42775 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42776 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42777 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42779 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42781 * NEWS: Update ia64 info.
42783 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42785 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42788 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42790 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42791 * sysdeps/unix/syscalls.list (dup3): Likewise.
42792 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42793 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42795 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42797 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42798 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42800 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42802 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42804 (TLS_IE): Use mov/add instead of movq/addq to load thread
42806 (TLS_GD_PREFIX): New.
42809 2012-05-11 David S. Miller <davem@davemloft.net>
42811 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42812 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42813 (_FPU_SETCW): Likewise.
42815 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42817 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42818 is 32-byte aligned.
42820 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42823 * iconvdata/gb18030.c: Update tables.
42824 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42825 characters specially.
42826 (BODY for TO_LOOP): Add encoding of missing ranges.
42828 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42831 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42832 * sysdeps/mach/hurd/dup3.c: Likewise.
42833 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42834 * sysdeps/powerpc/memmove.c:: Likewise.
42836 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42839 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42841 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42843 * elf/elf.h (R_X86_64_RELATIVE64): New.
42844 (R_X86_64_NUM): Updated.
42845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42846 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42847 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42848 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42849 tst-quad1pie tst-quad2pie
42850 (modules-names): Add tst-quadmod1 tst-quadmod2.
42851 ($(objpfx)tst-quad1): New dependency.
42852 ($(objpfx)tst-quad2): Likewise.
42853 ($(objpfx)tst-quad1pie): Likewise.
42854 ($(objpfx)tst-quad2pie): Likewise.
42855 * sysdeps/x86_64/tst-quad1.c: New file.
42856 * sysdeps/x86_64/tst-quad1pie.c: New file.
42857 * sysdeps/x86_64/tst-quad2.c: Likewise.
42858 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42859 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42860 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42861 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42862 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42864 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42866 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42867 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42868 * streams/stropts.h (t_scalar_t): Define type.
42870 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42871 (_PATH_PRESERVE): Set to "/var/lib".
42872 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42874 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42877 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42878 if __dir_mkfile succeeded.
42880 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42881 checking for _hurd_dtablesize. Unlock it right after having
42882 finished _hurd_dtable allocation.
42884 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42886 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42887 * sysdeps/mach/hurd/configure: Regenerated.
42888 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42889 special-casing to...
42890 * sysdeps/gnu/configure.in: ... this new file.
42891 * sysdeps/unix/sysv/linux/configure: Regenerated.
42892 * sysdeps/gnu/configure: New generated file.
42894 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42895 for Linux: use nsec instead of usec, as well as:
42896 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42897 members of type struct timespec.
42898 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42900 (struct stat64): Likewise.
42901 (_STATBUF_ST_NSEC): New macro.
42902 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42904 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42905 __strtoul_internal rather than strtoul.
42907 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42909 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42912 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42914 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42915 which preserves existing values.
42916 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42918 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42920 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42921 TIMEOUT values. Return EINVAL for NFDS values either negative or
42922 greater than FD_SETSIZE.
42924 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42926 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42927 allocated, call __vm_protect to finish enabling the existing space, and
42928 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42929 allocate the remainder.
42931 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42933 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42934 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42938 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42939 sysdeps/mach/hurd/readlink.c.
42941 * posix/tst-sysconf.c (posix_options): Only use
42942 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42943 _POSIX_SYNCHRONIZED_IO when they are defined
42944 * sysdeps/mach/hurd/bits/posix_opt.h:
42945 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42946 (_XOPEN_REALTIME): Undefine macro.
42947 (_XOPEN_REALTIME_THREADS): Undefine macro.
42948 (_XOPEN_SHM): Undefine macro.
42949 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42951 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42953 (_POSIX_ASYNC_IO): Undefine macro.
42954 (_POSIX_PRIORITIZED_IO): Undefine macro.
42955 (_POSIX_SPIN_LOCKS): Define macro to -1.
42957 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42958 SA_NODEFER, SA_RESETHAND.
42959 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42960 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42963 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42965 * elf/Makefile (pldd-modules): Define unconditionally.
42967 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42969 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42971 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42973 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42974 Return ENOENT when name is empty.
42975 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42977 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42979 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42981 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42983 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42985 Fix mlock in all cases except non-readable pages.
42986 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42987 instead of VM_PROT_ALL as parameter to __vm_wire function.
42989 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42990 (__mkdir): When path is `/', just fail with EEXIST.
42991 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42993 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42995 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42996 <sys/uio.h> (for writev).
42997 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42998 and <sys/param.h> (for MIN).
43000 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43002 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43003 REQUESTED_TIME. Properly set the remaining time and return EINTR
43006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43008 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43009 Depend on against $(link-rpcuserlibs).
43011 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43013 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43014 (__libc_stack_end): Do not use attribute_relro.
43015 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43016 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43017 to libthread-provided value.
43018 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43021 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43024 * bits/libc-lock.h (__libc_once_get): New macro.
43025 * sysdeps/mach/bits/libc-lock.h: Likewise.
43026 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43028 instead of using implementation details.
43030 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43031 * libio/freopen.c: Likewise.
43032 * libio/freopen64.c: Likewise.
43033 * misc/syslog.c: Likewise.
43034 * nscd/connections.c: Likewise.
43035 * nscd/netgroupcache.c: Likewise.
43036 * sysdeps/posix/getcwd.c: Likewise.
43038 2012-05-10 Roland McGrath <roland@hack.frob.com>
43040 * math/w_ilogbf.c: Add #include <limits.h>.
43042 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43044 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43045 path instead of returning without unlocking.
43047 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43048 immediate-write ioctls.
43049 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43051 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43053 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43054 __builtin_frame_address instead of making assumptions about the
43055 location of the return address relative to DATA. Force early load of
43056 the return address.
43057 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43058 __builtin_frame_address.
43061 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43062 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43063 implement dup3 and do some further code clean-ups.
43064 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43065 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43067 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43069 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43071 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43072 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43073 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43074 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43075 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43078 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43079 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43080 when handler == SIG_ERR, not when handler != SIG_ERR.
43082 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43084 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43085 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43088 accept4 for GNU Hurd.
43089 * include/sys/socket.h (__libc_accept4): New prototype.
43090 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43091 to implement __libc_accept4.
43092 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43094 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43096 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43097 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43098 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43099 signal-defines.sym.
43101 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43103 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43105 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43107 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43108 assertion on O_CLOEXEC flag.
43109 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43110 * hurd/intern-fd.c: Likewise.
43111 * hurd/port2fd.c: Likewise.
43113 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43116 * bits/in.h (IPV6_PKTINFO): Define new macro.
43117 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43119 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43124 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43126 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43127 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43129 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43130 * math/libm-test.inc (logb_test) : Additional logb tests.
43132 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43133 Andreas Jaeger <aj@suse.de>
43135 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43136 * configure: Regenerated.
43137 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43138 * config.make.in (link-obsolete-rpc): New substituted variable.
43139 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43140 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43141 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43142 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43143 so that libc.a contains the symbols.
43144 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43145 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43146 * sunrpc/auth_none.c: Likewise.
43147 * sunrpc/auth_unix.c: Likewise.
43148 * sunrpc/authdes_prot.c: Likewise.
43149 * sunrpc/authuxprot.c: Likewise.
43150 * sunrpc/clnt_gen.c: Likewise.
43151 * sunrpc/clnt_perr.c: Likewise.
43152 * sunrpc/clnt_raw.c: Likewise.
43153 * sunrpc/clnt_simp.c: Likewise.
43154 * sunrpc/clnt_tcp.c: Likewise.
43155 * sunrpc/clnt_udp.c: Likewise.
43156 * sunrpc/clnt_unix.c: Likewise.
43157 * sunrpc/des_crypt.c: Likewise.
43158 * sunrpc/des_soft.c: Likewise.
43159 * sunrpc/get_myaddr.c: Likewise.
43160 * sunrpc/key_call.c: Likewise.
43161 * sunrpc/key_prot.c: Likewise.
43162 * sunrpc/netname.c: Likewise.
43163 * sunrpc/pm_getmaps.c: Likewise.
43164 * sunrpc/pm_getport.c: Likewise.
43165 * sunrpc/pmap_clnt.c: Likewise.
43166 * sunrpc/pmap_prot.c: Likewise.
43167 * sunrpc/pmap_prot2.c: Likewise.
43168 * sunrpc/pmap_rmt.c: Likewise.
43169 * sunrpc/publickey.c: Likewise.
43170 * sunrpc/rpc_cmsg.c: Likewise.
43171 * sunrpc/rpc_common.c: Likewise.
43172 * sunrpc/rpc_dtable.c: Likewise.
43173 * sunrpc/rpc_prot.c: Likewise.
43174 * sunrpc/rpc_thread.c: Likewise.
43175 * sunrpc/rtime.c: Likewise.
43176 * sunrpc/svc.c: Likewise.
43177 * sunrpc/svc_auth.c: Likewise.
43178 * sunrpc/svc_raw.c: Likewise.
43179 * sunrpc/svc_run.c: Likewise.
43180 * sunrpc/svc_tcp.c: Likewise.
43181 * sunrpc/svc_udp.c: Likewise.
43182 * sunrpc/svc_unix.c: Likewise.
43183 * sunrpc/svcauth_des.c: Likewise.
43184 * sunrpc/xcrypt.c: Likewise.
43185 * sunrpc/xdr.c: Likewise.
43186 * sunrpc/xdr_array.c: Likewise.
43187 * sunrpc/xdr_float.c: Likewise.
43188 * sunrpc/xdr_intXX_t.c: Likewise.
43189 * sunrpc/xdr_mem.c: Likewise.
43190 * sunrpc/xdr_rec.c: Likewise.
43191 * sunrpc/xdr_ref.c: Likewise.
43192 * sunrpc/xdr_sizeof.c: Likewise.
43193 * sunrpc/xdr_stdio.c: Likewise.
43195 2012-05-10 Roland McGrath <roland@hack.frob.com>
43197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43198 change. Update copyright years.
43200 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43202 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43204 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43205 Joseph Myers <joseph@codesourcery.com>
43206 Paul Pluzhnikov <ppluzhnikov@google.com>
43209 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43211 [cross-compiling] (extra-libs): Likewise.
43212 [cross-compiling] (extra-libs-others): Likewise.
43213 [cross-compiling] (librpcsvc-routines): Likewise.
43214 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43215 [cross-compiling] (omit-deps): Likewise.
43216 (sunrpc-CPPFLAGS): New variable.
43217 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43218 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43219 (cross-rpcgen-objs): New variable.
43220 (extra-objs): Append $(cross-rpcgen-objs).
43221 ($(cross-rpcgen-objs)): New rule.
43222 ($(objpfx)cross-rpcgen): Likewise.
43223 (rpcgen-cmd): Define to use $(built-program-file). Expand
43225 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43226 ($(objpfx)x%.stmp): Likewise.
43227 * sunrpc/proto.h [IS_IN_build] (_): Define.
43228 [IS_IN_build] (_libc_intl_domainname): Likewise.
43230 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43233 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43234 and R_X86_64_TPOFF64.
43236 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43238 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43239 sysdeps/unix/sysv/syscalls.list.
43242 * sysdeps/unix/sysv/syscalls.list: Remove file.
43244 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43247 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43248 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43249 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43250 (__LC_IDENTIFICATION): Make these macros useful in #if
43251 expressions, as required by C99.
43253 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43255 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43256 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43259 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43261 * stdlib/longlong.h: Updated from GCC.
43263 2012-05-09 Andreas Jaeger <aj@suse.de>
43265 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43266 default is first entry.
43267 (run_mode): Set type.
43268 (main): Remove informal message about syslog.
43269 (options): Fix typo.
43272 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43275 (llrintf): Likewise.
43276 (llrint): Likewise.
43279 (nearbyint): Likewise.
43280 (nearbyintf): Likewise.
43282 2012-05-09 Andreas Jaeger <aj@suse.de>
43283 Pedro Alves <palves@redhat.com>
43285 * nscd/nscd.c (run_mode): Use enum.
43286 (main): Cleanup coding style issue.
43288 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
43289 Andreas Jaeger <aj@suse.de>
43291 * nscd/nscd.c (go_background): Replaced with...
43292 (run_mode): ... this.
43293 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43294 (options): Add -F --foreground.
43295 (main): Implement it.
43296 (parse_opt): Parse it.
43298 2012-05-09 Andreas Jaeger <aj@suse.de>
43301 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43302 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43303 -Wconversion warning.
43304 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43307 2012-05-09 Joseph Myers <joseph@codesourcery.com>
43309 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43311 (LC_ALL): Use macro-int-constant.
43312 (LC_COLLATE): Likewise.
43313 (LC_CTYPE): Likewise.
43314 (LC_MESSAGES): Likewise.
43315 (LC_MONETARY): Likewise.
43316 (LC_NUMERIC): Likewise.
43317 (LC_TIME): Likewise.
43318 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43319 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43321 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43323 [C99-based standards] (float_t): Expect type.
43324 [C99-based standards] (double_t): Expect type.
43325 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43327 [C99-based standards] (HUGE_VALL): Likewise.
43328 [C99-based standards] (INFINITY): Likewise.
43329 [C99-based standards] (NAN): Likewise.
43330 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43331 [C99-based standards] (FP_NAN): Likewise.
43332 [C99-based standards] (FP_NORMAL): Likewise.
43333 [C99-based standards] (FP_SUBNORMAL): Likewise.
43334 [C99-based standards] (FP_ZERO): Likewise.
43335 [C99-based standards] (FP_FAST_FMA): Use
43336 optional-macro-int-constant. Specify type. Require == 1.
43337 [C99-based standards] (FP_FAST_FMAF): Likewise.
43338 [C99-based standards] (FP_FAST_FMAL): Likewise.
43339 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43340 [C99-based standards] (FP_ILOGBNAN): Likewise.
43341 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43343 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43344 [C99-based standards] (math_errhandling): Specify type.
43345 [ISO99 || ISO11] (signgam): Do not allow.
43346 [non-C99-based standards] (copysignf): Do not allow.
43347 [non-C99-based standards] (exp2f): Likewise.
43348 [non-C99-based standards] (log2f): Likewise.
43349 [non-C99-based standards] (modff): Allow.
43350 [non-C99-based standards] (erff): Do not allow.
43351 [non-C99-based standards] (erfcf): Likewise.
43352 [non-C99-based standards] (gammaf): Likewise.
43353 [non-C99-based standards] (hypotf): Likewise.
43354 [non-C99-based standards] (j0f): Likewise.
43355 [non-C99-based standards] (j1f): Likewise.
43356 [non-C99-based standards] (jnf): Likewise.
43357 [non-C99-based standards] (lgammaf): Likewise.
43358 [non-C99-based standards] (tgammaf): Likewise.
43359 [non-C99-based standards] (y0f): Likewise.
43360 [non-C99-based standards] (y1f): Likewise.
43361 [non-C99-based standards] (ynf): Likewise.
43362 [non-C99-based standards] (isnanf): Likewise.
43363 [non-C99-based standards] (acoshf): Likewise.
43364 [non-C99-based standards] (asinhf): Likewise.
43365 [non-C99-based standards] (atanhf): Likewise.
43366 [non-C99-based standards] (cbrtf): Likewise.
43367 [non-C99-based standards] (expm1f): Likewise.
43368 [non-C99-based standards] (ilogbf): Likewise.
43369 [non-C99-based standards] (log1pf): Likewise.
43370 [non-C99-based standards] (logbf): Likewise.
43371 [non-C99-based standards] (nextafterf): Likewise.
43372 [non-C99-based standards] (remainderf): Likewise.
43373 [non-C99-based standards] (rintf): Likewise.
43374 [non-C99-based standards] (scalbf): Likewise.
43375 [non-C99-based standards] (copysignl): Likewise.
43376 [non-C99-based standards] (exp2l): Likewise.
43377 [non-C99-based standards] (log2l): Likewise.
43378 [non-C99-based standards] (modfl): Allow.
43379 [non-C99-based standards] (erfl): Do not allow.
43380 [non-C99-based standards] (erfcl): Likewise.
43381 [non-C99-based standards] (gammal): Likewise.
43382 [non-C99-based standards] (hypotl): Likewise.
43383 [non-C99-based standards] (j0l): Likewise.
43384 [non-C99-based standards] (j1l): Likewise.
43385 [non-C99-based standards] (jnl): Likewise.
43386 [non-C99-based standards] (lgammal): Likewise.
43387 [non-C99-based standards] (tgammal): Likewise.
43388 [non-C99-based standards] (y0l): Likewise.
43389 [non-C99-based standards] (y1l): Likewise.
43390 [non-C99-based standards] (ynl): Likewise.
43391 [non-C99-based standards] (isnanl): Likewise.
43392 [non-C99-based standards] (acoshl): Likewise.
43393 [non-C99-based standards] (asinhl): Likewise.
43394 [non-C99-based standards] (atanhl): Likewise.
43395 [non-C99-based standards] (cbrtl): Likewise.
43396 [non-C99-based standards] (expm1l): Likewise.
43397 [non-C99-based standards] (ilogbl): Likewise.
43398 [non-C99-based standards] (log1pl): Likewise.
43399 [non-C99-based standards] (logbl): Likewise.
43400 [non-C99-based standards] (nextafterl): Likewise.
43401 [non-C99-based standards] (remainderl): Likewise.
43402 [non-C99-based standards] (rintl): Likewise.
43403 [non-C99-based standards] (scalbl): Likewise.
43404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43405 [non-C99-based standards] (FP_*): Do not allow.
43406 [C99-based standards] (FP_*): Change to
43407 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43408 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43410 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43411 (SIG_ERR): Likewise.
43412 [X/Open-based standards] (SIG_HOLD): Likewise.
43413 (SIG_IGN): Likewise.
43414 (SIGABRT): Use macro-int-constant. Specify type. Require
43416 (SIGFPE): Likewise.
43417 (SIGILL): Likewise.
43418 (SIGINT): Likewise.
43419 (SIGSEGV): Likewise.
43420 (SIGTER): Likewise.
43421 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43422 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43423 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43424 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43425 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43426 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43427 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43428 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43429 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43430 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43431 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43432 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43433 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43434 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43435 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43436 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43437 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43438 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43439 [X/Open-based standards] (SIGTRAP): Likewise.
43440 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43441 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43442 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43443 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43444 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43447 2012-05-08 Ian Wienand <ianw@vmware.com>
43450 * time/tzset.c (__tzset_parse_tz): Update default rules for
43451 daylight time changes in the Energy Policy Act of 2005.
43453 2012-05-09 Andreas Jaeger <aj@suse.de>
43456 * elf/ldconfig.c (parse_conf): Change string to make clear that
43457 ldconfig only issued a warning if ld.so.conf does not exist.
43459 2012-05-08 David S. Miller <davem@davemloft.net>
43461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43462 movxtod instead of popping the value on the stack.
43464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43466 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43468 * config.h.in: Add HAVE_ARM_PCS_VFP.
43470 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
43473 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43474 checking but the checks are disabled for any reason.
43476 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43478 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43479 and ELF64_R_TYPE with ELFW(R_TYPE).
43481 2012-05-08 Joseph Myers <joseph@codesourcery.com>
43483 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43484 (ulimit): Likewise.
43486 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43487 (settimeofday): Likewise.
43489 2012-05-08 Mike Frysinger <vapier@gentoo.org>
43491 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43492 a struct th_u2 inside the union, and move tu_block/tu_code into
43493 a new th_u3 union of tu_block/tu_code inside of that. Move
43494 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43495 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43496 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43497 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43498 (th_stuff): Change to th_u1.tu_stuff.
43500 (th_msg): Change to th_u1.th_u2.tu_data.
43502 2012-05-07 David S. Miller <davem@davemloft.net>
43504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43507 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43508 (SETUP_PIC_REG): Use it.
43509 (SETUP_PIC_REG_LEAF): Use it.
43511 2012-05-07 Joseph Myers <joseph@codesourcery.com>
43515 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43517 (EXPL_FINITE): Likewise.
43518 (FLDLOG): Likewise.
43519 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43520 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43522 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43524 (EXPL_FINITE): Likewise.
43525 (FLDLOG): Likewise.
43526 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43527 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43529 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43530 test of -max_value argument for long double.
43531 * sysdeps/i386/fpu/libm-test-ulps: Update.
43532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43534 2012-05-06 David S. Miller <davem@davemloft.net>
43536 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43537 quad soft-float symbols whose references which are compiler
43539 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43541 2012-05-06 Joseph Myers <joseph@codesourcery.com>
43545 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43547 (EXPL_FINITE): Likewise.
43548 (FLDLOG): Likewise.
43551 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43552 Adjust comments for base varying.
43553 (__expl_finite): Change alias to EXPL_FINITE.
43554 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43556 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43557 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43558 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43559 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43560 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43562 (EXPL_FINITE): Likewise.
43563 (FLDLOG): Likewise.
43566 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43567 Adjust comments for base varying.
43568 (__expl_finite): Change alias to EXPL_FINITE.
43569 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43574 * math/libm-test.inc (check_float_internal): Correct ulp
43575 calculation for subnormal expected results.
43577 2012-05-06 Andreas Jaeger <aj@suse.de>
43579 * Makeconfig (+math-flags): New, set to -frounding-math.
43580 (+cflags): Add +math-flags so that all of glibc gets compiled with
43583 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43585 2012-05-05 Joseph Myers <joseph@codesourcery.com>
43587 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43593 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43594 (__ieee754_expl): Allow for and saturate large arguments.
43595 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43596 (u_threshold): Likewise.
43597 (__exp): Call __ieee754_exp before checking for overflow and
43599 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43600 (u_threshold): Likewise.
43601 (__expf): Call __ieee754_expf before checking for overflow and
43603 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43604 (u_threshold): Likewise.
43605 (__expl): Call __ieee754_expl before checking for overflow and
43607 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43608 (__ieee754_expl): Allow for and saturate large arguments.
43609 * math/libm-test.inc (exp_test): Add another test. Do not allow
43610 missing overflow exception on overflow.
43611 (expm1_test): Do not allow missing overflow exception on overflow.
43613 * sysdeps/i386/fpu/e_expl.c: Move to ...
43614 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43615 rather than using inline asm.
43616 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43617 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43618 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43620 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43623 (signal): Likewise.
43627 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43629 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43630 sysdeps/unix/common/syscalls.list.
43631 (fchmod): Likewise.
43632 (fchown): Likewise.
43633 (ftruncate): Likewise.
43634 (getrusage): Likewise.
43635 (gettimeofday): Likewise.
43636 (setpgid): Likewise.
43637 (setregid): Likewise.
43638 (setreuid): Likewise.
43639 (sigaction): Likewise.
43640 (truncate): Likewise.
43641 (vhangup): Likewise.
43642 * sysdeps/unix/common/syscalls.list: Remove file.
43643 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43644 * sysdeps/unix/sysv/linux/Implies: Likewise.
43646 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43648 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43650 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43654 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43657 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43660 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43663 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43666 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43669 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43672 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43676 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43680 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43683 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43687 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43691 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43693 * sysdeps/unix/common/bits/dirent.h: Remove file.
43694 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43696 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43697 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43698 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43699 * sysdeps/unix/bsd/isatty.c: Likewise.
43700 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43701 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43702 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43704 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43707 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43708 long double comparison inaccuracies.
43709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43712 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43714 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43717 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43720 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43721 nonzero digits before rounding a hex value.
43722 * stdlib/tst-strtod.c (tests): Add another test.
43724 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43726 * sysdeps/s390/fpu/libm-test-ulps: Update.
43728 2012-05-03 Andreas Jaeger <aj@suse.de>
43730 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43731 does not get optimized out.
43732 (malloc_opt_barrier): New.
43734 2012-05-03 Andreas Jaeger <aj@suse.de>
43735 Roland McGrath <roland@hack.frob.com>
43737 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43738 intermediate file deletion.
43739 (generated): Add .symlist files.
43741 2012-05-03 Joseph Myers <joseph@codesourcery.com>
43744 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43745 Redirect under this condition.
43746 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43747 [__USE_GNU] (__dprintf_chk): Not under this condition.
43748 [__USE_GNU] (__vdprintf_chk): Likewise.
43749 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43750 under this condition.
43751 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43752 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43753 [__USE_XOPEN2K8] (vdprintf): Likewise.
43754 [__USE_GNU] (__dprintf_chk): Not under this condition.
43755 [__USE_GNU] (__vdprintf_chk): Likewise.
43756 [__USE_GNU] (dprintf): Likewise.
43757 [__USE_GNU] (vdprintf): Likewise.
43759 2012-05-03 Roland McGrath <roland@hack.frob.com>
43761 * elf/Makefile (common-generated): Set this instead of generated for
43762 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43763 $(all-built-dso)-derived lists.
43765 2012-05-03 Andreas Jaeger <aj@suse.de>
43767 * sysdeps/i386/fpu/libm-test-ulps: Update.
43770 * FAQ.in: Likewise.
43771 * scripts/gen-FAQ.pl: Likewise.
43772 * manual/install.texi (Installation): Point to online location of
43774 * Makefile (files-for-dist): Remove FAQ.
43777 2012-05-02 Allan McRae <allan@archlinux.org>
43779 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43780 (LDFLAGS-reldepmod5.so): Likewise.
43781 (LDFLAGS-reldep6mod1.so): Likewise.
43782 (LDFLAGS-reldep6mod4.so): Likewise.
43783 (LDFLAGS-reldep8mod3.so): Likewise.
43784 (LDFLAGS-unload4mod1.so): Likewise.
43785 (LDFLAGS-unload4mod2.so): Likewise.
43786 (LDFLAGS-tst-initorder): Likewise.
43787 (LDFLAGS-tst-initordera2.so): Likewise.
43788 (LDFLAGS-tst-initordera3.so): Likewise.
43789 (LDFLAGS-tst-initordera4.so): Likewise.
43790 (LDFLAGS-tst-initorderb2.so): Likewise.
43791 (LDFLAGS-noload): Likewise.
43792 (LDFLAGS-next): Likewise.
43793 (LDFLAGS-order2mod1.so): Likewise.
43794 (LDFLAGS-order2mod2.so): Likewise.
43795 (LDFLAGS-tst-initorder2): Likewise.
43796 (LDFLAGS-tst-initorder2a.so): Likewise.
43797 (LDFLAGS-tst-initorder2b.so): Likewise.
43798 (LDFLAGS-tst-initorder2c.so): Likewise.
43799 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43801 2012-05-02 David S. Miller <davem@davemloft.net>
43803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43805 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43808 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43810 2012-05-02 Andreas Jaeger <aj@suse.de>
43812 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43813 since we manipulate rounding mode.
43814 (CPPFLAGS-test-idouble.c): Likewise.
43815 (CPPFLAGS-test-ifloat.c): Likewise.
43816 (CFLAGS-test-ldouble.c): Likewise.
43817 (CFLAGS-test-double.c): Likewise.
43818 (CFLAGS-test-float.c): Likewise.
43819 (CFLAGS-test-misc.c): Likewise.
43820 (CFLAGS-test-test-fenv.c): Likewise.
43822 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43826 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43827 comparisons to determine direction to adjust input.
43829 2012-05-01 Roland McGrath <roland@hack.frob.com>
43831 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43832 output to the target.
43834 * scripts/localplt.awk: New file.
43835 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43836 (check-localplt-CFLAGS): Variable removed.
43837 ($(all-built-dso:=.jmprel)): New static pattern rule.
43838 (generated): Add those targets.
43839 (localplt-built-dso): New variable.
43840 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43842 * elf/check-localplt.c: File removed.
43844 * scripts/check-execstack.awk: New file.
43845 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43846 (check-execstack-CFLAGS): Variable removed.
43847 ($(objpfx)check-execstack.h): Target removed.
43848 ($(objpfx)execstack-default): New target.
43849 (generated): Add that instead of check-execstack.h.
43850 ($(all-built-dso:=.phdr)): New static pattern rule.
43851 (generated): Add those targets.
43852 * elf/check-execstack.c: File removed.
43854 * scripts/check-textrel.awk: New file.
43855 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43856 (check-textrel-CFLAGS): Variable removed.
43857 (all-built-dso): Use := to define.o
43858 ($(all-built-dso:=.dyn)): New static pattern rule.
43859 (generated): Add those targets.
43860 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43861 * config.make.in (READELF): New substituted variable.
43862 * elf/check-textrel.c: File removed.
43864 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43866 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43868 * conform/data/ctype.h-data [C99-based standards] (isblank):
43870 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43871 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43873 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43874 Specify type. Require positive value.
43875 (EILSEQ): Likewise.
43876 (ERANGE): Likewise.
43877 [ISO || POSIX] (EILSEQ): Do not expect.
43878 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43879 Specify type. Require positive value.
43880 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43881 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43882 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43883 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43884 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43885 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43886 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43887 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43888 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43889 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43890 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43891 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43892 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43893 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43894 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43895 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43896 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43897 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43898 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43899 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43900 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43901 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43902 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43903 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43904 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43905 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43906 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43907 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43908 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43909 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43910 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43911 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43912 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43913 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43914 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43915 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43916 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43917 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43918 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43919 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43920 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43921 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43922 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43923 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43924 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43925 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43926 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43927 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43928 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43929 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43930 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43931 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43932 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43933 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43934 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43935 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43936 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43937 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43938 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43939 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43940 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43941 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43942 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43943 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43944 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43945 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43946 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43947 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43948 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43949 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43950 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43951 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43952 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43953 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43954 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43955 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43956 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43958 (FLT_ROUNDS): Expect as macro, not constant.
43959 (FLT_MANT_DIG): Use macro-int-constant.
43960 (DBL_MANT_DIG): Likewise.
43961 (LDBL_MANT_DIG): Likewise.
43962 (FLT_DIG): Likewise.
43963 (DBL_DIG): Likewise.
43964 (LDBL_DIG): Likewise.
43965 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43966 (DBL_MIN_EXP): Likewise.
43967 (LDBL_MIN_EXP): Likewise.
43968 (FLT_MAX_EXP): Use macro-int-constant.
43969 (DBL_MAX_EXP): Likewise.
43970 (LDBL_MAX_EXP): Likewise.
43971 (FLT_MAX_10_EXP): Likewise.
43972 (DBL_MAX_10_EXP): Likewise.
43973 (LDBL_MAX_10_EXP): Likewise.
43974 (FLT_MAX): Use macro-constant.
43975 (DBL_MAX): Likewise.
43976 (LDBL_MAX): Likewise.
43977 (FLT_EPSILON): Use macro-constant. Give upper bound.
43978 (DBL_EPSILON): Likewise.
43979 (LDBL_EPSILON): Likewise.
43980 (FLT_MIN): Likewise.
43981 (DBL_MIN): Likewise.
43982 (LDBL_MIN): Likewise.
43983 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43984 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43985 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43986 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43987 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43988 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43989 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43990 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43991 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43992 [ISO11] (FLT_TRUE_MIN): Likewise.
43993 [ISO11] (LDBL_TRUE_MIN): Likewise.
43994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43995 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43996 (SCHAR_MIN): Use macro-int-constant. Specify type.
43997 (SCHAR_MAX): Likewise.
43998 (UCHAR_MAX): Likewise.
43999 (CHAR_MIN): Likewise.
44000 (CHAR_MAX): Likewise.
44001 (MB_LEN_MAX): Use macro-int-constant.
44002 (SHRT_MIN): Use macro-int-constant. Specify type.
44003 (SHRT_MAX): Likewise.
44004 (USHRT_MAX): Likewise.
44005 (INT_MAX): Likewise.
44006 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44008 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44010 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44012 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44013 bound negative. Suffix upper bound with "L".
44014 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44016 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44018 [C99-based standards] (LLONG_MAX): Likewise.
44019 [C99-based standards] (ULLONG_MAX): Likewise.
44020 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44022 [ISO11] (max_align_t): Require type.
44023 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44025 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44026 from $CFLAGS, without defining away __attribute__ calls.
44027 (checknamespace): Use $CFLAGS_namespace.
44029 * conform/conformtest.pl (@keywords): Only include C99 keywords
44030 for standards based on C99 or C11.
44032 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44034 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44037 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44038 usability of symbols in #if.
44040 * conform/conformtest.pl: If macro or constant types start
44041 "promoted:", expect the symbol to be of the following type
44042 promoted by the integer promotions.
44044 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44045 in one place. Also handle "macro-constant".
44047 * conform/conformtest.pl: Only accept expected macro values with
44048 "==". Parse all "macro" lines in one place.
44049 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44051 * conform/conformtest.pl: Handle braced types on "constant" lines
44052 instead of handling "typed-constant".
44053 * conform/data/signal.h-data: Use "constant" instead of
44056 * conform/conformtest.pl: Handle "optional-" at start of lines in
44057 one place rather than duplicating several cases. Handle each
44058 format of "macro" line with initial "optional-".
44060 * conform/conformtest.pl: Only accept expected constant or
44061 optional-constant values with "==". Parse all "constant" lines in
44062 one place. Parse all "optional-constant" lines in one place.
44063 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44064 * conform/data/fmtmsg.h-data: Likewise.
44065 * conform/data/netinet/in.h-data: Likewise.
44066 * conform/data/tar.h-data: Likewise.
44067 * conform/data/limits.h-data: Use "==" form on "constant" and
44068 "optional-constant" lines.
44070 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44071 Use -std=c99 for XOPEN2K.
44072 (@knownproblems): Remove.
44073 (newtoken): Don't check %isknown.
44075 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44076 Do not expect macro.
44077 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44078 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44079 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44080 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44081 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44082 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44083 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44084 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44085 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44086 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44087 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44088 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44089 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44090 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44091 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44092 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44093 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44094 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44095 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44096 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44097 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44098 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44099 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44100 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44101 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44102 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44103 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44104 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44105 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44106 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44107 [XPG3] (acosh): Likewise.
44108 [XPG3] (asinh): Likewise.
44109 [XPG3] (atanh): Likewise.
44110 [XPG3] (cbrt): Likewise.
44111 [XPG3] (expm1): Likewise.
44112 [XPG3] (ilogb): Likewise.
44113 [XPG3] (log1p): Likewise.
44114 [XPG3] (logb): Likewise.
44115 [XPG3] (nextafter): Likewise.
44116 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44117 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44118 [XPG3] (remainder): Likewise.
44119 [XPG3] (rint): Likewise.
44120 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44121 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44122 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44123 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44124 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44125 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44126 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44127 [UNIX98 || XOPEN2K] (scalb): Expect.
44128 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44129 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44130 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44131 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44132 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44133 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44134 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44135 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44136 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44137 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44138 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44143 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44144 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44145 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44149 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44150 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44155 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44156 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44157 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44158 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44159 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44160 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44161 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44162 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44163 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44164 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44165 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44166 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44167 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44168 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44169 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44170 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44171 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44172 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44173 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44174 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44175 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44176 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44177 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44178 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44179 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44180 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44181 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44182 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44183 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44184 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44185 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44186 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44187 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44188 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44189 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44190 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44191 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44192 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44193 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44194 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44195 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44196 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44197 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44198 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44199 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44200 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44201 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44202 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44203 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44204 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44205 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44208 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44209 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44214 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44215 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44217 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44218 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44219 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44222 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44223 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44224 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44225 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44226 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44227 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44228 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44229 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44230 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44231 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44232 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44233 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44234 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44235 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44236 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44237 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44238 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44239 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44240 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44241 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44242 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44243 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44244 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44245 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44246 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44247 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44248 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44249 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44250 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44251 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44252 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44253 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44254 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44255 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44256 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44257 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44258 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44259 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44260 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44261 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44262 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44263 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44264 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44266 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44267 _XOPEN_SOURCE_EXTENDED for XPG4.
44269 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44271 * Makeconfig (localtime): Remove variable.
44272 (inst_localtime-file): Likewise.
44274 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44295 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44299 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44300 comparisons to determine direction to adjust input.
44301 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44302 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44307 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44309 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44310 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44312 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44314 * math/libm-test.inc (nexttoward_test): Add more tests.
44316 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44319 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44320 in version GLIBC_2.1, not GLIBC_2.0.
44321 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44324 2012-04-30 Joseph Myers <joseph@codesourcery.com>
44327 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44329 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44330 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44331 * math/libm-test.inc (acos_test): Add more tests.
44332 (asin_test): Likewise.
44333 * sysdeps/i386/fpu/libm-test-ulps: Update.
44334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44337 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44339 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44340 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44341 * math/libm-test.inc (acos_test_tonearest): New function.
44342 (acos_test_towardzero): Likewise.
44343 (acos_test_downward): Likewise.
44344 (acos_test_upward): Likewise.
44345 (asin_test_tonearest): Likewise.
44346 (asin_test_towardzero): Likewise.
44347 (asin_test_downward): Likewise.
44348 (asin_test_upward): Likewise.
44349 (main): Call the new functions.
44350 * sysdeps/i386/fpu/libm-test-ulps: Update.
44351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44355 * math/e_exp10.c: Include <float.h>.
44356 (__ieee754_exp10): Handle underflow here rather than multiplying
44357 large negative argument by M_LN10.
44358 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44360 * math/e_exp10l.c: Include <float.h>.
44361 (__ieee754_exp10l): Handle underflow here rather than multiplying
44362 large negative argument by M_LN10l.
44363 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44364 spurious overflow exception on underflow.
44366 2012-04-29 Marek Polacek <polacek@redhat.com>
44368 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44369 (__fortify_function): New macro.
44370 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44371 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44372 __extern_always_inline.
44373 * libio/bits/stdio2.h: Likewise.
44374 * libio/bits/stdio.h: Likewise.
44375 * string/string.h: Likewise.
44376 * string/bits/string3.h: Likewise.
44377 * include/stdio.h: Likewise.
44378 * stdlib/bits/stdlib.h: Likewise.
44379 * stdlib/stdlib.h: Likewise.
44380 * rt/bits/mqueue2.h: Likewise.
44381 * rt/mqueue.h: Likewise.
44382 * posix/bits/unistd.h: Likewise.
44383 * posix/unistd.h: Likewise.
44384 * io/bits/poll2.h: Likewise.
44385 * io/bits/fcntl2.h: Likewise.
44386 * io/fcntl.h: Likewise.
44387 * io/sys/poll.h: Likewise.
44388 * misc/bits/syslog.h: Likewise.
44389 * misc/bits/syslog-ldbl.h: Likewise.
44390 * misc/sys/syslog.h: Likewise.
44391 * socket/bits/socket2.h: Likewise.
44392 * socket/sys/socket.h: Likewise.
44393 * debug/tst-chk1.c: Likewise.
44394 * wcsmbs/bits/wchar2.h: Likewise.
44395 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44396 * wcsmbs/wchar.h: Likewise.
44398 2012-04-29 Andreas Jaeger <aj@suse.de>
44400 * Makerules (tests): Remove enable-check-abi protection.
44401 (check-abi-warn): Remove.
44402 (check-abi-%): Remove check-abi-warn usage.
44404 * configure.in: Remove check-abi configure option.
44405 * configure: Regenerated.
44406 * config.make.in (enable-check-abi): Remove.
44408 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44411 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44412 double functions to double *_finite functions.
44415 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44416 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44418 * stdio-common/Makefile (tests): Add tst-sprintf3.
44419 * stdio-common/tst-sprintf3.c: New file.
44421 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44422 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44424 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44426 * conform/conformtest.pl: Remove duplicate typed-constant
44429 2012-04-28 David S. Miller <davem@davemloft.net>
44431 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44432 (check-abi-%): Remove AWK script prerequisite and explicit
44434 (check-abi): Rewrite to just diff the symlist with the abilist.
44435 (config-tls, config-abi-config): Delete, no longer used.
44436 (update-abi-%): Remove AWK script and explicit abilist directory.
44437 (update-abi): Rewrite to simply compare and conditionally copy the
44438 symlist and the sysdep abilist file. Remove update-abi-config
44440 * abilist/ld.abilist: Remove.
44441 * abilist/libBrokenLocale.abilist: Remove.
44442 * abilist/libanl.abilist: Remove.
44443 * abilist/libcrypt.abilist: Remove.
44444 * abilist/libdl.abilist: Remove.
44445 * abilist/librt.abilist: Remove.
44446 * abilist/libthread_db.abilist: Remove.
44447 * abilist/libutil.abilist: Remove.
44448 * scripts/extract-abilist.awk: Remove.
44449 * scripts/merge-abilist.awk: Remove.
44450 * sysdeps/generic/libcidn.abilist: New file.
44451 * sysdeps/generic/libnss_compat.abilist: New file.
44452 * sysdeps/generic/libnss_db.abilist: New file.
44453 * sysdeps/generic/libnss_dns.abilist: New file.
44454 * sysdeps/generic/libnss_files.abilist: New file.
44455 * sysdeps/generic/libnss_hesiod.abilist: New file.
44456 * sysdeps/generic/libnss_nis.abilist: New file.
44457 * sysdeps/generic/libnss_nisplus.abilist: New file.
44458 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44459 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44460 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44462 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44463 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44464 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44465 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44466 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44467 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44468 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44469 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44470 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44472 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44473 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44474 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44475 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44477 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44478 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44479 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44480 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44481 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44482 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44484 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44485 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44486 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44488 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44591 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44592 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44593 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44596 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44597 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44598 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44599 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44600 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44601 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44602 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44603 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44604 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44656 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44658 * conform/conformtest.pl: Fix typo in handling typed-constant from
44661 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44663 * README: Cut down references to pre-2.6 Linux kernels and
44664 Linuxthreads. Update lists of configurations in libc and ports
44665 and sort alphabetically. Say "or newer" with Linux kernel version
44668 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44670 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44673 * math/libm-test.inc (logb_test_downward): New test to expose
44674 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44677 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44680 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44682 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44683 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44685 2012-04-26 Joseph Myers <joseph@codesourcery.com>
44687 * sysdeps/unix/i386/brk.S: Remove file.
44688 * sysdeps/unix/i386/dl-brk.S: Likewise.
44689 * sysdeps/unix/i386/pipe.S: Likewise.
44690 * sysdeps/unix/i386/sigreturn.S: Likewise.
44691 * sysdeps/unix/i386/syscall.S: Likewise.
44692 * sysdeps/unix/i386/vfork.S: Likewise.
44693 * sysdeps/unix/i386/wait.S: Likewise.
44695 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44696 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44698 * configure.in (arm*-none*): Do not allow without
44699 --enable-hacker-mode.
44700 (netbsd*): Remove case setting base_os.
44701 (386bsd*): Likewise.
44702 (freebsd*): Likewise.
44705 (sunos*): Likewise.
44706 (ultrix*): Likewise.
44707 (newsos*): Likewise.
44708 (dynix*): Likewise.
44714 (minix*): Likewise.
44715 (irix4*): Likewise.
44716 (irix6*): Likewise.
44717 (solaris[2-9]*): Likewise.
44719 * configure: Regenerated.
44721 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44724 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44725 overflow or cancellation in calculating denominator.
44726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44728 down expression to avoid unexpected rounding in newer GCCs.
44729 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44731 2012-04-26 David S. Miller <davem@davemloft.net>
44733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44734 long-double compat symbols.
44735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44749 2012-04-25 David S. Miller <davem@davemloft.net>
44751 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44752 HWCAP_* values only after the memory barriers have been defined.
44753 (atomic_full_barrier): Define.
44754 (atomic_read_barrier): Define.
44755 (atomic_write_barrier): Define.
44757 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44759 * shlib-versions: Add libgcc_s version information.
44760 * sysdeps/generic/libgcc_s.h: Remove.
44761 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44763 * sysdeps/gnu/unwind-resume.c: Likewise.
44764 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44766 2012-04-25 David S. Miller <davem@davemloft.net>
44768 * sysdeps/unix/sparc/brk.S: Delete.
44769 * sysdeps/unix/sparc/dl-brk.S: Delete.
44770 * sysdeps/unix/sparc/pipe.S: Delete.
44771 * sysdeps/unix/sparc/sysdep.S: Delete.
44772 * sysdeps/unix/sparc/sysdep.h: Delete.
44773 * sysdeps/unix/sparc/vfork.S: Delete.
44774 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44775 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44776 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44777 (ret_ERRVAL, r0, r1, MOVE): Define.
44778 (JUMPTARGET): Remove.
44779 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44780 sysdeps/unix/sparc/sysdep.h
44781 (ENTRY, END): Remove.
44782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44784 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44786 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44787 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44790 * timezone/README: Update upstream location and email address for
44792 * timezone/zdump.c: Update from tzcode 2012b.
44793 * timezone/zic.c: Likewise.
44795 * configure.in (libc_cv_as_needed): Remove test.
44796 * configure: Regenerated.
44797 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44798 conditional definition.
44799 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44800 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44801 * config.make.in (have-as-needed): Remove variable.
44803 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44804 Paul Pluzhnikov <ppluzhnikov@google.com>
44806 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44809 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44811 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44812 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44813 * sysdeps/sh/strlen.S: Likewise.
44815 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44817 * sysdeps/unix/fork.S: Remove file.
44818 * sysdeps/unix/i386/fork.S: Likewise.
44819 * sysdeps/unix/sparc/fork.S: Likewise.
44821 * sysdeps/unix/system.c: Remove file.
44822 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44824 * sysdeps/unix/getegid.S: Remove file.
44825 * sysdeps/unix/geteuid.S: Likewise.
44827 2012-04-24 Roland McGrath <roland@hack.frob.com>
44829 * scripts/check-localplt.awk: New file.
44830 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44832 * scripts/data/localplt-generic.data: Add a comment.
44834 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44835 NODE when __dir_mkfile failed.
44836 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44837 Reported by Ludovic Courtès <ludo@gnu.org>.
44839 2012-04-24 Andreas Jaeger <aj@suse.de>
44841 * Makerules (common-clean): Also remove gen-as-const-headers
44844 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44846 * Makerules (native-compile): Do not change working directory for
44847 build. Use $(OUTPUT_OPTION) in command.
44848 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44850 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44853 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44854 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44855 * math/libm-test.inc (floor_test): Add more tests.
44856 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44858 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44860 * sysdeps/unix/getdents.c: Remove file.
44861 * sysdeps/unix/sysv/getdents.c: Likewise.
44862 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44864 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44865 sysdeps/unix/mman/syscalls.list.
44867 (mprotect): Likewise.
44869 (munmap): Likewise.
44870 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44871 * sysdeps/unix/mman/syscalls.list: Remove.
44872 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44874 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44875 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44876 * configure: Regenerated.
44877 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44878 $(libgcc_s_suffix).
44879 * config.make.in (libgcc_s_suffix): Remove variable.
44881 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44883 * sysdeps/unix/sysv/gethostname.c: Move to ...
44884 * sysdeps/posix/gethostname.c: ... here.
44886 * sysdeps/unix/execve.S: Remove file.
44888 * sysdeps/unix/_exit.S: Remove file.
44890 2012-04-23 Andreas Jaeger <aj@suse.de>
44893 * manual/Makefile: Remove make dist support, there's no
44894 need for a stand-alone documentation tar ball.
44895 (TEXI2DVI): Define always, it's not in Makeconfig.
44898 (edition): Removed.
44899 (glibc-doc-$(edition).tar): Removed
44903 (ETAGS): Remove, it's in Makeconfig.
44904 (move-if-change): Remove, it's in Makeconfig.
44906 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44909 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44910 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44911 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44912 (strtod_l, strtof_l, strtold_l): Remove __wur.
44913 It is not necessarily an error to ignore strtol's return value.
44914 One can reliably look at the stored endptr to decide whether
44915 the number had valid syntax.
44917 2012-04-21 Andreas Jaeger <aj@suse.de>
44920 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44922 2012-04-21 Joseph Myers <joseph@codesourcery.com>
44924 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44925 * sysdeps/unix/sysv/Versions: Remove file.
44927 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44932 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
44935 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44936 version from __vm86.
44938 2012-04-20 Joseph Myers <joseph@codesourcery.com>
44940 * sysdeps/unix/common/lxstat.c: Remove file.
44941 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44943 * sysdeps/unix/sysv/Makefile: Remove file.
44945 * sysdeps/unix/sysv/direct.h: Remove file.
44947 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44948 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44949 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44950 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44951 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44952 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44953 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44955 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44957 * sysdeps/unix/xmknod.c: Remove file.
44958 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44960 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44962 * sysdeps/unix/sysv/i386/time.S: Remove file.
44964 * sysdeps/unix/fxstat.c: Remove file.
44965 * sysdeps/unix/xstat.c: Likewise.
44966 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44968 * sysdeps/unix/sysv/sigaction.c: Remove file.
44970 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44971 (sysdep_headers): Remove variable.
44972 [termio.h not in sysdep_headers] (generated): Likewise.
44973 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44974 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44975 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44976 * sysdeps/unix/sysv/tcflow.c: Likewise.
44977 * sysdeps/unix/sysv/tcflush.c: Likewise.
44978 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44979 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44980 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44981 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44982 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44984 * sysdeps/unix/siglist.c: Remove file.
44986 * sysdeps/unix/getppid.S: Remove file.
44988 * sysdeps/unix/mkdir.c: Remove file.
44989 * sysdeps/unix/rmdir.c: Likewise.
44991 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44993 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44995 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44996 errlist-compat value.
44998 2012-04-18 David S. Miller <davem@davemloft.net>
45000 * sysdeps/generic/memcopy.h (reg_char): Delete.
45001 * debug/strcat_chk.c: Use char, not reg_char.
45002 * debug/strcpy_chk.c: Likewise.
45003 * debug/strncat_chk.c: Likewise.
45004 * debug/strncpy_chk.c: Likewise.
45005 * string/memchr.c: Likewise.
45006 * string/memrchr.c: Likewise.
45007 * string/rawmemchr.c: Likewise.
45008 * string/strcat.c: Likewise.
45009 * string/strchr.c: Likewise.
45010 * string/strchrnul.c: Likewise.
45011 * string/strcmp.c: Likewise.
45012 * string/strcpy.c: Likewise.
45013 * string/strncat.c: Likewise.
45014 * string/strncmp.c: Likewise.
45015 * string/strncpy.c: Likewise.
45017 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45019 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45020 __builtin_memcopy is called when src and dest ranges are known to not
45023 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45025 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45026 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45027 fwd_align_merge macro call.
45028 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45029 bwd_align_merge macro call.
45030 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45032 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45034 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45035 bwd_align_merge macros.
45036 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45037 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45038 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45040 2012-04-18 David S. Miller <davem@davemloft.net>
45042 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45044 2012-04-18 Andreas Jaeger <aj@suse.de>
45047 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45048 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45049 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45051 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45052 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45053 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45055 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45056 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45057 Adjust for changed ldbl-128 files.
45059 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45060 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45063 2012-04-17 David S. Miller <davem@davemloft.net>
45065 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45067 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45069 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45070 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45071 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45072 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45073 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45074 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45076 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45079 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45080 * math/libm-test.inc: Add ilogb errno and exception tests.
45081 * math/w_ilogb.c: New file: ilogb wrapper.
45082 * math/w_ilogbf.c: New file: ilogbf wrapper.
45083 * math/w_ilogbl.c: New file: ilogbl wrapper.
45084 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45085 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45086 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45087 exception being thrown with 0.0 as argument.
45088 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45089 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45090 exception being thrown with 0.0 as argument.
45091 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45092 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45093 exception being thrown with 0.0 as argument.
45094 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45095 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45096 exception being thrown with 0.0 as argument.
45097 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45098 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45099 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45100 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45102 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45103 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45104 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45105 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45107 2012-04-17 Petr Baudis <pasky@ucw.cz>
45109 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45112 2012-04-16 Marek Polacek <polacek@redhat.com>
45114 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45116 2012-04-16 Marek Polacek <polacek@redhat.com>
45118 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45119 operands of fdivp instruction.
45121 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45123 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45124 * elf/tst-auditmod3b.c: Likewise.
45125 * elf/tst-auditmod4b.c: Likewise.
45126 * elf/tst-auditmod5b.c: Likewise.
45127 * elf/tst-auditmod6b.c: Likewise.
45128 * elf/tst-auditmod6c.c: Likewise.
45129 * elf/tst-auditmod7b.c: Likewise.
45130 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45131 * sysdeps/x86_64/preconfigure.in: Likewise.
45132 * sysdeps/x86_64/preconfigure: Regenerated.
45134 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45136 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45139 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45142 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45144 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45147 * locale/iso-639.def: Fix gl language name. Spotted by
45150 2012-04-12 Roland McGrath <roland@hack.frob.com>
45153 * libio/libio.h (__io_write_fn): Update comment.
45155 2012-04-12 Petr Baudis <pasky@ucw.cz>
45158 * stdio.texi (Hook Functions): The user provided writer function
45159 is not allowed to return -1.
45161 2012-04-11 David S. Miller <davem@davemloft.net>
45163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45165 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45167 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45168 Add a leading slash to rtkaio.
45170 2012-04-11 Jim Meyering <meyering@redhat.com>
45173 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45174 It is not necessarily an error to ignore fwrite's return
45175 value. One can reliably use ferror to test for errors after
45178 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45180 * bits/types.h (__snseconds_t): New type.
45181 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45183 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45185 (__SNSECONDS_T_TYPE): Likewise.
45186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45187 (__SNSECONDS_T_TYPE): Likewise.
45188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45189 (__SNSECONDS_T_TYPE): Likewise.
45191 2012-04-10 Andreas Jaeger <aj@suse.de>
45194 * manual/time.texi (Processor Time): Return type of times is
45195 elapsed real time since an arbitrary point in the past.
45196 (CPU Time): Move CLK_TCK from here...
45197 (Processor Time): ...to here. Correct description.
45198 * manual/conf.texi (Constants for Sysconf): Correct description of
45201 2012-04-10 David S. Miller <davem@davemloft.net>
45204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45205 where the is a gap between DT_REL(A) and DT_JMPREL.
45207 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45209 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45210 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45211 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45213 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45215 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45216 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45217 (dl_main): Handle --inhibit-cache.
45218 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45220 * elf/dl-load.c (_dl_map_object): Use it.
45221 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45223 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45226 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45227 (__ieee754_powl): Saturate large exponents rather than testing for
45228 overflow of y*log2(x).
45229 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45230 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45234 * math/s_ctan.c: Include <float.h>.
45235 (__ctan): Avoid internal overflow or cancellation in calculating
45237 * math/s_ctanf.c: Likewise.
45238 * math/s_ctanl.c: Likewise.
45239 * math/s_ctanh.c: Likewise.
45240 * math/s_ctanhf.c: Likewise.
45241 * math/s_ctanhl.c: Likewise.
45242 * math/libm-test.inc (ctan_test): Add more tests.
45243 (ctanh_test): Likewise.
45244 * sysdeps/i386/fpu/libm-test-ulps: Update.
45245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45247 2012-04-09 Andreas Jaeger <aj@suse.de>
45250 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45251 is an optional BSD extension.
45254 * manual/stdio.texi (Opening Streams): Document additional fopen
45257 2012-04-09 Roland McGrath <roland@hack.frob.com>
45259 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45260 %eax without telling the compiler.
45262 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45265 * manual/install.texi: Use sourceware.org.
45267 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45270 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45271 (__ieee754_pow): Generate overflow and underflow using huge*huge
45272 and tiny*tiny rather than just returning constant infinity or zero
45273 for large exponents.
45274 * math/libm-test.inc (pow_test): Require overflow exceptions for
45275 applicable cases of large exponents.
45278 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45279 (__ieee754_pow): Use iterative multiplication algorithm only for
45280 integer exponents with absolute value below 1024. Check for odd
45281 integer exponents when using algorithm for real exponents.
45282 * math/libm-test.inc (pow_test): Add more tests.
45283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45285 2012-04-08 Joseph Myers <joseph@codesourcery.com>
45288 * math/libm-test.inc (exp_test): Do not allow overflow exception
45291 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45294 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45295 instead of __kernel_standard_f.
45297 2012-04-08 Mike Frysinger <vapier@gentoo.org>
45299 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45300 * sysdeps/x86_64/memset_chk.S: Likewise.
45302 2012-04-08 Andreas Jaeger <aj@suse.de>
45305 * manual/startup.texi (Environment Access): Describe return value
45306 for putenv and setenv.
45309 * manual/filesys.texi (Directory Entries): Add description for
45313 * manual/filesys.texi (Directory Entries): Clarify that it's file
45314 system not operating system in the description of DT_UNKNOWN.
45317 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45319 2012-04-08 Stephen Compall <s11@member.fsf.org>
45322 * manual/llio.texi (Opening and Closing Files): Add cross
45323 reference to explain mode argument.
45325 2012-04-07 Mike Frysinger <vapier@gentoo.org>
45327 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45328 * sysdeps/x86_64/memset_chk.S: Likewise.
45330 2012-04-07 David S. Miller <davem@davemloft.net>
45332 * elf/elf.h (R_SPARC_WDISP10): Define.
45333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45336 R_SPARC_SIZE64 and R_SPARC_H34.
45338 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45340 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45341 conditions and remove no longer applicable assertion.
45343 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45345 * bits/byteswap.h: Include <features.h>.
45346 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45347 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45349 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45351 * bits/byteswap.h (__bswap_16): Removed.
45352 Include <bits/byteswap-16.h> to get __bswap_16.
45353 * sysdeps/i386/bits/byteswap.h: Likewise.
45354 * sysdeps/s390/bits/byteswap.h: Likewise.
45355 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45356 * bits/byteswap-16.h: New file.
45357 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45358 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45359 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45360 * string/Makefile (headers): Add bits/byteswap-16.h.
45362 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45365 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45367 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45368 * nss/tst-nss-static.c: New.
45370 2012-04-06 Robert Millan <rmh@gnu.org>
45373 * manual/llio.texi (File Position Primitive): lseek
45374 refers to WHENCE when it really means OFFSET.
45376 2012-04-06 Andreas Jaeger <aj@suse.de>
45378 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45379 strncmp declarations.
45381 * abilist/libc.abilist: Add __poll and __ppoll.
45383 2012-04-05 David S. Miller <davem@davemloft.net>
45385 * scripts/check-local-headers.sh: Accept a host triplet in the
45386 path matched by the exclude regexp.
45388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45390 * sysdeps/powerpc/powerpc32/dl-machine.h
45391 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45392 * sysdeps/s390/s390-32/dl-machine.h
45393 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45394 * sysdeps/sparc/sparc32/dl-machine.h
45395 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45396 * sysdeps/sparc/sparc64/dl-machine.h
45397 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45399 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45401 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45402 undefined symbol errors.
45404 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45407 2012-04-05 Michael Matz <matz@suse.de>
45410 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45412 2012-04-05 Andreas Jaeger <aj@suse.de>
45415 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45418 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45420 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45421 which ROUND is no valid rounding mode.
45423 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45427 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45429 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45431 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45432 an exception using FPU order intentionally.
45434 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45436 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45437 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45438 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45439 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45441 2012-04-05 Simon Josefsson <simon@josefsson.org>
45444 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45445 EINVAL when BUFLEN is too smal.
45447 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45450 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45451 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45453 2012-04-03 Andreas Jaeger <aj@suse.de>
45456 * manual/setjmp.texi (System V contexts): Fix sentence.
45459 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45460 New macro for this case.
45461 [!__GNUC__] (__bswap_64): New inline function for this case.
45462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45463 * bits/byteswap.h: Likewise.
45464 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45465 ull, guard with __GLIBC_HAVE_LONG_LONG.
45467 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45468 __GLIBC_HAVE_LONG_LONG.
45470 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45471 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45473 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45476 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45477 inptr and inend, rather than using last_ch.
45479 2012-04-02 David S. Miller <davem@davemloft.net>
45481 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45482 * stdio-common/printf-parse.h (read_int): Change return type to
45483 'int', return -1 on INT_MAX overflow.
45484 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45485 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45486 overflows INT_MAX. Check for overflow of in-format-string precision
45487 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45488 SIZE_MAX not INT_MAX for integer overflow test.
45489 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45490 skip the construct in the format string but do not record anything.
45491 * stdio-common/bug22.c: Adjust to test both width/prevision
45492 INT_MAX overflow as well as total length INT_MAX overflow. Check
45493 explicitly for proper errno values.
45495 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45497 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45499 * string/test-strcmp.c [! WIDE]: Likewise.
45500 * time/tst-mktime2.c: Likewise for INT_MAX.
45501 * string/test-string.h: #include <sys/param.h> for MIN.
45503 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45504 * sysdeps/i386/init-first.c (init): Likewise.
45505 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45506 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45507 * sysdeps/sh/init-first.c (init): Likewise.
45509 2012-04-01 Ulrich Drepper <drepper@gmail.com>
45511 * po/ru.po: Update from translation team.
45512 * po/vi.po: Likewise.
45514 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45516 * resolv/nss_dns/dns-host.c: Merge copyright years.
45518 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45521 Optimize memcpy with prefetch if
45522 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45523 src, dst pointers have unequal 16 byte alignments.
45525 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45528 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45529 from a CNAME entry and return the minimum ttl for the query.
45530 (gaih_getanswer_slice): Likewise.
45532 2012-03-30 Jeff Law <law@redhat.com>
45534 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45536 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45537 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45539 * resolv/nss_dns/dns-host.c: Update copyright year.
45541 2012-03-30 Ulrich Drepper <drepper@gmail.com>
45543 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45544 requests to save a system call. Fix check that all bytes are sent.
45546 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45547 comments for sendmmsg.
45549 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45552 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45553 with only 1 character between 0x0041 and 0x01b0.
45554 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45555 * wcsmbs/tst-mbsnrtowcs.c: New file.
45557 2012-03-29 David S. Miller <davem@davemloft.net>
45559 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45560 small copies by hand.
45562 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45565 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45566 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45569 2012-03-28 David S. Miller <davem@davemloft.net>
45571 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45572 that branches into memcpy.
45573 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45574 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45575 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45576 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45579 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45580 implementation too.
45581 * sysdeps/sparc/mempcpy.S: New file.
45583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45584 the IFUNC routine in the libc case.
45585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45587 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45588 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45589 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45590 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45591 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45592 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45593 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45594 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45596 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45597 loop to 256 bytes instead of 64 bytes and fix test signedness.
45599 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45600 * sysdeps/sparc/sparc32/Makefile: rather than here...
45601 * sysdeps/sparc/sparc64/Makefile: and here.
45603 2012-03-28 Ulrich Drepper <drepper@gmail.com>
45605 * malloc/mallocbug.c: Avoid warnings about unused variables.
45607 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45610 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45611 in the right place. Discard and retry query if response is
45612 larger than input buffer size.
45614 2012-03-28 Joseph Myers <joseph@codesourcery.com>
45619 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45620 x for large integer exponent.
45621 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45622 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45623 sign of result as needed afterwards.
45624 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45625 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45626 result for underflowing pow the same as for overflow.
45627 (__kernel_standard_l): Handle powl overflow and underflow here
45628 rather than calling __kernel_standard.
45629 * math/libm-test.inc (pow_test): Add more tests.
45644 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45645 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45646 (__kernel_standard_l): New function.
45647 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45649 * math/w_acosl.c (__acosl): Likewise.
45650 * math/w_asinl.c (__asinl): Likewise.
45651 * math/w_atan2l.c (__atan2l): Likewise.
45652 * math/w_atanhl.c (__atanhl): Likewise.
45653 * math/w_coshl.c (__coshl): Likewise.
45654 * math/w_exp10l.c (__exp10l): Likewise.
45655 * math/w_exp2l.c (__exp2l): Likewise.
45656 * math/w_fmodl.c (__fmodl): Likewise.
45657 * math/w_hypotl.c (__hypotl): Likewise.
45658 * math/w_j0l.c (__j0l, __y0l): Likewise.
45659 * math/w_j1l.c (__j1l, __y1l): Likewise.
45660 * math/w_jnl.c (__jnl, __ynl): Likewise.
45661 * math/w_lgammal.c (__lgammal): Likewise.
45662 * math/w_log10l.c (__log10l): Likewise.
45663 * math/w_log2l.c (__log2l): Likewise.
45664 * math/w_logl.c (__logl): Likewise.
45665 * math/w_powl.c (__powl): Likewise.
45666 * math/w_remainderl.c (__remainderl): Likewise.
45667 * math/w_scalbl.c (sysv_scalbl): Likewise.
45668 * math/w_sinhl.c (__sinhl): Likewise.
45669 * math/w_sqrtl.c (__sqrtl): Likewise.
45670 * math/w_tgammal.c (__tgammal): Likewise.
45671 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45672 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45673 * math/libm-test.inc (acos_test): Add more tests.
45674 (acosh_test): Likewise.
45675 (asin_test): Likewise.
45676 (atanh_test): Likewise.
45677 (exp_test): Likewise.
45678 (exp10_test): Likewise.
45679 (exp2_test): Likewise.
45680 (expm1_test): Likewise.
45681 (lgamma_test): Likewise.
45682 (log_test): Likewise.
45683 (log10_test): Likewise.
45684 (log1p_test): Likewise.
45685 (log2_test): Likewise.
45686 (pow_test): Do not allow some spurious overflow exceptions.
45687 (sqrt_test): Add more tests.
45688 (tgamma_test): Likewise.
45689 (y0_test): Likewise.
45690 (y1_test): Likewise.
45691 (yn_test): Likewise.
45693 2012-03-27 Anton Blanchard <anton@samba.org>
45695 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45697 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45701 2012-03-27 David S. Miller <davem@davemloft.net>
45703 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45705 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45706 have-as-vis3 check.
45708 2012-03-27 Andreas Jaeger <aj@suse.de>
45710 * sysdeps/x86_64/elf/configure.in: Moved to ...
45711 * sysdeps/x86_64/configure.in: ... here.
45712 * sysdeps/x86_64/elf/start.S: Moved to ...
45713 * sysdeps/x86_64/start.S: ... here.
45714 * sysdeps/x86_64/elf/configure: Delete.
45716 * sysdeps/x86_64/configure.in: Merge contents from
45717 sysdeps/i386/configure.in (without i686 check).
45719 * sysdeps/i386/elf/Versions: Merge into ...
45720 * sysdeps/i386/Versions: ... this.
45721 * sysdeps/i386/elf/Versions: Delete file.
45722 * sysdeps/i386/elf/start.S: Moved to ...
45723 * sysdeps/i386/start.S: ...here.
45724 * sysdeps/i386/elf/configure.in: Merge into...
45725 * sysdeps/i386/configure.in: ...here.
45726 * sysdeps/i386/elf/configure.in: Delete file.
45727 * sysdeps/i386/elf/configure: Delete file.
45729 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45730 * debug/backtracesyms.c: ... here.
45731 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45732 * debug/backtracesymsfd.c: ... here.
45733 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45734 * sysdeps/generic/ifunc-sel.h: ... here.
45736 * sysdeps/unix/i386/start.c: Delete file.
45737 * sysdeps/unix/sparc/start.c: Delete file.
45738 * sysdeps/unix/start.c: Delete file.
45740 * sysdeps/sh/elf/configure.in: Moved to ...
45741 * sysdeps/sh/configure.in: ... here.
45742 * sysdeps/sh/elf/start.S: Moved to ...
45743 * sysdeps/sh/start.S: ... here.
45744 * sysdeps/sh/elf/configure: Delete file.
45746 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45747 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45748 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45749 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45750 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45751 * sysdeps/powerpc/powerpc64/start.S: here.
45752 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45753 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45754 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45755 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45756 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45758 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45759 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45760 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45761 * sysdeps/powerpc/powerpc32/start.S: ... here.
45762 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45763 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45764 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45766 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45767 * sysdeps/powerpc/ifunc-sel.h: ... here.
45768 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45769 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45771 * sysdeps/sparc/elf/configure.in: Moved to ...
45772 * sysdeps/sparc/configure.in: ... here.
45773 * sysdeps/sparc/elf/configure: Delete file.
45774 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45775 * sysdeps/sparc/sparc32/start.S: ... here.
45776 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45777 * sysdeps/sparc/sparc64/start.S: ... here.
45778 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45779 * sysdeps/sparc/sparc32/Makefile: ... this.
45780 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45781 * sysdeps/sparc/sparc64/Makefile: ... this.
45783 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45784 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45785 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45786 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45787 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45788 * sysdeps/s390/s390-32/setjmp.S: ... here.
45789 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45790 * sysdeps/s390/s390-32/configure.in: ... here.
45791 * sysdeps/s390/s390-32/elf/configure: Delete file.
45792 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45793 * sysdeps/s390/s390-32/start.S: ... here.
45795 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45796 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45797 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45798 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45799 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45800 * sysdeps/s390/s390-64/setjmp.S: ... here.
45801 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45802 * sysdeps/s390/s390-64/configure.in: ... here
45803 * sysdeps/s390/s390-64/elf/configure: Delete file.
45804 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45805 * sysdeps/s390/s390-64/start.S: ... here.
45806 * sysdeps/s390/s390-64/elf/configure: Delete.
45808 * configure.in: Remove support for elf directories in sysdeps.
45810 * configure: Regenerated.
45811 * sysdeps/i386/configure: Regenerated.
45812 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45813 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45814 * sysdeps/s390/s390-32/configure: Regenerated.
45815 * sysdeps/s390/s390-64/configure: Regenerated.
45816 * sysdeps/sh/configure: Regenerated.
45817 * sysdeps/sparc/configure: Regenerated.
45818 * sysdeps/x86_64/configure: Regenerated.
45820 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45825 denormal result into account.
45827 2012-03-25 Roland McGrath <roland@hack.frob.com>
45829 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45830 Reported by Allan McRae <allan@archlinux.org>.
45832 2012-03-23 Jeff Law <law@redhat.com>
45834 * nss/getnssent.c (__nss_getent): Fix typo.
45836 2012-03-23 David S. Miller <davem@davemloft.net>
45838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45840 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45842 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45843 to pad to uint64_t for each field.
45844 (dl_tls_index): Replace unsigned long with uint64_t.
45846 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45847 Paul Pluzhnikov <ppluzhnikov@google.com>
45850 * grp/Makefile (otherlibs): Don't set it.
45851 * inet/Makefile (otherlibs): Likewise.
45852 * login/Makefile (otherlibs): Likewise.
45853 * nscd/Makefile (otherlibs): Likewise.
45854 * posix/Makefile (otherlibs): Likewise.
45855 * pwd/Makefile (otherlibs): Likewise.
45856 * rt/Makefile (otherlibs): Likewise.
45857 * sunrpc/Makefile (otherlibs): Likewise.
45858 * nss/Makefile (otherlibs): Likewise.
45859 Add libnss_files to routines and static-only-routines.
45860 ($(objpfx)getent): Remove rule.
45861 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45862 static-only-routines.
45864 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45867 * math/s_cexp.c: Include <float.h>.
45868 (__cexp): Handle exp result overflowing not necessarily
45869 overflowing both real and imaginary parts of result.
45870 * math/s_cexpf.c: Likewise.
45871 * math/s_cexpl.c: Likewise.
45872 * math/libm-test.inc (cexp_test): Add more tests.
45873 * sysdeps/i386/fpu/libm-test-ulps: Update.
45874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45876 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45878 * include/link.h (ELFW): New macro.
45879 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45880 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45882 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45884 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45887 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45889 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45891 (struct La_x32_retval): Likewise.
45893 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45895 * sysdeps/x86_64/preconfigure.in: New file.
45896 * sysdeps/x86_64/preconfigure: New generated file.
45898 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45901 * math/e_exp2l.c: Include <float.h>.
45902 (__ieee754_exp2l): Handle overflow and underflow cases
45903 separately. Only pass fractional part of argument to
45905 * math/libm-test.inc (exp2_test): Add more tests.
45907 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45908 negating x to take absolute value.
45909 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45911 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45912 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45914 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45915 computing low part if x was negated.
45916 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45918 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45920 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45921 la_x32_gnu_pltexit.
45922 (pltexit): Cast int_retval to ptrdiff_t.
45923 * elf/tst-auditmod3b.c: Likewise.
45924 * elf/tst-auditmod4b.c: Likewise.
45925 * elf/tst-auditmod5b.c: Likewise.
45926 * elf/tst-auditmod6b.c: Likewise.
45927 * elf/tst-auditmod6c.c: Likewise.
45928 * elf/tst-auditmod7b.c: Likewise.
45930 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45931 and x32_gnu_pltexit.
45933 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45934 __ELF_NATIVE_CLASS.
45935 (La_x32_regs): New macro.
45936 (La_x32_retval): Likewise.
45937 (la_x32_gnu_pltenter): New function prototype.
45938 (la_x32_gnu_pltexit): Likewise.
45940 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45942 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45947 * configure.in (libc_cv_cc_nofma): Check for option to disable
45948 generation of FMA instructions.
45949 * configure: Regenerate.
45950 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45951 * sysdeps/ieee754/dbl-64/Makefile: New file.
45952 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45953 Remove brandred-fma4.
45954 (CFLAGS-brandred-fma4.c): Remove.
45955 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45956 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45958 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45961 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45963 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45964 LLONG_MAX != LONG_MAX.
45965 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45966 (_fitoa_word): Likewise.
45967 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45968 LLONG_MAX != LONG_MAX.
45969 * stdio-common/_itowa.h: Include <_itoa.h>.
45970 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45971 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45972 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45973 only if not defined.
45974 (_ITOA_WORD_TYPE): Likewise.
45975 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45976 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45978 2012-03-21 David S. Miller <davem@davemloft.net>
45980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45982 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45984 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45985 of x86_64 when setting libc_cv_slibdir, libdir and
45987 * sysdeps/unix/sysv/linux/configure: Regenerated.
45989 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45991 * manual/lang.texi (Old Varargs): Remove section.
45992 (How Variadic): Update menu.
45993 (va_start): Do not mention varargs.h.
45995 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45996 Joseph Myers <joseph@codesourcery.com>
45998 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46000 * configure: Regenerated.
46002 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46004 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46005 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46008 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46011 * Makefile (files-for-dist): Remove NOTES.
46012 (NOTES): Remove rule.
46013 * README: Don't refer to NOTES.
46014 * manual/creature.texi: Don't include macros.texi.
46015 * manual/intro.texi (creature.texi): Remove comment referring to
46018 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46019 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46020 * configure: Regenerated.
46021 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46022 LIBC_TRY_CC_OPTION.
46023 (libc_cv_as_i686): Likewise.
46024 (libc_cv_cc_avx): Likewise.
46025 (libc_cv_cc_sse2avx): Likewise.
46026 (libc_cv_cc_fma4): Likewise.
46027 (libc_cv_cc_novzeroupper): Likewise.
46028 * sysdeps/i386/configure: Regenerated.
46031 * sysdeps/i386/fpu/s_cexp.S: Remove.
46032 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46033 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46034 * math/libm-test.inc (cexp_test): Add more tests.
46035 * sysdeps/i386/fpu/libm-test-ulps: Update.
46036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46038 2012-03-21 Allan McRae <allan@archlinux.org>
46040 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46042 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46045 * math/w_exp2.c: Do not include <float.h>.
46046 (o_threshold, u_threshold): Remove.
46047 (__exp2): Calculate result before checking finiteness and calling
46049 * math/w_exp2f.c: Likewise.
46050 * math/w_exp2l.c: Likewise.
46051 * math/libm-test.inc (exp2_test): Require overflow exception for
46055 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46056 range of signed 64-bit integers before using fistpll. Remove
46057 checks for whether integers fit in mantissa bits.
46058 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46059 the range of signed 32-bit integers before using fistpl. Remove
46060 checks for whether integers fit in mantissa bits.
46061 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46062 (__ieee754_powl): Test for y outside the range of signed 64-bit
46063 integers before using fistpll. Reduce 64-bit values to 63-bit
46065 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46066 divide-by-zero is raised for zero to large negative powers.
46067 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46068 (__ieee754_powl): Test for y outside the range of signed 64-bit
46069 integers before using fistpll. Reduce 64-bit values to 63-bit
46071 * math/libm-test.inc (pow_test): Add more tests.
46073 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46075 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46076 <stdio-common/_itoa.h>.
46077 * debug/segfault.c: Likewise.
46078 * elf/dl-cache.c: Likewise.
46079 * elf/dl-minimal.c: Likewise.
46080 * elf/dl-misc.c: Likewise.
46081 * elf/dl-sysdep.c: Likewise.
46082 * elf/dl-version.c: Likewise.
46083 * elf/rtld.c: Likewise.
46084 * hurd/hurdsock.c: Likewise.
46085 * hurd/lookup-retry.c: Likewise.
46086 * malloc/malloc.c: Likewise.
46087 * malloc/mtrace.c: Likewise.
46088 * nscd/nscd_getgr_r.c: Likewise.
46089 * nscd/nscd_getpw_r.c: Likewise.
46090 * nscd/nscd_getserv_r.c: Likewise.
46091 * posix/getopt_init.c: Likewise.
46092 * posix/wordexp.c: Likewise.
46093 * stdio-common/_itoa.c: Likewise.
46094 * stdio-common/printf_fphex.c: Likewise.
46095 * stdio-common/vfprintf.c: Likewise.
46096 * string/_strerror.c: Likewise.
46097 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46098 * sysdeps/i386/i686/hp-timing.h: Likewise.
46099 * sysdeps/mach/_strerror.c: Likewise.
46100 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46101 * sysdeps/mach/hurd/sethostid.c: Likewise.
46102 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46103 * sysdeps/mach/xpg-strerror.c: Likewise.
46104 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46105 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46106 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46107 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46108 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46109 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46111 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46112 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46113 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46114 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46115 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46116 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46117 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46118 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46119 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46120 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46121 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46122 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46123 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46124 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46126 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46128 * stdio-common/_itoa.h: Moved to ...
46129 * sysdeps/generic/_itoa.h: Here.
46131 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46133 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46134 instead of "_itoa.h" and "_itowa.h".
46135 * stdio-common/vfprintf.: Likewise.
46137 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46139 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46141 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46142 (__signbit): Likwise.
46143 (llrintf): Likwise.
46146 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46148 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46151 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46153 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46154 OVERFLOW_EXCEPTION_OK.
46155 * math/libm-test.inc ("Philosophy"): Update comment about
46157 (OVERFLOW_EXCEPTION): Define.
46158 (OVERFLOW_EXCEPTION_OK): Likewise.
46159 (INVALID_EXCEPTION_OK): Renumber.
46160 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46161 (IGNORE_ZERO_INF_SIGN): Likewise.
46162 (test_exceptions): Handle FE_OVERFLOW.
46163 (exp10_test): Expect overflow exceptions.
46164 (exp2_test): Likewise.
46165 (expm1_test): Likewise.
46166 (nextafter_test): Likewise.
46167 (pow_test): Likewise.
46168 (scalbn_test): Likewise.
46169 (scalbln_test): Likewise.
46171 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46173 * sysdeps/x86_64/bits/atomic.h
46174 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46176 (atomic_exchange_acq): Likewise.
46177 (__arch_exchange_and_add_body): Likewise.
46178 (__arch_add_body): Likewise.
46179 (atomic_add_negative): Likewise.
46180 (atomic_add_zero): Likewise.
46182 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46184 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46185 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46187 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46189 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46190 Check __x86_64__ instead of __WORDSIZE.
46192 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46194 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46196 2012-03-19 David S. Miller <davem@davemloft.net>
46198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46200 * sysdeps/sparc/fpu/fenv_private.h: New file.
46201 * sysdeps/sparc/fpu/math_private.h: Use it.
46202 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46204 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46205 (libc_feholdexcept_setroundl): Remove.
46206 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46208 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46209 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46211 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46213 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46214 int64_t instead of long int.
46215 (INSERT_WORDS64): Likwise.
46217 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46219 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46220 _Unwind_GetCFA return to _Unwind_Ptr first.
46222 2012-03-19 Joseph Myers <joseph@codesourcery.com>
46225 * math/s_clog.c: Include <float.h>.
46226 (__clog): Scale large or subnormal inputs.
46227 * math/s_clogf.c: Likewise.
46228 * math/s_clogl.c: Likewise.
46229 * math/s_clog10.c: Include <float.h>.
46230 (M_LOG10_2): Define.
46231 (__clog10): Scale large or subnormal inputs.
46232 * math/s_clog10f.c: Likewise.
46233 * math/s_clog10l.c: Likewise.
46234 * math/libm-test.inc (clog_test): Add more tests.
46235 (clog10_test): Likewise.
46236 * sysdeps/i386/fpu/libm-test-ulps: Update.
46237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46240 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46242 * math/libm-test.inc (atan2_test): Add another test.
46244 * Makerules (common-objdir-compile): Remove.
46245 * sysdeps/unix/Makefile (config-generated): Do not add
46246 $(unix-generated) to variable.
46247 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46248 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46250 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46252 [generic bits/local_lim.h] (before-compile): Do not append to
46254 [generic bits/local_lim.h] (common-generated): Likewise.
46255 [generic sys/param.h] (before-compile): Do not append to variable.
46256 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46257 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46258 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46259 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46261 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46262 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46263 [generic sys/param.h] ($(addprefix
46264 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46265 [generic sys/param.h] (common-generated): Do not append to
46267 [generic sys/param.h] (sysdep_headers): Likewise.
46268 [generic bits/errno.h] (before-compile): Do not append to
46270 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46272 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46273 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46274 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46275 [generic bits/errno.h] (common-generated): Do not append to
46277 [generic bits/ioctls.h] (before-compile): Do not append to
46279 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46281 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46282 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46283 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46285 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46286 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46287 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46288 [generic bits/ioctls.h] (common-generated): Do not append to
46290 [generic sys/syscall.h] (syscall.h): Remove variable.
46291 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46293 [generic sys/syscall.h] (before-compile): Do not append to
46295 [generic sys/syscall.h] (common-generated): Likewise.
46296 * sysdeps/unix/errnos-tmpl.c: Remove file.
46297 * sysdeps/unix/errnos.awk: Likewise.
46298 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46299 * sysdeps/unix/ioctls.awk: Likewise.
46300 * sysdeps/unix/mk-local_lim.c: Likewise.
46301 * sysdeps/unix/snarf-ioctls: Likewise.
46303 2012-03-19 Richard Henderson <rth@twiddle.net>
46305 * sysdeps/i386/fpu/fenv_private.h: New file.
46306 * sysdeps/i386/fpu/math_private.h: Use it.
46307 (math_opt_barrier, math_force_eval): Remove.
46308 (libc_feholdexcept_setround_53bit): Remove.
46309 (libc_feupdateenv_53bit): Remove.
46310 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46311 (math_opt_barrier, math_force_eval): Remove.
46312 (libc_feholdexcept): Remove.
46313 (libc_feholdexcept_setround): Remove.
46314 (libc_fetestexcept, libc_fesetenv): Remove.
46315 (libc_feupdateenv_test): Remove.
46316 (libc_feupdateenv, libc_feholdsetround): Remove.
46317 (libc_feresetround): Remove.
46319 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46320 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46322 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46323 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46324 (libc_feupdateenv_testl): New.
46325 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46326 (libc_feupdateenv_testf): New.
46327 (libc_feupdateenv): Use libc_feupdateenv_test.
46328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46331 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46332 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46333 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46334 (libc_feresetround_noex): New.
46335 (libc_feresetround_noexf): New.
46336 (libc_feresetround_noexl): New.
46337 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46338 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46339 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46340 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46345 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46346 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46347 SET_RESTORE_ROUND_NOEX.
46348 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46349 SET_RESTORE_ROUND_NOEXF.
46350 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46351 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46352 (libc_feholdsetroundf): New.
46353 (libc_feresetround, libc_feresetroundf): New.
46355 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46356 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46357 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46359 * sysdeps/generic/math_private.h: Include <fenv.h>.
46360 (default_libc_feholdexcept): New.
46361 (default_libc_feholdexcept_setround): New.
46362 (default_libc_fesetenv, default_libc_feupdateenv): New.
46363 (libc_feholdexcept): Only define if undefined.
46364 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46365 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46366 (libc_feholdexcept_setroundl): Likewise.
46367 (libc_feholdexcept_setround_53bit): Likewise.
46368 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46369 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46370 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46371 (libc_feupdateenv_53bit): Likewise.
46372 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46373 (libc_feholdexcept): Convert from macro to inline function.
46374 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46375 (libc_fesetenv, libc_feupdateenv): Likewise.
46377 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46378 not previously defined.
46379 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46380 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46381 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46382 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46383 * sysdeps/ieee754/flt-32/math_private.h: New file.
46384 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46385 math_private.h below SET_FLOAT_WORD.
46386 (__isnan, __isinf_ns, __finite): Remove.
46387 (__isnanf, __isinf_nsf, __finitef): Remove.
46389 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46393 2012-03-17 David S. Miller <davem@davemloft.net>
46396 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46399 2012-03-16 David S. Miller <davem@davemloft.net>
46401 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46405 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46407 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46408 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46409 sysdep_routines when subdir is sysvipc.
46410 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46411 __getshmlba helper.
46413 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46415 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46417 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46420 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46422 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46423 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46424 (__lround): Renamed to ...
46425 (__llround): This. Replace long int with long long int.
46426 Define lround functions as aliases of llround functions.
46427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46429 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46431 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46432 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46433 adresses to uintptr_t. Replace "long int" and "unsigned long
46434 int" with "greg_t" on va_arg.
46436 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46438 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46439 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46441 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46442 Move e_machine check before EI_CLASS check. Handle x32
46443 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46444 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46445 SKIP_EM_IA_64 and include
46446 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46448 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46449 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46450 (add_system_dir): New macro.
46452 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46453 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46455 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46466 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46468 * math/w_j0f.c (j0f): Likewise.
46470 * math/w_j0l.c (__j0l): Likewise.
46472 * math/w_j1.c (j1): Likewise.
46474 * math/w_j1f.c (j1f): Likewise.
46476 * math/w_j1l.c (__j1l): Likewise.
46478 * math/w_jn.c (jn): Likewise.
46480 * math/w_jnf.c (jnf): Likewise.
46482 * math/w_jnl.c (__jnl): Likewise.
46484 * math/libm-test.inc (j0_test): Add more tests.
46485 (j1_test): Likewise.
46486 (jn_test): Likewise. Add trailing semicolon to existing test.
46487 (y0_test): Likewise.
46488 (y1_test): Likewise.
46489 * sysdeps/i386/fpu/libm-test-ulps: Update.
46490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46494 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46495 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46496 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46497 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46498 (__tanl): Set errno for infinite argument.
46499 * sysdeps/i386/fpu/mptan.c: Remove.
46500 * sysdeps/i386/fpu/s_tan.S: Likewise.
46501 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46502 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46503 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46504 * math/libm-test.inc (tan_test): Add more tests and enable more
46505 tests for double and long double.
46506 * sysdeps/i386/fpu/libm-test-ulps: Update.
46507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46509 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46511 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46512 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46514 2012-03-16 Roland McGrath <roland@hack.frob.com>
46516 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46517 * configure.in: Use it for both main tree and add-ons.
46518 * configure: Regenerated.
46520 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46522 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46524 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46526 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46530 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46531 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46532 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46533 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46534 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46536 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46538 != 0 for prec == 2.
46539 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46540 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46541 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46542 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46543 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46544 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46545 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46546 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46547 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46548 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46549 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46550 * math/libm-test.inc (cos_test): Add more tests and enable more
46551 tests for long double.
46552 (sin_test): Likewise.
46553 (sincos_test): Likewise.
46554 * sysdeps/i386/fpu/libm-test-ulps: Update.
46555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46557 2012-03-16 David S. Miller <davem@davemloft.net>
46559 * sysdeps/sparc/fpu/math_private.h: New file.
46561 2012-03-15 David S. Miller <davem@davemloft.net>
46563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46577 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46578 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46580 * sysdeps/sparc/sparc-ifunc.h: New file.
46581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46626 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46628 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46632 2012-03-15 Andreas Jaeger <aj@suse.de>
46635 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46636 ieee754/flt-32 implementation for sin, cos and sincos.
46637 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46638 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46639 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46640 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46641 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46642 ieee754/flt-32 implementation for tan.
46644 * math/libm-test.inc (cos_test): Enable some large input tests for
46646 (sin_test): Likewise.
46647 (sincos_test): Likewise.
46648 (tan_test): Add tests for large input.
46650 * sysdeps/i386/fpu/libm-test-ulps: Update.
46652 2012-03-15 Andreas Jaeger <aj@suse.de>
46655 * math/libm-test.inc (cos_test): Add more test cases.
46656 (sin_test): Likewise.
46657 (sincos_test): Likewise.
46659 2012-03-15 Andreas Jaeger <aj@suse.de>
46662 * math/libm-test.inc (cos_test): Add a test case for large input
46664 (sin_test): Likewise.
46665 (sincos_test): Likewise.
46667 2012-03-15 Andreas Jaeger <aj@suse.de>
46668 Joseph Myers <joseph@codesourcery.com>
46671 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46672 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46673 * sysdeps/i386/fpu/branred.c: Likewise.
46674 * sysdeps/i386/fpu/dosincos.c: Likewise.
46675 * sysdeps/i386/fpu/mpa.c: Likewise.
46676 * sysdeps/i386/fpu/s_cos.S: Likewise.
46677 * sysdeps/i386/fpu/s_sin.S: Likewise.
46678 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46679 * sysdeps/i386/fpu/sincos32.c: Likewise.
46681 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46683 (libc_feupdateenv_53bit): Define.
46684 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46686 (libc_feupdateenv_53bit): Define.
46688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46689 53 bit (without extend i386 double precision).
46691 * math/libm-test.inc (sincos_test): Add tests for large input.
46695 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46697 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46701 2012-03-15 David S. Miller <davem@davemloft.net>
46703 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46704 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46705 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46706 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46731 fmin/fmax sysdep routines.
46732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46734 2012-03-14 David S. Miller <davem@davemloft.net>
46736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46760 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46761 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46808 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46813 * sysdeps/sparc/configure.in: New file.
46814 * sysdeps/sparc/configure: Generate.
46815 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46816 * configure: Regenerate.
46817 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46818 * config.make.in (have-as-vis3): New.
46819 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46820 available use -Av9d instead of -Av9a.
46821 * sysdeps/sparc/sparc64/Makefile: Likewise.
46822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46833 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46834 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46837 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46838 fzeros/fnegs to load 0x80000000 into a float register instead of
46840 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46842 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46846 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46847 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46848 ($(inst_includedir)/bits/syscall.h): Remove rule.
46849 ($(objpfx)bits/syscall.d): Include instead of
46850 $(objpfx)syscall-list.d.
46851 (generated): Change syscall-list.h and syscall-list.d to
46852 bits/syscall.h and bits/syscall.d.
46854 2012-03-14 Roland McGrath <roland@hack.frob.com>
46857 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46859 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46862 * math/s_csqrt.c: Include <float.h>.
46863 (__csqrt): Scale large or subnormal inputs.
46864 * math/s_csqrtf.c: Likewise.
46865 * math/s_csqrtl.c: Likewise.
46866 * math/libm-test.inc (csqrt_test): Add more tests.
46867 * sysdeps/i386/fpu/libm-test-ulps: Update.
46868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46871 * math/libm-test.inc (hypot_test): Add more tests.
46873 2012-03-13 David S. Miller <davem@davemloft.net>
46876 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46877 double-precision for the calculation instead of scaling.
46879 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46881 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46882 manipulate bits before adding and subtracting TWO52[sx].
46883 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46884 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46886 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46888 2012-03-13 David S. Miller <davem@davemloft.net>
46890 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46891 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46893 rtld-global-offsets.h
46894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46896 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46899 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46901 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46902 'err' in the ifdef scope in which it is actually used.
46904 * nss/nss_db/db-init.c: Include string.h
46906 2012-03-12 David S. Miller <davem@davemloft.net>
46908 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46909 masking out of the most significant byte of random value used.
46910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46911 Fix coding style in previous change.
46913 * sysdeps/unix/sysv/linux/kernel-features.h
46914 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46915 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46917 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46920 2012-03-11 David S. Miller <davem@davemloft.net>
46922 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46923 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46925 for 'resultvar' otherwise things get truncated on 64-bit.
46927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46928 Fix masking out of the most significant byte of random value used.
46930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46932 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46936 2012-03-09 David S. Miller <davem@davemloft.net>
46938 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46939 variables with appropriate CPP guards.
46940 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46941 from the frame pointer, not the stack pointer. Correct layout
46942 comments. Fix test on resulting framesize and the management of
46943 the outregs buffer for pltexit. Preserve floating point return
46944 values across _dl_call_pltexit call.
46945 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46946 framesize and the management of the outregs buffer for pltexit.
46947 Preserve floating point return values across _dl_call_pltexit
46949 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46950 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46951 (la_sparc64_gnu_pltexit): New functions.
46952 (print_exit): Fix format string for return register value.
46954 2012-03-10 Joseph Myers <joseph@codesourcery.com>
46956 * sunrpc/Makefile (others): Add rpcgen.
46957 ($(objpfx)rpcgen): Remove special build rule and dependency on
46959 * sunrpc/rpcgen.c: New file.
46961 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46964 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46965 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46966 * sysdeps/i386/crti.S: Likewise.
46967 * sysdeps/i386/crtn.S: Likewise.
46968 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46969 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46970 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46971 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46972 * sysdeps/sh/crti.S: Likewise.
46973 * sysdeps/sh/crtn.S: Likewise.
46974 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46977 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46979 * locale/programs/locfile-kw.gperf: Likewise.
46980 * locale/programs/charmap-kw.h: Regenerated.
46981 * locale/programs/locfile-kw.h: Likewise.
46984 * intl/plural.y: Replace FSF snail mail address with URL.
46985 * intl/plural.c: Regenerated.
46987 2012-03-09 Richard Henderson <rth@twiddle.net>
46989 * include/math_private.h: Remove file.
46990 * math/math_private.h: Move file ...
46991 * sysdeps/generic/math_private.h: ... here.
46993 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46994 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46995 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46997 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46998 and <math_private.h>.
46999 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47000 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47001 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47002 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47003 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47004 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47005 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47007 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47008 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47010 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47012 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47014 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47015 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47016 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47017 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47018 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47021 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47023 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47024 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47029 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47030 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47031 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47032 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47033 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47034 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47035 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47036 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47037 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47039 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47040 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47041 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47042 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47043 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47045 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47046 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47047 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47048 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47049 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47050 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47051 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47052 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47053 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47054 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47055 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47056 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47057 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47058 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47059 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47060 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47062 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47063 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47064 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47065 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47066 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47067 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47068 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47069 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47070 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47071 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47073 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47077 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47078 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47079 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47080 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47081 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47082 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47083 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47084 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47086 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47087 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47088 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47089 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47090 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47091 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47092 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47093 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47094 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47095 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47096 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47097 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47098 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47099 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47100 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47101 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47102 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47103 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47104 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47105 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47106 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47107 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47108 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47109 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47110 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47111 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47112 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47113 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47114 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47116 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47118 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47119 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47120 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47121 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47122 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47123 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47124 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47125 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47126 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47127 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47128 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47129 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47130 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47131 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47132 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47133 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47134 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47135 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47136 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47137 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47138 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47140 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47141 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47142 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47143 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47144 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47145 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47146 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47147 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47148 * sysdeps/ieee754/k_standard.c: Likewise.
47149 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47150 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47151 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47152 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47153 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47154 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47155 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47156 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47157 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47158 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47160 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47161 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47162 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47163 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47164 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47165 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47166 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47167 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47168 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47169 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47170 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47171 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47172 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47173 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47174 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47175 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47176 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47177 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47178 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47179 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47181 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47183 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47184 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47185 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47186 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47187 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47188 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47189 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47190 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47192 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47193 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47194 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47195 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47197 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47199 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47200 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47201 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47202 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47203 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47204 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47205 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47206 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47207 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47208 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47209 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47210 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47211 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47212 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47214 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47215 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47216 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47218 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47220 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47221 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47222 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47223 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47225 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47226 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47228 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47229 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47230 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47231 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47232 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47233 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47234 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47235 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47236 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47237 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47238 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47240 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47241 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47245 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47252 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47253 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47254 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47256 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47257 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47258 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47259 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47260 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47263 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47264 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47268 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47270 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47271 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47272 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47273 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47274 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47275 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47276 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47277 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47278 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47281 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47284 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47285 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47286 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47287 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47288 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47289 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47290 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47291 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47292 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47297 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47298 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47299 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47300 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47301 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47302 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47303 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47309 * sysdeps/ieee754/s_lib_version.c: Likewise.
47310 * sysdeps/ieee754/s_matherr.c: Likewise.
47311 * sysdeps/ieee754/s_signgam.c: Likewise.
47312 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47313 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47314 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47315 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47316 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47317 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47318 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47319 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47320 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47321 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47322 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47323 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47324 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47325 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47326 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47327 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47328 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47329 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47330 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47331 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47332 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47334 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47336 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47337 * sunrpc/rpc_main.c: Likewise.
47338 * sunrpc/rpc_svcout.c: Likewise.
47340 2012-03-09 David S. Miller <davem@davemloft.net>
47342 * include/math_private.h: New file.
47344 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47346 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47347 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47348 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47349 from <bits/socket_type.h>.
47350 (enum __socket_type): Don't define here.
47351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47353 bits/socket_type.h.
47356 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47357 checking __USE_GNU.
47359 * Makerules ($(inst_includedir)/%.h): New rule.
47360 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47361 (install-others): Remove variable setting.
47362 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47364 2012-03-08 Richard Henderson <rth@twiddle.net>
47366 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47367 from macro to inline function; merge with the
47368 !__LIBC_INTERNAL_MATH_INLINES version.
47369 (__ieee754_sqrtf): Likewise.
47371 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47372 to inline function.
47373 (__rintf, __floor, __floorf): Likewise.
47375 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47376 macro to inline function.
47377 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47379 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47380 not <math/math_private.h>.
47382 2012-03-08 David S. Miller <davem@davemloft.net>
47384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47386 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47388 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47390 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47392 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47393 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47395 2012-03-08 Ulrich Drepper <drepper@gmail.com>
47397 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47398 be defined individually, they must be defined as a block. Define
47399 S for printing a string instead of hidint the different by using a
47400 macro for adding the 'l'.
47401 * stdio-common/tst-fphex-wide.c: Adjust.
47403 2012-03-07 Marek Polacek <polacek@redhat.com>
47405 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47407 2012-03-08 Marek Polacek <polacek@redhat.com>
47410 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47411 * stdio-common/tst-fphex.c: Define a few macros to make the
47412 test reusable. Use them.
47413 * stdio-common/tst-fphex-wide.c: New file.
47415 2012-03-08 Joseph Myers <joseph@codesourcery.com>
47418 * manual/macros.texi (gnusystems): New macro.
47419 (nongnusystems): Likewise.
47420 (gnulinuxhurdsystems): Likewise.
47421 (gnuhurdsystems): Likewise..
47422 (gnulinuxsystems): Likewise.
47423 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47424 variants of the GNU system, not "GNU system".
47425 * manual/conf.texi: Likewise.
47426 * manual/errno.texi: Likewise. Update example of errno macro
47428 * manual/filesys.texi: Likewise.
47429 (getumask): Document as specific to GNU/Hurd.
47430 * manual/install.texi: Likewise. Reword some references to
47432 * manual/intro.texi: Likewise.
47433 * manual/io.texi: Likewise.
47434 (File Name Portability): Detail which constraints are inapplicable
47435 to all GNU systems and which are only inapplicable to GNU/Hurd.
47436 * manual/job.texi: Likewise.
47437 * manual/llio.texi: Likewise.
47438 (O_NOCTTY): Document as present on GNU/Linux.
47439 * manual/maint.texi: Likewise.
47440 * manual/memory.texi: Likewise.
47441 * manual/pattern.texi: Likewise.
47442 * manual/pipe.texi: Likewise.
47443 * manual/process.texi: Likewise.
47444 * manual/resource.texi: Likewise.
47445 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47447 * manual/setjmp.texi: Likewise.
47448 * manual/signal.texi: Likewise.
47449 * manual/startup.texi: Likewise.
47450 * manual/stdio.texi: Likewise.
47451 * manual/terminal.texi: Likewise.
47452 (ONLCR): Document as POSIX.
47453 (OXTABS): Document availability on GNU/Linux as XTABS.
47454 (ONOEOT): Document availability separately from other bits.
47455 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47456 * manual/time.texi: Likewise.
47457 * manual/users.texi: Likewise.
47458 * INSTALL: Regenerated.
47459 * sysdeps/gnu/errlist.c: Regenerated.
47461 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47462 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47463 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47465 * configure: Regenerated.
47467 2012-03-07 Joseph Myers <joseph@codesourcery.com>
47469 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47470 default includes instead of AC_HEADER_CHECK.
47471 * sysdeps/i386/configure: Regenerated.
47474 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47475 * math/s_cacoshf.c (__cacoshf): Likewise.
47476 * math/s_cacoshl.c (__cacoshl): Likewise.
47477 * math/s_casinh.c (__casinh): Set signs of result from argument.
47478 * math/s_casinhf.c (__casinhf): Likewise.
47479 * math/s_casinhl.c (__casinhl): Likewise.
47480 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47481 (casinh_test): Add more tests.
47482 * sysdeps/i386/fpu/libm-test-ulps: Update.
47483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47485 2012-03-07 Ulrich Drepper <drepper@gmail.com>
47487 * po/zh_TW.po: Update from translation team.
47489 * login/Makefile (distribute): Remove variable.
47490 * catgets/Makefile: Likewise.
47491 * mach/Makefile: Likewise.
47492 * malloc/Makefile: Likewise.
47493 * misc/Makefile: Likewise.
47494 * iconv/Makefile: Likewise.
47495 * nscd/Makefile: Likewise.
47496 * hurd/Makefile: Likewise.
47497 * manual/Makefile: Likewise.
47498 * locale/Makefile: Likewise.
47499 * intl/Makefile: Likewise.
47500 * conform/Makefile: Likewise.
47501 * nss/Makefile: Likewise.
47502 * time/Makefile: Likewise.
47503 * soft-fp/Makefile: Likewise.
47504 * dirent/Makefile: Likewise.
47505 * gmon/Makefile: Likewise.
47506 * po/Makefile: Likewise.
47507 * rt/Makefile: Likewise.
47508 * socket/Makefile: Likewise.
47509 * math/Makefile: Likewise.
47510 * signal/Makefile: Likewise.
47511 * debug/Makefile: Likewise.
47512 * elf/Makefile: Likewise.
47513 * timezone/Makefile: Likewise.
47514 * stdlib/Makefile: Likewise.
47515 * iconvdata/Makefile: Likewise.
47516 * sunrpc/Makefile: Likewise.
47517 * io/Makefile: Likewise.
47518 * argp/Makefile: Likewise.
47519 * inet/Makefile: Likewise.
47520 * hesiod/Makefile: Likewise.
47521 * grp/Makefile: Likewise.
47522 * csu/Makefile: Likewise.
47523 * wctype/Makefile: Likewise.
47524 * crypt/Makefile: Likewise.
47525 * libio/Makefile: Likewise.
47526 * string/Makefile: Likewise.
47527 * nis/Makefile: Likewise.
47528 * resolv/Makefile: Likewise.
47529 * stdio-common/Makefile: Likewise.
47530 * wcsmbs/Makefile: Likewise.
47531 * dlfcn/Makefile: Likewise.
47532 * posix/Makefile: Likewise.
47535 * timezone/Makefile: Don't install timezone files, just the programs
47538 2012-03-06 Ulrich Drepper <drepper@gmail.com>
47540 * nss/databases.def: Add missing gshadow entry.
47542 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47544 2012-03-06 Marek Polacek <polacek@redhat.com>
47547 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47548 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47549 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47550 * stdio-common/tst-long-dbl-fphex.c: New file.
47552 2012-03-06 David S. Miller <davem@davemloft.net>
47554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47555 (set_obp_int): New function.
47556 (get_obp_int): New function.
47557 (__get_clockfreq_via_dev_openprom): Likewise.
47558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47559 Avoid unused variable warnings on 'val' and use builtin_expect.
47560 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47562 (INLINE_CLONE_SYSCALL): Likewise.
47564 2012-03-05 David S. Miller <davem@davemloft.net>
47566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47568 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47572 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47573 only for |x| >= 40.
47574 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47576 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
47578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47579 Replace gettimeofday with __vdso_gettimeofday.
47581 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47582 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47583 __vdso_clock_gettime and __vdso_getcpu.
47585 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47586 time with __vdso_time.
47588 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47590 * manual/lang.texi (size_t): Note types to which size_t may be
47591 equivalent with the GNU C Library, but do not describe when
47592 differences between them are significant.
47594 2012-03-05 Andreas Jaeger <aj@suse.de>
47596 * sysdeps/i386/fpu/libm-test-ulps: Update.
47598 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47601 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47602 (__ieee754_pow): Save and restore rounding mode and use
47603 round-to-nearest for main computations.
47604 * math/libm-test.inc (pow_test_tonearest): New function.
47605 (pow_test_towardzero): Likewise.
47606 (pow_test_downward): Likewise.
47607 (pow_test_upward): Likewise.
47608 (main): Call the new functions.
47609 * sysdeps/i386/fpu/libm-test-ulps: Update.
47610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47613 * math/libm-test.inc (cosh_test_tonearest): New function.
47614 (cosh_test_towardzero): Likewise.
47615 (cosh_test_downward): Likewise.
47616 (cosh_test_upward): Likewise.
47617 (sinh_test_tonearest): Likewise.
47618 (sinh_test_towardzero): Likewise.
47619 (sinh_test_downward): Likewise.
47620 (sinh_test_upward): Likewise.
47621 (main): Call the new functions.
47622 * sysdeps/i386/fpu/libm-test-ulps: Update.
47623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47625 2012-03-05 Tom de Vries <tom@codesourcery.com>
47627 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47628 default stack guard is set in last bytes.
47629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47631 2012-03-05 Kees Cook <keescook@chromium.org>
47633 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47636 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47637 possibly allocate from heap instead of stack.
47638 * stdio-common/bug-vfprintf-nargs.c: New file.
47639 * stdio-common/Makefile (tests): Add nargs overflow test.
47641 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47645 2012-03-03 Marek Polacek <polacek@redhat.com>
47647 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47648 * math/math_private.h: Likewise.
47649 * stdlib/tst-strtod.c: Likewise.
47650 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47651 * sysdeps/x86_64/bits/atomic.h: Likewise.
47653 2012-03-02 David S. Miller <davem@davemloft.net>
47655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47659 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47660 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47661 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47662 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47664 2012-03-02 Roland McGrath <roland@hack.frob.com>
47667 * manual/examples/README: New file, says the example source files
47668 can be used under GPL>=2.
47669 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47670 line containing just "*/".
47671 * manual/examples/add.c: Add copyright header (GPL>=2).
47672 * manual/examples/argp-ex1.c: Likewise.
47673 * manual/examples/argp-ex2.c: Likewise.
47674 * manual/examples/argp-ex3.c: Likewise.
47675 * manual/examples/argp-ex4.c: Likewise.
47676 * manual/examples/atexit.c: Likewise.
47677 * manual/examples/db.c: Likewise.
47678 * manual/examples/dir.c: Likewise.
47679 * manual/examples/dir2.c: Likewise.
47680 * manual/examples/execinfo.c: Likewise.
47681 * manual/examples/filecli.c: Likewise.
47682 * manual/examples/filesrv.c: Likewise.
47683 * manual/examples/fmtmsgexpl.c: Likewise.
47684 * manual/examples/genpass.c: Likewise.
47685 * manual/examples/inetcli.c: Likewise.
47686 * manual/examples/inetsrv.c: Likewise.
47687 * manual/examples/isockad.c: Likewise.
47688 * manual/examples/longopt.c: Likewise.
47689 * manual/examples/memopen.c: Likewise.
47690 * manual/examples/memstrm.c: Likewise.
47691 * manual/examples/mkfsock.c: Likewise.
47692 * manual/examples/mkisock.c: Likewise.
47693 * manual/examples/mygetpass.c: Likewise.
47694 * manual/examples/pipe.c: Likewise.
47695 * manual/examples/popen.c: Likewise.
47696 * manual/examples/rprintf.c: Likewise.
47697 * manual/examples/search.c: Likewise.
47698 * manual/examples/select.c: Likewise.
47699 * manual/examples/setjmp.c: Likewise.
47700 * manual/examples/sigh1.c: Likewise.
47701 * manual/examples/sigusr.c: Likewise.
47702 * manual/examples/stpcpy.c: Likewise.
47703 * manual/examples/strdupa.c: Likewise.
47704 * manual/examples/strftim.c: Likewise.
47705 * manual/examples/strncat.c: Likewise.
47706 * manual/examples/subopt.c: Likewise.
47707 * manual/examples/swapcontext.c: Likewise.
47708 * manual/examples/termios.c: Likewise.
47709 * manual/examples/testopt.c: Likewise.
47710 * manual/examples/testpass.c: Likewise.
47711 * manual/examples/timeval_subtract.c: Likewise.
47714 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47716 * manual/timeval_subtract.c.texi: ... here, new file.
47718 2012-03-02 David S. Miller <davem@davemloft.net>
47720 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47722 2012-03-02 Joseph Myers <joseph@codesourcery.com>
47725 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47726 (__sin): Save and restore rounding mode and use round-to-nearest
47727 for all computations.
47728 (__cos): Save and restore rounding mode and use round-to-nearest
47729 for all computations.
47730 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47732 (tan): Save and restore rounding mode and use round-to-nearest for
47734 * math/libm-test.inc (cos_test_tonearest): New function.
47735 (cos_test_towardzero): Likewise.
47736 (cos_test_downward): Likewise.
47737 (cos_test_upward): Likewise.
47738 (sin_test_tonearest): Likewise.
47739 (sin_test_towardzero): Likewise.
47740 (sin_test_downward): Likewise.
47741 (sin_test_upward): Likewise.
47742 (tan_test_tonearest): Likewise.
47743 (tan_test_towardzero): Likewise.
47744 (tan_test_downward): Likewise.
47745 (tan_test_upward): Likewise.
47746 (main): Call the new functions.
47747 * sysdeps/i386/fpu/libm-test-ulps: Update.
47748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47751 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47752 small n, then large n, before computing and testing k+n.
47753 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47758 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47759 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47764 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47765 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47766 * math/libm-test.inc (scalbn_test): Add more tests.
47767 (scalbln_test): Likewise.
47769 * manual/filesys.texi (mode_t): Describe constraints on size and
47770 signedness, not exact equivalence to a particular type.
47772 (ino64_t): Likewise.
47774 (nlink_t): Likewise.
47775 (blkcnt_t): Likewise.
47776 (blkcnt64_t): Likewise.
47777 * manual/llio.texi (off_t): Likewise.
47780 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47781 (__ieee754_exp): Save and restore rounding mode and use
47782 round-to-nearest for all computations.
47783 * math/libm-test.inc (exp_test_tonearest): New function.
47784 (exp_test_towardzero): Likewise.
47785 (exp_test_downward): Likewise.
47786 (exp_test_upward): Likewise.
47787 (main): Call the new functions.
47788 * sysdeps/i386/fpu/libm-test-ulps: Update.
47789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47791 2012-03-01 Chris Demetriou <cgd@google.com>
47793 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47794 have predictable order.
47796 2012-03-01 David S. Miller <davem@davemloft.net>
47798 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47800 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47801 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47802 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47803 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47805 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47806 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47807 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47809 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47810 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47811 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47812 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47813 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47817 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47818 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47819 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47821 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47822 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47823 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47824 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47825 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47826 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47828 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47829 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47832 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47834 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47835 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47837 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47838 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47839 * sysdeps/sparc/elf/configure: Regenerated.
47841 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47843 * configure.in (AS, LD): Require binutils 2.20 or later.
47844 * configure: Regenerated.
47845 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47846 as required minimum version.
47847 * INSTALL: Regenerated.
47851 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47852 before squaring exponent.
47853 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47854 bottom long double and 27 bits of top long double before squaring
47856 * math/libm-test.inc (erfc_test): Add more tests.
47857 * sysdeps/i386/fpu/libm-test-ulps: Update.
47858 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47861 2012-03-01 Kai Tietz <ktietz@redhat.com>
47863 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47864 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47865 containing bit-fields.
47866 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47867 * soft-fp/single.h (_FP_UNION_S): Likewise.
47868 * soft-fp/double.h (_FP_UNION_D): Likewise.
47870 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47873 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47874 not include ../strcmp.S.
47875 [USE_AS_STRNCASECMP_L]: Likewise.
47876 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47877 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47878 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47879 (__strncasecmp_l_ia32): Define as alias to
47880 __strncasecmp_l_nonascii.
47883 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47884 * sysdeps/i386/fpu/libm-test-ulps: Update.
47885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47887 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47890 2012-02-29 Jeff Law <law@redhat.com>
47892 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47893 out of bounds read.
47895 2012-02-29 Marek Polacek <polacek@redhat.com>
47898 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47899 * elf/Makefile: Add rules to run tst-unused-dep.out.
47901 2012-02-28 David S. Miller <davem@davemloft.net>
47903 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47904 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47905 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47906 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47907 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47908 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47910 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47912 * math/libm-test.inc (llround_test): Move one test from
47913 lround_test. Use TEST_f_L in moved test.
47914 (lround_test): Move misplaced test to llround_test. Add testcase
47917 2012-02-28 Ulrich Drepper <drepper@gmail.com>
47919 * sysdeps/x86_64/fpu/e_expf.S: New file.
47920 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47922 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47925 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47926 of remain_len that may cause incomplete multi-byte character and
47928 * posix/bug-regex33.c: New file.
47929 * posix/Makefile (tests): Add bug-regex33.
47931 2012-02-28 Joseph Myers <joseph@codesourcery.com>
47933 * manual/macros.texi: New file.
47934 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47935 * manual/libc.texinfo: Include macros.texi.
47936 * manual/creatute.texi: Likewise.
47937 * manual/install.texi: Likewise.
47938 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47939 @glibcadj{} in references to the GNU C Library.
47940 * manual/charset.texi: Likewise.
47941 * manual/conf.texi: Likewise.
47942 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47943 when not using those macros.
47944 * manual/creature.texi: Likewise.
47945 * manual/crypt.texi: Likewise.
47946 * manual/errno.texi: Likewise.
47947 * manual/filesys.texi: Likewise.
47948 * manual/header.texi: Likewise.
47949 * manual/install.texi: Likewise.
47950 * manual/intro.texi: Likewise.
47951 * manual/io.texi: Likewise.
47952 * manual/job.texi: Likewise.
47953 * manual/lang.texi: Likewise.
47954 * manual/libc.texiinfo: Likewise.
47955 * manual/llio.texi: Likewise.
47956 * manual/locale.texi: Likewise.
47957 * manual/maint.texi: Likewise.
47958 * manual/math.texi: Likewise.
47959 * manual/memory.texi: Likewise.
47960 * manual/message.texi: Likewise.
47961 * manual/nss.texi: Likewise.
47962 * manual/pattern.texi: Likewise.
47963 * manual/process.texi: Likewise.
47964 * manual/resource.texi: Likewise.
47965 * manual/search.texi: Likewise.
47966 * manual/setjmp.texi: Likewise.
47967 * manual/signal.texi: Likewise.
47968 * manual/socket.texi: Likewise.
47969 * manual/startup.texi: Likewise.
47970 * manual/stdio.texi: Likewise.
47971 * manual/string.texi: Likewise.
47972 * manual/sysinfo.texi: Likewise.
47973 * manual/syslog.texi: Likewise.
47974 * manual/terminal.texi: Likewise.
47975 * manual/time.texi: Likewise.
47976 * manual/users.texi: Likewise.
47977 * INSTALL: Regenerated.
47978 * NOTES: Regenerated.
47979 * sysdeps/gnu/errlist.c: Regenerated.
47981 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47983 * include/dirent.h: Include <dirstream.h> before
47986 2012-02-28 David S. Miller <davem@davemloft.net>
47988 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47989 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47990 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47991 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47993 2012-02-27 David S. Miller <davem@davemloft.net>
47995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47997 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47998 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48001 frame pointer instead of stack pointer relative arg slot.
48002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48003 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48004 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48006 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48009 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48011 2012-02-27 David S. Miller <davem@davemloft.net>
48013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48017 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48018 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48019 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48020 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48022 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48024 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48025 later. Allow versions 5-9.
48026 * configure: Regenerated.
48027 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48028 required minimum version and 4.6 as recommended version. Do not
48029 mention bugs in GCC 2.7 and 2.8.
48030 * INSTALL: Regenerated.
48032 2012-02-27 David S. Miller <davem@davemloft.net>
48034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48038 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48039 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48040 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48041 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48044 manipulate bits before adding and subtracting TWO112[sx].
48045 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48047 2012-02-27 Roland McGrath <roland@hack.frob.com>
48050 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48051 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48052 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48053 being in POSIX, because they are in 1003.1-2008.
48055 * rt/tst-aio.c: Include <fcntl.h>.
48056 * rt/tst-aio7.c: Likewise.
48057 * rt/tst-aio64.c: Likewise.
48059 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48061 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48063 * manual/install.texi (--with-headers): Describe headers as
48064 interface headers, not private headers.
48065 (Specific advice for GNU/Linux systems): Describe use of headers
48066 from "make headers_install", not private headers from older
48068 * INSTALL: Regenerated.
48069 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48071 * sysdeps/unix/sysv/linux/configure: Regenerated.
48073 * manual/llio.texi (fclean): Remove documentation.
48075 * manual/Makefile (libc-texi-generated): New variable. Include
48077 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48078 $(libc-texi-generated), not duplicated list of files.
48079 (version.texi, stamp-version): New rules.
48080 (realclean): Remove $(libc-texi-generated), not individual files
48081 from that list. Do not remove dir-add.texinfo.
48082 * manual/libc.texinfo: Comment out uses of edition numbers and
48083 references to printed manual. Remove last-updated dates.
48084 (EDITION): Comment out.
48086 (VERSION, UPDATED): Remove.
48087 (version.texi): Include.
48089 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48091 * sysdeps/posix/spawni.c: Include <signal.h>.
48092 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48093 * sysdeps/pthread/aio_fsync.c: Likewise.
48095 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48097 * conform/Makefile (tests): Run only when not cross-compiling and
48098 when fast-check is not defined.
48100 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48101 * conform/data/limits.h-data: Fixes for POSIX2008.
48102 * conform/run-conformtest.sh: Run all tests.
48103 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48105 * include/bits/dlfcn.h: Likewise.
48106 * include/langinfo.h: Likewise.
48107 * include/monetary.h: Likewise.
48108 * include/sys/poll.h: Likewise.
48110 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48112 * posix/spawn.h: Define __need_sigset_t.
48113 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48114 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48115 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48116 to get sigevent_t only.
48117 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48118 only for __USE_GNU.
48119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48120 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48121 process_vm_writev only for __USE_GNU.
48122 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48124 * conform/Makefile: For now ignore errors from run-conformtest.
48125 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48126 POSIX to avoid namespace pollution. Don't prepend headers.
48127 * conform/data/aio.h-data: Fixes for POSIX testing.
48128 * conform/data/fcntl.h-data: Likewise.
48129 * conform/data/glob.h-data: Likewise.
48130 * conform/data/grp.h-data: Likewise.
48131 * conform/data/pthread.h-data: Likewise.
48132 * conform/data/pwd.h-data: Likewise.
48133 * conform/data/signal.h-data: Likewise.
48134 * conform/data/spawn.h-data: Likewise.
48135 * conform/data/stdio.h-data: Likewise.
48136 * conform/data/stdlib.h-data: Likewise.
48137 * conform/data/stropts.h-data: Likewise.
48138 * conform/data/sys/mman.h-data: Likewise.
48139 * conform/data/sys/stat.h-data: Likewise.
48140 * conform/data/sys/types.h-data: Likewise.
48141 * conform/data/sys/wait.h-data: Likewise.
48142 * conform/data/time.h-data: Likewise.
48143 * conform/data/unistd.h-data: Likewise.
48144 * conform/data/utime.h-data: Likewise.
48146 * io/sys/stat.h: fchmod was always in POSIX.
48147 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48148 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48149 * rt/aio.h: Define __need_timespec before including <time.h>.
48150 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48151 struct. Add forward declaration of pthread_attr_t and use it in
48153 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48155 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48156 always remove CLK_TCK definition.
48158 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48160 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48162 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48164 * conform/run-conformtest.sh: New file.
48165 * conform/Makefile: Run run-conformtest for tests.
48166 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48169 * conform/data/uchar.h-data: New file.
48170 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48171 * conform/data/arpa/inet.h-data: Likewise.
48172 * conform/data/assert.h-data: Likewise.
48173 * conform/data/complex.h-data: Likewise.
48174 * conform/data/cpio.h-data: Likewise.
48175 * conform/data/ctype.h-data: Likewise.
48176 * conform/data/dirent.h-data: Likewise.
48177 * conform/data/dlfcn.h-data: Likewise.
48178 * conform/data/errno.h-data: Likewise.
48179 * conform/data/fcntl.h-data: Likewise.
48180 * conform/data/float.h-data: Likewise.
48181 * conform/data/fmtmsg.h-data: Likewise.
48182 * conform/data/fnmatch.h-data: Likewise.
48183 * conform/data/ftw.h-data: Likewise.
48184 * conform/data/glob.h-data: Likewise.
48185 * conform/data/grp.h-data: Likewise.
48186 * conform/data/iconv.h-data: Likewise.
48187 * conform/data/inttypes.h-data: Likewise.
48188 * conform/data/langinfo.h-data: Likewise.
48189 * conform/data/libgen.h-data: Likewise.
48190 * conform/data/limits.h-data: Likewise.
48191 * conform/data/locale.h-data: Likewise.
48192 * conform/data/math.h-data: Likewise.
48193 * conform/data/monetary.h-data: Likewise.
48194 * conform/data/mqueue.h-data: Likewise.
48195 * conform/data/ndbm.h-data: Likewise.
48196 * conform/data/net/if.h-data: Likewise.
48197 * conform/data/netdb.h-data: Likewise.
48198 * conform/data/netinet/in.h-data: Likewise.
48199 * conform/data/nl_types.h-data: Likewise.
48200 * conform/data/poll.h-data: Likewise.
48201 * conform/data/pthread.h-data: Likewise.
48202 * conform/data/pwd.h-data: Likewise.
48203 * conform/data/regex.h-data: Likewise.
48204 * conform/data/sched.h-data: Likewise.
48205 * conform/data/search.h-data: Likewise.
48206 * conform/data/semaphore.h-data: Likewise.
48207 * conform/data/setjmp.h-data: Likewise.
48208 * conform/data/signal.h-data: Likewise.
48209 * conform/data/spawn.h-data: Likewise.
48210 * conform/data/stdarg.h-data: Likewise.
48211 * conform/data/stdio.h-data: Likewise.
48212 * conform/data/stdlib.h-data: Likewise.
48213 * conform/data/string.h-data: Likewise.
48214 * conform/data/strings.h-data: Likewise.
48215 * conform/data/stropts.h-data: Likewise.
48216 * conform/data/sys/ipc.h-data: Likewise.
48217 * conform/data/sys/mman.h-data: Likewise.
48218 * conform/data/sys/msg.h-data: Likewise.
48219 * conform/data/sys/resource.h-data: Likewise.
48220 * conform/data/sys/select.h-data: Likewise.
48221 * conform/data/sys/sem.h-data: Likewise.
48222 * conform/data/sys/shm.h-data: Likewise.
48223 * conform/data/sys/socket.h-data: Likewise.
48224 * conform/data/sys/stat.h-data: Likewise.
48225 * conform/data/sys/statvfs.h-data: Likewise.
48226 * conform/data/sys/time.h-data: Likewise.
48227 * conform/data/sys/timeb.h-data: Likewise.
48228 * conform/data/sys/times.h-data: Likewise.
48229 * conform/data/sys/types.h-data: Likewise.
48230 * conform/data/sys/uio.h-data: Likewise.
48231 * conform/data/sys/un.h-data: Likewise.
48232 * conform/data/sys/utsname.h-data: Likewise.
48233 * conform/data/sys/wait.h-data: Likewise.
48234 * conform/data/syslog.h-data: Likewise.
48235 * conform/data/tar.h-data: Likewise.
48236 * conform/data/termios.h-data: Likewise.
48237 * conform/data/utime.h-data: Likewise.
48238 * conform/data/utmpx.h-data: Likewise.
48239 * conform/data/varargs.h-data: Likewise.
48240 * conform/data/wchar.h-data: Likewise.
48241 * conform/data/wctype.h-data: Likewise.
48242 * conform/data/wordexp.h-data: Likewise.
48244 * include/stropts.h: New file.
48245 * include/uchar.h: New file.
48246 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48247 * include/assert.h: Likewise.
48248 * include/ctype.h: Likewise.
48249 * include/dirent.h: Likewise.
48250 * include/dlfcn.h: Likewise.
48251 * include/fcntl.h: Likewise.
48252 * include/fnmatch.h: Likewise.
48253 * include/glob.h: Likewise.
48254 * include/grp.h: Likewise.
48255 * include/libio.h: Likewise.
48256 * include/locale.h: Likewise.
48257 * include/math.h: Likewise.
48258 * include/net/if.h: Likewise.
48259 * include/netdb.h: Likewise.
48260 * include/netinet/in.h: Likewise.
48261 * include/pthread.h: Likewise.
48262 * include/pwd.h: Likewise.
48263 * include/regex.h: Likewise.
48264 * include/sched.h: Likewise.
48265 * include/search.h: Likewise.
48266 * include/setjmp.h: Likewise.
48267 * include/signal.h: Likewise.
48268 * include/stdio.h: Likewise.
48269 * include/stdlib.h: Likewise.
48270 * include/string.h: Likewise.
48271 * include/sys/cdefs.h: Likewise.
48272 * include/sys/mman.h: Likewise.
48273 * include/sys/msg.h: Likewise.
48274 * include/sys/resource.h: Likewise.
48275 * include/sys/select.h: Likewise.
48276 * include/sys/socket.h: Likewise.
48277 * include/sys/stat.h: Likewise.
48278 * include/sys/statvfs.h: Likewise.
48279 * include/sys/time.h: Likewise.
48280 * include/sys/times.h: Likewise.
48281 * include/sys/uio.h: Likewise.
48282 * include/sys/utsname.h: Likewise.
48283 * include/sys/wait.h: Likewise.
48284 * include/termios.h: Likewise.
48285 * include/time.h: Likewise.
48286 * include/ulimit.h: Likewise.
48287 * include/unistd.h: Likewise.
48288 * include/utime.h: Likewise.
48289 * include/wchar.h: Likewise.
48290 * include/wctype.h: Likewise.
48291 * include/wordexp.h: Likewise.
48293 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48295 * time/time.h: TIME_UTC must be a macro.
48296 Make timespec_get available for ISO C11 only as well.
48298 2012-02-24 Ulrich Drepper <drepper@gmail.com>
48300 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48301 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48303 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48305 * configure.in: Use -o not -a in test for unsupported multi-arch.
48307 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48309 * manual/texinfo.tex: Update to version 2012-01-19.16.
48311 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48313 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48315 2012-02-24 Roland McGrath <roland@hack.frob.com>
48318 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48319 * manual/fdl-1.3.texi: New file.
48320 * manual/fdl-1.1.texi: File removed.
48323 * manual/libc.texinfo (FDL_VERSION): New @set.
48324 Use it for mention of FDL in cover text.
48325 (Documentation License): Use it in @include file name.
48327 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48328 Roland McGrath <roland@hack.frob.com>
48331 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48332 (not LONG_LONG_MAX and LONG_LONG_MIN.
48333 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48334 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48336 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48338 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48342 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48343 manipulate bits before adding and subtracting TWO23[sx].
48344 * math/libm-test.inc (nearbyint_test): Add more tests.
48346 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48349 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48350 bits before adding and subtracting TWO23[sx].
48351 * math/libm-test.inc (rint_test): Add more tests.
48352 (rint_test_tonearest): Likewise.
48353 (rint_test_towardzero): Likewise.
48354 (rint_test_downward): Likewise.
48355 (rint_test_upward: Likewise.
48357 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48360 * include/stdc-predef.h: New file. Extracted from features.h.
48361 * include/features.h: Include stdc-predef.h.
48362 * Makefile (headers): Add stdc-predef.h.
48363 * CONFORMANCE (Compiler limitations): Update.
48365 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48367 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48369 2012-02-21 David S. Miller <davem@davemloft.net>
48371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48374 2012-02-20 David S. Miller <davem@davemloft.net>
48376 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48377 using a normal save/restore sequence, rather than allocating a
48378 dummy stack frame just to store a frame pointer and restore.
48379 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48381 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48383 * manual/install.texi: Fix stray word in line-wrapped comment.
48385 2012-02-20 David S. Miller <davem@davemloft.net>
48387 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48388 both binutils and gcc support GOTDATA.
48390 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48391 "rd %pc" in the PIC register setup sequences.
48393 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48394 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48395 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48396 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48397 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48399 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48402 (SYSCALL_ERROR_HANDLER): Likewise.
48403 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48404 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48406 (SYSCALL_ERROR_HANDLER): Likewise.
48408 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48409 (HAVE_GCC_GOTDATA): New.
48410 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48411 relocation support in both binutils and gcc.
48412 * sysdeps/sparc/elf/configure: Regenerate.
48414 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48415 * sysdeps/sparc/sparc32/elf/configure: Delete.
48416 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48417 * sysdeps/sparc/sparc64/elf/configure: Delete.
48418 * sysdeps/sparc/elf/configure.in: New file.
48419 * sysdeps/sparc/elf/configure: Generate.
48421 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48422 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48423 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48424 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48425 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48427 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48429 * manual/install.texi: Do not mention specific glibc version
48431 * manual/libc.texinfo (VERSION, UPDATED): Update.
48432 (@copying): Use @copyright{} and range of years.
48434 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48437 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48438 [crti.S not in sysdirs] (generated): Do not append.
48439 [crti.S not in sysdirs] (omit-deps): Likewise.
48440 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48441 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48442 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48443 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48444 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48446 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48447 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48448 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48449 * csu/defs.awk: Remove file.
48450 * sysdeps/generic/initfini.c: Likewise.
48451 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48453 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48456 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48458 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48459 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48460 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48461 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48462 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48463 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48465 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48466 (__EPOLL_PACKED): Define to empty if not defined by
48468 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48472 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48474 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48475 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48476 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48477 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48479 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48483 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48485 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48488 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48489 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48492 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48494 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48495 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48497 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48499 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48500 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48502 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48504 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48507 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48509 * math/w_acos.c: Use non-signaling floating-point comparisons.
48510 * math/w_acosf.c: Likewise.
48511 * math/w_acosh.c: Likewise.
48512 * math/w_acoshf.c: Likewise.
48513 * math/w_acoshl.c: Likewise.
48514 * math/w_acosl.c: Likewise.
48515 * math/w_asin.c: Likewise.
48516 * math/w_asinf.c: Likewise.
48517 * math/w_asinl.c: Likewise.
48518 * math/w_atanh.c: Likewise.
48519 * math/w_atanhf.c: Likewise.
48520 * math/w_atanhl.c: Likewise.
48521 * math/w_exp2.c: Likewise.
48522 * math/w_exp2f.c: Likewise.
48523 * math/w_exp2l.c: Likewise.
48524 * math/w_j0.c: Likewise.
48525 * math/w_j0f.c: Likewise.
48526 * math/w_j0l.c: Likewise.
48527 * math/w_j1.c: Likewise.
48528 * math/w_j1f.c: Likewise.
48529 * math/w_j1l.c: Likewise.
48530 * math/w_jn.c: Likewise.
48531 * math/w_jnf.c: Likewise.
48532 * math/w_log.c: Likewise.
48533 * math/w_log10.c: Likewise.
48534 * math/w_log10f.c: Likewise.
48535 * math/w_log10l.c: Likewise.
48536 * math/w_log2.c: Likewise.
48537 * math/w_log2f.c: Likewise.
48538 * math/w_log2l.c: Likewise.
48539 * math/w_logf.c: Likewise.
48540 * math/w_logl.c: Likewise.
48541 * math/w_sqrt.c: Likewise.
48542 * math/w_sqrtf.c: Likewise.
48543 * math/w_sqrtl.c: Likewise.
48544 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48545 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48547 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48548 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48550 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48553 * manual/string.texi (strnlen): Use correct parameter name in
48554 equivalent expression.
48556 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48559 * manual/users.texi (seteuid): Consistently use neweuid for
48562 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48565 * manual/nss.texi (Services in the NSS configuration): Correct
48566 list of services in example configuration file.
48568 2012-02-19 Nick Bowler <nbowler@draconx.ca>
48571 * manual/arith.texi: Remove statements about negative zero
48572 behaving identically to zero.
48574 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48577 * manual/install.texi: Do not document upgrading from libc5.
48579 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48582 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48584 2012-02-18 David S. Miller <davem@davemloft.net>
48586 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48587 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48588 %o7 across the call.
48589 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48592 SETUP_PIC_REG_LEAF.
48593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48594 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48595 * sysdeps/sparc/crtn.S: Likewise.
48597 2012-02-17 Ulrich Drepper <drepper@gmail.com>
48599 * aout/Makefile: Remove.
48601 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48604 * manual/examples/argp-ex1.c (main): Format definition in GNU
48606 * manual/examples/argp-ex2.c (main): Likewise.
48607 * manual/examples/argp-ex3.c (main): Likewise.
48608 * manual/examples/argp-ex4.c (main): Likewise.
48609 * manual/examples/longopt.c (main): Use new-style prototype
48611 * manual/examples/strncat.c (main): Specify return type and use
48612 (void) for arguments.
48613 * manual/examples/subopt.c (main): Use char **argv argument.
48615 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48618 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48621 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48624 * manual/string.texi (strchr): Change when strchrnul is
48627 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48630 * manual/locale.texi (setlocale): Document LOCPATH.
48632 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48635 * manual/process.texi (execle): Move @dots{} before last argument.
48637 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
48640 * manual/charset.texi (Generic Charset Conversion): Fix typo
48641 (LC_TYPE -> LC_CTYPE).
48643 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48646 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48647 (scalbnf): Likewise.
48648 (scalbnl): Likewise.
48649 (scalbln): Likewise.
48650 (scalblnf): Likewise.
48651 (scalblnl): Likewise.
48652 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48653 (vwarnx): Likewise.
48656 * manual/filesys.texi (telldir): Use braces around return type.
48657 * manual/llio.texi (mmap): Add space after comma.
48658 (mmap64): Likewise.
48659 * manual/math.texi (jn): Use @var{} on parameter names.
48665 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48667 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48669 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48670 (sched_get_priority_max): Likewise.
48671 * manual/signal.texi (sigvec): Add space after comma.
48672 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48674 (if_indextoname): Likewise.
48675 (if_freenameindex): Likewise.
48676 (sendto): Use ',' instead of '.' in prototype.
48677 * manual/startup.texi (syscall): Use @dots{} instead of literal
48679 * manual/stdio.texi (__fpending): Separate initial words of
48680 paragraph from @deftypefun line.
48681 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48683 (vsyslog): Use @var{} on parameter names.
48684 * manual/terminal.texi (stty): Use @var{} on parameter names.
48685 * manual/users.texi (getutmp): Use @var{} on parameter names.
48686 (getutmpx): Likewise.
48688 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48691 * manual/stdio.texi (fopen): Fix typos in description of
48694 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48697 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48698 get clock_id definition.
48700 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
48703 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48704 (madvise): Cast every argument to void on its own.
48706 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48709 * manual/startup.texi (Exit Status): Fix typo.
48711 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48714 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48715 * manual/examples/argp-ex2.c: Likewise.
48716 * manual/examples/argp-ex3.c: Likewise.
48718 2012-02-16 Richard Henderson <rth@redhat.com>
48720 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48721 * sysdeps/s390/s390-32/initfini.c: Remove.
48722 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48723 * sysdeps/s390/s390-64/initfini.c: Remove.
48725 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48727 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48728 compiler output for sysdeps/generic/initfini.c.
48729 * sysdeps/sh/elf/initfini.c: Remove file.
48731 2012-02-16 David S. Miller <davem@davemloft.net>
48734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48736 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48737 * sysdeps/sparc/crti.S: New file.
48738 * sysdeps/sparc/crtn.S: New file.
48739 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48740 * sysdeps/sparc/sparc64/Makefile: Likewise.
48742 2012-02-15 Mike Frysinger <vapier@gentoo.org>
48745 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48747 2012-02-15 Roland McGrath <roland@hack.frob.com>
48750 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48752 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48753 (write, read, close): Likewise.
48754 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48756 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48758 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48759 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48760 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48761 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48763 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48767 2012-02-14 Marek Polacek <polacek@redhat.com>
48769 * sysdeps/x86_64/crti.S: New file.
48770 * sysdeps/x86_64/crtn.S: New file.
48771 * sysdeps/x86_64/elf/initfini.c: Remove file.
48773 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48775 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48776 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48777 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48778 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48780 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48784 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48786 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48787 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48788 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48789 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48791 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48795 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48797 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48798 __feraiseexcept instead of feraiseexcept.
48800 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48801 nanosleep invocations.
48802 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48803 strings, and add error checking for a nanosleep invocations.
48805 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48807 Replace FSF snail mail address with URLs, as per GNU coding standards.
48808 Most of the snail mail addresses were wrong anyway, and omitting
48809 them makes the source code easier to maintain. Almost all of the
48810 changes are to license notices and to locale LC_IDENTIFICATION
48811 addresses, except for this one:
48812 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48813 not its snail mail address.
48815 2012-02-09 Richard Henderson <rth@twiddle.net>
48817 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48818 of kernel-features.h.
48820 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48822 2012-02-08 Marek Polacek <polacek@redhat.com>
48824 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48825 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48826 * sysdeps/gnu/_G_config.h: Likewise.
48827 * sysdeps/generic/_G_config.h: Likewise.
48829 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48831 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48835 * sysdeps/powerpc/powerpc32/crti.S: New file.
48836 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48837 * sysdeps/powerpc/powerpc64/crti.S: New file.
48838 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48840 * Makeconfig (have-initfini): Don't set.
48841 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48842 * configure.in (nopic_initfini): Don't substitute.
48843 * config.h.in (HAVE_INITFINI): Don't #undef.
48844 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48845 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48847 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48849 Support crti.S and crtn.S provided directly by architectures.
48850 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48851 [crti.S in sysdirs] (omit-deps): Likewise.
48852 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48853 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48854 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48855 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48856 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48857 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48858 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48859 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48860 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48861 compiler output for sysdeps/generic/initfini.c.
48862 * sysdeps/i386/elf/Makefile: Remove file.
48863 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48865 2012-02-07 Marek Polacek <polacek@redhat.com>
48867 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48868 * sysdeps/gnu/_G_config.h: Likewise.
48869 * sysdeps/mach/hurd/_G_config.h: Likewise.
48871 2012-02-07 Marek Polacek <polacek@redhat.com>
48873 * math/Makefile (tests): Add tst-CMPLX2.
48874 * math/tst-CMPLX2.c: New file.
48876 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48878 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48880 * math/libm-test.inc (jn_test): Add missing L suffix.
48882 2012-02-06 Marek Polacek <polacek@redhat.com>
48884 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48885 * sysdeps/i386/fpu/e_powf.S: Likewise.
48886 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48887 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48888 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48889 * sysdeps/i386/fpu/e_pow.S: Likewise.
48890 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48891 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48892 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48893 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48894 * sysdeps/i386/fpu/e_log2.S: Likewise.
48895 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48896 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48897 * sysdeps/i386/fpu/e_powl.S: Likewise.
48898 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48899 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48900 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48901 * sysdeps/i386/fpu/e_logl.S: Likewise.
48902 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48903 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48904 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48905 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48906 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48907 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48908 * sysdeps/i386/fpu/e_log.S: Likewise.
48909 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48910 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48911 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48912 * sysdeps/i386/fpu/e_logf.S: Likewise.
48913 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48914 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48915 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48916 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48917 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48918 * sysdeps/i386/fpu/e_log10.S: Likewise.
48919 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48920 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48921 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48922 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48923 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48924 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48925 * sysdeps/i386/asm-syntax.h: Likewise.
48926 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48927 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48928 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48929 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48930 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48931 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48932 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48933 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48934 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48935 * sysdeps/powerpc/sysdep.h: Likewise.
48936 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48937 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48939 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48942 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48944 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48946 * sysdeps/i386/sysdep.h: Include <features.h>.
48947 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48950 2012-02-05 Joseph Myers <joseph@codesourcery.com>
48952 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48954 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48957 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48959 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48960 (SETUP_PIC_REG): Use GET_PC_THUNK.
48961 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48964 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48966 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48967 for non-PIC compilation.
48968 (SETUP_PIC_REG): Add .p2align directive.
48969 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48970 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48971 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48972 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48974 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48975 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48977 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48978 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48979 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48980 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48981 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48982 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48983 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48984 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48985 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48986 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48987 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48988 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48989 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48991 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48992 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48995 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48996 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48997 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48998 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48999 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49000 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49001 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49002 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49003 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49004 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49005 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49006 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49007 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49008 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49009 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49011 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49013 * math/tst-CMPLX.c: Include <stdio.h>.
49015 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49017 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49019 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49020 * sysdeps/sparc/bits/mathdef.h: Likewise.
49022 2012-01-31 Marek Polacek <polacek@redhat.com>
49024 * libio/libio.h: Don't define _PARAMS.
49025 * locale/programs/config.h: Don't define PARAMS.
49026 * stdlib/strtol_l.c: Likewise.
49027 (__strtol_l): Remove PARAMS from the prototype.
49029 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49031 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49032 names. Just use the correct names. Remove unnecessary wrapper
49034 * malloc/arena.c: Likewise.
49035 * malloc/hooks.c: Likewise.
49037 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49038 ARENA_TEST says not to. Simplify test for creation of a new arena.
49039 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49041 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49043 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49045 (update_get_addr): New function.
49046 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49047 GET_ADDR_MODULE parameter.
49049 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49051 * crypt/cert.c: Remove __STDC__ conditionals.
49052 * crypt/crypt-entry.c: Likewise.
49053 * crypt/crypt_util.c: Likewise.
49054 * libio/filedoalloc.c: Likewise.
49055 * libio/fileops.c: Likewise.
49056 * libio/genops.c: Likewise.
49057 * libio/iofclose.c: Likewise.
49058 * libio/iofdopen.c: Likewise.
49059 * libio/iofopen.c: Likewise.
49060 * libio/iofopen64.c: Likewise.
49061 * libio/iogetdelim.c: Likewise.
49062 * libio/iopopen.c: Likewise.
49063 * libio/obprintf.c: Likewise.
49064 * libio/oldfileops.c: Likewise.
49065 * libio/oldiofclose.c: Likewise.
49066 * libio/oldiofdopen.c: Likewise.
49067 * libio/oldiofopen.c: Likewise.
49068 * libio/oldiopopen.c: Likewise.
49069 * libio/wfiledoalloc.c: Likewise.
49070 * libio/wgenops.c: Likewise.
49071 * locale/programs/xmalloc.c: Likewise.
49072 * misc/syslog.c: Likewise.
49073 * stdio-common/xbug.c: Likewise.
49074 * string/memchr.c: Likewise.
49075 * string/memcmp.c: Likewise.
49076 * string/memrchr.c: Likewise.
49077 * string/rawmemchr.c: Likewise.
49078 * sysdeps/posix/getcwd.c: Likewise.
49079 * time/strftime_l.c: Likewise.
49081 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49083 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49084 * config.make.in (config-cflags-sse2avx): Define.
49085 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49088 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49090 * scripts/config.guess: Update from upstream config git repository.
49091 * scripts/config.sub: Likewise.
49093 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49095 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49097 (R_TILEPRO_*, R_TILEGX_*): New macros.
49099 * scripts/firstversions.awk: Fix bug in version range handling.
49101 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49103 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49105 * include/sys/epoll.h: New file.
49106 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49109 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49111 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49112 Avoid unnecessary __WORDSIZE == 64 test.
49113 (fmaxf): Use VEX format if possible.
49118 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49119 * math/math_private.h: Remove libc_fegetround* and
49121 * sysdeps/i386/configure.in: Check for -msse2avx.
49122 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49123 also if SSE2AVX is defined.
49124 Remove libc_fegetround* and libc_fesetround*.
49125 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49126 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49127 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49129 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49130 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49131 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49132 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49133 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49135 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49137 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49139 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49141 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49143 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49146 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49148 * Makeconfig (libm): Define.
49149 * elf/Makefile: Add rules to build and run tst-relsort1.
49150 * elf/tst-relsort1.c: New file.
49151 * elf/tst-relsort1mod1.c: New file.
49152 * elf/tst-relsort1mod2.c: New file.
49154 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49156 * math/s_ldexp.c: Remove __STDC__ conditionals.
49157 * math/s_ldexpf.c: Likewise.
49158 * math/s_ldexpl.c: Likewise.
49159 * math/s_nextafter.c: Likewise.
49160 * math/s_nexttowardf.c: Likewise.
49161 * math/s_significand.c: Likewise.
49162 * math/s_significandf.c: Likewise.
49163 * math/s_significandl.c: Likewise.
49164 * math/w_jnl.c: Likewise.
49165 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49166 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49167 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49168 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49169 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49171 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49172 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49173 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49174 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49175 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49176 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49177 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49178 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49179 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49180 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49181 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49182 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49184 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49185 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49186 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49187 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49188 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49189 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49190 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49191 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49192 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49193 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49194 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49195 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49196 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49197 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49199 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49200 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49201 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49202 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49203 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49204 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49205 * sysdeps/ieee754/k_standard.c: Likewise.
49206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49208 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49209 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49210 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49211 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49212 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49213 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49214 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49215 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49216 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49218 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49219 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49220 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49221 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49222 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49223 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49224 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49225 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49227 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49228 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49229 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49230 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49231 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49233 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49235 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49237 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49238 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49239 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49241 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49242 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49245 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49246 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49248 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49249 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49251 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49252 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49255 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49256 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49259 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49260 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49261 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49262 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49264 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49265 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49266 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49267 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49268 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49270 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49271 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49272 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49273 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49274 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49275 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49276 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49277 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49278 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49279 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49280 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49281 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49282 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49285 * sysdeps/ieee754/s_matherr.c: Likewise.
49286 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49287 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49291 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49293 * crypt/md5.h: Remove __STDC__ conditionals.
49294 * libio/libioP.h: Likewise.
49295 * locale/programs/config.h: Likewise.
49296 * sysdeps/generic/sysdep.h: Likewise.
49297 * sysdeps/i386/asm-syntax.h: Likewise.
49298 * sysdeps/s390/asm-syntax.h: Likewise.
49299 * sysdeps/unix/sysdep.h: Likewise.
49300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49303 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49305 * libio/libio.h: Remove __STDC__ conditionals.
49306 * malloc/obstack.h: Likewise.
49307 * math/complex.h: Likewise.
49308 * math/math.h: Likewise.
49309 * sysdeps/generic/_G_config.h: Likewise.
49310 * sysdeps/gnu/_G_config.h: Likewise.
49311 * sysdeps/mach/hurd/_G_config.h: Likewise.
49312 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49313 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49314 * sysdeps/sparc/bits/mathdef.h: Likewise.
49316 2012-01-26 Ulrich Drepper <drepper@gmail.com>
49319 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49320 Clean up HAS_* macros.
49321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49322 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49324 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49326 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49327 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49328 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49329 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49330 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49332 2012-01-25 Joseph Myers <joseph@codesourcery.com>
49334 * elf/tst-unique3.cc (gets): Remove declaration.
49335 * elf/tst-unique3lib.cc (gets): Likewise.
49336 * elf/tst-unique3lib2.cc (gets): Likewise.
49337 * elf/tst-unique4.cc (gets): Likewise.
49339 2012-01-24 Ulrich Drepper <drepper@gmail.com>
49341 * include/stdio.h: Add C++ protection. Add gets declarations and
49343 * debug/tst-chk1.c: Don't declare gets here.
49344 * stdio-common/tst-gets.c: Likewise.
49346 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49348 * posix/glob: Remove directory.
49350 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49352 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49354 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49356 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49357 of the non-standard EPFNOSUPPORT.
49359 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49361 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49362 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49363 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49365 2012-01-21 Ulrich Drepper <drepper@gmail.com>
49367 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49369 2012-01-20 Ulrich Drepper <drepper@gmail.com>
49371 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49373 * nscd/grpcache.c (cache_addgr): Likewise.
49374 * nscd/hstcache.c (cache_addhst): Likewise.
49375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49376 * nscd/pwdcache.c (cache_addpw): Likewise.
49377 * nscd/servicescache.c (cache_addserv): Likewise.
49379 2012-01-16 Ulrich Drepper <drepper@gmail.com>
49381 * malloc/malloc.c: Various cleanups.
49382 * malloc/hooks.c: Likewise.
49384 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49385 * stdlib/bug-fmtmsg1.c: New file.
49387 * stdlib/fmtmsg.c (init): Add missing unlock.
49388 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49390 2012-01-12 Marek Polacek <polacek@redhat.com>
49392 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49395 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49397 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49398 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49399 macro to ensure uniqueness of label name.
49400 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49401 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49403 2012-01-11 Ulrich Drepper <drepper@gmail.com>
49405 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49407 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49408 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49410 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49412 2012-01-10 Ulrich Drepper <drepper@gmail.com>
49414 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49416 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49417 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49418 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49420 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49422 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49423 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49424 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49427 * math/bits/math-finite.h: Add ldexp support.
49429 2012-01-10 Marek Polacek <polacek@redhat.com>
49431 * locale/programs/localedef.h (show_archive_content): Add noreturn
49434 2012-01-09 Ulrich Drepper <drepper@gmail.com>
49436 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49438 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49440 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49442 * io/Makefile (headers): Add bits/poll2.h.
49444 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49447 typo #include statement.
49449 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49451 * include/sys/cdefs.h: Define __attribute_alloc_size.
49452 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49453 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49454 * elf/pldd.c: Likewise.
49455 * iconv/iconv_charmap.c: Likewise.
49456 * iconv/iconvconfig.c: Likewise.
49457 * iconv/strtab.c: Likewise.
49458 * locale/programs/locale.c: Likewise.
49459 * locale/programs/localedef.h: Likewise.
49460 * locale/programs/simple-hash.c: Likewise.
49461 * nscd/nscd.h: Likewise.
49462 * nss/makedb.c: Likewise.
49463 * sysdeps/generic/ldconfig.h: Likewise.
49464 * locale/programs/localedef.c: Remove xmalloc prototype.
49465 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49467 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49469 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49472 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49474 * math/Makefile (tests): Add tst-CMPLX.
49475 * math/tst-CMPLX.c: New file.
49477 * math/complex.h (CMPLXL): Fix typo.
49479 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49480 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49482 * debug/tst-chk1.c: Add poll and ppoll tests.
49483 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49484 * include/sys/poll.h: Add hidden proto for ppoll.
49485 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49486 * sysdeps/mach/hurd/ppoll.c: Likewise.
49487 * io/ppoll.c: Likewise.
49488 * debug/poll_chk.c: New file.
49489 * debug/ppoll_chk.c: New file.
49490 * include/bits/poll2.h: New file.
49491 * io/bits/poll2.h: New file.
49494 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49496 * configure.in: static is always set to yes. Remove.
49497 * config.make.in: Don't set build-static.
49498 * Makeconfig: Remove use of build-static.
49499 * dlfcn/Makefile: Likewise.
49500 * elf/Makefile: Likewise.
49501 * math/Makefile: Likewise.
49502 * misc/Makefile: Likewise.
49503 * nptl/Makefile: Likewise.
49504 * sysdeps/mach/hurd/Makefile: Likewise.
49506 * configure.in: PWD_P is not used anymore.
49507 * config.make.in: Remove PWD_P entry.
49509 * configure.in: Remove last remnants of RANLIB.
49510 No need to check for signed size_t anymore.
49511 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49513 Remove __builtin_expect test because we require at least gcc 3.4.
49514 * aclocal.m4: Likewise.
49516 * wcsmbs/mbrtoc16.c: Implement using towc function.
49517 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49518 * wcsmbs/wcsmbsload.c: Likewise.
49519 * iconv/gconv_simple.c: Likewise.
49520 * iconv/gconv_int.h: Likewise.
49521 * iconv/gconv_builtin.h: Likewise.
49522 * iconv/iconv_prog.c: Remove CHAR16 handling.
49524 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49526 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49528 * configure.in: Remove --with-elf and --enable-bounded options.
49529 Dont set base_machine for ia64. More non-ELF conditions removed.
49530 Remove testing and setting of leading underscore information.
49531 * config.make.in (build-bounded): Set to no.
49532 * config.h.in: Remove NO_UNDERSCORES entry.
49533 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49535 * csu/start.c: Remove !NO_UNDERSCORE code.
49536 * locale/localeinfo.h: Likewise.
49537 * sysdeps/generic/machine-gmon.h: Likewise.
49538 * sysdeps/generic/sysdep.h: Likewise.
49539 * sysdeps/i386/sysdep.h: Likewise.
49540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49541 * sysdeps/mach/sysdep.h: Likewise.
49542 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49544 * sysdeps/sh/sysdep.h: Likewise.
49545 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49546 * sysdeps/unix/i386/sysdep.S: Likewise.
49547 * sysdeps/unix/sparc/start.c: Likewise.
49548 * sysdeps/unix/sparc/sysdep.S: Likewise.
49549 * sysdeps/unix/sparc/sysdep.h: Likewise.
49550 * sysdeps/unix/start.c: Likewise.
49551 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49552 * sysdeps/x86_64/sysdep.h: Likewise.
49554 2012-01-07 Ulrich Drepper <drepper@gmail.com>
49557 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49559 * argp/argp-fmtstream.h: Use const instead __const.
49560 * argp/argp.h: Likewise.
49561 * assert/assert.h: Likewise.
49562 * bits/fenv.h: Likewise.
49563 * bits/sched.h: Likewise.
49564 * bits/sigset.h: Likewise.
49565 * bits/sigthread.h: Likewise.
49566 * catgets/nl_types.h: Likewise.
49567 * conform/data/pthread.h-data: Likewise.
49568 * crypt/crypt-private.h: Likewise.
49569 * crypt/crypt.h: Likewise.
49570 * crypt/crypt_util.c: Likewise.
49571 * ctype/ctype.h: Likewise.
49572 * debug/execinfo.h: Likewise.
49573 * debug/mbsnrtowcs_chk.c: Likewise.
49574 * debug/mbsrtowcs_chk.c: Likewise.
49575 * debug/wcsnrtombs_chk.c: Likewise.
49576 * debug/wcsrtombs_chk.c: Likewise.
49577 * debug/wcstombs_chk.c: Likewise.
49578 * dirent/dirent.h: Likewise.
49579 * dlfcn/dlfcn.h: Likewise.
49580 * elf/neededtest4.c: Likewise.
49581 * grp/grp.h: Likewise.
49582 * gshadow/gshadow.h: Likewise.
49583 * iconv/gconv.h: Likewise.
49584 * iconv/gconv_int.h: Likewise.
49585 * iconv/gconv_simple.c: Likewise.
49586 * iconv/iconv.h: Likewise.
49587 * iconv/loop.c: Likewise.
49588 * iconv/skeleton.c: Likewise.
49589 * include/aio.h: Likewise.
49590 * include/aliases.h: Likewise.
49591 * include/argz.h: Likewise.
49592 * include/arpa/inet.h: Likewise.
49593 * include/assert.h: Likewise.
49594 * include/dirent.h: Likewise.
49595 * include/dlfcn.h: Likewise.
49596 * include/execinfo.h: Likewise.
49597 * include/fcntl.h: Likewise.
49598 * include/fenv.h: Likewise.
49599 * include/glob.h: Likewise.
49600 * include/grp.h: Likewise.
49601 * include/libintl.h: Likewise.
49602 * include/mntent.h: Likewise.
49603 * include/netdb.h: Likewise.
49604 * include/pwd.h: Likewise.
49605 * include/rpc/netdb.h: Likewise.
49606 * include/sched.h: Likewise.
49607 * include/search.h: Likewise.
49608 * include/shadow.h: Likewise.
49609 * include/signal.h: Likewise.
49610 * include/stdio.h: Likewise.
49611 * include/stdlib.h: Likewise.
49612 * include/string.h: Likewise.
49613 * include/sys/socket.h: Likewise.
49614 * include/sys/stat.h: Likewise.
49615 * include/sys/statfs.h: Likewise.
49616 * include/sys/statvfs.h: Likewise.
49617 * include/sys/syslog.h: Likewise.
49618 * include/sys/time.h: Likewise.
49619 * include/sys/uio.h: Likewise.
49620 * include/time.h: Likewise.
49621 * include/unistd.h: Likewise.
49622 * include/utmp.h: Likewise.
49623 * include/wchar.h: Likewise.
49624 * include/wctype.h: Likewise.
49625 * inet/aliases.h: Likewise.
49626 * inet/arpa/inet.h: Likewise.
49627 * inet/netinet/ether.h: Likewise.
49628 * inet/netinet/in.h: Likewise.
49629 * intl/libintl.h: Likewise.
49630 * io/bits/fcntl2.h: Likewise.
49631 * io/fcntl.h: Likewise.
49632 * io/ftw.h: Likewise.
49633 * io/sys/poll.h: Likewise.
49634 * io/sys/stat.h: Likewise.
49635 * io/sys/statfs.h: Likewise.
49636 * io/sys/statvfs.h: Likewise.
49637 * io/utime.h: Likewise.
49638 * libio/bits/stdio.h: Likewise.
49639 * libio/bits/stdio2.h: Likewise.
49640 * libio/libio.h: Likewise.
49641 * libio/libioP.h: Likewise.
49642 * libio/stdio.h: Likewise.
49643 * locale/lc-ctype.c: Likewise.
49644 * locale/locale.h: Likewise.
49645 * login/utmp.h: Likewise.
49646 * malloc/arena.c: Likewise.
49647 * malloc/malloc.c: Likewise.
49648 * malloc/malloc.h: Likewise.
49649 * malloc/mcheck.c: Likewise.
49650 * malloc/mtrace.c: Likewise.
49651 * math/bits/mathcalls.h: Likewise.
49652 * math/fenv.h: Likewise.
49653 * math/math_private.h: Likewise.
49654 * misc/bits/error.h: Likewise.
49655 * misc/bits/syslog.h: Likewise.
49656 * misc/err.h: Likewise.
49657 * misc/error.h: Likewise.
49658 * misc/fstab.h: Likewise.
49659 * misc/mntent.h: Likewise.
49660 * misc/regexp.h: Likewise.
49661 * misc/search.h: Likewise.
49662 * misc/sgtty.h: Likewise.
49663 * misc/sys/mman.h: Likewise.
49664 * misc/sys/syslog.h: Likewise.
49665 * misc/sys/uio.h: Likewise.
49666 * misc/sys/xattr.h: Likewise.
49667 * misc/ttyent.h: Likewise.
49668 * nis/rpcsvc/ypclnt.h: Likewise.
49669 * nss/nss.h: Likewise.
49670 * posix/bits/unistd.h: Likewise.
49671 * posix/fnmatch.h: Likewise.
49672 * posix/glob.h: Likewise.
49673 * posix/sched.h: Likewise.
49674 * posix/spawn.h: Likewise.
49675 * posix/sys/wait.h: Likewise.
49676 * posix/unistd.h: Likewise.
49677 * posix/wordexp.h: Likewise.
49678 * pwd/pwd.h: Likewise.
49679 * resolv/netdb.h: Likewise.
49680 * resource/sys/resource.h: Likewise.
49681 * rt/aio.h: Likewise.
49682 * rt/bits/mqueue2.h: Likewise.
49683 * rt/mqueue.h: Likewise.
49684 * shadow/shadow.h: Likewise.
49685 * signal/signal.h: Likewise.
49686 * socket/send.c: Likewise.
49687 * socket/sendto.c: Likewise.
49688 * socket/sys/socket.h: Likewise.
49689 * stdio-common/printf.h: Likewise.
49690 * stdlib/bits/stdlib.h: Likewise.
49691 * stdlib/fmtmsg.h: Likewise.
49692 * stdlib/monetary.h: Likewise.
49693 * stdlib/stdlib.h: Likewise.
49694 * stdlib/ucontext.h: Likewise.
49695 * streams/stropts.h: Likewise.
49696 * string/argz.h: Likewise.
49697 * string/bits/string2.h: Likewise.
49698 * string/string.h: Likewise.
49699 * string/strings.h: Likewise.
49700 * sunrpc/rpc/auth.h: Likewise.
49701 * sunrpc/rpc/auth_des.h: Likewise.
49702 * sunrpc/rpc/clnt.h: Likewise.
49703 * sunrpc/rpc/netdb.h: Likewise.
49704 * sunrpc/rpc/pmap_clnt.h: Likewise.
49705 * sunrpc/rpc/xdr.h: Likewise.
49706 * sysdeps/generic/inttypes.h: Likewise.
49707 * sysdeps/generic/net/if.h: Likewise.
49708 * sysdeps/generic/sys/swap.h: Likewise.
49709 * sysdeps/gnu/net/if.h: Likewise.
49710 * sysdeps/gnu/utmpx.h: Likewise.
49711 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49712 * sysdeps/i386/i486/bits/string.h: Likewise.
49713 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49714 * sysdeps/s390/bits/string.h: Likewise.
49715 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49716 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49717 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49718 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49719 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49720 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49721 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49722 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49723 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49724 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49725 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49726 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49727 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49728 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49729 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49730 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49731 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49733 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49734 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49735 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49736 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49737 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49738 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49739 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49740 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49741 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49742 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49743 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49744 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49745 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49746 * sysvipc/sys/ipc.h: Likewise.
49747 * sysvipc/sys/msg.h: Likewise.
49748 * sysvipc/sys/sem.h: Likewise.
49749 * sysvipc/sys/shm.h: Likewise.
49750 * termios/termios.h: Likewise.
49751 * time/sys/time.h: Likewise.
49752 * time/time.h: Likewise.
49753 * wcsmbs/bits/wchar2.h: Likewise.
49754 * wcsmbs/uchar.h: Likewise.
49755 * wcsmbs/wchar.h: Likewise.
49756 * wctype/wctype.h: Likewise.
49759 * Makeconfig: Remove all but ELF support including AIX support.
49760 * Makerules: Likewise.
49761 * config.h.in: Likewise.
49762 * config.make.in: Likewise.
49763 * configure: Likewise.
49764 * configure.in: Likewise.
49765 * csu/Makefile: Likewise.
49766 * csu/version.c: Likewise.
49767 * debug/Makefile: Likewise.
49768 * dlfcn/Makefile: Likewise.
49769 * elf/Makefile: Likewise.
49770 * extra-lib.mk: Likewise.
49771 * iconv/Makefile: Likewise.
49772 * include/libc-symbols.h: Likewise.
49773 * include/shlib-compat.h: Likewise.
49774 * resolv/Makefile: Likewise.
49775 * resolv/res_libc.c: Likewise.
49776 * rt/Makefile: Likewise.
49777 * sysdeps/i386/asm-syntax.h: Likewise.
49778 * sysdeps/i386/sysdep.h: Likewise.
49779 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49780 * sysdeps/mach/sysdep.h: Likewise.
49781 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49782 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49783 * sysdeps/s390/asm-syntax.h: Likewise.
49784 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49785 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49786 * sysdeps/sh/sysdep.h: Likewise.
49787 * sysdeps/unix/sparc/sysdep.h: Likewise.
49788 * sysdeps/wordsize-32/divdi3.c: Likewise.
49789 * sysdeps/x86_64/sysdep.h: Likewise.
49791 * argp/Versions: Remove _argp_unlock_xxx.
49794 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49795 * abilist/libBrokenLocale.abilist: Likewise.
49796 * abilist/libanl.abilist: Likewise.
49797 * abilist/libc.abilist: Likewise.
49798 * abilist/libcrypt.abilist: Likewise.
49799 * abilist/libdl.abilist: Likewise.
49800 * abilist/libm.abilist: Likewise.
49801 * abilist/libnsl.abilist: Likewise.
49802 * abilist/libpthread.abilist: Likewise.
49803 * abilist/libresolv.abilist: Likewise.
49804 * abilist/librt.abilist: Likewise.
49805 * abilist/libthread_db.abilist: Likewise.
49806 * abilist/libutil.abilist: Likewise.
49807 * abilist/libnss_db.abilist: New file.
49809 * scripts/abilist.awk: Add support for indirect functions.
49811 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49813 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49815 * shlib-versions: Remove entries for ports architectures.
49817 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49819 * elf/stackguard-macros.h: Remove support for IA-64.
49820 * elf/tst-auditmod1.c: Likewise.
49821 * sysdeps/generic/ldsodefs.h: Likewise.
49823 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49824 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49828 * configure.in: Remove --enable-omitfp support.
49830 * config.make.in: Likewise.
49831 * Makeconfig: Likewise.
49832 * manual/install.texi: Likewise.
49834 In case anyone cares, the IA-64 architecture could move to ports.
49835 * sysdeps/ia64/*: Removed.
49836 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49837 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49840 * configure.in: Remove entries for unsupported architectures.
49843 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49844 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49846 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49847 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49848 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49849 fall back to using wcrtomb.
49850 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49851 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49853 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49854 * wcsmbs/tst-c16c32-1.c: New file.
49856 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49859 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49861 * elf/tst-unique3.cc: Add explicit declaration of gets.
49862 * elf/tst-unique3lib.cc: Likewise.
49863 * elf/tst-unique3lib2.cc: Likewise.
49864 * elf/tst-unique4.cc: Likewise.
49866 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49868 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49871 * assert/assert.h (static_assert): Don't define for C++.
49872 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49873 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49875 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49877 * iconv/loop.c (single loop): Fix assertion in storing of
49880 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49882 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49884 * posix/getconf.c: Update copyright year.
49885 * nss/getent.c: Likewise.
49886 * nss/makedb.c: Likewise.
49887 * iconv/iconvconfig.c: Likewise.
49888 * iconv/iconv_prog.c: Likewise.
49889 * elf/ldconfig.c: Likewise.
49890 * elf/pldd.c: Likewise.
49891 * elf/sotruss.ksh: Likewise.
49892 * catgets/gencat.c: Likewise.
49893 * csu/version.c: Likewise.
49894 * elf/ldd.bash.in: Likewise.
49895 * elf/sprof.c (print_version): Likewise.
49896 * locale/programs/locale.c: Likewise.
49897 * locale/programs/localedef.c: Likewise.
49898 * login/programs/pt_chown.c: Likewise.
49899 * nscd/nscd.c (print_version): Likewise.
49900 * debug/xtrace.sh: Likewise.
49901 * malloc/memusage.sh: Likewise.
49902 * malloc/mtrace.pl: Likewise.
49903 * debug/catchsegv.sh: Likewise.
49905 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49907 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49910 2011-12-24 Ulrich Drepper <drepper@gmail.com>
49913 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49914 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49916 * iconv/gconv_int.h: Likewise.
49917 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49918 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49919 from libc for GLIBC_2.16.
49920 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49921 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49922 * wcsmbs/uchar.h: Really define mbstate_t.
49923 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49924 * wcsmbs/c16rtomb.c: New file.
49925 * wcsmbs/mbrtoc16.c: New file.
49926 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49927 for C/POSIX locale.
49928 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49929 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49931 * wcsmbs/wchar.h: Add missing __restrict.
49933 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49936 * time/Makefile (routines): Add timespec_get.
49937 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49938 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49939 timespec for ISO C11.
49940 * time/timespec_get.c: New file.
49941 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49942 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49945 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49946 * stdlib/stdlib.h: Declare aligned_alloc.
49947 * Versions.def: Add GLIBC_2.16 for libc.
49948 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49951 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49954 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49958 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49961 * assert/assert.h (static_assert): Define.
49963 * version.h: Update for 2.16 development version.
49966 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49969 * version.h (RELEASE): Bump for 2.15 release.
49970 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49972 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49973 Patch by Marek Polacek <mpolacek@redhat.com>.
49975 * bits/byteswap.h: Protect long long constants with __extension__.
49976 * sysdeps/i386/bits/byteswap.h: Likewise.
49977 * sysdeps/ia64/bits/byteswap.h: Likewise.
49978 * sysdeps/s390/bits/byteswap.h: Likewise.
49979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49981 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49984 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49985 destination buffer.
49986 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49988 2011-12-23 Marek Polacek <polacek@redhat.com>
49990 * elf/dl-addr.c (determine_info): Add inline keyword.
49991 * elf/tst-auditmod4b.c (check_avx): Likewise.
49992 * elf/tst-auditmod6b.c (check_avx): Likewise.
49993 * elf/tst-auditmod6c.c (check_avx): Likewise.
49994 * elf/tst-auditmod7b.c (check_avx): Likewise.
49996 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49998 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50001 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50004 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50005 processing for last bytes.
50007 2011-08-06 Bruno Haible <bruno@clisp.org>
50010 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50011 U+0385, not to U+1FEE.
50014 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50015 entry for U+00A5 U+0301.
50017 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50020 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50021 buffer for the output is too small.
50023 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50027 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50028 SSE flags if possible.
50030 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50033 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50034 processing for last bytes.
50036 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50038 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50039 (syscall-list-default-options, syscall-list-default-condition)
50040 (syscall-list-includes): Define.
50041 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50042 list of ABIs and options and #if conditions for each ABI. Do not
50043 handle common syscalls between ABIs specially.
50044 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50046 (syscall-list-variants, syscall-list-32bit-options)
50047 (syscall-list-32bit-condition, syscall-list-64bit-options)
50048 (syscall-list-64bit-condition): Define.
50049 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50050 (syscall-list-variants, syscall-list-32bit-options)
50051 (syscall-list-32bit-condition, syscall-list-64bit-options)
50052 (syscall-list-64bit-condition): Define.
50053 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50055 (syscall-list-variants, syscall-list-32bit-options)
50056 (syscall-list-32bit-condition, syscall-list-64bit-options)
50057 (syscall-list-64bit-condition): Define.
50058 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50060 (syscall-list-variants, syscall-list-32bit-options)
50061 (syscall-list-32bit-condition, syscall-list-64bit-options)
50062 (syscall-list-64bit-condition): Define.
50064 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50066 * locale/iso-639.def: Add brx entry.
50069 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50070 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50072 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50073 __feraiseexcept_renamed.
50075 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50078 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50079 EPOLLET with unsigned values.
50080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50081 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50083 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50084 to large cancellation.
50085 * math/s_cacoshf.c: Likewise.
50086 * math/s_cacoshl.c: Likewise.
50088 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50092 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50093 * math/s_cacoshf.c: Likewise.
50094 * math/s_cacoshl.c: Likewise.
50096 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50099 * iconv/gconv.h: Define __GCONV_SWAP.
50100 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50101 * iconvdata/utf-16.c: Likewise.
50102 * iconvdata/utf-32.c: Likewise.
50104 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50108 numerator after shifting it by one limb.
50110 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50113 under [__USE_EXTERN_INLINES].
50115 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50118 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50120 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50122 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50123 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50125 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50126 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50127 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50128 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50129 for strncasecmp/strncasecmp_l compilation.
50130 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50131 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50133 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50136 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50139 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50142 * time/tzfile.c (__tzfile_read): Check values from file header.
50144 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50146 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50147 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50148 * powerpc/powerpc32/dl-start.S: Likewise.
50149 * powerpc/powerpc32/elf/start.S: Likewise.
50150 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50151 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50152 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50153 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50154 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50155 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50156 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50157 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50158 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50159 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50160 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50161 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50162 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50163 * powerpc/powerpc32/memset.S: Likewise.
50164 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50165 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50166 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50167 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50168 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50169 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50170 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50171 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50172 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50173 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50174 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50175 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50176 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50178 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50180 * math/libm-test.inc: Added more nearbyint tests.
50181 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50186 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50188 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50191 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50193 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50194 Add wcscpy-ssse3 wcscpy-c.
50195 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50196 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50197 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50198 * sysdeps/x86_64/wcschr.S: New file.
50199 * sysdeps/x86_64/wcsrchr.S: New file.
50200 * string/test-strcmp.c: Remove checking of wcscmp function for
50202 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50203 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50204 wcsrchr-sse2 wcsrchr-c.
50205 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50206 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50207 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50208 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50209 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50210 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50211 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50212 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50213 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50214 * wcsmbc/wcschr.c (WCSCHR): New macro.
50216 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50218 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50219 * wcsmbs/test-wcsrchr.c: New file.
50220 * string/test-strrchr.c: Add wcsrchr support.
50222 * wcsmbs/test-wcscpy.c: New file.
50223 * string/test-strcpy.c: Add wcscpy support.
50226 2011-12-10 Ulrich Drepper <drepper@gmail.com>
50228 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50231 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50234 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50236 2011-12-04 Ulrich Drepper <drepper@gmail.com>
50238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50239 Minor optimizations.
50241 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50242 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50243 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50245 2011-12-03 Ulrich Drepper <drepper@gmail.com>
50247 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50248 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50249 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50250 for gcc to avoid warnings.
50251 * inet/Makefile (tests): Add tst-checks.
50252 * inet/tst-checks.c: New file.
50254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50257 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50260 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50261 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50263 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50265 2011-12-02 Ulrich Drepper <drepper@gmail.com>
50267 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50270 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50272 2011-11-29 Joseph Myers <joseph@codesourcery.com>
50274 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50275 conditional on GCC version.
50276 (__arch_compare_and_exchange_val_8_acq)
50277 (__arch_compare_and_exchange_val_16_acq)
50278 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50279 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50280 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50282 2011-12-02 Joseph Myers <joseph@codesourcery.com>
50284 * sysdeps/sh/backtrace.c: New file.
50286 2011-12-02 Andreas Schwab <schwab@redhat.com>
50288 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50291 2011-12-01 Andreas Schwab <schwab@redhat.com>
50293 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50294 falling back to utime.
50296 2011-11-30 Andreas Schwab <schwab@redhat.com>
50298 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50299 expectations for float.
50301 2011-11-29 Andreas Schwab <schwab@redhat.com>
50303 * locale/weight.h (findidx): Add parameter len.
50304 * locale/weightwc.h (findidx): Likewise.
50305 * posix/fnmatch_loop.c (FCT): Adjust caller.
50306 * posix/regcomp.c (build_equiv_class): Likewise.
50307 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50308 * posix/regexec.c (check_node_accept_bytes): Likewise.
50309 * string/strcoll_l.c (STRCOLL): Likewise.
50310 * string/strxfrm_l.c (STRXFRM): Likewise.
50312 2011-11-17 Ulrich Drepper <drepper@gmail.com>
50314 * Makefile.in: Remove CVSOPT handling.
50315 * configure.in: Remove use of AC_REVISION.
50316 * iconvdata/Makefile (distribute): No need to filter out CVS.
50317 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50320 2011-11-16 Andreas Schwab <schwab@redhat.com>
50322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50323 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50324 [USE_AS_STRNCASECMP_L]: Likewise.
50325 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50326 NO_TLS_DIRECT_SEG_REFS.
50327 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50328 Fix argument offsets for non-PIC.
50329 [USE_AS_STRNCASECMP_L]: Likewise.
50330 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50331 NO_TLS_DIRECT_SEG_REFS.
50333 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50335 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50337 * locale/loadlocale.c (_nl_load_locale): Likewise.
50339 2011-11-15 Andreas Schwab <schwab@redhat.com>
50341 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50342 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50343 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50344 (SYSCALL_GETTIME): Set errno on error.
50346 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50347 count references to noai6ai_cached.
50349 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50351 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50353 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50354 FD_CLOEXEC for /proc/self/maps.
50356 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50357 FD_CLOEXEC for /proc/meminfo.
50359 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50362 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50363 FD_CLOEXEC for given file.
50365 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50367 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50368 FD_CLOEXEC for /etc/hosts.
50369 (_gethtent): Likewise.
50371 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50373 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50374 cancellation and set FD_CLOEXEC for /etc/netgroup.
50376 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50377 reading /etc/publickey.
50379 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50380 allow cancellation when reading /etc/group.
50382 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50384 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50386 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50387 when using data file.
50389 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50391 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50392 (write_nis_obj): Use "c" and "e" in fopen.
50394 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50396 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50398 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50400 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50402 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50405 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50407 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50409 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50411 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50412 file parsing and set FD_CLOEXEC.
50414 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50416 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50418 2011-11-14 Andreas Schwab <schwab@redhat.com>
50420 * malloc/arena.c (arena_get2): Don't call reused_arena when
50421 _int_new_arena failed.
50423 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50425 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50426 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50427 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50428 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50430 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50431 to compile strcasecmp and strncasecmp.
50432 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50433 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50437 2011-11-13 Ulrich Drepper <drepper@gmail.com>
50439 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50440 locale-defines.sym to gen-as-const-headers.
50441 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50442 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50444 to compile strcasecmp and strncasecmp.
50445 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50446 strcasecmp_l and strncasecmp_l.
50447 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50448 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50449 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50450 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50451 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50452 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50453 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50454 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50455 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50456 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50457 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50459 2011-11-12 Ulrich Drepper <drepper@gmail.com>
50461 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50462 result of SYSDEP_GETTIME_CPU to retval.
50463 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50464 parameter list to macro. Remove trailing semicolon. Adjust users.
50466 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50469 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50471 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50473 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50474 from unused variable.
50476 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50478 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50481 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50484 * sunrpc/rpc_prot.c (rejected): Fix case value.
50486 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50487 unsigned long long int to avoid warnings in shift.
50489 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50491 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50494 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50495 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50496 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50498 * nis/nis_table.c (nis_list): Use variable of correct type for
50499 result of __follow_path call.
50501 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50503 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50504 of math functions ceil, trunc, floor, round, and sqrt, when
50505 avaliable on the platform.
50506 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50508 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50509 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50510 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50512 2011-10-30 Marek Polacek <mpolacek@redhat.com>
50514 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50515 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50517 2011-11-11 Roland McGrath <roland@hack.frob.com>
50519 * include/unistd.h: Fix __readlink return type.
50520 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50522 2011-11-11 Ulrich Drepper <drepper@gmail.com>
50524 * stdlib/ucontext.h: Undo last change for makecontext.
50526 2011-11-11 Andreas Schwab <schwab@redhat.com>
50528 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50530 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50531 * setjmp/setjmp.h: Mark functions as non-leaf.
50532 * setjmp/bits/setjmp2.h: Likewise.
50533 * stdlib/ucontext.h: Likewise.
50535 2011-11-10 Andreas Schwab <schwab@redhat.com>
50537 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50538 (reused_arena): Don't check arena limit.
50539 (arena_get2): Atomically check arena limit.
50541 2011-11-08 Ulrich Drepper <drepper@gmail.com>
50543 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50544 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50549 2011-11-07 Andreas Schwab <schwab@redhat.com>
50551 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50552 handler when locking.
50554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50555 Fix size of allocated buffer.
50557 2011-11-04 Andreas Schwab <schwab@redhat.com>
50560 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50561 declarations for long double functions.
50562 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50564 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50566 2011-11-03 Andreas Schwab <schwab@redhat.com>
50568 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50571 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50574 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50576 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50578 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50580 * include/alloca.h (stackinfo_alloca_round): Define.
50581 (extend_alloca): Use it.
50582 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50583 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50586 * scripts/check-local-headers.sh: Ignore libaudit.h.
50588 * nscd/Makefile (extra-objs): Make recursively expanded.
50590 2011-11-01 Ulrich Drepper <drepper@gmail.com>
50592 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50595 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50596 * posix/tst-rfc3484-2.c: Likewise.
50597 * posix/tst-rfc3484-3.c: Likewise.
50599 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50601 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50603 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50604 process_vm_writev from libc using GLIBC_2.15 version.
50606 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50608 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50610 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50613 2011-10-31 Ulrich Drepper <drepper@gmail.com>
50616 * nss/getent.c (initgroups_keys): Show error message in case no group
50619 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50620 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50621 __bump_nl_timestamp.
50622 * nscd/connections (nscd_init): When host database is served open
50623 netlink socket and request notification about configuration changes.
50624 (main_loop_poll): Track netlink file descriptor and bump timestamp
50625 in case data becomes available.
50626 (main_loop_epoll): Likewise.
50627 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50628 (database_pers_head): Add extra_data fileds.
50629 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50630 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50631 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50633 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50634 in6ai data, call __free_in6ai.
50635 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50636 Add -DHAVE_NETLINK.
50637 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50638 interface information. Reuse previous data if netlink timestamp
50640 (__bump_nl_timestamp): New function.
50641 (__free_in6ai): New function.
50643 2011-10-30 Ulrich Drepper <drepper@gmail.com>
50645 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50646 close_not_cancel_no_status here.
50647 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50649 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50652 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50655 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50656 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50657 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50659 2011-07-03 Andreas Jaeger <aj@suse.de>
50662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50663 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50664 * math/libm-test.inc (sin_test): Add test case.
50666 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50669 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50670 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50672 * elf/chroot_canon.c (chroot_canon): Cleanups.
50674 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50677 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50678 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50680 * string/test-strchr.c: Make usable for strchrnul testing.
50681 * string/test-strchrnul.c: New file.
50682 * string/Makefile (strop-tests): Add strchrnul.
50684 * po/it.po: Update from translation team.
50685 * po/es.po: Likewise.
50687 2011-10-28 Ulrich Drepper <drepper@gmail.com>
50689 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50690 the three constants needed as parameters. Drop the others.
50691 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50692 __m128i_strloadu_tolower.
50693 Create and initialize variable zero and use it in all the places
50694 where _mm_setzero_si128 was used.
50696 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50697 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50698 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50699 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50701 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50702 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50703 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50704 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50705 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50706 __mpranred, __mptan.
50707 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50708 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50709 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50710 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50711 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50712 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50713 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50714 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50715 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50717 2011-10-28 Andreas Schwab <schwab@redhat.com>
50719 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50720 redefine if SHARED.
50721 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50724 wide char related routines to wcsmbs subdir.
50726 2011-10-27 Andreas Schwab <schwab@redhat.com>
50729 * misc/sys/cdefs.h (__THROWNL): Define.
50730 * posix/unistd.h: Use __THREADNL instead of __THREAD
50731 for memory synchronization functions.
50733 2011-10-26 Roland McGrath <roland@hack.frob.com>
50736 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50738 * manual/stdio.texi (Obstack Streams): Node removed.
50740 2011-10-26 Andreas Schwab <schwab@redhat.com>
50742 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50743 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50744 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50746 * math/math_private.h (math_force_eval): Allow non-addressable
50748 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50750 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50752 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50753 file is not needed.
50755 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50757 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50758 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50759 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50760 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50762 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50764 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50765 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50766 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50767 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50768 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50769 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50770 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50771 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50772 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50773 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50774 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50775 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50777 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50778 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50779 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50780 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50781 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50782 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50784 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50785 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50788 place. Use VEX encoding when compiling for AVX.
50790 2011-10-25 Andreas Schwab <schwab@redhat.com>
50792 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50793 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50795 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50797 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50799 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50800 useless if() expression.
50801 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50802 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50803 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50805 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50806 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50807 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50809 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50810 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50811 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50812 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50813 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50814 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50815 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50816 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50817 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50818 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50819 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50821 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50823 2011-10-25 Andreas Schwab <schwab@redhat.com>
50825 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50827 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50829 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50831 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50832 .text section. Avoid duplicate constants.
50833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50835 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50838 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50839 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50841 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50842 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50843 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50844 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50845 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50846 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50847 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50849 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50850 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50856 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50857 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50858 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50859 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50860 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50861 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50862 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50863 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50864 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50865 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50866 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50867 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50868 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50869 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50871 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50872 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50873 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50874 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50875 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50876 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50877 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50879 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50881 * sysdeps/x86_64/dla.h: Move to ...
50882 * sysdeps/x86_64/fpu/dla.h: ...here.
50883 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50884 situations. Use __builtin_fma only for gcc 4.6 and up.
50886 * config.make.in: Add have-mfma4 entry.
50887 * configure.in: Substitute libc_cv_cc_fma4.
50888 * math/Makefile (dbl-only-routines): Add sincostab.
50889 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50890 Use __sincostab not sincos.
50891 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50898 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50899 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50900 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50901 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50904 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50906 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50907 define aliases when function name is a macro.
50908 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50909 sysdeps/ieee754/dbl-64/sincos.tbl.
50910 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50911 fma4-enabled routines.
50912 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50913 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50914 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50915 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50917 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50918 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50919 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50921 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50922 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50923 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50924 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50925 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50927 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50928 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50929 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50930 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50931 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50932 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50933 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50935 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50937 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50938 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50939 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50940 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50941 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50943 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50948 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50951 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50954 2011-10-24 Andreas Schwab <schwab@redhat.com>
50956 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50958 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50962 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50964 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50966 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50967 Remove unused variable magic_bits.
50968 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50970 * string/strnlen.c: Define and use STRNLEN macro.
50971 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50972 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50974 * wcsmbs/wcslen.c: Define and use WCSLEN.
50975 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50976 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50977 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50978 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50979 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50980 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50981 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50983 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50986 strnlen-sse2-no-bsf.
50987 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50989 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50990 Add strnlen support.
50991 (USE_AS_STRNLEN): New macro.
50992 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50994 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50995 * sysdeps/x86_64/wcslen.S: New file.
50997 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51000 XMM-moves are used for copying on small sizes.
51002 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51004 * wcsmbs/Makefile (strop-tests): Add wcschr.
51005 * wcsmbs/test-wcschr.c: New file.
51006 * string/test-strchr.c: Update.
51007 Add wcschr support.
51010 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51012 * wcsmbs/Makefile (strop-tests): Add wcslen.
51013 * wcsmbs/test-wcslen.c: New file.
51014 * string/test-strlen.c: Update.
51015 Add wcslen support.
51018 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51020 * po/it.po: Update from translation team.
51022 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51024 * sysdeps/x86_64/wcscmp.S: Update.
51025 Fix wrong comparison semantics.
51026 wcscmp shall use signed comparison not unsigned.
51027 Don't use substraction to avoid overflow bug.
51028 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51029 * wcsmbc/wcscmp.c: Likewise.
51030 * string/test-strcmp.c: Likewise.
51031 Add new tests to check cases with negative values.
51033 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51035 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51036 * sysdeps/x86_64/dla.h: ...here. New file.
51037 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51042 * sysdeps/ieee754/dbl-64/e_sqrt.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-23 Andreas Schwab <schwab@linux-m68k.org>
51049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51050 __ynl_finite aliases.
51052 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51056 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51058 [DLA_FMA] (EMULV): Use DLA_FMA.
51059 [DLA_FMA] (MUL12): Use EMULV.
51060 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51061 that are not needed.
51062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51070 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51072 * math/s_nan.c: Undef __nan.
51073 * math/s_nanf.c: Undef __nanf.
51074 * math/s_nanl.c: Undef __nanl.
51075 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51078 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51080 * math/s_catan.c: Add branch predictions.
51081 * math/s_catanf.c: Likewise.
51082 * math/s_catanh.c: Likewise.
51083 * math/s_catanhf.c: Likewise.
51084 * math/s_catanhl.c: Likewise.
51085 * math/s_catanl.c: Likewise.
51086 * math/s_cexp.c: Likewise.
51087 * math/s_cexpf.c: Likewise.
51088 * math/s_cexpl.c: Likewise.
51089 * math/s_clog.c: Likewise.
51090 * math/s_clog10.c: Likewise.
51091 * math/s_clog10f.c: Likewise.
51092 * math/s_clog10l.c: Likewise.
51093 * math/s_clogf.c: Likewise.
51094 * math/s_clogl.c: Likewise.
51095 * math/s_csqrt.c: Likewise.
51096 * math/s_csqrtf.c: Likewise.
51097 * math/s_csqrtl.c: Likewise.
51098 * math/s_ctanf.c: Likewise.
51099 * math/s_ctanh.c: Likewise.
51100 * math/s_ctanhf.c: Likewise.
51101 * math/s_ctanhl.c: Likewise.
51102 * math/s_ctanl.c: Likewise.
51104 * math/math_private.h: Define __nan, __nanf, __nanl.
51105 * math/s_cacosh.c: Include <math_private.h>.
51106 * math/s_cacoshl.c: Likewise.
51107 * math/s_casinh.c: Likewise.
51108 * math/s_casinhf.c: Likewise.
51109 * math/s_casinhl.c: Likewise.
51110 * math/s_ccos.c: Rely entire on ccosh.
51111 * math/s_ccosf.c: Rely entire on ccoshf.
51112 * math/s_ccosl.c: Rely entirely on ccoshl.
51113 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51114 Remove tests for FE_INVALID.
51115 * math/s_ccoshf.c: Likewise.
51116 * math/s_ccoshl.c: Likewise.
51117 * math/s_csin.c: Likewise.
51118 * math/s_csinf.c: Likewise.
51119 * math/s_csinh.c Likewise.
51120 * math/s_csinhf.c: Likewise.
51121 * math/s_csinhl.c: Likewise.
51122 * math/s_csinl.c: Likewise.
51123 * math/s_ctan.c: Likewise.
51124 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51125 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51126 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51128 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51131 compilation problems.
51133 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51136 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51138 * sysdeps/i386/configure.in: Test for -mfma4 option.
51139 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51140 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51141 COMMON_CPUID_INDEX_80000001.
51142 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51143 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51144 use it if FMA3 is not supported.
51145 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51147 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51148 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51150 2011-10-20 Andreas Schwab <schwab@redhat.com>
51153 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51154 it would create a cycle with a link time dependency.
51156 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51158 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51160 * string/Makefile (strop-tests): Add rawmemchr.
51161 * string/test-rawmemchr.c: New file.
51163 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51165 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51166 when compiling str{,n}casecmp and when AVX is available. Hook up
51167 new optimized code in initializers.
51169 2011-10-19 Andreas Schwab <schwab@redhat.com>
51171 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51172 __feraiseexcept instead of feraiseexcept.
51174 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51176 * math/math_private.h: Define defaults for libc_fetestexcept and
51178 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51179 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51180 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51181 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51182 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51183 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51184 libc_fetestexcept and libc_feupdateenv.
51186 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51187 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51188 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51189 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51190 libc_feholdexcept_setround.
51192 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51193 Add s_nearbyint-c and s_nearbyintf-c.
51194 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51195 nearbyintf inlines.
51196 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51197 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51198 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51199 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51201 * math/math_private.h: Define defaults for libc_fegetround,
51202 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51203 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51204 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51205 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51206 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51207 standard functions.
51208 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51209 Remove comments and hacks for old compiler versions.
51210 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51211 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51212 libc_feholdexceptl.
51214 2011-10-18 Andreas Schwab <schwab@redhat.com>
51216 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51217 (__feraiseexcept_renamed): Add __NTH.
51218 (feraiseexcept): Add __NTH. Rename local variables to fix
51219 namespace violations.
51221 2011-10-17 Ulrich Drepper <drepper@gmail.com>
51223 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51225 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51227 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51228 recently added interfaces.
51229 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51231 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51232 about macro parameter expansion.
51234 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51235 __NO_MATH_INLINES is defined. Cleanups.
51237 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51238 and __floorf is target has SSE4.1.
51239 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51240 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51241 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51242 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51244 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51246 (floorf): Likewise.
51248 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51250 2011-10-17 Andreas Schwab <schwab@redhat.com>
51252 * misc/sys/cdefs.h: Fix last change.
51254 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51257 2011-10-16 Ulrich Drepper <drepper@gmail.com>
51259 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51261 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51263 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51264 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51265 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51266 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51268 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51269 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51270 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51271 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51272 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51273 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51274 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51275 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51276 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51277 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51278 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51279 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51280 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51281 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51282 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51284 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51285 ceil, ceilf, floor, floorf.
51287 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51288 Perform IRELATIVE relocations last.
51290 * elf/do-rel.h: Add another parameter nrelative, replacing the
51291 local variable with the same name. Change name of the function
51292 to end in Rel or Rela (uppercase).
51293 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51294 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51295 elf_dynamic_do_##reloc function.
51297 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51299 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51300 is sufficient, at least on modern CPUs.
51302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51304 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51305 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51307 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51309 * math/bits/math-finite.h: Add entries for exp.
51310 * math/e_expl.c: Add __*_finite alias.
51311 * sysdeps/i386/fpu/e_exp.S: Likewise.
51312 * sysdeps/i386/fpu/e_expf.S: Likewise.
51313 * sysdeps/i386/fpu/e_expl.c: Likewise.
51314 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51315 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51316 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51318 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51319 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51320 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51322 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51323 is sufficient, at least on modern CPUs.
51325 * ctype/ctype-info.c (__ctype_init): Define.
51326 * include/ctype.h (__ctype_init): Declare.
51327 (__ctype_b_loc): The variable is always initialized.
51328 (__ctype_toupper_loc): Likewise.
51329 (__ctype_tolower_loc): Likewise.
51330 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51331 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51333 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51335 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51337 * configure.in: Also look in $cxxmachine/include for C++ system
51340 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51342 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51343 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51344 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51345 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51347 (USE_AS_WMEMCMP): New macro.
51349 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51350 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51351 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51352 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51354 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51355 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51356 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51357 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51358 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51359 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51360 (USE_AS_WMEMCMP): New macro.
51361 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51362 * sysdeps/string/test-memcmp.c: Update.
51363 Fix simple_wmemcmp.
51365 * wcsmbs/wmemcmp.c: Update.
51366 (WMEMCMP): New macro.
51369 2011-10-12 Andreas Jaeger <aj@suse.de>
51372 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51374 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51376 * libio/iofwide.c (do_length): Avoid warning.
51378 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51380 2011-10-14 Ulrich Drepper <drepper@gmail.com>
51382 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51384 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51385 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51386 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51387 * sysdeps/i386/i686/fpu/e_log.S: New file.
51388 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51389 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51391 * ctype/ctype.h: Add support for inlined isXXX functions when
51392 compiling C++ code.
51394 2011-10-14 Andreas Schwab <schwab@redhat.com>
51396 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51398 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51400 2011-10-13 Roland McGrath <roland@hack.frob.com>
51403 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51405 2011-10-13 Andreas Schwab <schwab@redhat.com>
51407 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51408 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51411 * sysdeps/x86_64/memrchr.S: Check for zero size.
51413 * string/stratcliff.c: Add memrchr tests.
51415 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51418 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51419 rawmemchr-sse2 rawmemchr-sse2-bsf.
51420 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51421 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51422 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51423 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51424 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51425 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51426 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51427 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51428 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51429 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51430 * string/memrchr.c (MEMRCHR): New macro.
51432 2011-10-12 Ulrich Drepper <drepper@gmail.com>
51434 Add integration with gcc's -ffinite-math-only and optimize wrapper
51436 * Versions.def: Define GLIBC_2.15 version for libm.
51437 * math/Makefile (headers): Add bits/math-finite.h.
51438 * math/bits/math-finite.h: New file.
51439 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51440 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51441 * math/e_acoshl.c: Add __*_finite alias.
51442 * math/e_acosl.c: Likewise.
51443 * math/e_asinl.c: Likewise.
51444 * math/e_atan2l.c: Likewise.
51445 * math/e_atanhl.c: Likewise.
51446 * math/e_coshl.c: Likewise.
51447 * math/e_exp10.c: Likewise.
51448 * math/e_exp10f.c: Likewise.
51449 * math/e_exp10l.c: Likewise.
51450 * math/e_exp2l.c: Likewise.
51451 * math/e_fmodl.c: Likewise.
51452 * math/e_gammal_r.c: Likewise.
51453 * math/e_hypotl.c: Likewise.
51454 * math/e_j0l.c: Likewise.
51455 * math/e_j1l.c: Likewise.
51456 * math/e_jnl.c: Likewise.
51457 * math/e_lgammal_r.c: Likewise.
51458 * math/e_log10l.c: Likewise.
51459 * math/e_log2l.c: Likewise.
51460 * math/e_logl.c: Likewise.
51461 * math/e_powl.c: Likewise.
51462 * math/e_sinhl.c: Likewise.
51463 * math/e_sqrtl.c: Likewise.
51464 * math/e_scalb.c: Completely rewritten and optimized.
51465 * math/e_scalbf.c: Likewise.
51466 * math/e_scalbl.c: Likewise.
51467 * math/w_acos.c: Likewise.
51468 * math/w_acosf.c: Likewise.
51469 * math/w_acosl.c: Likewise.
51470 * math/w_acosh.c: Likewise.
51471 * math/w_acoshf.c: Likewise.
51472 * math/w_acoshl.c: Likewise.
51473 * math/w_asin.c: Likewise.
51474 * math/w_asinf.c: Likewise.
51475 * math/w_asinl.c: Likewise.
51476 * math/w_atan2.c: Likewise.
51477 * math/w_atan2f.c: Likewise.
51478 * math/w_atan2l.c: Likewise.
51479 * math/w_atanh.c: Likewise.
51480 * math/w_atanhf.c: Likewise.
51481 * math/w_atanhl.c: Likewise.
51482 * math/w_exp10.c: Likewise.
51483 * math/w_exp10f.c: Likewise.
51484 * math/w_exp10l.c: Likewise.
51485 * math/w_fmod.c: Likewise.
51486 * math/w_fmodf.c: Likewise.
51487 * math/w_fmodl.c: Likewise.
51488 * math/w_j0.c: Likewise.
51489 * math/w_j0f.c: Likewise.
51490 * math/w_j0l.c: Likewise.
51491 * math/w_j1.c: Likewise.
51492 * math/w_j1f.c: Likewise.
51493 * math/w_j1l.c: Likewise.
51494 * math/w_jn.c: Likewise.
51495 * math/w_jnf.c: Likewise.
51496 * math/w_log.c: Likewise.
51497 * math/w_logf.c: Likewise.
51498 * math/w_logl.c: Likewise.
51499 * math/w_log10.c: Likewise.
51500 * math/w_log10f.c: Likewise.
51501 * math/w_log10l.c: Likewise.
51502 * math/w_log2.c: Likewise.
51503 * math/w_log2f.c: Likewise.
51504 * math/w_log2l.c: Likewise.
51505 * math/w_pow.c: Likewise.
51506 * math/w_powf.c: Likewise.
51507 * math/w_powl.c: Likewise.
51508 * math/w_remainder.c: Likewise.
51509 * math/w_remainderf.c: Likewise.
51510 * math/w_remainderl.c: Likewise.
51511 * math/w_scalb.c: Likewise.
51512 * math/w_scalbf.c: Likewise.
51513 * math/w_scalbl.c: Likewise.
51514 * math/w_sqrt.c: Likewise.
51515 * math/w_sqrtf.c: Likewise.
51516 * math/w_sqrtl.c: Likewise.
51517 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51518 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51520 * math/math_private.h: Declare __kernel_standard_f.
51521 * math/w_cosh.c: Remove cruft and optimize a bit.
51522 * math/w_coshf.c: Likewise.
51523 * math/w_coshl.c: Likewise.
51524 * math/w_exp2.c: Likewise.
51525 * math/w_exp2f.c: Likewise.
51526 * math/w_exp2l.c: Likewise.
51527 * math/w_hypot.c: Likewise.
51528 * math/w_hypotf.c: Likewise.
51529 * math/w_hypotl.c: Likewise.
51530 * math/w_lgamma.c: Likewise.
51531 * math/w_lgamma_r.c: Likewise.
51532 * math/w_lgammaf.c: Likewise.
51533 * math/w_lgammaf_r.c: Likewise.
51534 * math/w_lgammal.c: Likewise.
51535 * math/w_lgammal_r.c: Likewise.
51536 * math/w_sinh.c: Likewise.
51537 * math/w_sinhf.c: Likewise.
51538 * math/w_sinhl.c: Likewise.
51539 * math/w_tgamma.c: Likewise.
51540 * math/w_tgammaf.c: Likewise.
51541 * math/w_tgammal.c: Likewise.
51542 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51543 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51544 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51545 Minor optimizations. Pretty printing. Remove cruft.
51546 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51547 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51548 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51549 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51550 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51551 * sysdeps/i386/fpu/e_asin.S: Likewise.
51552 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51553 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51554 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51555 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51556 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51557 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51558 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51559 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51560 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51561 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51562 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51563 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51564 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51565 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51566 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51567 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51568 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51569 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51570 * sysdeps/i386/fpu/e_log.S: Likewise.
51571 * sysdeps/i386/fpu/e_log10.S: Likewise.
51572 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51573 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51574 * sysdeps/i386/fpu/e_log2.S: Likewise.
51575 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51577 * sysdeps/i386/fpu/e_logf.S: Likewise.
51578 * sysdeps/i386/fpu/e_logl.S: Likewise.
51579 * sysdeps/i386/fpu/e_pow.S: Likewise.
51580 * sysdeps/i386/fpu/e_powf.S: Likewise.
51581 * sysdeps/i386/fpu/e_powl.S: Likewise.
51582 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51583 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51584 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51585 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51586 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51587 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51588 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51589 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51590 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51591 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51592 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51594 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51595 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51596 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51597 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51598 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51599 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51600 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51601 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51602 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51604 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51605 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51607 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51608 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51609 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51611 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51612 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51615 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51616 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51617 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51618 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51619 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51620 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51621 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51622 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51623 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51624 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51625 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51626 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51627 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51628 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51629 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51630 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51631 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51632 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51633 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51634 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51636 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51637 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51638 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51639 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51640 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51641 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51642 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51643 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51644 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51645 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51646 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51647 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51648 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51649 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51650 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51651 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51652 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51655 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51656 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51657 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51659 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51660 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51665 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51667 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51669 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51670 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51671 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51672 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51673 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51674 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51676 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51677 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51678 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51680 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51681 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51682 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51683 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51684 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51685 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51686 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51687 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51688 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51689 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51690 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51691 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51692 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51693 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51694 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51695 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51696 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51697 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51699 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51700 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51701 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51702 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51703 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51704 (__isnanf): Likewise.
51705 (__isinf_ns): Likewise.
51706 (__isinf_nsf): Likewise.
51707 (__finite): Likewise.
51708 (__finitef): Likewise.
51709 (__ieee754_sqrt): Define as macro.
51710 (__ieee754_sqrtf): Define as macro.
51711 (__ieee754_sqrtl): Define as macro.
51712 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51714 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51715 __FINITE_MATH_ONLY__ consistent.
51716 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51718 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51720 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51723 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51725 2011-10-09 Ulrich Drepper <drepper@gmail.com>
51727 * po/ja.po: Update from translation team.
51729 2011-10-08 Roland McGrath <roland@hack.frob.com>
51731 * locale/programs/locarchive.c (prepare_address_space): New function.
51732 (create_archive, enlarge_archive, open_archive): Use it.
51734 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51735 inside [SHARED], where it is used.
51737 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51739 * nss/getent.c (netgroup_keys): Remove unused variable.
51740 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51742 2011-10-08 Ulrich Drepper <drepper@gmail.com>
51744 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51745 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51747 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51748 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51749 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51750 * math/Makefile (libm-calls): Add s_isinf_ns.
51751 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51752 * math/multc3.c: Likewise.
51753 * math/s_casin.c: Likewise.
51754 * math/s_casinf.c: Likewise.
51755 * math/s_casinl.c: Likewise.
51756 * math/s_ccos.c: Likewise.
51757 * math/s_ccosf.c: Likewise.
51758 * math/s_ccosl.c: Likewise.
51759 * math/s_ctan.c: Likewise.
51760 * math/s_ctanf.c: Likewise.
51761 * math/s_ctanh.c: Likewise.
51762 * math/s_ctanhf.c: Likewise.
51763 * math/s_ctanhl.c: Likewise.
51764 * math/s_ctanl.c: Likewise.
51765 * math/w_fmod.c: Likewise.
51766 * math/w_fmodf.c: Likewise.
51767 * math/w_fmodl.c: Likewise.
51768 * math/w_remainder.c: Likewise.
51769 * math/w_remainderf.c: Likewise.
51770 * math/w_remainderl.c: Likewise.
51771 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51772 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51775 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51776 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51777 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51778 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51780 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51782 * stdio-common/printf_fphex.c: Likewise.
51783 * stdio-common/printf_size.c: Likewise.
51785 * math/e_exp10.c: Include math_private.h using <...> not "...".
51786 * math/e_exp10f.c: Likewise.
51787 * math/e_exp10l.c: Likewise.
51788 * math/e_exp2l.c: Likewise.
51789 * math/e_j0l.c: Likewise.
51790 * math/e_j1l.c: Likewise.
51791 * math/e_jnl.c: Likewise.
51792 * math/e_lgammal_r.c: Likewise.
51793 * math/e_rem_pio2l.c: Likewise.
51794 * math/e_scalb.c: Likewise.
51795 * math/e_scalbf.c: Likewise.
51796 * math/e_scalbl.c: Likewise.
51797 * math/k_cosl.c: Likewise.
51798 * math/k_sinl.c: Likewise.
51799 * math/k_tanl.c: Likewise.
51800 * math/s_cacoshf.c: Likewise.
51801 * math/s_catan.c: Likewise.
51802 * math/s_catanf.c: Likewise.
51803 * math/s_catanh.c: Likewise.
51804 * math/s_catanhf.c: Likewise.
51805 * math/s_catanhl.c: Likewise.
51806 * math/s_catanl.c: Likewise.
51807 * math/s_ccosh.c: Likewise.
51808 * math/s_ccoshf.c: Likewise.
51809 * math/s_ccoshl.c: Likewise.
51810 * math/s_cexp.c: Likewise.
51811 * math/s_cexpf.c: Likewise.
51812 * math/s_cexpl.c: Likewise.
51813 * math/s_clog.c: Likewise.
51814 * math/s_clog10.c: Likewise.
51815 * math/s_clog10f.c: Likewise.
51816 * math/s_clog10l.c: Likewise.
51817 * math/s_clogf.c: Likewise.
51818 * math/s_clogl.c: Likewise.
51819 * math/s_csin.c: Likewise.
51820 * math/s_csinf.c: Likewise.
51821 * math/s_csinh.c: Likewise.
51822 * math/s_csinhf.c: Likewise.
51823 * math/s_csinhl.c: Likewise.
51824 * math/s_csinl.c: Likewise.
51825 * math/s_csqrt.c: Likewise.
51826 * math/s_csqrtf.c: Likewise.
51827 * math/s_csqrtl.c: Likewise.
51828 * math/s_ctan.c: Likewise.
51829 * math/s_ctanf.c: Likewise.
51830 * math/s_ctanh.c: Likewise.
51831 * math/s_ctanhf.c: Likewise.
51832 * math/s_ctanhl.c: Likewise.
51833 * math/s_ctanl.c: Likewise.
51834 * math/s_ldexp.c: Likewise.
51835 * math/s_ldexpf.c: Likewise.
51836 * math/s_ldexpl.c: Likewise.
51837 * math/s_significand.c: Likewise.
51838 * math/s_significandf.c: Likewise.
51839 * math/s_significandl.c: Likewise.
51840 * math/w_acos.c: Likewise.
51841 * math/w_acosf.c: Likewise.
51842 * math/w_acosh.c: Likewise.
51843 * math/w_acoshf.c: Likewise.
51844 * math/w_acoshl.c: Likewise.
51845 * math/w_acosl.c: Likewise.
51846 * math/w_asin.c: Likewise.
51847 * math/w_asinf.c: Likewise.
51848 * math/w_asinl.c: Likewise.
51849 * math/w_atan2.c: Likewise.
51850 * math/w_atan2f.c: Likewise.
51851 * math/w_atan2l.c: Likewise.
51852 * math/w_atanh.c: Likewise.
51853 * math/w_atanhf.c: Likewise.
51854 * math/w_atanhl.c: Likewise.
51855 * math/w_cosh.c: Likewise.
51856 * math/w_coshf.c: Likewise.
51857 * math/w_coshl.c: Likewise.
51858 * math/w_dremf.c: Likewise.
51859 * math/w_exp10.c: Likewise.
51860 * math/w_exp10f.c: Likewise.
51861 * math/w_exp10l.c: Likewise.
51862 * math/w_exp2.c: Likewise.
51863 * math/w_exp2f.c: Likewise.
51864 * math/w_fmod.c: Likewise.
51865 * math/w_fmodf.c: Likewise.
51866 * math/w_fmodl.c: Likewise.
51867 * math/w_hypot.c: Likewise.
51868 * math/w_hypotf.c: Likewise.
51869 * math/w_hypotl.c: Likewise.
51870 * math/w_j0.c: Likewise.
51871 * math/w_j0f.c: Likewise.
51872 * math/w_j0l.c: Likewise.
51873 * math/w_j1.c: Likewise.
51874 * math/w_j1f.c: Likewise.
51875 * math/w_j1l.c: Likewise.
51876 * math/w_jn.c: Likewise.
51877 * math/w_jnf.c: Likewise.
51878 * math/w_jnl.c: Likewise.
51879 * math/w_lgamma.c: Likewise.
51880 * math/w_lgamma_r.c: Likewise.
51881 * math/w_lgammaf.c: Likewise.
51882 * math/w_lgammaf_r.c: Likewise.
51883 * math/w_lgammal.c: Likewise.
51884 * math/w_lgammal_r.c: Likewise.
51885 * math/w_log.c: Likewise.
51886 * math/w_log10.c: Likewise.
51887 * math/w_log10f.c: Likewise.
51888 * math/w_log10l.c: Likewise.
51889 * math/w_log2.c: Likewise.
51890 * math/w_log2f.c: Likewise.
51891 * math/w_log2l.c: Likewise.
51892 * math/w_logf.c: Likewise.
51893 * math/w_logl.c: Likewise.
51894 * math/w_pow.c: Likewise.
51895 * math/w_powf.c: Likewise.
51896 * math/w_powl.c: Likewise.
51897 * math/w_remainder.c: Likewise.
51898 * math/w_remainderf.c: Likewise.
51899 * math/w_remainderl.c: Likewise.
51900 * math/w_scalb.c: Likewise.
51901 * math/w_scalbf.c: Likewise.
51902 * math/w_scalbl.c: Likewise.
51903 * math/w_sinh.c: Likewise.
51904 * math/w_sinhf.c: Likewise.
51905 * math/w_sinhl.c: Likewise.
51906 * math/w_sqrt.c: Likewise.
51907 * math/w_sqrtf.c: Likewise.
51908 * math/w_sqrtl.c: Likewise.
51909 * math/w_tgamma.c: Likewise.
51910 * math/w_tgammaf.c: Likewise.
51911 * math/w_tgammal.c: Likewise.
51913 * po/ja.po: Update from translation team.
51915 2011-09-29 Andreas Jaeger <aj@suse.de>
51918 * sunrpc/netname.c (netname2host): Fix logic.
51922 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51924 * math/w_remainder.c (__remainder): Likewise.
51925 * math/w_remainderf.c (__remainderf): Likewise.
51926 * math/libm-test.inc (remainder_test): Add test cases.
51928 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51930 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51933 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51935 * string/test-memcmp.c: Avoid unncessary #defines.
51936 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51938 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51940 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51941 Use new sse2 version for core i3 - i7 as it's faster
51942 than sse42 version.
51943 (bit_Prefer_PMINUB_for_stringop): New.
51944 * sysdeps/x86_64/rawmemchr.S: Update.
51945 Replace with faster SSE2 version.
51946 * sysdeps/x86_64/memrchr.S: New file.
51947 * sysdeps/x86_64/memchr.S: Update.
51948 Replace with faster SSE2 version.
51950 2011-09-12 Marek Polacek <mpolacek@redhat.com>
51952 * elf/dl-load.c (lose): Add cast to avoid warning.
51954 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51956 * po/ca.po: Update from translation team.
51958 * inet/getnetgrent_r.c: Hook up nscd.
51959 * nscd/Makefile (routines): Add nscd_netgroup.
51960 (nscd-modules): Add netgroupcache.
51961 (CFLAGS-netgroupcache.c): Define.
51962 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51963 (cache_search): Add const to second parameter.
51964 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51966 (dbs): Add netgrdb entry.
51967 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51968 (verify_persistent_db): Handle netgrdb.
51969 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51970 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51972 (netgroup_response_header): Define.
51973 (innetgroup_response_header): Define.
51974 (datahead): Add netgroup_response_header and innetgroup_response_header
51976 * nscd/nscd.conf: Add entries for netgroup cache.
51977 * nscd/nscd.h (dbtype): Add netgrdb.
51978 (_PATH_NSCD_NETGROUP_DB): Define.
51979 (netgroup_iov_disabled): Declare.
51980 (xmalloc, xcalloc, xrealloc): Move declarations here.
51981 (cache_search): Adjust prototype.
51982 Add netgroup-related prototypes.
51983 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51984 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51985 (__nscd_innetgr): Declare.
51986 * nscd/selinux.c (perms): Use access_vector_t as element type and
51987 add netgroup-related initializers.
51988 * nscd/netgroupcache.c: New file.
51989 * nscd/nscd_netgroup.c: New file.
51990 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51991 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51992 For four parameters use innetgr.
51993 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51994 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51995 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51996 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51998 * nscd/connections.c (register_traced_file): Don't register file
51999 for disabled databases.
52001 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52003 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52005 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52006 from tree and freeing node.
52008 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52010 * nss/nsswitch.c (__nss_database_lookup): Handle
52011 nss_parse_service_list out of memory case.
52013 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52015 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52016 out of memory case.
52018 2011-10-04 Andreas Schwab <schwab@redhat.com>
52020 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52021 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52023 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52024 elf_machine_rela, elf_machine_lazy_rel.
52025 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52026 (ELF_DYNAMIC_DO_REL): Likewise.
52027 (ELF_DYNAMIC_DO_RELA): Likewise.
52028 (ELF_DYNAMIC_RELOCATE): Likewise.
52029 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52030 to ELF_DYNAMIC_DO_REL.
52031 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52032 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52033 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52035 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52036 skip_ifunc, don't call ifunc function if non-zero.
52037 (elf_machine_rela): Likewise.
52038 (elf_machine_lazy_rel): Likewise.
52039 (elf_machine_lazy_rela): Likewise.
52040 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52041 (elf_machine_lazy_rel): Likewise.
52042 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52044 (elf_machine_lazy_rel): Likewise.
52045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52047 (elf_machine_lazy_rel): Likewise.
52048 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52049 (elf_machine_lazy_rel): Likewise.
52050 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52051 (elf_machine_lazy_rel): Likewise.
52052 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52053 (elf_machine_lazy_rel): Likewise.
52054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52055 (elf_machine_lazy_rel): Likewise.
52056 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52057 (elf_machine_lazy_rel): Likewise.
52058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52059 (elf_machine_lazy_rel): Likewise.
52061 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52063 * nss/nss_files/files-init.c (_nss_files_init): Use static
52064 initialization for all the *_traced_file variables.
52066 2011-09-28 Andreas Schwab <schwab@redhat.com>
52068 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52070 2011-09-27 Roland McGrath <roland@hack.frob.com>
52073 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52075 2011-09-27 Andreas Schwab <schwab@redhat.com>
52077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52078 Reread the line before reparsing it.
52080 2011-09-26 Andreas Schwab <schwab@redhat.com>
52082 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52084 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52085 Maxim Kuvyrkov <maxim@codesourcery.com>
52086 Joseph Myers <joseph@codesourcery.com>
52088 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52089 if needed for __stack_chk_guard.
52091 2011-09-19 Roland McGrath <roland@hack.frob.com>
52093 * sysdeps/posix/spawni.c (script_execute): Always define it.
52094 It will be optimized away if unused.
52095 (maybe_script_execute): New function.
52096 (__spawni): Call it.
52098 * Makerules: Don't include tls.make.
52099 (config-tls): Always set to thread.
52100 * tls.make.c: File removed.
52102 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52104 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52105 * config.make.in (CPPFLAGS-config): New substituted variable.
52107 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52109 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52112 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52113 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52115 2011-09-15 Roland McGrath <roland@hack.frob.com>
52117 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52118 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52119 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52120 (CALL_FAIL): Likewise.
52121 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52122 (CALL_FAIL): Macro removed.
52123 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52125 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52127 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52128 for __FINITE_MATH_ONLY__ == 1.
52130 2011-09-15 Andreas Schwab <schwab@redhat.com>
52132 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52133 __ieee754_sqrt instead of sqrt.
52134 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52135 __ieee754_sqrtf instead of sqrtf.
52136 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52137 __floorf instead of floorf.
52138 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52139 __floorf, __truncf instead of floorf, truncf.
52141 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52143 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52145 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52146 __extern_always_inline.
52147 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52150 2011-09-14 Andreas Schwab <schwab@redhat.com>
52152 * elf/rtld.c (dl_main): Also relocate in dependency order when
52153 doing symbol dependency testing.
52155 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52158 Always define `refsym'.
52160 2011-09-13 Andreas Schwab <schwab@redhat.com>
52162 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52163 (__FD_ELT): Renamed from __FDELT.
52164 * misc/bits/select2.h (__FD_ELT): Likewise.
52165 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52166 __FD_MASK instead of __FDELT, __FDMASK.
52167 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52169 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52172 * elf/Makefile (gen-ldd): Fix pattern.
52174 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52175 (init_tls): Likewise.
52177 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52181 2011-09-12 Andreas Schwab <schwab@redhat.com>
52183 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52184 `struct cmsghdr *' instead of `void *'.
52185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52188 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52190 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52192 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52193 ldd_rewrite_script.
52195 2011-09-11 Ulrich Drepper <drepper@gmail.com>
52197 * configure.in: Remove --with-tls option.
52198 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52199 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52200 out in case it is missing.
52201 * sysdeps/ia64/elf/configure.in: Likewise.
52202 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52203 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52204 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52205 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52206 * sysdeps/sh/elf/configure.in: Likewise.
52207 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52209 * sysdeps/x86_64/elf/configure.in: Likewise.
52210 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52211 * sysdeps/mach/hurd/tls.h: Likewise.
52214 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52217 * configure.in: Fix use of AC_INIT.
52219 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52221 2011-09-10 Ulrich Drepper <drepper@gmail.com>
52223 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52225 * malloc/hooks.c: Likewise.
52228 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52229 variables statically.
52230 (narenas): Initialize.
52231 (list_lock): Initialize.
52232 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52233 initializtion of main_arena and list_lock. Small cleanups.
52234 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52235 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52236 Add initializers to main_arena and mp_.
52237 (malloc_state): Remove pagesize member. Change all users to use
52240 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52241 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52242 is always initialized.
52244 * malloc/malloc.c: Removed unused configurations and dead code.
52245 * malloc/arena.c: Likewise.
52246 * malloc/hooks.c: Likewise.
52247 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52249 * include/tls.h: Removed. USE___THREAD must always be defined.
52250 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52251 * elf/dl-libc.c: Likewise.
52252 * elf/dl-tsd.c: Likewise.
52253 * include/errno.h: Likewise.
52254 * include/netdb.h: Likewise.
52255 * include/resolv.h: Likewise.
52256 * inet/herrno-loc.c: Likewise.
52257 * inet/herrno.c: Likewise.
52258 * malloc/arena.c: Likewise.
52259 * malloc/hooks.c: Likewise.
52260 * malloc/malloc.c: Likewise.
52261 * resolv/res-state.c: Likewise.
52262 * resolv/res_libc.c: Likewise.
52263 * sysdeps/i386/dl-machine.h: Likewise.
52264 * sysdeps/ia64/dl-machine.h: Likewise.
52265 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52266 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52267 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52268 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52269 * sysdeps/sh/dl-machine.h: Likewise.
52270 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52271 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52272 * sysdeps/unix/i386/sysdep.S: Likewise.
52273 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52274 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52279 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52283 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52284 * sysdeps/x86_64/dl-machine.h: Likewise.
52285 * tls.make.c: Likewise.
52287 * configure.in: Remove --with-__thread option. Make tests for
52288 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52289 tls_model attribute fail if no support is available. Remove
52291 * Makeconfig: Adjust for dropped configure option. All features are
52293 * Makerules: Likewise.
52294 * Versions.def: Likewise.
52295 * argp/argp-fmtstream.c: Likewise.
52296 * argp/argp-fmtstream.h: Likewise.
52297 * argp/argp-help.c: Likewise.
52298 * assert/assert.c: Likewise.
52299 * config.h.in: Likewise.
52300 * config.make.in: Likewise.
52301 * configure: Likewise.
52302 * configure.in: Likewise.
52303 * csu/Versions: Likewise.
52304 * csu/init.c: Likewise.
52305 * elf/tst-audit2.c: Likewise.
52306 * elf/tst-tls10.c: Likewise.
52307 * elf/tst-tls10.h: Likewise.
52308 * elf/tst-tls11.c: Likewise.
52309 * elf/tst-tls12.c: Likewise.
52310 * elf/tst-tls14.c: Likewise.
52311 * elf/tst-tlsmod11.c: Likewise.
52312 * elf/tst-tlsmod12.c: Likewise.
52313 * elf/tst-tlsmod13.c: Likewise.
52314 * elf/tst-tlsmod13a.c: Likewise.
52315 * elf/tst-tlsmod14a.c: Likewise.
52316 * elf/tst-tlsmod15b.c: Likewise.
52317 * elf/tst-tlsmod16a.c: Likewise.
52318 * elf/tst-tlsmod16b.c: Likewise.
52319 * elf/tst-tlsmod7.c: Likewise.
52320 * elf/tst-tlsmod8.c: Likewise.
52321 * elf/tst-tlsmod9.c: Likewise.
52322 * gmon/gmon.c: Likewise.
52323 * grp/fgetgrent_r.c: Likewise.
52324 * grp/putgrent.c: Likewise.
52325 * hurd/fopenport.c: Likewise.
52326 * include/libc-symbols.h: Likewise.
52327 * include/tls.h: Likewise.
52328 * intl/gettextP.h: Likewise.
52329 * intl/loadinfo.h: Likewise.
52330 * locale/global-locale.c: Likewise.
52331 * locale/localeinfo.h: Likewise.
52332 * mach/devstream.c: Likewise.
52333 * malloc/arena.c: Likewise.
52334 * malloc/set-freeres.c: Likewise.
52335 * misc/err.c: Likewise.
52336 * misc/getttyent.c: Likewise.
52337 * misc/mntent_r.c: Likewise.
52338 * posix/getopt.c: Likewise.
52339 * posix/wordexp.c: Likewise.
52340 * pwd/fgetpwent_r.c: Likewise.
52341 * resolv/Versions: Likewise.
52342 * resolv/res_hconf.c: Likewise.
52343 * shadow/fgetspent_r.c: Likewise.
52344 * shadow/putspent.c: Likewise.
52345 * stdio-common/printf_fphex.c: Likewise.
52346 * stdio-common/tmpfile.c: Likewise.
52347 * stdlib/abort.c: Likewise.
52348 * stdlib/fmtmsg.c: Likewise.
52349 * sunrpc/auth_unix.c: Likewise.
52350 * sunrpc/clnt_perr.c: Likewise.
52351 * sunrpc/clnt_tcp.c: Likewise.
52352 * sunrpc/clnt_udp.c: Likewise.
52353 * sunrpc/clnt_unix.c: Likewise.
52354 * sunrpc/openchild.c: Likewise.
52355 * sunrpc/svc_simple.c: Likewise.
52356 * sunrpc/svc_tcp.c: Likewise.
52357 * sunrpc/svc_udp.c: Likewise.
52358 * sunrpc/svc_unix.c: Likewise.
52359 * sunrpc/xdr.c: Likewise.
52360 * sunrpc/xdr_array.c: Likewise.
52361 * sunrpc/xdr_rec.c: Likewise.
52362 * sunrpc/xdr_ref.c: Likewise.
52363 * sunrpc/xdr_stdio.c: Likewise.
52365 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52367 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52369 2011-07-03 Andreas Jaeger <aj@suse.de>
52371 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52372 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52373 regenerate with gen-libm-tests.pl.
52375 2010-05-12 Petr Baudis <pasky@suse.cz>
52378 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52379 around j0() zero points by switching to j1().
52380 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52381 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52383 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52385 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52387 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52389 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52392 Patch in part by Pavel Roskin <proski@gnu.org>.
52395 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52397 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52398 Free memory block if necessary.
52401 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52402 be NULL. Don't lock in this case.
52404 2011-09-09 Roland McGrath <roland@hack.frob.com>
52406 * elf/elf.h (ELFOSABI_GNU): New macro.
52407 (ELFOSABI_LINUX): Define to that.
52409 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52411 * string/strncat.c (strncat): Undef the symbol in case it has been
52412 defined in bits/string.h.
52414 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52416 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52418 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52421 2011-08-17 Andreas Jaeger <aj@suse.de>
52423 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52425 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52426 Ian Lance Taylor <iant@google.com>
52428 * math/libm-test.inc (lround_test): New testcase.
52429 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52431 2011-09-08 Ulrich Drepper <drepper@gmail.com>
52433 * Makefile: Remove support for automatic cvs check-ins.
52434 * Makerules: Likewise.
52435 * config.make.in: Likewise.
52436 * configure.in: Likewise.
52437 * intl/Makefile: Likewise.
52438 * locale/Makefile: Likewise.
52439 * po/Makefile: Likewise.
52440 * posix/Makefile: Likewise.
52441 * sysdeps/gnu/Makefile: Likewise.
52442 * sysdeps/mach/hurd/Makefile: Likewise.
52443 * sysdeps/sparc/sparc32/Makefile: Likewise.
52446 * posix/Makefile (bug-regex32-ENV): Define.
52447 Patch by John Stanley <jpsinthemix@verizon.net>.
52449 * misc/Makefile (headers): Add bits/select2.h.
52450 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52451 * misc/bits/select2.h: New file.
52452 * include/bits/select2.h: New file.
52453 * debug/Makefile (routines): Add fdelt_chk.
52454 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52455 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52457 * debug/fdelt_chk.c: New file.
52459 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52460 * wcsmbs/test-wmemcmp.c: Likewise.
52461 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52462 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52464 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52466 * string/Makefile (strop-tests): Add memcmp.
52467 * string/test-wmemcmp.c: New file.
52468 * string/test-memcmp.c: Add wmemcmp support.
52470 2011-09-08 Roland McGrath <roland@hack.frob.com>
52473 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52476 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52477 garbage value in a __mach_port_mod_refs call in the cases of the
52478 task-self and thread-self ports.
52480 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52482 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52484 2011-09-08 Andreas Schwab <schwab@redhat.com>
52486 * elf/dl-load.c (lose): Check for non-null L.
52488 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52490 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52492 * elf/dl-libc.c (dlerror_run): Pass back error code from
52496 * elf/dl-load.c (lose): Free l_origin if it is valid.
52498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52500 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52501 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52503 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52504 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52505 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52507 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52509 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52510 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52511 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52512 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52513 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52514 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52515 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52516 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52517 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52518 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52520 2011-08-15 Alan Modra <amodra@gmail.com>
52523 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52524 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52525 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52526 ppc_mcount to static-only-routines.
52527 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52529 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52530 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52532 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52534 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52535 for finite and infinity parameters.
52537 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52540 and add nop instructions for throughput optimization.
52541 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52543 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52545 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52546 aligned copy for power7 with vector-scalar instructions.
52547 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52549 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52554 2011-09-07 Andreas Schwab <schwab@redhat.com>
52557 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52560 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52562 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52563 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52564 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52565 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52568 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52570 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52571 Forgot to demangle the pointer.
52573 * sysdeps/i386/sysdep.h: Define atom_text_section.
52574 * sysdeps/x86_64/sysdep.h: Likewise.
52575 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52576 section with atom_text_section.
52577 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52578 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52579 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52581 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52585 already be defined. Change to take two parameters and don't assign
52586 result to variable. Adjust all users.
52587 Define INTERNAL_GETTIME if not already defined.
52588 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52591 HAVE_CLOCK_GETTIME_VSYSCALL.
52592 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52595 gettimeofday vsyscall, just use time.
52597 2011-09-06 Andreas Schwab <schwab@redhat.com>
52599 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52602 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52604 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52608 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52610 syscall if possible.
52612 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52614 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52615 e_ident. Don't pass to find_mapsXX.
52616 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52618 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52621 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52622 * sysdeps/x86_64/multiarch/strchr.S: Update.
52623 Check bit_slow_BSF bit.
52624 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52625 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52626 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52628 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52631 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52633 (tryshell): Define.
52634 (__spawni): Change last parameter to be flag. Test
52635 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52636 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52637 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52638 * posix/spawni.c: Likewise.
52639 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52640 * posix/spawnp.c: Likewise. Change normal version to use
52641 SPAWN_XFLAGS_USE_PATH.
52642 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52643 SPAWN_XFLAGS_TRY_SHELL.
52646 * posix/glob.h: Remove gcc 1.x support.
52649 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52651 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52654 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52656 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52657 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52658 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52660 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52663 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52665 * sysdeps/x86_64/wcscmp.S: New file.
52667 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52668 wcscmp-c wcscmp-sse2
52669 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52670 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52671 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52672 * wcsmbs/wcscmp.c: Allow renaming.
52674 2011-09-05 David S. Miller <davem@davemloft.net>
52676 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52677 stack slot, rather than the struct return pointer slot.
52678 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52679 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52681 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52683 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52685 * po/ja.po: Update from translation team.
52688 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52689 kernel in 64-bit binaries.
52691 2011-09-01 David S. Miller <davem@davemloft.net>
52693 * elf/elf.h (HWCAP_SPARC_*): Move to..
52694 * sysdeps/sparc/sysdep.h: this new file and add new values.
52695 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52696 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52697 _DL_HWCAP_COUNT to 24.
52698 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52700 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52701 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52702 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52704 instead of magic constants.
52705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52707 2011-08-31 David S. Miller <davem@davemloft.net>
52709 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52711 Reimplement to do errno handling inline.
52712 (SYSCALL_ERROR_HANDLER): New macro.
52713 (__SYSCALL_STRING): Do not do errno handling in asm.
52714 (__CLONE_SYSCALL_STRING): Delete.
52715 (__INTERNAL_SYSCALL_STRING): Delete.
52716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52717 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52718 (PSEUDO): Reimplement to do errno handling inline.
52719 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52720 (SYSCALL_ERROR_HANDLER): New macro.
52721 (__SYSCALL_STRING): Do not do errno handling in asm.
52722 (__CLONE_SYSCALL_STRING): Delete.
52723 (__INTERNAL_SYSCALL_STRING): Delete.
52724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52725 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52727 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52728 (inline_syscall*): Add 'err' argument.
52729 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52730 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52731 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52732 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52734 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52735 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52737 2011-08-30 Andreas Schwab <schwab@redhat.com>
52739 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52741 2011-08-29 Jiri Olsa <jolsa@redhat.com>
52743 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52746 2011-08-24 David S. Miller <davem@davemloft.net>
52748 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52750 2011-08-24 Andreas Schwab <schwab@redhat.com>
52752 * elf/Makefile: Add rules to build and run unload8 test.
52753 * elf/unload8.c: New file.
52754 * elf/unload8mod1.c: New file.
52755 * elf/unload8mod1x.c: New file.
52756 * elf/unload8mod2.c: New file.
52757 * elf/unload8mod3.c: New file.
52759 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52762 2011-08-23 David S. Miller <davem@davemloft.net>
52764 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52765 subtract stack bias.
52766 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52767 %sp not %fp in calculations.
52768 (_JMPBUF_UNWINDS_ADJ): Likewise.
52770 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52771 (aio_suspend): Call it to force an exception region around the
52772 AIO_MISC_WAIT() invocation.
52774 2011-08-23 Andreas Schwab <schwab@redhat.com>
52776 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52779 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52781 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52783 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52784 and <dl-machine.h>.
52785 (Elf64_FuncDesc): Remove.
52787 2011-08-22 David S. Miller <davem@davemloft.net>
52789 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52790 sigaltstack check, add missing cfi directives.
52791 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52792 missing cfi directives, and sigaltstack handling.
52794 2011-08-16 Andreas Schwab <schwab@redhat.com>
52797 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52798 object is seen twice.
52799 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52801 * elf/Makefile (distribute): Add tst-initorder2.c.
52802 (tests): Add tst-initorder2.
52803 (modules-names): Add tst-initorder2a tst-initorder2b
52804 tst-initorder2c tst-initorder2d. Add rules to build them.
52805 ($(objpfx)tst-initorder2.out): New rule.
52806 * elf/tst-initorder2.c: New file.
52807 * elf/tst-initorder2.exp: New file.
52809 2011-08-22 Andreas Schwab <schwab@redhat.com>
52811 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52813 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52814 dependencies back to end of function.
52816 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52817 $(elfobjdir)/ld.so.
52819 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52822 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52824 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52825 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52826 of __vdso_gettimeofday.
52827 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52828 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52830 (_libc_vdso_platform_setup): Remove initialization of
52831 __vdso_gettimeofday and __vdso_time.
52833 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52835 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52836 and fgetc_unlocked.
52837 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52840 * elf/dl-open.c (add_to_global): Report additions to the global scope
52841 for LD_DEBUG=scopes.
52842 (dl_open_worker): Also print scope of newly loaded dependencies.
52843 (_dl_show_scope): Indicate if there is no scope.
52846 * stdio-common/Makefile (tests): Add bug24.
52847 * stdio-common/bug24.c: New file.
52849 2011-08-19 Andreas Jaeger <aj@suse.de>
52852 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52853 non-existant file when using close-on-exec mode.
52855 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52858 the very first instruction.
52860 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52861 the CFI state in the end.
52862 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52863 inclusion of dl-trampoline.h.
52864 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52866 2011-08-19 Andreas Schwab <schwab@redhat.com>
52868 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52869 expectations for long double.
52871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52872 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52874 2011-08-14 David S. Miller <davem@davemloft.net>
52876 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52877 artificual limit depends upon the system page size.
52879 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52881 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52882 * resolv/Makefile: Define CFLAGS-libresolv.
52884 2011-08-17 Andreas Schwab <schwab@redhat.com>
52886 * nss/makedb.c (compute_tables): Make variables used in nested
52889 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52891 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52892 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52893 if buffer was too small.
52895 * elf/pldd.c (main): Attach to all threads in the process.
52896 Rewrite /proc handling to use *at functions.
52898 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52900 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52901 specifies first scope to show.
52902 (dl_open_worker): Update callers. Move printing scope of new
52903 object to before the relocation.
52904 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52905 * sysdeps/generic/ldsodefs.h: Update declaration.
52907 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52908 string for the scope number.
52910 2011-08-14 Ulrich Drepper <drepper@gmail.com>
52912 * nscd/servicescache.c (cache_addserv): Make sure written is always
52915 2011-08-14 Roland McGrath <roland@hack.frob.com>
52917 * sysdeps/i386/i486/bits/atomic.h
52918 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52919 statement expression, so as to suppress "set but not used" warning.
52920 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52922 * string/strncat.c (STRNCAT): Use prototype definition.
52924 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52925 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52927 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52928 (localedef-modules): Add localedef.
52929 (locale-modules): Add locale.
52931 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52932 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52933 to avoid a warning.
52935 2011-08-14 David S. Miller <davem@davemloft.net>
52937 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52938 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52940 2011-08-13 Ulrich Drepper <drepper@gmail.com>
52942 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52943 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52944 * elf/rtld.c (dl_main): Set l_name of vDSO.
52945 Call _dl_show_scope when DL_DEBUG_SCOPES.
52946 (process_dl_debug): Recognize scopes flag and also set it for all.
52947 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52948 Declare _dl_show_scope.
52950 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52951 (do_dlopen): Pass caller_dlopen to dl_open.
52952 (__libc_dlopen_mode): Initialize caller_dlopen.
52954 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52955 of libc. Make tolower call locale-independent. Optimize a bit by
52956 using isdigit instead of isalnum.
52957 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52959 2011-08-12 Ulrich Drepper <drepper@gmail.com>
52961 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52962 was a dependency or dynamically loaded.
52964 2011-08-11 Ulrich Drepper <drepper@gmail.com>
52966 * intl/l10nflist.c: Allow architecture-specific pop function.
52967 * sysdeps/x86_64/l10nflist.c: New file.
52969 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52972 2011-08-10 Andreas Schwab <schwab@redhat.com>
52974 * include/dirent.h: Add libc_hidden_proto for scandirat and
52975 scandirat64. Don't declare __scandirat64.
52976 * dirent/scandirat.c: Add libc_hidden_def.
52977 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52978 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52980 2011-08-10 David S. Miller <davem@davemloft.net>
52982 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52984 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52985 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52986 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52988 2011-08-09 Ulrich Drepper <drepper@gmail.com>
52990 * Versions.def [libc]: Add GLIBC_2.15.
52991 * dirent/Makefile (routines): Add scandirat and scandirat64.
52992 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52994 * dirent/dirent.h: Declare scandirat and scandirat64.
52995 * dirent/scandirat.c: New file.
52996 * dirent/scandirat64.c: New file.
52997 * sysdeps/wordsize-64/scandirat.c: New file.
52998 * sysdeps/wordsize-64/scandirat64.c: New file.
52999 * dirent/opendir.c: Define opendirat.
53000 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53002 * dirent/scandir64.c: Adjust for scandir.c change.
53003 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53004 __scandirat64, and __scandir_cancel_handler.
53005 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53006 additional parameter and use openat instead of open (outside of ld.so).
53007 Add new __opendir as wrapper around __opendirat.
53008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53009 here without requiring old scandirat implementation.
53011 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53013 * dirent/scandir.c (cancel_handler): Renamed to
53014 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53015 defined. Adjust users.
53016 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53017 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53019 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53021 * string/test-string.h (IMPL): Use __STRING to expand name and then
53024 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53027 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53029 * string/Makefile: Update.
53030 (strop-tests): Append strncat.
53031 * string/test-wcscmp.c: New file.
53032 New comprehensive test for wcscmp.
53033 * string/test-strcmp.c: Update.
53034 (WIDE): New define.
53036 2011-07-22 Andreas Schwab <schwab@redhat.com>
53038 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53041 2011-07-26 Andreas Schwab <schwab@redhat.com>
53043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53044 encoding to ACE if AI_IDN.
53046 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53049 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53051 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53053 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53054 Fix overflow bug in strncat.
53055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53057 * string/test-strncat.c: Update.
53058 Add new tests for checking overflow bugs.
53060 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53063 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53064 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53065 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53067 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53068 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53069 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53070 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53073 (USE_AS_STRCAT): Define.
53074 Add strcat and strncat support.
53075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53077 2011-07-25 Andreas Schwab <schwab@redhat.com>
53079 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53080 __n bigger than INT_MAX+1.
53081 (__strncmp_g): Likewise.
53083 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53085 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53086 * libio/stido.h: Likewise.
53088 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53093 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53096 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53100 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53105 (_dl_x86_64_save_sse): Likewise.
53107 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53111 (_dl_x86_64_save_sse): Likewise.
53113 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53115 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53117 2011-07-21 Andreas Schwab <schwab@redhat.com>
53119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53121 (_dl_x86_64_save_sse): Use correct AVX check.
53123 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53125 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53126 bug in strncpy/strncat.
53127 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53129 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53131 * string/tester.c (test_strcat): Add tests for different alignments
53132 of source and destination.
53133 (test_strncat): Likewise.
53135 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53138 * posix/glob.c (glob): Check passed in values before using them in
53139 expressions to avoid some overflows.
53140 (glob_in_dir): Likewise.
53143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53144 check for AVX enablement so that we don't crash with old kernels and
53146 * elf/tst-audit4.c: Add same checks here.
53147 * elf/tst-audit6.c: Likewise.
53149 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53151 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53153 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53155 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53157 * po/cs.po: Update from translation team.
53158 * po/bg.po: Likewise.
53160 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53162 * misc/sys/cdefs.h: Add support for const attribute.
53163 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53164 to gnu_dev_{major,minor,makedev} functions.
53166 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53168 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53170 2011-07-20 Andreas Schwab <schwab@redhat.com>
53172 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53175 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53177 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53178 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53179 register in order to avoid conflicts with the soft frame pointer
53180 being held in r11 when necessary.
53181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53182 (INTERNAL_VSYSCALL_NCS): Likewise.
53184 2011-07-14 Marek Polacek <mpolacek@redhat.com>
53186 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53187 * elf/dl-fini.c (_dl_fini): Adjust caller.
53188 * elf/dl-close.c (_dl_close_worker): Likewise.
53189 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53191 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53193 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53194 "aux_cache->nlibs < 0".
53196 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53197 in the reload-count case.
53199 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53202 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53203 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53204 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53205 * sysdeps/x86_64/multiarch/strcat.S: New file.
53206 * sysdeps/x86_64/multiarch/strncat.S: New file.
53207 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53208 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53209 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53210 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53211 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53212 (USE_AS_STRCAT): Define.
53213 Add strcat and strncat support.
53214 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53216 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53217 * string/strncat.c: Update.
53218 (USE_AS_STRNCAT): Define.
53219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53220 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53222 * sysdeps/x86_64/multiarch/init-arch.h
53223 (bit_Prefer_PMINUB_for_stringop): New.
53224 (index_Prefer_PMINUB_for_stringop): Likewise.
53225 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53226 bit_Prefer_PMINUB_for_stringop.
53228 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53230 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53232 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53233 of casting of buffer.
53234 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53235 buffer32 and buffer64.
53236 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53237 writes instead of casting of buffer.
53238 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53240 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53243 2011-07-19 Andreas Schwab <schwab@redhat.com>
53245 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53247 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53249 * nscd/nscd.c (termination_handler): Don't do anything for a database
53250 if it has not yet been initialized.
53252 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53254 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53256 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53258 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53260 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53262 * po/nl.po: Update from translation team.
53263 * po/sv.po: Likewise.
53265 2011-07-16 Roland McGrath <roland@hack.frob.com>
53267 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53268 now disallowed by GCC.
53270 * configure.in (use-default-link): Default to yes if a test -shared
53271 link meets our qualifications.
53272 * configure: Regenerated.
53274 * config.make.in (output-format): New variable.
53275 * configure.in: Check for ld --print-output-format support.
53276 * configure: Regenerated.
53277 * Makerules ($(common-objpfx)format.lds)
53278 [$(output-format) != unknown]: Just use $(output-format),
53279 instead of the linker-script munging.
53281 2011-07-14 Roland McGrath <roland@hack.frob.com>
53283 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53284 of $(common-objpfx)shlib.lds.
53285 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53287 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53288 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53290 * configure.in (-z relro check): Adjust test code to add a large
53291 writable data section after it.
53292 * configure: Regenerated.
53294 2011-07-11 Roland McGrath <roland@hack.frob.com>
53296 * configure.in (-z relro check): Fix test code to make the variable
53298 * configure: Regenerated.
53300 2011-07-11 Ulrich Drepper <drepper@gmail.com>
53302 * nscd/nscd.h (struct traced_file): Define.
53303 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53304 elements. Add traced_files.
53305 (inotify_fd): Declare.
53306 (register_traced_file): Declare.
53307 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53308 (inotify_fd): Export.
53309 (resolv_conf_descr): Remove.
53310 (nscd_init): Move inotify descriptor creation to main.
53311 Don't register files for notification here.
53312 (register_traced_file): New function.
53313 (invalidate_cache): Don't use reset_res to determine whether to call
53314 res_init, go through the list of registered files.
53315 (main_loop_poll): The inotify descriptors are now stored in the
53316 structures for the traced files.
53317 (main_loop_epoll): Likewise
53318 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53319 to __nss_disable_nscd.
53320 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53321 for a database anymore. Check the records for all the registered
53323 * nss/Makefile (libnss_files-routines): Add files-init.
53324 (libnss_db-routines): Add db-init.
53325 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53326 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53327 * nss/nss_db/db-init.c: New file.
53328 * nss/nss_files/files-init.c: New file.
53329 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53330 __nss_lookup_function.
53331 (__nss_lookup_function): Call nss_load_library.
53332 (nss_load_all_libraries): New function.
53333 (__nss_disable_nscd): Take parameter with callback function for files
53334 to register. Set is_nscd. Load all the DSOs for the NSS modules
53335 used for the cached services.
53336 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53337 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53338 options for features to all the files in nscd.
53340 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53342 2011-07-10 Roland McGrath <roland@hack.frob.com>
53344 * csu/elf-init.c (__libc_csu_init): Comment typo.
53346 2011-07-09 Ulrich Drepper <drepper@gmail.com>
53348 * po/pl.po: Update from translation team.
53349 * po/ja.po: Likewise.
53350 * po/ru.po: Likewise.
53351 * po/ko.po: Likewise.
53352 * po/fr.po: Likewise.
53354 2011-07-09 Roland McGrath <roland@hack.frob.com>
53356 * configure.in (.ctors/.dtors header and trailer check):
53357 Use an empirical test on a built program.
53358 * configure: Regenerated.
53360 * configure.in (-z relro check): Use an empirical test on a built DSO.
53361 Detect, but do not require, on ia64.
53362 * configure: Regenerated.
53364 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53365 Update tests that use readelf to use $READELF instead.
53366 * configure: Regenerated.
53368 2011-07-08 Ulrich Drepper <drepper@gmail.com>
53370 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53371 if the result is not used.
53373 2011-07-05 Andreas Jaeger <aj@suse.de>
53376 * stdlib/tst-strtod.c: Add testcase.
53378 2011-07-07 Ulrich Drepper <drepper@gmail.com>
53380 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53381 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53382 The latter has a higher limit. Take additional parameter to pass to
53384 (__pathconf): Pass file to __statfs_link_max.
53385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53387 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53391 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53392 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53394 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53395 (__statfs_filesize_max): Likewise.
53396 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53398 2011-07-05 Andreas Jaeger <aj@suse.de>
53400 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53402 2011-07-06 Marek Polacek <mpolacek@redhat.com>
53404 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53406 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53409 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53411 * Makefile (strop-tests): Add strncat.
53412 * string/test-strncat.c: New file.
53414 2011-06-30 Marek Polacek <mpolacek@redhat.com>
53416 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53418 2011-06-21 Andreas Jaeger <aj@suse.de>
53420 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53421 Copy rule from iconvdata/Makefile.
53423 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53426 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53427 but no long options are defined, just return 'W'.
53429 2011-06-22 Marek Polacek <mpolacek@redhat.com>
53432 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53434 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53436 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53438 (innetgr): Likewise.
53440 2011-07-05 Roland McGrath <roland@hack.frob.com>
53442 * config.make.in (install_root): Default to $(DESTDIR).
53444 2011-07-05 Ulrich Drepper <drepper@gmail.com>
53446 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53448 2011-07-02 Roland McGrath <roland@hack.frob.com>
53450 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53452 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53453 containing directory rather than embedding absolute directory names.
53455 * scripts/check-local-headers.sh: Rewritten using awk.
53456 Match by word, not by line. Print error messages for matches.
53457 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53459 * Makerules [shlib-lds-flags empty]:
53460 ($(common-objpfx)libc_pic.opts): New target.
53461 ($(common-objpfx)libc_pic.os.clean): New target.
53462 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53464 * config.make.in (OBJCOPY): New variable.
53465 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53466 * configure: Regenerated.
53468 * config.make.in (use-default-link): New variable.
53469 * configure.in (use_default_link): Grok --with-default-link to set it.
53470 * configure: Regenerated.
53471 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53472 (shlib-lds, shlib-lds-flags): Define to empty.
53474 * Makerules (shlib-lds): New variable.
53475 (shlib-lds-flags): New variable.
53476 (build-shlib, build-moduile, build-module-asneeded): Use it.
53477 ($(common-objpfx)libc.so): Use $(shlib-lds).
53478 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53479 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53481 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53482 DT_FLAGS/DT_FLAGS_1 with zero flags.
53484 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53485 linker script munging.
53487 2011-07-02 Ulrich Drepper <drepper@gmail.com>
53489 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53491 * crypt/sha512.c (sha512_process_block): Perform total addition using
53492 128-bit if possible.
53493 (__sha512_finish_ctx): Likewise.
53494 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53496 * crypt/sha256.c (SWAP64): Define.
53497 (sha256_process_block): Perform total addition using 64-bit if
53499 (__sha256_finish_ctx): Likewise.
53501 2011-07-01 Ulrich Drepper <drepper@gmail.com>
53503 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53505 * nscd/hstcache.c (cache_addhst): Likewise.
53506 * nscd/grpcache.c (cache_addgr): Likewise.
53507 * nscd/aicache.c (addhstaiX): Likewise
53508 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53510 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
53512 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53514 * nscd/hstcache.c (cache_addhst): Likewise.
53515 * nscd/grpcache.c (cache_addgr): Likewise.
53516 * nscd/aicache.c (addhstaiX): Likewise
53518 2011-07-01 Andreas Schwab <schwab@redhat.com>
53520 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53521 domain only when needed.
53523 2011-06-30 Andreas Schwab <schwab@redhat.com>
53525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53526 is always restored.
53528 2011-06-29 Ulrich Drepper <drepper@gmail.com>
53530 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53531 are re-adding the entry.
53532 * nscd/servicescache.c (cache_addserv): Likewise.
53534 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53536 * sysdeps/generic/dl-irel.h: fix protection against multiple
53538 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53540 2011-06-28 Ulrich Drepper <drepper@gmail.com>
53543 * malloc/memusage.sh: Fix quoting in message.
53544 * debug/xtrace.sh: Likewise.
53546 * configure.in: Remove support for --experimental-malloc option, make
53548 * config.make.in: Likewise.
53549 * malloc/Makefile: Likewise.
53551 2011-06-27 Andreas Schwab <schwab@redhat.com>
53553 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53554 two-byte characters.
53556 2011-06-27 Roland McGrath <roland@hack.frob.com>
53558 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53559 AC_CACHE_CHECK invocation.
53560 * configure: Regenerated.
53562 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53564 2011-06-27 Ulrich Drepper <drepper@gmail.com>
53567 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53568 bit from old_res_options.
53570 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53572 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53573 value type for setfct.
53575 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53577 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53578 __gettimeofday instead of gettimeofday.
53580 2011-06-26 Ulrich Drepper <drepper@gmail.com>
53582 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53584 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53586 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53591 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53594 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53595 strcpy-sse2-unaligned strncpy-sse2-unaligned
53596 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53597 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53598 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53599 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53600 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53603 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53604 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53605 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53606 (STRCPY): Support SSE2 and SSSE3 versions.
53608 2011-06-24 Ulrich Drepper <drepper@gmail.com>
53611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53612 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53613 kernels which artificially limit size of requests.
53615 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53618 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53619 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53620 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53621 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53622 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53623 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53624 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53625 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53627 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53628 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53629 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53630 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53631 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53633 Enable unaligned load optimization for Intel Core i3, i5 and i7
53635 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53637 (index_Fast_Unaligned_Load): Define.
53638 (HAS_FAST_UNALIGNED_LOAD): Define.
53640 2011-06-23 Marek Polacek <mpolacek@redhat.com>
53642 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53644 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53648 until it is clear that the information is realy needed.
53649 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53651 2011-06-22 Andreas Schwab <schwab@redhat.com>
53653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53655 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53658 /sys/devices/system/cpu/online if it is usable.
53660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53661 reading the information from the /proc filesystem to once a second.
53663 2011-06-21 Andreas Jaeger <aj@suse.de>
53665 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53666 NULL after inclusion of kernel headers.
53668 2011-06-21 Ulrich Drepper <drepper@gmail.com>
53670 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53671 calls to internal_setent.
53674 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53675 addresses using gethostbyname4_r ignore IPv4 addresses.
53677 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53678 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53680 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53682 2011-06-20 David S. Miller <davem@davemloft.net>
53684 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53686 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53688 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53689 (elf_irel): Use it.
53690 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53691 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53692 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53693 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53694 * sysdeps/x86_64/dl-irel.h: Likewise.
53696 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53697 * elf/dl-sym.c: Likewise.
53699 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53701 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53702 need to dereference resplen2.
53704 2011-06-14 Andreas Schwab <schwab@redhat.com>
53706 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53708 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53710 * Makeconfig: Define vardbdir and inst_vardbdir.
53711 * nss/Makefile: Add rules to install db-Makefile.
53713 * nss/nss_db/db-XXX.c: Cleanup.
53715 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53716 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53718 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53719 * nss/makedb.c: Implement -g option to specify that value strings
53720 are generated and should not be added to table iterated over for
53722 * nss/nss_db/db-initgroups.c: New file.
53724 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53727 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53728 (internal_getgrouplist): Adjust to name change.
53729 Update use_initgroups_entry if this is not the first call.
53730 * nss/databases.def: Add initgroups entry.
53732 * nss/makedb.c (compute_tables): Check result of multiple hash table
53733 sizes to minimize maximum chain length.
53735 2011-06-14 Ulrich Drepper <drepper@gmail.com>
53737 * Versions.def: Add entry for libnss_db.
53738 * shlib-versions: Likewise.
53739 * nss/Makefile: Add rules to build libnss_db.
53740 * nss/Versions: Add libnss_db information. Organize libnss_files
53742 * nss/db-Makefile: Add gshadow support. Change rules for the new
53743 makedb progra. Some minor improvements to generate smaller files.
53744 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53746 * nss/makedb.c: ...here.
53747 Improve database format to be smaller and require less memory at
53749 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53751 * nss/nss_db/db-netgrp.c: Likewise.
53752 * nss/nss_db/db-open.c: Likewise.
53753 * nss/nss_files/flies-XXX.x: Adjust comments.
53754 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53755 * nss/nss_files/files-grp.c: Likewise.
53756 * nss/nss_files/files-hosts.c: Likewise.
53757 * nss/nss_files/files-network.c: Likewise.
53758 * nss/nss_files/files-proto.c: Likewise.
53759 * nss/nss_files/files-pwd.c: Likewise.
53760 * nss/nss_files/files-rpc.c: Likewise.
53761 * nss/nss_files/files-service.c: Likewise.
53762 * nss/nss_files/files-sgrp.c: Likewise.
53763 * nss/nss_files/files-spwd.c: Likewise.
53764 * nss/nss_db/db-alias.c: Removed.
53765 * nss/nss_db/dummy-db.h: Removed.
53767 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53769 * nss/makedb.c: Rewritten to not use database library.
53770 * nss/Makefile: Update to build new makedb program.
53772 2011-06-14 Andreas Jaeger <aj@suse.de>
53774 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53775 memset declaration.
53777 2011-06-10 Andreas Schwab <schwab@redhat.com>
53779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53782 2011-06-10 Roland McGrath <roland@hack.frob.com>
53784 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53785 * elf/Makefile ($(objpfx)ld.so): Likewise.
53787 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53788 Don't list ld.so twice in dependencies.
53790 * posix/bug-regex31.c: Include <stdlib.h>.
53792 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53794 * nis/nss_compat/compat-spwd.c
53795 (getspent_next_nss_netgr): Remove unused variable.
53796 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53798 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53799 nonmembers" output to use the right array.
53801 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53803 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53805 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53806 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53807 * catgets/gencat.c (read_input_file): Likewise.
53808 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53810 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53811 variable definition inside #if's controlling its use.
53813 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53815 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53817 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53819 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53822 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53824 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53825 * configure: Regenerated.
53827 * Makerules: Revert last change.
53828 * elf/Makefile: Likewise.
53830 2011-06-09 Roland McGrath <roland@hack.frob.com>
53832 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53833 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53834 (reloc-link): Likewise.
53836 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53838 * elf/Makefile: Add rules to build pldd.
53839 * elf/pldd.c: New file.
53840 * elf/pldd-xx.c: New file.
53842 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53844 * version.h: Update for 2.15 development version.
53846 2011-06-07 David S. Miller <davem@davemloft.net>
53848 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53850 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53851 elf_machine_lazy_rel): Likewise.
53852 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53853 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53854 elf_machine_lazy_rel): Likewise.
53855 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53856 dl_hwcap via passed in argument.
53857 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53860 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53862 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53864 2011-06-06 Roland McGrath <roland@hack.frob.com>
53867 * manual/fdl-1.1.texi: New file, verbatim from:
53868 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53869 * manual/lgpl-2.1.texi: New file, verbatim from:
53870 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53871 * manual/Makefile (licenses): New variable, list those new file names.
53873 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53875 * manual/fdl.texi: File removed.
53876 * manual/lesser.texi: File removed.
53877 * manual/libc.texinfo (Copying, Documentation License):
53878 Use new @include file names, put @appendix directive before @include.
53880 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53883 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53884 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53885 (mq_open): Add __NTH.
53887 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53890 Assume Intel Core i3/i5/i7 processor if AVX is available.
53892 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53897 2011-05-31 Andreas Schwab <schwab@redhat.com>
53899 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53900 memory. Use alloca_account. Fix memory leak when retrying.
53902 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53904 * version.h (RELEASE): Bump for 2.14 release.
53905 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53907 * config.make.in (RANLIB): Remove entry.
53909 2011-05-30 Ulrich Drepper <drepper@gmail.com>
53911 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53912 (libc.pot): Work around missing support for .ksh extension in xgettext.
53915 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53916 if both request failed.
53917 (send_dg): In case of server errors clear resplen or *resplen2.
53920 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53921 when there are multiple maps.
53922 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53923 (_dl_fini): Remove test here.
53925 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53927 2011-05-29 Ulrich Drepper <drepper@gmail.com>
53930 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53931 bit from old_res_options.
53932 (gaih_inet): Likewise.
53935 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53938 * resolv/res_init.c (res_setoptions): Make the code more compact.
53941 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53945 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53947 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53950 * malloc/malloc.h: Declare malloc hook variables as volatile.
53952 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53956 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53957 raise in the comment.
53958 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53959 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53960 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53962 2011-05-28 Ulrich Drepper <drepper@gmail.com>
53965 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53966 grow the buffers more if it already has to be sufficient.
53967 (build_wcs_upper_buffer): Likewise.
53968 * posix/regexec.c (check_matching): Likewise.
53969 (clean_state_log_if_needed): Likewise.
53970 (extend_buffers): Don't enlarge buffers beyond size of the input
53972 Patches mostly by Emil Wojak <emil@wojak.eu>.
53973 * posix/bug-regex32.c: New file.
53974 * posix/Makefile (tests): Add bug-regex32.
53976 * locale/findlocale.c (_nl_find_locale): Return right away if
53977 _nl_explode_name failed.
53978 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53980 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53982 * debug/xtrace.sh: Unify messages.
53983 * malloc/memusage.sh: Likewise.
53986 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53987 time symbol from vDSO. Substitute with vsyscall if not available.
53988 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53991 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53992 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53993 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53994 Add sendmmsg and internal_sendmmsg.
53995 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53996 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53999 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54000 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54003 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54006 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54007 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54009 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54013 * iconvdata/Makefile (tests): Add bug-iconv9.
54014 * iconvdata/bug-iconv9.c: New file.
54016 2011-05-27 Andreas Schwab <schwab@redhat.com>
54019 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54021 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54024 (struct user_regs_struct): Change intcs field back to cs.
54026 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54028 * po/ja.po: Update from translation team.
54030 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54033 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54036 2011-05-20 Andreas Schwab <schwab@redhat.com>
54038 * stdlib/longlong.h: Update from GCC.
54040 2011-05-23 Andreas Schwab <schwab@redhat.com>
54042 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54044 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54045 Add parameter name.
54046 (__sysconf): Pass it down.
54048 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54051 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54053 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54054 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54055 add in in __libc_use_alloca calls. Adjust callers.
54056 (glob): Use malloc in some situations.
54058 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54059 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54062 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54064 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54065 and CLOCK_BOOTTIME_ALARM.
54068 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54071 * string/_strerror.c (__strerror_r): Print negative errors as signed
54075 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54076 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54077 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54079 * configure.in: Fix typo in redirection and correct removal of test
54080 files in two cases.
54083 * locale/setlocale.c (new_composite_name): Fix test to check for
54084 identical name of all categories.
54087 * libio/filedoalloc.c (local_isatty): New function.
54088 (_IO_file_doallocate): Use local_isatty.
54089 * stdio-common/perror.c (perror): In case a new stream is used
54090 forward the stream error.
54091 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54094 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54099 * include/alloca.h (extend_alloca_account): Define.
54102 * posix/regex.h: Fix comments with documentation of user-accessible
54103 fields after compilation and describe correct free'ing of pattern
54104 after re_compile_pattern.
54105 Patch by Reuben Thomas <rrt@sc3d.org>.
54107 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54109 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54110 and -mno-altivec to prevent the compiler from using Altivec and/or
54111 VSX instructions when the corresponding registers are not available.
54113 2011-05-19 Andreas Schwab <schwab@redhat.com>
54115 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54117 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54119 * libio/freopen.c (freopen): Use __dup2, not dup2.
54120 * libio/freopen64.c (freopen64): Likewise.
54122 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54125 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54126 * math/Makefile (tests): Add test-powl.
54127 (CFLAGS-test-powl.c): Define.
54128 * math/test-powl.c: New file.
54130 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54132 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54134 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54137 * iconvdata/gb18030.c: Update to GB18020-2005.
54139 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54141 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54142 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54143 Patch by Aharon Robbins <arnold@skeeve.com>.
54146 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54150 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54151 through underflows.
54154 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54155 point to strings before performing equality test for error_one_per_line
54159 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54162 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54163 (struct user_fpregs_struct): Avoid __uint*_t types.
54166 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54167 symbol info. Use it instead of calling _dl_addr locally.
54168 (lock_and_info): New function.
54169 (tr_freehook): Call lock_and_info and pass symbol info as additional
54170 parameter to tr_where.
54171 (tr_mallochook): Likewise.
54172 (tr_reallochook): Likewise.
54173 (tr_memalignhook): Likewise.
54175 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54176 used and couldn't be at all thread-safe.
54178 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54180 * libio/freopen.c (freopen): Don't close old file descriptor
54181 before the new one is opened. Instead dup the new file descriptor
54182 to the old one after the new stream is created.
54183 * libio/freopen64.c (freopen64): Likewise.
54184 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54185 * libio/fileops.c (_IO_new_file_close_it): Handle new
54186 _IO_FLAGS2_NOCLOSE flag.
54187 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54188 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54189 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54190 _IO_FLAGS2_NOCLOSE flag.
54191 * include/unistd.h: Add hidden_proto for dup3.
54192 Define __have_dup3.
54193 * io/dup3.c: Define hidden symbol.
54194 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54197 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54198 when an incomplete long option is used.
54199 * posix/tst-getopt_long1.c: New file.
54200 * posix/Makefile (tests): Add tst-getopt_long1.
54203 * scripts/config.guess: Update from autoconf-2.68.
54204 * scripts/config.sub: Likewise.
54207 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54209 (has_cpuclock): ...this. New function.
54210 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54211 macro here based on has_cpuclock code.
54214 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54215 First byte (not low byte) is now always NUL.
54216 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54219 Use non-cancelable interfaces.
54222 * locale/iso-639.def: Add entry for Sorani.
54225 * include/stdlib.h: Move include protection to the right place.
54226 Define abort_msg_s. Declare __abort_msg with it.
54227 * stdlib/abort.c (__abort_msg): Adjust type.
54228 * assert/assert.c (__assert_fail_base): New function. Majority
54229 of code from __assert_fail. Allocate memory for __abort_msg with
54231 (__assert_fail): Now call __assert_fail_base.
54232 * assert/assert-perr.c: Remove bulk of implementation. Use
54233 __assert_fail_base.
54234 * include/assert.hL Declare __assert_fail_base.
54235 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54237 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54239 2011-05-14 Ulrich Drepper <drepper@gmail.com>
54243 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54244 until all modules are registered in the DTV.
54245 * elf/Makefile: Add rules to build and run tst-tls19.
54246 * elf/tst-tls19.c: New file.
54247 * elf/tst-tls19mod1.c: New file.
54248 * elf/tst-tls19mod2.c: New file.
54249 * elf/tst-tls19mod3.c: New file.
54250 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54253 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54257 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54258 two-byte sequence errors.
54259 * iconvdata/Makefile (tests): Add bug-iconv8.
54260 * iconvdata/bug-iconv8.c: New file.
54263 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54266 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54269 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54270 (dummy_getcfa): New function.
54271 (init): Get _Unwind_GetCFA address, use dummy if not found.
54272 (backtrace_helper): In recursion check, also check whether CFA changes.
54273 (__backtrace): Completely initialize arg.
54275 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54276 storing incomplete byte sequence in state object. Avoid testing for
54277 guaranteed too small input if we know there is enough data available.
54279 2011-05-11 Andreas Schwab <schwab@redhat.com>
54281 * Makeconfig (+link-pie): Indent.
54282 * Rules (binaries-pie): Define if $(have-fpie) and
54284 (binaries-shared): Also filter out $(binaries-pie).
54285 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54286 * nscd/Makefile (others-pie): Add nscd.
54287 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54288 ($(objpfx)nscd): Remove command override.
54289 * login/Makefile (others-pie): Add pt_chown.
54290 ($(objpfx)pt_chown): Remove command override.
54291 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54292 remove command overrides.
54294 2011-05-13 Ulrich Drepper <drepper@gmail.com>
54296 * libio/tst_putwc.c: Fix error messages.
54299 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54300 currently writing and seek to current position when not.
54301 * libio/Makefile (tests): Add bug-fclose1.
54302 * libio/bug-fclose1.c: New file.
54304 2011-05-12 Ulrich Drepper <drepper@gmail.com>
54307 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54308 don't set DF_1_NODELETE here.
54309 (do_lookup_x): When entering new entry test for copy relocation
54310 and if necessary set DF_1_NODELETE flag.
54311 * elf/tst-unique4.cc: New file.
54312 * elf/tst-unique4.h: New file.
54313 * elf/tst-unique4lib.cc: New file.
54314 * elf/Makefile: Add rules to build and run tst-unique4.
54315 Patch by Piotr Bury <pbury@goahead.com>.
54317 2011-05-11 Ulrich Drepper <drepper@gmail.com>
54320 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54323 * misc/mntent_r.c (addmntent): Flush the stream after the output
54326 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54327 (is_trusted_path_normalize): Skip initial colon. Append slash
54328 to empty buffer. Duplicate is_trusted_path code but allow
54329 constructed patch to be prefix.
54330 (is_dst): Allow $ORIGIN followed by /.
54331 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54332 Correct testing of result of is_trusted_path_normalize
54333 (decompose_rpath): Fix warning.
54335 2011-05-10 Ulrich Drepper <drepper@gmail.com>
54338 * grp/initgroups.c (internal_getgrouplist): When we found the service
54339 list through the initgroups entry in nsswitch.conf do not always
54340 continue on a successful lookup. Don't always use the
54341 __nss_group_database value if it is set.
54342 * nss/nsswitch.conf (initgroups): Change action for successful db
54343 lookup to continue for compatibility.
54345 2011-05-09 Ulrich Drepper <drepper@gmail.com>
54348 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54350 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54352 * iconvdata/tst-tables.sh: Likewise.
54353 * iconvdata/cp770.c: New file.
54354 * iconvdata/cp771.c: New file.
54355 * iconvdata/cp772.c: New file.
54356 * iconvdata/cp773.c: New file.
54357 * iconvdata/cp774.c: New file.
54358 * iconvdata/testdata/CP770: New file.
54359 * iconvdata/testdata/CP770..UTF8: New file.
54360 * iconvdata/testdata/CP771: New file.
54361 * iconvdata/testdata/CP771..UTF8: New file.
54362 * iconvdata/testdata/CP772: New file.
54363 * iconvdata/testdata/CP772..UTF8: New file.
54364 * iconvdata/testdata/CP773: New file.
54365 * iconvdata/testdata/CP773..UTF8: New file.
54366 * iconvdata/testdata/CP774: New file.
54367 * iconvdata/testdata/CP774..UTF8: New file.
54369 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54371 * iconvdata/gen-8bit-gap.sh: Likewise.
54372 * iconvdata/gen-8bit.sh: Likewise.
54374 * locale/iso-639.def: Add ary entry.
54377 * locale/C-translit.h.in: Add U20A1 transliteration.
54380 * locale/iso-639.def: Add wae entry.
54381 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54384 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54388 * locale/C-translit.h.in: Add entry for U20B9.
54389 Patch by pravin.d.s@gmail.com.
54391 2011-05-08 Ulrich Drepper <drepper@gmail.com>
54394 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54395 ENAMETOOLONG use generic getcwd.
54396 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54397 in rtld. Use *stat64.
54398 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54399 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54400 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54401 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54402 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54403 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54404 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54405 __fstatat64 macros.
54406 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54407 * dirent/rewinddir.c: Add libc_hidden_def.
54408 * sysdeps/mach/hurd/rewinddir.c: Likewise.
54409 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
54411 * include/dirent.h (__alloc_dir): Add flags parameter.
54412 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54413 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54415 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54416 from fdopendir if O_CLOEXEC is already set.
54418 2011-03-15 Alan Modra <amodra@gmail.com>
54420 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54421 l_tls_firstbyte_offset non-zero. Save padding offset in
54422 l_tls_firstbyte_offset for later use.
54423 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54424 freeing static tls block.
54426 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54428 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54429 where #ifdef was intended. The intent is to prevent ARG_MAX from
54430 being defined by the kernel headers.
54432 2011-05-07 Ulrich Drepper <drepper@gmail.com>
54435 * resolv/resolv.h: Define RES_NOTLDQUERY.
54436 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54437 no-tld-query and set RES_NOTLDQUERY.
54438 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54439 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54440 modern BIND to search name as TLD unless forbidden.
54442 2011-05-07 Petr Baudis <pasky@suse.cz>
54443 Ulrich Drepper <drepper@gmail.com>
54446 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54447 (is_trusted_path): ...to here.
54448 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54449 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54450 using is_trusted_path_normalize() in setuid scripts.
54452 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54454 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54455 __BEGIN/__END_DECLS.
54457 2011-05-06 Ulrich Drepper <drepper@gmail.com>
54459 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54460 NSS_STATUS_NOTFOUND if no record was found.
54462 2011-05-05 Andreas Schwab <schwab@redhat.com>
54464 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54465 (headers-not-in-tirpc): Remove rpc/netdb.h
54466 * resolv/netdb.h: Revert last change.
54468 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54470 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54471 circular dependency between libgcc.a and libc.a.
54473 2011-05-05 Andreas Schwab <schwab@redhat.com>
54475 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54476 * nis/Makefile: Don't install rpcsvc/*.
54477 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54478 instead of <rpc/types.h>.
54479 (MAXHOSTNAMELEN): Define.
54481 2011-05-03 Andreas Schwab <schwab@redhat.com>
54483 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54485 2011-04-28 Maciej Babinski <mbabinski@google.com>
54488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54489 gethostbyname4_r when IPv6 results are possible.
54491 2011-05-02 Ulrich Drepper <drepper@gmail.com>
54494 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54495 _PC_PIPE_BUF handling.
54497 2011-04-30 Bruno Haible <bruno@clisp.org>
54500 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54501 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54503 * inet/getnameinfo.c (getnameinfo): Likewise.
54505 2011-04-29 Ulrich Drepper <drepper@gmail.com>
54507 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54508 to groups setting in database lookup.
54509 * nss/nsswitch.conf: Add initgroups entry.
54511 2011-04-22 Ulrich Drepper <drepper@gmail.com>
54514 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54516 Patch by Eric Blake <eblake@redhat.com>.
54518 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54520 * sunrpc/Makefile (need-export-routines): Add svc_run.
54521 (routines): Remove svc_run.
54522 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54523 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54524 * sunrpc/svc_run.c (svc_run): Likewise.
54525 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54527 2011-04-21 Ulrich Drepper <drepper@gmail.com>
54529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54530 problem in reallocation in last patch.
54532 2011-04-20 Ulrich Drepper <drepper@gmail.com>
54534 * sunrpc/Makefile: Move inclusion of Rules.
54536 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54538 * nss/nss_files/files-initgroups.c: New file.
54539 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54540 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54541 _nss_files_initgroups_dyn.
54543 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54545 * elf/elf.h (R_ARM_IRELATIVE): Define.
54547 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54549 * po/ru.po: Update from translation team.
54551 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54553 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54556 2011-02-06 Mike Frysinger <vapier@gentoo.org>
54559 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54560 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54561 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54562 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54565 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54567 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54569 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54573 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54576 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54578 * stdlib/bug-getcontext.c: New file.
54579 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54581 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54583 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54584 instructions into .machine "z9-109".
54585 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54586 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54588 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54590 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54591 between environment variables and auxiliary vector.
54593 2011-04-16 Ulrich Drepper <drepper@gmail.com>
54595 * Makefile: Add rules to build linkobj/libc.so.
54596 * include/libc-symbols.h: Define libc_hidden_nolink.
54597 * include/rpc/auth.h: Mark functions which are to be hidden.
54598 * include/rpc/auth_des.h: Likewise.
54599 * include/rpc/auth_unix.h: Likewise.
54600 * include/rpc/clnt.h: Likewise.
54601 * include/rpc/des_crypt.h: Likewise.
54602 * include/rpc/key_prot.h: Likewise.
54603 * include/rpc/pmap_clnt.h: Likewise.
54604 * include/rpc/pmap_prot.h: Likewise.
54605 * include/rpc/pmap_rmt.h: Likewise.
54606 * include/rpc/rpc_msg.h: Likewise.
54607 * include/rpc/svc.h: Likewise.
54608 * include/rpc/svc_auth.h: Likewise.
54609 * include/rpc/xdr.h: Likewise.
54610 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54611 * nss/Makefile: Likewise.
54612 * sunrpc/Makefile: Don't install headers. Build library with normal
54613 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54614 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54615 for the compat linking library. Remove use of INTDEF/INTUSE.
54616 * sunrpc/auth_none.c: Likewise.
54617 * sunrpc/auth_unix.c: Likewise.
54618 * sunrpc/authdes_prot.c: Likewise.
54619 * sunrpc/authuxprot.c: Likewise.
54620 * sunrpc/clnt_gen.c: Likewise.
54621 * sunrpc/clnt_perr.c: Likewise.
54622 * sunrpc/clnt_raw.c: Likewise.
54623 * sunrpc/clnt_simp.c: Likewise.
54624 * sunrpc/clnt_tcp.c: Likewise.
54625 * sunrpc/clnt_udp.c: Likewise.
54626 * sunrpc/clnt_unix.c: Likewise.
54627 * sunrpc/des_crypt.c: Likewise.
54628 * sunrpc/des_soft.c: Likewise.
54629 * sunrpc/get_myaddr.c: Likewise.
54630 * sunrpc/key_call.c: Likewise.
54631 * sunrpc/key_prot.c: Likewise.
54632 * sunrpc/netname.c: Likewise.
54633 * sunrpc/pm_getmaps.c: Likewise.
54634 * sunrpc/pm_getport.c: Likewise.
54635 * sunrpc/pmap_clnt.c: Likewise.
54636 * sunrpc/pmap_prot.c: Likewise.
54637 * sunrpc/pmap_prot2.c: Likewise.
54638 * sunrpc/pmap_rmt.c: Likewise.
54639 * sunrpc/publickey.c: Likewise.
54640 * sunrpc/rpc_cmsg.c: Likewise.
54641 * sunrpc/rpc_common.c: Likewise.
54642 * sunrpc/rpc_dtable.c: Likewise.
54643 * sunrpc/rpc_prot.c: Likewise.
54644 * sunrpc/rpc_thread.c: Likewise.
54645 * sunrpc/rtime.c: Likewise.
54646 * sunrpc/svc.c: Likewise.
54647 * sunrpc/svc_auth.c: Likewise.
54648 * sunrpc/svc_authux.c: Likewise.
54649 * sunrpc/svc_raw.c: Likewise.
54650 * sunrpc/svc_run.c: Likewise.
54651 * sunrpc/svc_simple.c: Likewise.
54652 * sunrpc/svc_tcp.c: Likewise.
54653 * sunrpc/svc_udp.c: Likewise.
54654 * sunrpc/svc_unix.c: Likewise.
54655 * sunrpc/svcauth_des.c: Likewise.
54656 * sunrpc/xcrypt.c: Likewise.
54657 * sunrpc/xdr.c: Likewise.
54658 * sunrpc/xdr_array.c: Likewise.
54659 * sunrpc/xdr_float.c: Likewise.
54660 * sunrpc/xdr_intXX_t.c: Likewise.
54661 * sunrpc/xdr_mem.c: Likewise.
54662 * sunrpc/xdr_rec.c: Likewise.
54663 * sunrpc/xdr_ref.c: Likewise.
54664 * sunrpc/xdr_sizeof.c: Likewise.
54665 * sunrpc/xdr_stdio.c: Likewise.
54667 2011-04-10 Ulrich Drepper <drepper@gmail.com>
54670 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54671 * sysdeps/ia64/dl-tls.h: Likewise.
54672 * sysdeps/powerpc/dl-tls.h: Likewise.
54673 * sysdeps/s390/dl-tls.h: Likewise.
54674 * sysdeps/sh/dl-tls.h: Likewise.
54675 * sysdeps/sparc/dl-tls.h: Likewise.
54676 * sysdeps/x86_64/dl-tls.h: Likewise.
54677 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54679 2011-03-14 Andreas Schwab <schwab@redhat.com>
54681 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54682 rpath element also skip the following colon.
54683 (expand_dynamic_string_token): Add is_path parameter and pass
54684 down to DL_DST_REQUIRED and _dl_dst_substitute.
54685 (decompose_rpath): Call expand_dynamic_string_token with
54686 non-zero is_path. Ignore empty rpaths.
54687 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54690 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54695 2011-04-09 Ulrich Drepper <drepper@gmail.com>
54698 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54699 Patch by Filipe David Manana <fdmanana@apache.org>.
54701 2011-04-07 Andreas Schwab <schwab@redhat.com>
54703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54704 Maintain aligned stack.
54705 (CHECK_RSP): Remove unused macro.
54707 2011-04-03 Ulrich Drepper <drepper@gmail.com>
54709 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54710 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54712 2011-04-02 Ulrich Drepper <drepper@gmail.com>
54714 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54716 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54718 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54721 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54722 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54723 * sysdeps/x86_64/memmove.c: New file.
54724 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54725 (memcpy): Renamed to ...
54726 (__new_memcpy): This.
54727 (memcpy): Provide GLIBC_2_14 memcpy.
54728 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54729 (memcpy): Provide GLIBC_2_2_5 memcpy.
54731 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54734 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54736 2011-03-30 Andreas Schwab <schwab@redhat.com>
54738 * misc/syncfs.c: New file.
54739 * misc/Makefile (routines): Add syncfs.
54740 * posix/unistd.h: Declare syncfs.
54741 * sysdeps/unix/syscalls.list: Add syncfs.
54743 2011-04-01 Andreas Schwab <schwab@redhat.com>
54745 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54747 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54748 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54750 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54752 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54755 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54759 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54765 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54766 sync_file_range.c with -fexceptions.
54767 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54768 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54769 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54770 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54771 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54772 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54774 sync_file_range as cancellation point
54775 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54776 now a wrapper around __call_sync_file_range with cancellation handling.
54777 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54778 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54779 function name to __call_sync_file_range.
54780 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54781 Add call_sync_file_range.
54783 2011-04-01 Andreas Schwab <schwab@redhat.com>
54785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54788 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54790 * iconv/iconv.h: Fix typo in comment.
54791 * io/fcntl.h: Likewise.
54792 * libio/stdio.h: Likewise.
54793 * posix/spawn.h: Likewise.
54794 * posix/unistd.h: Likewise.
54795 * stdlib/stdlib.h: Likewise.
54796 * time/time.h: Likewise.
54797 * wcsmbs/wchar.h: Likewise.
54799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54800 open_by_handle): Add.
54801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54802 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54803 Augment a few comments.
54804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54806 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54809 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54812 * io/fcntl.h (AT_EMPTY_PATH): Define.
54814 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54816 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54817 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54818 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54820 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54821 * Versions.def: Add GLIBC_2.14.
54822 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54825 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54827 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54829 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54831 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54834 * string/test-strncmp.c (do_page_test): New function.
54835 (check2): Likewise.
54836 (test_main): Call check2.
54837 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54839 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54842 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54843 Handle cache information in CPU leaf 4.
54844 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54846 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54849 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54850 character representation.
54851 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54853 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54855 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54856 END(__isnan) to END(__isnanf) to match function entry point/label
54857 EALIGN(__isnanf,...).
54859 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54861 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54863 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54866 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54867 copy from the symbol referenced in the relocation to initialize the
54869 Patch by Piotr Bury <pbury@goahead.com>.
54870 * elf/Makefile: Add rules to build and tst-unique3.
54871 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54872 * elf/tst-unique3.cc: New file.
54873 * elf/tst-unique3.h: New file.
54874 * elf/tst-unique3lib.cc: New file.
54875 * elf/tst-unique3lib2.cc: New file.
54877 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54879 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54881 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54882 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54885 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54887 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54888 to-be-loaded object along a path to loader is ld.so.
54890 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54891 Ulrich Drepper <drepper@gmail.com>
54893 * sysdeps/x86_64/memset.S: After aligning destination, code
54894 branches to different locations depending on the value of
54895 misalignment, when multiarch is enabled. Fix this.
54897 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54899 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54900 Set _x86_64_preferred_memory_instruction for AMD processsors.
54901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54902 Set bit_Prefer_SSE_for_memop for AMD processors.
54904 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54906 * libio/fmemopen.c (fmemopen): Optimize a bit.
54908 2011-03-03 Andreas Schwab <schwab@redhat.com>
54910 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54912 2011-03-03 Roland McGrath <roland@redhat.com>
54914 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54916 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54918 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54919 __bzero_ultra1 instead of __memset_ultra1.
54921 2011-02-23 Andreas Schwab <schwab@redhat.com>
54922 Ulrich Drepper <drepper@gmail.com>
54925 * include/link.h (struct link_map): Add l_orig_initfini.
54926 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54927 returning unsuccessfully.
54928 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54929 close of a file loaded at startup, restore the original l_initfini
54931 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54932 list, store the pointer.
54933 * elf/Makefile ($(objpfx)noload-mem): New rule.
54934 (noload-ENV): Define.
54935 (tests): Add $(objpfx)noload-mem.
54936 * elf/noload.c: Include <memcheck.h>.
54937 (main): Call mtrace. Close all opened handles.
54939 2011-02-17 Andreas Schwab <schwab@redhat.com>
54942 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54943 dependencies are missing.
54945 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54947 Fix __if_freereq crash: Unlike the generic version which uses free,
54949 * sysdeps/mach/hurd/ifreq.h: New file.
54951 2011-01-27 Petr Baudis <pasky@suse.cz>
54952 Ulrich Drepper <drepper@gmail.com>
54955 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54956 to extend_alloca().
54957 * stdio-common/bug23.c: New file.
54958 * stdio-common/Makefile (tests): Add bug23.
54960 2010-09-28 Andreas Schwab <schwab@redhat.com>
54961 Ulrich Drepper <drepper@gmail.com>
54964 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54965 before performing relro protection. At old place add assertion
54966 to make sure nothing changed.
54968 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54969 Glauber de Oliveira Costa <glommer@gmail.com>
54971 * elf/elf.h: Add new ARM TLS relocs.
54973 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54976 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54978 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54980 * sysdeps/wordsize-64/tst-writev.c: New file.
54982 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54984 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54985 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54986 insns in _dl_start to prevent a TOC reference before relocs are
54989 2011-02-15 Ulrich Drepper <drepper@gmail.com>
54992 * Makeconfig: Remove RANLIB definition.
54993 * Makerules: Don't use RANLIB.
54994 * aclocal.m4: Remove ranlib test.
54995 * configure.in: No need to check for ranlib.
54996 * elf/rtld-Rules: Don't use RANLIB.
54998 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55000 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55002 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55003 inclusion protection macro.
55005 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55006 SIGRTMIN and SIGRTMAX and print information in that case only when
55007 SIGRTMIN is defined.
55009 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55011 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55012 arginfo fn returning -1.
55014 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55015 and thousands string is zero terminated.
55017 2011-02-03 Andreas Schwab <schwab@redhat.com>
55019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55020 sysdeps/unix/sysv/linux/bits/socket.h.
55022 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55024 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55025 (__CPU_COUNT): Remove old macros.
55026 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55027 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55028 (__CPU_ALLOC, __CPU_FREE): Add macros.
55029 (__sched_cpualloc, __sched_cpufree): Add declarations.
55031 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55033 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55034 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55035 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55036 (readdhstai): Return value of addhstaiX call.
55037 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55038 (addgrbyX): Return value returned by cache_addgr.
55039 (readdgrbyname): Return value returned by addgrbyX.
55040 (readdgrbygid): Likewise.
55041 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55042 (addpwbyX): Return value returned by cache_addpw.
55043 (readdpwbyname): Return value returned by addhstbyX.
55044 (readdpwbyuid): Likewise.
55045 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55046 (addservbyX): Return value returned by cache_addserv.
55047 (readdservbyname): Return value returned by addservbyX:
55048 (readdservbyport): Likewise.
55049 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55050 (addhstbyX): Return value returned by cache_addhst.
55051 (readdhstbyname): Return value returned by addhstbyX.
55052 (readdhstbyaddr): Likewise.
55053 (readdhstbynamev6): Likewise.
55054 (readdhstbyaddrv6): Likewise.
55055 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55056 (readdinitgroups): Return value returned by addinitgroupsX.
55057 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55058 (prune_cache): Keep track of timeout value of re-added entries.
55059 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55060 * nscd/nscd.h: Adjust prototypes of readd* functions.
55062 2011-02-04 Roland McGrath <roland@redhat.com>
55064 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55065 (nis_stats): Likewise.
55066 * nis/nis_modify.c (nis_modify): Likewise.
55067 * nis/nis_remove.c (nis_remove): Likewise.
55068 * nis/nis_add.c (nis_add): Likewise.
55070 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55072 * posix/fnmatch_loop.c: Add some consts.
55074 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55076 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55079 * config.make.in (config-cflags-novzeroupper): Define.
55080 * configure.in: Substitute libc_cv_cc_novzeroupper.
55081 * elf/Makefile (AVX-CFLAGS): Define.
55082 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55083 (CFLAGS-tst-auditmod4a.c): Likewise.
55084 (CFLAGS-tst-auditmod4b.c): Likewise.
55085 (CFLAGS-tst-auditmod6b.c): Likewise.
55086 (CFLAGS-tst-auditmod6c.c): Likewise.
55087 (CFLAGS-tst-auditmod7b.c): Likewise.
55088 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55090 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55092 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55093 function to the callback.
55094 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55096 2011-02-02 Andreas Schwab <schwab@redhat.com>
55098 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55101 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55104 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55106 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55108 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55111 * elf/Makefile: Add rules to build and run new test.
55112 * elf/tst-initorder.c: New file.
55113 * elf/tst-initorder.exp: New file.
55114 * elf/tst-initordera1.c: New file.
55115 * elf/tst-initordera2.c: New file.
55116 * elf/tst-initordera3.c: New file.
55117 * elf/tst-initordera4.c: New file.
55118 * elf/tst-initorderb1.c: New file.
55119 * elf/tst-initorderb2.c: New file.
55120 * elf/tst-order-a1.c: New file.
55121 * elf/tst-order-a2.c: New file.
55122 * elf/tst-order-a3.c: New file.
55123 * elf/tst-order-a4.c: New file.
55124 * elf/tst-order-b1.c: New file.
55125 * elf/tst-order-b2.c: New file.
55126 * elf/tst-order-main.c: New file.
55127 New test case by George Gensure <werkt0@gmail.com>.
55129 2010-10-01 Andreas Schwab <schwab@redhat.com>
55131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55132 decoding ACE if AI_CANONIDN.
55134 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55136 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55138 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55140 * version.h (RELEASE): Bump for 2.13 release.
55141 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55143 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55145 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55147 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55148 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55149 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55150 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55151 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55152 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55154 * posix/getconf.c: Update copyright year.
55155 * catgets/gencat.c: Likewise.
55156 * csu/version.c: Likewise.
55157 * debug/catchsegv.sh: Likewise.
55158 * debug/xtrace.sh: Likewise.
55159 * elf/ldconfig.c: Likewise.
55160 * elf/ldd.bash.in: Likewise.
55161 * elf/sprof.c (print_version): Likewise.
55162 * iconv/iconv_prog.c: Likewise.
55163 * iconv/iconvconfig.c: Likewise.
55164 * locale/programs/locale.c: Likewise.
55165 * locale/programs/localedef.c: Likewise.
55166 * malloc/memusage.sh: Likewise.
55167 * malloc/mtrace.pl: Likewise.
55168 * nscd/nscd.c (print_version): Likewise.
55169 * nss/getent.c: Likewise.
55171 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55172 PF_CAIF, and PF_ALG.
55173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55175 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55177 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55178 (modules-names): Use them.
55179 (ifunc-test-modules, ifunc-pie-tests): Define.
55180 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55181 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55182 (test-extras): Likewise.
55183 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55184 $(compile-command.c).
55185 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55186 (all-built-dso): Define.
55187 (check-textrel.out, check-execstack.out): Depend on it.
55189 * configure.in: Don't override --enable-multi-arch.
55191 2011-01-15 Ulrich Drepper <drepper@gmail.com>
55194 * nscd/hstcache.c (tryagain): Define.
55195 (cache_addhst): Return tryagain not notfound for temporary errors.
55196 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55199 2011-01-14 Ulrich Drepper <drepper@gmail.com>
55202 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55203 to make the syscall.
55204 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55207 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55208 and fall back to matching as normal character if the string ends before
55209 the matching ']' is found. This is what POSIX requires.
55210 * posix/testfnm.c: Adjust test result.
55211 * posix/globtest.sh: Adjust test result. Add new test.
55212 * posix/tst-fnmatch.input: Likewise.
55213 * posix/tst-fnmatch2.c: Add new test.
55215 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55217 * elf/Makefile (check-execstack): Revert last change. Depend on
55219 (check-execstack.h): New target.
55220 (generated): Add check-execstack.h.
55221 * elf/check-execstack.c: Include "check-execstack.h".
55222 (main): Revert last change.
55223 (handle_file): Return zero if GNU_STACK is absent and
55224 DEFAULT_STACK_PERMS doesn't include PF_X.
55226 2011-01-13 Ulrich Drepper <drepper@gmail.com>
55228 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55229 in child fails because the descriptor is already closed.
55230 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55231 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55232 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55235 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55239 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55240 temporary buffer used to handle multi lookups locally.
55241 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55243 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55245 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55248 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55250 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55251 alignment for SSE2.
55253 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55256 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55257 characters. When rounding increased number of integer digits recompute
55259 * stdio-common/tst-grouping.c: New file.
55260 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55262 2011-01-09 Ulrich Drepper <drepper@gmail.com>
55264 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55265 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55267 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55269 * bits/select.h: Likewise.
55271 2011-01-08 Ulrich Drepper <drepper@gmail.com>
55273 * po/ja.po: Update from translation team.
55275 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
55278 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55279 implementation just like for lxstat, fxstatat, et al.
55281 2010-12-27 Jim Meyering <meyering@redhat.com>
55284 * posix/regexec.c (build_trtable): Return failure indication upon
55285 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55287 2010-12-25 Ulrich Drepper <drepper@gmail.com>
55290 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55291 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55292 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55293 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55296 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55299 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55300 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55302 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55304 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55305 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55306 script has SORT_BY_INIT_PRIORITY.
55307 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55308 NO_CTORS_DTORS_SECTIONS is defined.
55309 * elf/soinit.c: Likewise.
55310 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55311 NO_CTORS_DTORS_SECTIONS is defined.
55312 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55313 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55314 * sysdeps/sh/init-first.c: Likewise.
55315 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55317 2010-12-24 Ulrich Drepper <drepper@gmail.com>
55319 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55320 always use the slow path.
55322 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55324 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55325 similar rule which adds the sysdep directories to the header search in
55326 order to pick up the correct platform stackinfo.h.
55327 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55328 perform test if it is, otherwise return successfully without testing.
55329 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55330 DEFAULT_STACK_PERMS define in stackinfo.h.
55331 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55332 defined in stackinfo.h.
55333 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55334 DEFAULT_STACK_PERMS defined in stackinfo.h.
55335 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55336 * sysdeps/ia64/stackinfo.h: Likewise.
55337 * sysdeps/s390/stackinfo.h: Likewise.
55338 * sysdeps/sh/stackinfo.h: Likewise.
55339 * sysdeps/sparc/stackinfo.h: Likewise.
55340 * sysdeps/x86_64/stackinfo.h: Likewise.
55341 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55342 PF_X for powerpc64. Retain PF_X for powerpc32.
55344 2010-12-19 Ulrich Drepper <drepper@gmail.com>
55346 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55348 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55349 GETDENTS_64BIT_ALIGNED.
55351 2010-12-14 Ulrich Drepper <dreper@gmail.com>
55353 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55355 2010-12-10 Andreas Schwab <schwab@redhat.com>
55357 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55360 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55361 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55363 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55364 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55366 2010-12-09 Ulrich Drepper <drepper@gmail.com>
55369 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55372 2010-12-09 Jakub Jelinek <jakub@redhat.com>
55374 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55376 2010-12-03 Ulrich Drepper <drepper@gmail.com>
55378 * po/it.po: Update from translation team.
55380 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55382 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55385 2010-11-30 Ulrich Drepper <drepper@gmail.com>
55387 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55389 2010-11-24 Andreas Schwab <schwab@redhat.com>
55391 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55393 (gaih_getanswer_slice): Likewise.
55395 2010-10-20 Jakub Jelinek <jakub@redhat.com>
55397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55399 2010-05-31 Petr Baudis <pasky@suse.cz>
55402 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55403 silently even in the chroot mode.
55405 2010-11-22 Ulrich Drepper <drepper@gmail.com>
55407 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55408 last patch a bit. Pretty printing
55410 2010-05-31 Petr Baudis <pasky@suse.cz>
55413 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55414 initialization of skip_initgroups_dyn.
55416 2010-11-19 Ulrich Drepper <drepper@gmail.com>
55418 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55419 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55421 2010-11-16 Ulrich Drepper <drepper@gmail.com>
55423 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55425 2010-11-11 Andreas Schwab <schwab@redhat.com>
55427 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55428 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55429 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55430 ($(objpfx)tst-fnmatch-mem): New rule.
55431 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55432 * posix/tst-fnmatch.c (main): Call mtrace.
55434 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55437 Support Intel processor model 6 and model 0x2c.
55439 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
55441 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55444 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55447 * string/test-strncasecmp.c (check_result): New function.
55448 (do_one_test): Use it.
55449 (check1): New function.
55450 (test_main): Use it.
55451 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55452 Support strcasecmp and strncasecmp.
55454 2010-11-08 Ulrich Drepper <drepper@gmail.com>
55457 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55458 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55460 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55462 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55466 * sysdeps/x86_64/multiarch/bzero.S: New file.
55467 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55468 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55469 * sysdeps/x86_64/multiarch/memset.S: New file.
55470 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55472 Set bit_Prefer_SSE_for_memop for Intel processors.
55473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55475 (index_Prefer_SSE_for_memop): Define.
55476 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55478 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
55480 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55481 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55483 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55486 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55487 (__x86_64_raw_data_cache_size_half): Likewise.
55488 (__x86_64_raw_shared_cache_size): Likewise.
55489 (__x86_64_raw_shared_cache_size_half): Likewise.
55491 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55492 (__x86_64_raw_data_cache_size_half): Likewise.
55493 (__x86_64_raw_shared_cache_size): Likewise.
55494 (__x86_64_raw_shared_cache_size_half): Likewise.
55495 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55496 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55497 and __x86_64_raw_shared_cache_size_half. Round
55498 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55499 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55500 to multiple of 256 bytes.
55502 2010-11-03 Ulrich Drepper <drepper@gmail.com>
55505 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55506 of inacessible symlinks. Verify result of symlink before returning it.
55507 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55508 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55510 2010-10-28 Erich Ritz <erichritz@gmail.com>
55512 * math/math.h (isinf): Fix typo in comment.
55514 2010-11-01 Ulrich Drepper <drepper@gmail.com>
55516 * po/da.po: Update from translation team.
55518 2010-10-26 Ulrich Drepper <drepper@gmail.com>
55520 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55521 is added to the list.
55523 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55524 Ulrich Drepper <drepper@gmail.com>
55526 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55527 the global list here. Move code to...
55528 (_dl_add_to_namespace_list): ...here. New function.
55529 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55530 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55531 * elf/dl-load.c (lose): Don't remove the element from the list.
55532 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55533 (_dl_map_object): Likewise.
55535 2010-10-25 Ulrich Drepper <drepper@gmail.com>
55538 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55539 into all bytes of SSE register.
55540 Patch by Richard Li <richardpku@gmail.com>.
55542 2010-10-24 Ulrich Drepper <drepper@gmail.com>
55545 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55548 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55550 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55551 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55552 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55553 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55558 2010-10-22 Andreas Schwab <schwab@redhat.com>
55560 * include/dlfcn.h (__RTLD_SECURE): Define.
55561 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55562 mode & __RTLD_SECURE instead.
55563 (open_path): Rename preloaded parameter to secure.
55564 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55565 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55566 * elf/dl-deps.c (openaux): Likewise.
55567 * elf/rtld.c (struct map_args): Remove is_preloaded.
55568 (map_doit): Don't use it.
55569 (dl_main): Likewise.
55570 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55571 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55573 2010-09-09 Andreas Schwab <schwab@redhat.com>
55575 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55576 (sysd-rules-targets): Remove duplicates.
55577 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55578 rtld-%.$o dependency.
55580 2010-10-18 Andreas Schwab <schwab@redhat.com>
55582 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55583 _dl_map_object do it.
55585 2010-10-19 Ulrich Drepper <drepper@gmail.com>
55587 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55588 fast fma builtins, define the macros in the C99 standard.
55589 (FP_FAST_FMAF): Likewise.
55590 (FP_FAST_FMAL): Likewise.
55591 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55593 * bits/mathdef.h: Update copyright year.
55594 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55596 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55598 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55599 builtins, define the macros in the C99 standard.
55600 (FP_FAST_FMAF): Likewise.
55601 (FP_FAST_FMAL): Likewise.
55602 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55604 (FP_FAST_FMAF): Likewise.
55606 2010-10-15 Jakub Jelinek <jakub@redhat.com>
55609 * math/libm-test.inc (fma_test): Some new testcases.
55610 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55611 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55612 y and infinite z. Do multiplication by C already in long double.
55613 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55615 y and infinite z. Do bitwise or of inexact bit into u.d.
55616 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55617 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55618 * sysdeps/i386/fpu/s_fma.S: Removed.
55619 * sysdeps/i386/fpu/s_fmal.S: Removed.
55621 2010-10-16 Jakub Jelinek <jakub@redhat.com>
55624 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55626 computation is not scheduled after fetestexcept. Fix value
55627 of minimum denormal long double.
55629 2010-10-14 Jakub Jelinek <jakub@redhat.com>
55632 * math/libm-test.inc (fma_test): Add some more tests.
55633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55636 2010-10-15 Andreas Schwab <schwab@redhat.com>
55638 * scripts/data/localplt-s390-linux-gnu.data: New file.
55639 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55641 2010-10-13 Jakub Jelinek <jakub@redhat.com>
55644 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55645 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55647 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55649 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55651 if one of x and y is very large and the other is subnormal.
55652 * sysdeps/s390/fpu/s_fmaf.c: New file.
55653 * sysdeps/s390/fpu/s_fma.c: New file.
55654 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55655 * sysdeps/powerpc/fpu/s_fma.S: New file.
55656 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55657 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55658 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55660 2010-10-12 Jakub Jelinek <jakub@redhat.com>
55663 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55666 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55667 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55668 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55669 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55670 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55671 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55673 2010-10-12 Ulrich Drepper <drepper@redhat.com>
55676 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55677 * posix/bug-regex31.input: Add test case.
55679 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55681 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55682 * posix/bug-regex31.input: New file.
55685 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55686 (parse_sub_exp): Fix last change, use postorder.
55688 * posix/bug-regex31.c: New file.
55689 * posix/Makefile: Add rules to build and run bug-regex31.
55691 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55694 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55697 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55698 to have entries in sys_siglist.
55701 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55704 2010-10-07 Jakub Jelinek <jakub@redhat.com>
55707 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55708 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55709 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55710 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55711 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55712 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55713 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55714 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55715 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55716 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55717 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55718 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55719 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55720 * math/ftestexcept.c (fetestexcept): Likewise.
55721 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55722 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55723 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55724 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55725 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55726 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55727 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55729 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55732 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55735 2010-10-06 Ulrich Drepper <drepper@gmail.com>
55737 * string/bug-strstr1.c: New file.
55738 * string/Makefile: Add rules to build and run bug-strstr1.
55740 2010-10-05 Eric Blake <eblake@redhat.com>
55743 * string/str-two-way.h (two_way_long_needle): Always clear memory
55744 when skipping input due to the shift table.
55746 2010-10-03 Ulrich Drepper <drepper@gmail.com>
55749 * malloc/mcheck.c: Handle large requests.
55752 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55753 for strncmp and strncasecmp.
55754 * string/stratcliff.c: Add tests for strcmp and strncmp.
55755 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55757 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55759 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55762 2010-09-30 Andreas Jaeger <aj@suse.de>
55764 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55765 (CGROUP_SUPER_MAGIC): Define.
55766 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55767 Handle btrfs and cgroup file systems.
55768 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55771 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55773 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55774 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55776 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55779 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55780 trying to locate the ELF header.
55782 2010-09-27 Andreas Schwab <schwab@redhat.com>
55785 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55786 Mask out sign-bit copies when constructing f_fsid.
55788 2010-09-24 Petr Baudis <pasky@suse.cz>
55790 * debug/stack_chk_fail_local.c: Add missing licence exception.
55791 * debug/warning-nop.c: Likewise.
55793 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55795 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55796 implementing getdents64 using getdents syscall, set d_type if
55797 __ASSUME_GETDENTS32_D_TYPE.
55799 2010-09-16 Andreas Schwab <schwab@redhat.com>
55801 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55802 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55804 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55807 * posix/unistd.h: Undo change of feature selection for ftruncate from
55810 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55812 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55815 2010-09-20 Andreas Schwab <schwab@redhat.com>
55817 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55819 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55821 2010-09-14 Andreas Schwab <schwab@redhat.com>
55823 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55824 variables after CHECK_SP call.
55825 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55827 2010-09-13 Andreas Schwab <schwab@redhat.com>
55828 Ulrich Drepper <drepper@redhat.com>
55830 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55831 re-relocationg ld.so.
55832 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55833 _dl_init_paths call.
55834 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55837 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55839 * resolv/res_init.c (__res_vinit): Count the default server we added.
55841 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55842 Ulrich Drepper <drepper@redhat.com>
55845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55846 (____longjmp_chk): Use %ebx for saving value across system call.
55849 2010-09-06 Andreas Schwab <schwab@redhat.com>
55851 * manual/Makefile: Don't mix pattern rules with normal rules.
55853 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55855 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55857 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55858 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55859 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55860 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55864 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55867 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55868 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55870 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55872 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55873 * sysdeps/x86_64/addmul_1.S: Likewise.
55874 * sysdeps/x86_64/lshift.S: Likewise.
55875 * sysdeps/x86_64/mul_1.S: Likewise.
55876 * sysdeps/x86_64/rshift.S: Likewise.
55877 * sysdeps/x86_64/sub_n.S: Likewise.
55878 * sysdeps/x86_64/submul_1.S: Likewise.
55880 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55882 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55883 Define __sched_param instead of SCHED_* and sched_param when
55884 <bits/sched.h> is included with __need_schedparam defined.
55885 * bits/sched.h [__need_schedparam]
55886 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55887 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55888 (__defined_schedparam): Define to 1.
55889 (__sched_param): New structure, identical to sched_param.
55890 (__need_schedparam): Undefine.
55892 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55894 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55895 (epoll_create1): Declare.
55897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55899 2010-08-31 Andreas Schwab <schwab@redhat.com>
55902 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55903 shifting retval into place.
55905 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55907 * nis/rpcsvc/nis.h: Update copyright notice.
55908 * nis/rpcsvc/nis.x: Likewise.
55909 * nis/rpcsvc/nis_callback.h: Likewise.
55910 * nis/rpcsvc/nis_callback.x: Likewise.
55911 * nis/rpcsvc/nis_object.x: Likewise.
55912 * nis/rpcsvc/nis_tags.h: Likewise.
55913 * nis/rpcsvc/yp.h: Likewise.
55914 * nis/rpcsvc/yp.x: Likewise.
55915 * nis/rpcsvc/ypupd.h: Likewise.
55916 * nis/yp_xdr.c: Likewise.
55917 * nis/ypupdate_xdr.c: Likewise.
55919 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55920 mainly the body of pmap_getport. Add parameters to specify timeouts.
55921 (pmap_getport): Use __libc_rpc_getport.
55922 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55923 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55924 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55926 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55931 2010-08-27 Roland McGrath <roland@redhat.com>
55933 * sysdeps/i386/i686/multiarch/Makefile
55934 (CFLAGS-varshift.c): New variable.
55936 2010-08-27 Ulrich Drepper <drepper@redhat.com>
55938 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55939 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55943 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55945 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55947 * sysdeps/x86_64/strlen.S: Unroll the loop.
55948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55949 strlen-sse2 strlen-sse2-bsf.
55950 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55951 __strlen_no_bsf if bit_Slow_BSF is set.
55952 (__strlen_sse42): Removed.
55953 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55954 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55956 2010-08-25 Roland McGrath <roland@redhat.com>
55958 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55959 * sysdeps/x86_64/multiarch/varshift.c: New file.
55960 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55961 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55962 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55963 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55965 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55968 strlen-sse2 strlen-sse2-bsf.
55969 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55970 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55971 (__strlen_sse2): Removed.
55972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55975 bit_Slow_BSF for Atom.
55976 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55977 (index_Slow_BSF): Define.
55978 (HAS_SLOW_BSF): Define.
55980 2010-08-25 Ulrich Drepper <drepper@redhat.com>
55983 * resolv/res_init.c (__res_vinit): When no server address at all
55984 is given default to loopback.
55986 2010-08-24 Roland McGrath <roland@redhat.com>
55988 * configure.in: Remove config-name.h generation.
55989 * configure: Regenerated.
55990 * config-name.in: File removed.
55991 * scripts/config-uname.sh: New file.
55992 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55993 ($(objdir)config-name.h): New target.
55995 * sunrpc/rpc_parse.h: Avoid nested comment.
55997 2010-08-24 Richard Henderson <rth@redhat.com>
55998 Ulrich Drepper <drepper@redhat.com>
55999 H.J. Lu <hongjiu.lu@intel.com>
56001 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56003 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56004 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56005 _mm_alignr_epi8 with _mm_loadu_si128.
56006 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56007 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56008 (__m128i_shift_right): Removed.
56009 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56010 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56011 * sysdeps/x86_64/multiarch/varshift.h: New file.
56012 * sysdeps/x86_64/multiarch/varshift.S: New file.
56014 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56016 * configure.in: Move assembler checks to before sysdep dir checking.
56018 2010-08-20 Petr Baudis <pasky@suse.cz>
56020 * LICENSES: Sync the sunrpc license.
56022 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56024 * sunrpc/auth_des.c: Update copyright notice once again.
56025 * sunrpc/auth_none.c: Likewise.
56026 * sunrpc/auth_unix.c: Likewise.
56027 * sunrpc/authdes_prot.c: Likewise.
56028 * sunrpc/authuxprot.c: Likewise.
56029 * sunrpc/bindrsvprt.c: Likewise.
56030 * sunrpc/clnt_gen.c: Likewise.
56031 * sunrpc/clnt_perr.c: Likewise.
56032 * sunrpc/clnt_raw.c: Likewise.
56033 * sunrpc/clnt_simp.c: Likewise.
56034 * sunrpc/clnt_tcp.c: Likewise.
56035 * sunrpc/clnt_udp.c: Likewise.
56036 * sunrpc/clnt_unix.c: Likewise.
56037 * sunrpc/des_crypt.c: Likewise.
56038 * sunrpc/des_soft.c: Likewise.
56039 * sunrpc/get_myaddr.c: Likewise.
56040 * sunrpc/getrpcport.c: Likewise.
56041 * sunrpc/key_call.c: Likewise.
56042 * sunrpc/key_prot.c: Likewise.
56043 * sunrpc/openchild.c: Likewise.
56044 * sunrpc/pm_getmaps.c: Likewise.
56045 * sunrpc/pm_getport.c: Likewise.
56046 * sunrpc/pmap_clnt.c: Likewise.
56047 * sunrpc/pmap_prot.c: Likewise.
56048 * sunrpc/pmap_prot2.c: Likewise.
56049 * sunrpc/pmap_rmt.c: Likewise.
56050 * sunrpc/rpc/auth.h: Likewise.
56051 * sunrpc/rpc/auth_unix.h: Likewise.
56052 * sunrpc/rpc/clnt.h: Likewise.
56053 * sunrpc/rpc/des_crypt.h: Likewise.
56054 * sunrpc/rpc/key_prot.h: Likewise.
56055 * sunrpc/rpc/netdb.h: Likewise.
56056 * sunrpc/rpc/pmap_clnt.h: Likewise.
56057 * sunrpc/rpc/pmap_prot.h: Likewise.
56058 * sunrpc/rpc/pmap_rmt.h: Likewise.
56059 * sunrpc/rpc/rpc.h: Likewise.
56060 * sunrpc/rpc/rpc_des.h: Likewise.
56061 * sunrpc/rpc/rpc_msg.h: Likewise.
56062 * sunrpc/rpc/svc.h: Likewise.
56063 * sunrpc/rpc/svc_auth.h: Likewise.
56064 * sunrpc/rpc/types.h: Likewise.
56065 * sunrpc/rpc/xdr.h: Likewise.
56066 * sunrpc/rpc_clntout.c: Likewise.
56067 * sunrpc/rpc_cmsg.c: Likewise.
56068 * sunrpc/rpc_common.c: Likewise.
56069 * sunrpc/rpc_cout.c: Likewise.
56070 * sunrpc/rpc_dtable.c: Likewise.
56071 * sunrpc/rpc_hout.c: Likewise.
56072 * sunrpc/rpc_main.c: Likewise.
56073 * sunrpc/rpc_parse.c: Likewise.
56074 * sunrpc/rpc_parse.h: Likewise.
56075 * sunrpc/rpc_prot.c: Likewise.
56076 * sunrpc/rpc_sample.c: Likewise.
56077 * sunrpc/rpc_scan.c: Likewise.
56078 * sunrpc/rpc_scan.h: Likewise.
56079 * sunrpc/rpc_svcout.c: Likewise.
56080 * sunrpc/rpc_tblout.c: Likewise.
56081 * sunrpc/rpc_util.c: Likewise.
56082 * sunrpc/rpc_util.h: Likewise.
56083 * sunrpc/rpcinfo.c: Likewise.
56084 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56085 * sunrpc/rpcsvc/key_prot.x: Likewise.
56086 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56087 * sunrpc/rpcsvc/mount.x: Likewise.
56088 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56089 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56090 * sunrpc/rpcsvc/rex.x: Likewise.
56091 * sunrpc/rpcsvc/rstat.x: Likewise.
56092 * sunrpc/rpcsvc/rusers.x: Likewise.
56093 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56094 * sunrpc/rpcsvc/spray.x: Likewise.
56095 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56096 * sunrpc/rtime.c: Likewise.
56097 * sunrpc/svc.c: Likewise.
56098 * sunrpc/svc_auth.c: Likewise.
56099 * sunrpc/svc_authux.c: Likewise.
56100 * sunrpc/svc_raw.c: Likewise.
56101 * sunrpc/svc_run.c: Likewise.
56102 * sunrpc/svc_simple.c: Likewise.
56103 * sunrpc/svc_tcp.c: Likewise.
56104 * sunrpc/svc_udp.c: Likewise.
56105 * sunrpc/svc_unix.c: Likewise.
56106 * sunrpc/svcauth_des.c: Likewise.
56107 * sunrpc/xcrypt.c: Likewise.
56108 * sunrpc/xdr.c: Likewise.
56109 * sunrpc/xdr_array.c: Likewise.
56110 * sunrpc/xdr_float.c: Likewise.
56111 * sunrpc/xdr_mem.c: Likewise.
56112 * sunrpc/xdr_rec.c: Likewise.
56113 * sunrpc/xdr_ref.c: Likewise.
56114 * sunrpc/xdr_sizeof.c: Likewise.
56115 * sunrpc/xdr_stdio.c: Likewise.
56117 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56120 2010-08-19 Andreas Schwab <schwab@redhat.com>
56122 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56124 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56126 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56127 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56128 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56129 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56130 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56131 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56132 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56133 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56135 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56136 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56137 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56138 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56139 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56141 2010-07-26 Anton Blanchard <anton@samba.org>
56143 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56144 * malloc/arena.c (heap_trim): Likewise.
56146 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56148 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56151 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56153 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56155 * sysdeps/i386/elf/Makefile: New file.
56157 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56159 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56160 from fanotify_init.
56161 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56164 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56166 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56168 * sysdeps/multiarch/strcmp.S: Likewise.
56170 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56172 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56173 strncase_l-nonascii.
56174 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56175 Add strncase_l-ssse3.
56176 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56177 * sysdeps/x86_64/strcmp.S: Likewise.
56178 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56179 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56180 * sysdeps/x86_64/strncase.S: New file.
56181 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56182 * sysdeps/x86_64/strncase_l.S: New file.
56183 * string/Makefile (strop-tests): Add strncasecmp.
56184 * string/test-strncasecmp.c: New file.
56186 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56189 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56190 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56192 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56194 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56196 2010-08-12 Ulrich Drepper <drepper@redhat.com>
56198 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56200 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56202 2010-05-01 Alan Modra <amodra@gmail.com>
56204 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56205 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56206 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56207 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56208 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56209 tidying. Don't tail-call __sigjmp_save for static lib.
56210 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56212 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56213 (CALL_MCOUNT): Add eh info, and nop after bl.
56214 (TAIL_CALL_SYSCALL_ERROR): New macro.
56215 (PSEUDO_RET): Use it.
56216 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56217 Correct save location of integer regs and cr.
56218 (_dl_profile_resolve): Correct cr save location. Delete nops
56219 after bl when SHARED. Reduce cfi size a little by better
56220 placement of cfi directives.
56221 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56222 make a stack frame. Instead use parm save area as a temp.
56223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56224 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56226 Don't make a stack frame for parent, use parm save area.
56227 Increase child stack frame to 112 bytes. Don't save unused reg,
56228 and adjust reg usage. Set up cfi on error recovery and
56229 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56231 (__makecontext): Add dummy nop after jump to exit.
56232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56233 Use correct parm save area and cr save, reduce stack frame.
56234 Correct cfi for possible PSEUDO_RET frame setup.
56235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56236 Branch to local label emitted by PSEUDO_RET rather than
56239 2010-08-12 Andreas Schwab <schwab@redhat.com>
56242 * locale/programs/locale.c (print_assignment): New function.
56243 (show_locale_vars): Use it.
56245 2010-08-11 Ulrich Drepper <drepper@redhat.com>
56247 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56249 (struct statfs64): Likewise.
56250 (_STATFS_F_FLAGS): Define.
56251 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56253 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56254 (ST_VALID): Define locally.
56255 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56256 __statvfs_getflags, use the provided value.
56257 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56258 __ASSUME_STATFS_F_FLAGS.
56260 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56262 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56263 Add sys/fanotify.h.
56264 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56265 fanotify_mask for GLIBC_2.13.
56266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56267 fanotify_init and fanotify_mark.
56268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56269 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56271 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56273 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56274 prlimit64 for GLIBC_2.13.
56275 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56281 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56282 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56285 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56288 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56289 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56291 * nss/Makefile: Add rules to build and run tst-nss-test1.
56292 * shlib-versions: Add entry for libnss_test1.
56293 * nss/nss_test1.c: New file.
56294 * nss/tst-nss-test1.c: New file.
56296 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56297 (__nss_configure_lookup): Set appropriate entry in
56298 __nss_configure_lookup to true.
56299 * nss/nsswitch.h: Define enum with indeces of databases in
56300 databases and __nss_database_custom arrays. Declare
56301 __nss_database_custom.
56302 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56303 to avoid using nscd when custom rules are installed.
56304 * nss/getXXbyYY_r.c: Likewise.
56305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56307 * nss/nss_files/files-parse.c: Whitespace fixes.
56309 2010-08-09 Ulrich Drepper <drepper@redhat.com>
56312 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56313 * posix/fnmatch_loop.c: Likewise.
56315 2010-07-17 Andi Kleen <ak@linux.intel.com>
56317 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56318 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56319 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56320 * Versions.def [GLIBC_2.13]: Add.
56322 2010-08-06 Ulrich Drepper <drepper@redhat.com>
56324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56325 Also fail if tpwd after pwuid call is NULL.
56327 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56329 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56330 when converting to ms.
56332 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56334 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56335 EOPNOTSUPP errors with ENOTTY.
56336 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56337 EOPNOTSUPP errors with ENOTTY.
56339 2010-07-31 Ulrich Drepper <drepper@redhat.com>
56341 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56342 Add strcasecmp_l-ssse3.
56343 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56345 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56346 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56347 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56349 2010-07-30 Ulrich Drepper <drepper@redhat.com>
56351 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56353 * string/Makefile (strop-tests): Add strcasecmp.
56354 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56355 strcasecmp_l-nonascii.
56356 (gen-as-const-headers): Add locale-defines.sym.
56357 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56358 * sysdeps/x86_64/strcasecmp.S: New file.
56359 * sysdeps/x86_64/strcasecmp_l.S: New file.
56360 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56361 * sysdeps/x86_64/locale-defines.sym: New file.
56362 * string/test-strcasecmp.c: New file.
56364 * string/test-strcasestr.c: Test both ends of the range of characters.
56365 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56367 2010-07-29 Roland McGrath <roland@redhat.com>
56370 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56372 2010-07-27 Ulrich Drepper <drepper@redhat.com>
56374 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56377 2010-07-27 Andreas Schwab <schwab@redhat.com>
56379 * manual/memory.texi (Malloc Tunable Parameters): Document
56382 2010-07-26 Roland McGrath <roland@redhat.com>
56385 * configure.in (-fgnu89-inline check): Set and substitute
56386 gnu89_inline, not libc_cv_gnu89_inline.
56387 * configure: Regenerated.
56388 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56390 2010-07-26 Ulrich Drepper <drepper@redhat.com>
56392 * string/test-strnlen.c: New file.
56393 * string/Makefile (strop-tests): Add strnlen.
56394 * string/tester.c (test_strnlen): Add a few more test cases.
56395 * string/tst-strlen.c: Better error reporting.
56397 * sysdeps/x86_64/strnlen.S: New file.
56399 2010-07-24 Ulrich Drepper <drepper@redhat.com>
56401 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56402 lower-latency instructions.
56404 2010-07-23 Ulrich Drepper <drepper@redhat.com>
56406 * string/test-strcasestr.c: New file.
56407 * string/test-strstr.c: New file.
56408 * string/Makefile (strop-tests): Add strstr and strcasestr.
56409 * string/str-two-way.h: Don't undefine MAX.
56410 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56412 2010-07-21 Andreas Schwab <schwab@redhat.com>
56414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56415 strcasestr-nonascii.
56416 (CFLAGS-strcasestr-nonascii.c): Define.
56417 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56419 Remove unused attribute.
56421 2010-07-20 Roland McGrath <roland@redhat.com>
56423 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56424 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56425 ld.so.cache was broken. With it, there is no way to disable dsocaps
56426 like LD_HWCAP_MASK can disable hwcaps.
56428 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56430 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56432 2010-07-16 Ulrich Drepper <drepper@redhat.com>
56434 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56435 call in strcasestr.
56436 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56437 __strcasestr_sse42_nonascii.
56438 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56439 strcasestr-nonascii.c.
56440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56442 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
56444 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56445 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56446 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56447 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56449 2010-07-09 Ulrich Drepper <drepper@redhat.com>
56451 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56454 2010-07-06 Andreas Schwab <schwab@redhat.com>
56457 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56460 2010-07-06 Ulrich Drepper <drepper@redhat.com>
56462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56463 _PC_PIPE_BUF using F_GETPIPE_SZ.
56465 2010-07-05 Roland McGrath <roland@redhat.com>
56467 * manual/arith.texi (Rounding Functions): Fix rint description
56468 implicit in round description.
56470 2010-07-02 Ulrich Drepper <drepper@redhat.com>
56472 * elf/Makefile: Fix linking for a few tests to make recent linker
56475 2010-06-30 Andreas Schwab <schwab@redhat.com>
56477 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56478 $(common-objpfx)libc_nonshared.a.
56480 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
56482 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56483 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56484 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56485 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56486 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56487 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56488 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56489 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56504 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56505 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56506 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56507 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56508 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56509 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56510 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56511 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56512 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56513 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56514 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56515 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56531 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56533 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56534 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56535 * string/memmove.c (memmove): Renamed to ...
56536 (MEMMOVE): ...this. Default to memmove.
56537 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56538 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56541 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56542 mempcpy-ssse3-back memmove-ssse3-back.
56543 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56544 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56545 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56546 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56547 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56548 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56549 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56550 * sysdeps/x86_64/multiarch/memmove.c: New file.
56551 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56552 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56553 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56554 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56555 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56558 (index_Fast_Copy_Backward): Define.
56559 (HAS_ARCH_FEATURE): Define.
56560 (HAS_FAST_REP_STRING): Define.
56561 (HAS_FAST_COPY_BACKWARD): Define.
56563 2010-06-21 Andreas Schwab <schwab@redhat.com>
56565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56566 Restore proper fallback handling.
56568 2010-06-19 Ulrich Drepper <drepper@redhat.com>
56571 * posix/group_member.c (__group_member): Correct checking loop.
56573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56574 OOM in getpwuid_r correctly. Return error number when the caller
56575 should return, otherwise -1.
56576 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56577 call returning > 0 value.
56578 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56580 2010-06-07 Andreas Schwab <schwab@redhat.com>
56582 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56583 libc_nonshared.a from targets in modules-names.
56585 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56587 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56590 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
56592 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56593 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56595 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56597 2010-06-02 Andreas Schwab <schwab@redhat.com>
56599 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56601 2010-06-14 Ulrich Drepper <drepper@redhat.com>
56603 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56610 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56612 2010-06-14 Roland McGrath <roland@redhat.com>
56614 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56616 2010-06-07 Jakub Jelinek <jakub@redhat.com>
56618 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56619 __REDIRECT followed by __THROW.
56620 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56621 * posix/getopt.h (getopt): Likewise.
56623 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56625 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56626 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56627 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56629 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56630 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56632 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
56634 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56636 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56640 Properly check family and model.
56642 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56644 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56646 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
56648 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56650 2010-05-21 Ulrich Drepper <drepper@redhat.com>
56652 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56655 2010-05-19 Andreas Schwab <schwab@redhat.com>
56657 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56660 2010-05-21 Andreas Schwab <schwab@redhat.com>
56662 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56663 and internal_recvmmsg.
56664 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56665 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56666 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56667 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56669 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56670 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56671 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56673 2010-05-20 Andreas Schwab <schwab@redhat.com>
56675 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56677 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
56679 POWER7 optimizations.
56680 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56681 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56683 2010-05-19 Ulrich Drepper <drepper@redhat.com>
56685 * version.h: Update for 2.13 development version.
56687 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
56689 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56690 exceptions. Return 0.
56692 2010-05-07 Roland McGrath <roland@redhat.com>
56694 * elf/ldconfig.c (main): Add a const.
56696 2010-05-06 Ulrich Drepper <drepper@redhat.com>
56698 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56699 (args_options): Add no-idn option.
56700 (ahosts_keys_int): Add idn_flags to ai_flags.
56701 (parse_option): Handle 'i' option to clear idn_flags.
56703 * malloc/malloc.c (_int_free): Possible race in the most recently
56704 added check. Only act on the data if no current modification
56707 See ChangeLog.17 for earlier changes.